Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 918 Bytes

CONTRIBUTING.md

File metadata and controls

52 lines (33 loc) · 918 Bytes

Developing kuflow-sdk-js

This doc is intended for contributors to kuflow-sdk-js

Development Environment

  • Node v18

Test and Build

Run all the tests with:

npm run build

Automatic way (CI): Create a new version and let to the CI publish the new version

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.

Manual way: Release a new version

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.