hammer-ui
To run storybook:
npm install
npm run storybook
- open
http://localhost:6007
To build:
Building must be done before any type of publish, beta or normal.
To publish
Standard publish
- Merge your pr
git checkout master
git pull
- determine your version change, this project adheres to Semantic Versioning
npm version major|minor|patch
npm publish
- thanks to
prepare
, runs npm run build
then npm publish
.
- Add your version to the CHANGELOG.md with what you did
- Do a commit to master with your version number
git commit -a -m "x.x.x changelog"
git push origin master --tags
- Update other repositories, see the
update-apps
section
Beta publish
This is useful if you don't want to develop caterwaul locally but need it for a bidder-react PR deploy for QA / testing / etc.
- Update
package.json
version to include a -beta.#
(actually anything works but break the pattern of number.number.number
with a -
so we know it's not an official version)
- Example:
17.1.0-beta.644.1
, with 644 being the story number
npm run build
npm publish --tag beta
- this is important so if you ever do an
npm install @liveauctioneers/hammer-ui
it doesn't install a beta version by default and only official releases