Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.18 KB

CONTRIBUTING.md

File metadata and controls

39 lines (25 loc) · 1.18 KB

Contributing

Contributions are subject to CARTO's community contributions policy.

Local development requirements

  • Yarn v4+
  • Node.js v18+

Quickstart

To install and build quadbin-js locally from source:

# install dependencies
yarn

# build package once
yarn build

To run tests, coverage, or a linter, you should execute yarn build, and afterward:

# run tests once
yarn test

Releases

  1. Update changelog

  2. Create a new version: yarn version [ major | minor | patch | prerelease ]

  3. Commit, tag, and push to GitHub: yarn postversion

  4. Publish

    • If working on master, the previous step will automatically create and push a branch. Open a pull request, get any required approvals, and merge. Merged pull requests with commit messages beginning chore(release) will trigger a release automatically.
    • If working on a branch, a commit for the release will be pushed to the branch. You'll then need to manually run a workflow, “Release”, selecting the target branch in the menu.