javascript-studio / studio-changes

📦 Generate a changelog as part of the npm version command
https://medium.com/javascript-studio/nice-and-easy-module-releases-a32c906b564e
MIT License
49 stars 7 forks source link

Automatically add version scripts #9

Closed mantoni closed 7 years ago

mantoni commented 7 years ago

The recommended scripts from the README.md could be added by a script somehow. Ideally, when running npm i @stdio/changes -D,but I'm not sure whether the -D switch is exposed to the post install hooks. Alternatively, a CLI switch could be added (e.g. --install or --scripts).

mantoni commented 7 years ago

As of v1.3.0, the CLI support --init to generate the npm version lifecycle scripts. See changelog for v1.3.0.