Skip to content

Commit

Permalink
fix: plugin options weren't being parsed correctly
Browse files Browse the repository at this point in the history
[Closes #51]
  • Loading branch information
pmowrer committed Jul 8, 2020
1 parent 6182aec commit 715bf6a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 23 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"github": "^13.0.0",
"parse-github-url": "^1.0.2",
"ramda": "^0.26.1",
"read-pkg": "^5.2.0"
"read-pkg": "^5.2.0",
"semantic-release-plugin-decorators": "^3.0.0"
},
"devDependencies": {
"husky": "^4.2.1",
"jest": "^25.1.0",
"lint-staged": "^10.0.3",
"prettier": "^1.19.1",
"semantic-release": "^17.0.0",
"semantic-release-plugin-decorators": "^2.1.0"
"semantic-release": "^17.0.0"
},
"husky": {
"hooks": {
Expand Down
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,7 @@ const generateNotes = async (pluginConfig, context) => {
module.exports = {
verifyConditions: '@semantic-release/github',
analyzeCommits: appendStep('analyzeCommits', decoratePlugin(analyzeCommits)),
generateNotes: appendStep('generateNotes', decoratePlugin(generateNotes)),
generateNotes: appendStep('generateNotes', decoratePlugin(generateNotes), {
defaultReturn: '',
}),
};
23 changes: 4 additions & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2973,13 +2973,6 @@ import-fresh@^3.1.0:
parent-module "^1.0.0"
resolve-from "^4.0.0"

import-from@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1"
integrity sha1-M1238qev/VOqpHHUuAId7ja387E=
dependencies:
resolve-from "^3.0.0"

import-from@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/import-from/-/import-from-3.0.0.tgz#055cfec38cd5a27d8057ca51376d7d3bf0891966"
Expand Down Expand Up @@ -5929,11 +5922,6 @@ resolve-cwd@^3.0.0:
dependencies:
resolve-from "^5.0.0"

resolve-from@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748"
integrity sha1-six699nWiBvItuZTM17rywoYh0g=

resolve-from@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
Expand Down Expand Up @@ -6071,13 +6059,10 @@ saxes@^3.1.9:
dependencies:
xmlchars "^2.1.1"

semantic-release-plugin-decorators@^2.1.0:
version "2.1.2"
resolved "https://registry.yarnpkg.com/semantic-release-plugin-decorators/-/semantic-release-plugin-decorators-2.1.2.tgz#dea3bd8e4f4d1cb0b3e6f92aa68b9c029cfc6343"
integrity sha512-WSWll7XFIfk2mguataWCxANllyN7mst9NajIgjW5I9504gRSxi6ccZiZXCFAAB1kW2+HA49DWb8V5/Yx41qovg==
dependencies:
import-from "^2.1.0"
lodash "^4.17.15"
semantic-release-plugin-decorators@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/semantic-release-plugin-decorators/-/semantic-release-plugin-decorators-3.0.0.tgz#b4cbe9cda7e9e2198caf8103cf56de9742d6f5e4"
integrity sha512-BIUUe9gUwH+N5k/fr9KEin/2cU80r62kLBPLS/o9Dl/TK3gNsu4CJgb7SAJyWvoothDRbWLZSgTS3Qz8UJuT/Q==

semantic-release@^17.0.0:
version "17.1.1"
Expand Down

0 comments on commit 715bf6a

Please sign in to comment.