0.5.0 • Published 2 years ago
@myhexfit/hexfit-storybook v0.5.0
Storybook
Description
This framework is used to develop a standardized component librairie without running the app.
npm install
Start the Storybook
npm start
Update Tag Version
Update version =>
git tag -a x.x.x -m "new version x.x.x"
Push to gitlab =>
git push origin --tags
Use Version into your project
npm install -D gitlab:hexfit/hexfit-storybook#x.x.x.
Publishing to NPM
To publish the npm package online, you need to be login to npm with dev@myhexfit.com (see password with dashlane)
npm login
Upgrade the npm version :
Clean you GIT Repo by pushing your change to gitlab
git add .; git commit -m "Your commit message; git push"
Update the npm version | major | minor | patch
npm version x.x.x
If supplied with -m or --message config option, npm will use it as a commit message when creating a version commit. If the message config contains %s then that will be replaced with the resulting version number. For example:
npm version patch -m "Upgrade to %s for reasons"
Publish the new package
npm publish --access public