Publish
Publish is deprecated. Use Wisdom.
Publish is simpler then ever.
One command do next things:
- changelog;
- version in
package.json
andbower.json
(if exist); - tag;
- release on github;
- push to github;
- publish to npm;
Here is list of commands that should be executed to get same result:
changelog {{ version }}version {{ version }}git add package.jsongit add ChangeLoggit commit -m "feature(package) v{{ version }}"git push origin mastergrizzly -tn "token from url" \-r grizzly -o {{ owner }} -t {{ version }} \-n "{{ repo }} {{ version }}" -b "changelog"git tag v{{ version }}git push origin v{{ version }}npm publish
Install
npm i publish-io -g
How to use?
$ publish
Usage: publish [version|major|minor|patch]
Options:
-h, --help : display this help and exit,
-v, --version : output version information and exit,
Before publish
When you need some tasks was done before publish
you could specify in scripts
section of package.json
command:
"scripts": "publish-io": "echo 'do something before publish'"
License
MIT