-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: drop conventional-changelog-cli and use its node library instead (…
- Loading branch information
Eunjae Lee
authored
Dec 11, 2019
1 parent
c736c92
commit 430c303
Showing
8 changed files
with
181 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
packages/shipjs/src/step/prepare/__tests__/updateChangelog.spec.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import arg from 'arg'; | ||
import { camelCase } from 'change-case'; | ||
|
||
export default function parseArgs(argSpec, argv) { | ||
return camelizeKeys(arg(argSpec, { permissive: false, argv })); | ||
} | ||
|
||
function camelizeKeys(opts) { | ||
return Object.entries(opts).reduce((acc, [key, value]) => { | ||
// eslint-disable-next-line no-param-reassign | ||
acc[camelCase(key)] = value; | ||
return acc; | ||
}, {}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3820,17 +3820,6 @@ conventional-changelog-atom@^2.0.3: | |
dependencies: | ||
q "^1.5.1" | ||
|
||
[email protected]: | ||
version "2.0.28" | ||
resolved "https://registry.yarnpkg.com/conventional-changelog-cli/-/conventional-changelog-cli-2.0.28.tgz#76c362cb238b356114310ad7242cce9b765fe100" | ||
integrity sha512-ioagYxYI4GGs3p5APfEgSqjK21Fwl0mTa05MkIH85R64MqtUvNygtjHZWoXtdpM29OONJzxrebWDSyNHX6Fssg== | ||
dependencies: | ||
add-stream "^1.0.0" | ||
conventional-changelog "^3.1.15" | ||
lodash "^4.17.15" | ||
meow "^5.0.0" | ||
tempfile "^3.0.0" | ||
|
||
conventional-changelog-codemirror@^2.0.3: | ||
version "2.0.3" | ||
resolved "https://registry.yarnpkg.com/conventional-changelog-codemirror/-/conventional-changelog-codemirror-2.0.3.tgz#ebc088154684f8f5171446b8d546ba6b460d46f2" | ||
|