From 40f0e012cf69adeabfc665eb1382a49fbdc8fbbf Mon Sep 17 00:00:00 2001 From: JuanSe Dussan Date: Thu, 24 Oct 2019 15:32:26 -0500 Subject: [PATCH] fix(semantic-release): Add more extensions --- CHANGELOG.md | 0 package-lock.json | 30 ++++++++++++++++++++++++++++++ package.json | 2 ++ release.config.js | 25 +++++++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 CHANGELOG.md create mode 100644 release.config.js diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e69de29 diff --git a/package-lock.json b/package-lock.json index 273a3c4..eed5a32 100644 --- a/package-lock.json +++ b/package-lock.json @@ -116,6 +116,18 @@ "@types/node": "^12.11.1" } }, + "@semantic-release/changelog": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@semantic-release/changelog/-/changelog-3.0.4.tgz", + "integrity": "sha512-UqEPahcZSW0IKtzOglyjeEZCN99ku6Wb/yH/iOKEBJ7Vkw0/+Fc3VRiGoXTkMfHSFUJk+4UkoQKTlYuwf61C2w==", + "dev": true, + "requires": { + "@semantic-release/error": "^2.1.0", + "aggregate-error": "^3.0.0", + "fs-extra": "^8.0.0", + "lodash": "^4.17.4" + } + }, "@semantic-release/commit-analyzer": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-6.3.0.tgz", @@ -136,6 +148,24 @@ "integrity": "sha512-9Tj/qn+y2j+sjCI3Jd+qseGtHjOAeg7dU2/lVcqIQ9TV3QDaDXDYXcoOHU+7o2Hwh8L8ymL4gfuO7KxDs3q2zg==", "dev": true }, + "@semantic-release/git": { + "version": "7.0.16", + "resolved": "https://registry.npmjs.org/@semantic-release/git/-/git-7.0.16.tgz", + "integrity": "sha512-Bw/npxTVTeFPnQZmuczWRGRdxqJpWOOFZENx38ykyp42InwDFm4n72bfcCwmP/J4WqkPmMR4p+IracWruz/RUw==", + "dev": true, + "requires": { + "@semantic-release/error": "^2.1.0", + "aggregate-error": "^3.0.0", + "debug": "^4.0.0", + "dir-glob": "^3.0.0", + "execa": "^1.0.0", + "fs-extra": "^8.0.0", + "globby": "^10.0.0", + "lodash": "^4.17.4", + "micromatch": "^4.0.0", + "p-reduce": "^2.0.0" + } + }, "@semantic-release/github": { "version": "5.5.4", "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-5.5.4.tgz", diff --git a/package.json b/package.json index 6df2445..aa05f91 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,8 @@ "homepage": "https://github.com/JuanSeBestia/react-native-wifi-reborn#readme", "license": "ISC", "devDependencies": { + "@semantic-release/changelog": "^3.0.4", + "@semantic-release/git": "^7.0.16", "semantic-release": "^15.13.27" } } diff --git a/release.config.js b/release.config.js new file mode 100644 index 0000000..17c19ac --- /dev/null +++ b/release.config.js @@ -0,0 +1,25 @@ +module.exports = { + branch: "master", + plugins: [ + "@semantic-release/commit-analyzer", + "@semantic-release/github", + "@semantic-release/npm", + "@semantic-release/release-notes-generator", + [ + "@semantic-release/git", + { + assets: ["README.md"], + message: + "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + } + ], + [ + "@semantic-release/changelog", + { + changelogFile: "CHANGELOG.md" + } + ], + "@semantic-release/git", + "@semantic-release/changelog" + ] +};