Creates a hyperboot release and bumps the npm version.
npm install hyper-releaseCreates a hyperboot release utilizing npm version.
Using this script you don't have to care about increasing version numbers when using hyperboot release. This script utilizes npm version to keep track of and increase the version number in your package.json.
sh
npm install hyper-release hyperboot
`Usage
hyper-release HTMLFILE { -m MESSAGE, -v [By default
-m is empty and -v is set to prerelease. For all versions except prerelease a version commit and tag will be created if there is a local Git repository.In your
package.json you could do:`js
...
"scripts": {
"hyper-release": "hyper-release concat/bundle.js"
...
}
...
`Don't miss substacks article on build automatization using NPM if you're new to this.
Todo
- [ ] Do not just disregard NPMs stderr
- [ ] Use hyperboots
-n` name flag