diff --git a/.releaserc.json b/.releaserc.json index 4673bf2..b986f65 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,20 +1,7 @@ { "release": { "branch": "master", - "repositoryUrl": "https://github.com/oleg-koval/trembita", - "dryRun": false, - "debug": false, - "plugins": [ - "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", - [ - "@semantic-release/changelog", - { - "changelogFile": "docs/CHANGELOG.md" - } - ], - "@semantic-release/npm", - "@semantic-release/git" - ] + "extends": "@jedmao/semantic-release-npm-github-config", + "repositoryUrl": "https://github.com/oleg-koval/trembita" } } diff --git a/package-lock.json b/package-lock.json index 50e7d5b..b1458b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -130,6 +130,20 @@ "to-fast-properties": "^2.0.0" } }, + "@jedmao/semantic-release-npm-github-config": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@jedmao/semantic-release-npm-github-config/-/semantic-release-npm-github-config-1.0.6.tgz", + "integrity": "sha512-WPK1RabcgqxG5FR/aq1M51XGp8Boqj8YmTqc4fzK0E1rPKBjGWOhOlFRu6ZVnoyX6HV0JdES+bDZM5U/7A1mfw==", + "dev": true, + "requires": { + "@semantic-release/changelog": "^3.0.2", + "@semantic-release/commit-analyzer": "^6.1.0", + "@semantic-release/git": "^7.0.8", + "@semantic-release/github": "^5.2.10", + "@semantic-release/npm": "^5.1.7", + "@semantic-release/release-notes-generator": "^7.1.4" + } + }, "@nodelib/fs.scandir": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.1.tgz", diff --git a/package.json b/package.json index 817fb67..1e93a84 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "validator": "^11.0.0" }, "devDependencies": { + "@jedmao/semantic-release-npm-github-config": "^1.0.6", "@semantic-release/changelog": "3.0.4", "@semantic-release/commit-analyzer": "6.3.0", "@semantic-release/git": "7.0.16", @@ -51,6 +52,6 @@ "nock": "10.0.6", "nyc": "14.1.1", "prettier": "1.18.2", - "semantic-release": "15.13.21" + "semantic-release": "^15.13.21" } }