Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 853 Bytes

CONTRIBUTING.md

File metadata and controls

32 lines (22 loc) · 853 Bytes

Testing Locally

  1. Clone the repo
  2. From the root, run yarn && yarn start
  3. Visit localhost:3000

Running Tests

Run yarn build && yarn test from the root of the repo.

To test individual packages, cd into them and run yarn test. For example, running the unit tests would be cd packages/react-arborist && yarn test.

Publishing a Release

Release Branch

  1. Checkout main locally
  2. Increment the version number in packages/react-arborist/package.json
  3. Create a branch called release/v0.0.0
  4. Open a PR to main
  5. Test, review, and merge, delete branch

Create Github Release

  1. Create a release based on main
  2. Assign a new tag to be created with v0.0.0
  3. Title the release "Version 0.0.0"
  4. Write release notes
  5. Publish
  6. Check that it successfully published to npmjs

The Github actions workflow will publish to npm.