Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.14 KB

development.md

File metadata and controls

44 lines (29 loc) · 1.14 KB

Package development notes

To use and debug package locally you don't need publish it to NPM registry:

$ cd <package-location>
$ npm install && npm run build && npm link

After that you have to create symlink to your package in your project folder:

$ cd <project-location>
$ npm link @snyk/code-client

Publishing

Before publishing make sure test pass

Test variables:

$ cd <package-location>
$ SNYK_API_HOST=... SNYK_AUTH_HOST=... SNYK_API_KEY=... npm run test

Publish

Make sure you checked documentation about semantic release prefixes

For example, to make a major version your message must follow this format:

feat: <short message>

BREAKING CHANGE: <longer description>

No need to do anything else. We have CircleCI CI/CD pipeline with automatic semantic versioning.