OrangeKit React
Publishing npm package
We publish the npm package manually. In the future we want to release and
publish npm package using GitHub Actions.
Make sure you have an npm account and you are in the orangekit
organization to
publish npm package.
To publish OrangeKit React package follow these steps:
- Checkout to
main
branch. - Make sure the version in the
package.json
file is correct. The version on
the main
branch should point to the next version. For example, if the
latest version is 1.0.0-beta.10
, the version on main
branch should be
1.0.0-beta.11
. - Update version of the
@orangekit/sdk
dependency
to the latest version. - Remove
dist
and node_modules
directories. - Run
pnpm install
. - Run
pnpm build
. - If you need to log in to npm - run
npm adduser
- Run
npm publish --access public
and follow the steps in terminal.
After the successful release bump the version in package.json
file, set the
@orangekit/sdk
dependency to workspace:*
and open a PR.