NOTE: Quit VS Code and any typescript compile --watch process you might have, or else they cause some dist/ files in the packages to be missing.
Either do it manually for the changed package in the package.json
file or use the following command to update the version of all the packages, even unchanged ones:
pnpm -r exec npm version patch
Use the credentials for sourcegraph-bot
from 1password.
pnpm login
To do a dry run for all the packages use the following command:
pnpm -r publish --access public --no-git-checks --dry-run
If you want to dry-run a specific package, cd
into the package directory and use the following command:
pnpm publish --access public --no-git-checks --dry-run
To publish all the packages with updated versions use the following command:
pnpm -r publish --access public --no-git-checks
If you want to publish a specific package, cd
into the package directory and use the following command:
pnpm publish --access public --no-git-checks