-
Remove
node_modules
andpackage-lock.json
in preparation to update the transient dependenciesrm -rf node_modules/ package-lock.json example/node_modules/ example/package-lock.json
-
Update dependencies using
ncu
ncu -i
-
Increase version number in
package.json
and runnpm install
to updatepackage-lock.json
-
Run
npm install
inexample/
directory to updatepackage-lock.json
there as wellcd example/ npm install cd ..
-
Test and compile assets
npm test npm run compile-assets
-
Ensure that CHANGELOG lists all relevant changes and update CHANGELOG with new version number
-
commit as "v#.#.#"
$ git commit -m "v`node -p -e 'require("./package.json").version'`"
-
tag as "v#.#.#"
$ git tag -am "v`node -p -e 'require("./package.json").version'`" \ "v`node -p -e 'require("./package.json").version'`"
-
publish
npm publish --scope @innoq --access public
-
push to git
$ git push --follow-tags