Licence
MIT
Version
24.39.0
Deps
2
Size
46 kB
Vulns
0
Weekly
0
Releasing
Every lib-server-*, lib-isomorphic-* and lib-browser-* project is released together at one shared version (projectsRelationship: "fixed" in nx.json). Packages are built into dist/ and published from there with public access.
Before you start
- Be on
mainwith a clean working tree. - Log in to npm with
npm login. A.npmrcin the repo root overrides your~/.npmrclogin, so make sure there isn't a stale one. - Have your npm authenticator ready; the account requires a one-time password to publish.
Release
npm run release:minor # or release:patch / release:major
npm run release:publish -- --otp=<code>
npm run release:push
release:minorchecks the branch, working tree and npm login, then runsnx release version. That bumps every package, updates the internal@onivoro/*dependency versions, commitschore(release): v<version>and tagsv<version>. It then builds every package, so the next step only uploads.release:publishpublishes all packages. Pass a fresh one-time password; it expires in about 30 seconds.release:pushpushesmainand the new release tag.
If a publish stops partway, for example because the one-time password expired, run npm run release:publish -- --otp=<new code> again. Versions already on npm are skipped.
Previewing
npm run release:dry-run -- minor # preview the version bump
npm run release:publish:dry-run # preview what would be published