This guide is for repository maintainers.
- Create a PR that bumps the version in package.json.
- Build the project on your local machine and run
yarn pack. An archive will be created nearby in the repository root directory. Open the archive and make sure it contains the distribution files and no excess files. If there is something wrong, fix it and push to the PR. - When the PR checks succeed and the PR is approved, merge it.
- Run the Publish to NPM workflow by using the "Run workflow" button.
It will publish the current code to NPM and create a corresponding Git tag.
The NPM version tag will be derived automatically from the package version, for example
1.2.3giveslatestand1.2.3-alpha.1givesalpha. - Describe the version changes in the releases section under the corresponding tag.
- Update the agent in https://stackblitz.com/edit/fpjs-5-npm (find "dependencies" and click the round arrow).