This doc is intended for contributors to kuflow-sdk-js
- Node v18
Run all the tests with:
npm run build
Set the new version to release:
npx lerna version --no-push --no-git-tag-version
npm run format:write
Commit and push the changes:
git add .
git commit -m "Release X.Y.Z"
git push
Let the CI/CD publish the new version to the registry.
From main
branch do
npx lerna version --force-publish
Select the version that you want to release and follow the lerna instructions.
Publish a new version in next tag
npx lerna publish from-package --registry https://registry.npmjs.org --dist-tag next
After that we can use the new published version.