This is mainly for myself since I always forget the correct steps.
- Make you code changes
- Commit the change
- Build the package, eg:
npm build
. This will compile everything and create a new dist folder. - Create a new patch version:
npm version patch
(if notpatch
, useminor
ormajor
) - Publish the new version to npm:
npm publish
. This will send the code to npm. - Push the code to Github
- Create a new release (with the same version number as npm created) in Github.