-
Clone the repo.
-
Run
npm install
to install all the dependencies.
-
Create a topic branch from
main
branch. -
Follow Conventional Commits and chose a proper commit message description.
-
Raise & merge the PR in
main
branch.
Make sure to have access to publish packages under @gojek
scope in public npm registry, contact @detj for getting access.
standard-version is used for release management.
-
Run
npm run release
to create a new release as per conventional commit types. -
Run
git push --follow-tags origin main
to push the created release tag to remote originmain
branch. -
Run
npm publish
to publish the package in public npm registry.
SDK uses Raccoon proto which is stored in the SDK here. This contains the request and response protos which are used to encode/decode the event payload.
These files need to be in sync in order to correctly exchange the data between the SDK and Raccoon. Otherwise SDK might throw error due to format mismatch.