- Commit all your changes
- Build the package for production
npm version patchto increase the package version's patch 0.0.x (use minor for 0.x.0 and major for x.0.0)npm publishto publish the package on NPMgit push origin --tagsto send the latest tag to the repository
If any tag is deleted on remote, run git fetch origin refs/tags/*:refs/tags/* --prune to update the local tag list.