Because of the hacky way this package provides both the
firetender
and
firetender-admin
npms, we
cannot simply use npm version
followed by npm publish
. Instead:
- Run
npm run check
and fix any issues. - Switch to admin mode and run the tests:
npm run use-admin-firestore && npm run test && npm run use-web-firestore
- Manually set the new version number in
package.json
,package-web.json
, andpackage-admin.json
. - Run
npm i
. - Commit the change. The name of the commit should be the new version number
and nothing else (e.g.,
0.10.4
). Versioning series start at zero (e.g., a minor version upgrade of0.10.4
is0.11.0
). - Run
npm run use-admin-firestore && npm publish
. - Run
npm run use-web-firestore && npm publish
.