This information is just for reference for the project owner, if you are a regular contributor, see contibuting and make a pull request instead.
Tipically you don’t have to do this, since you most likely are not the project owner.
But if you are the project owner:
- do thorough testing
- bump version in .js file
- run
npm run build
- you can deploy a new version by pushing to github
Since it uses the docs/
folder for hosting on github pages
.
If this was successful, the next step is to publish the new version on npm
:
npm version patch
npm publish
versions are either patch
wich changes 0.0.x, minor
wich changes 0.x.0 or major
for x.0.0.
See npm docs
After that push again, just to make sure