- Clone the repo
- From the root, run yarn && yarn start
- Visit localhost:3000
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
.
- Checkout main locally
- Increment the version number in packages/react-arborist/package.json
- Create a branch called release/v0.0.0
- Open a PR to main
- Test, review, and merge, delete branch
- Create a release based on main
- Assign a new tag to be created with v0.0.0
- Title the release "Version 0.0.0"
- Write release notes
- Publish
- Check that it successfully published to npmjs
The Github actions workflow will publish to npm.
I run yarn build, then I copy the showcase/out directory into the netlify manual deploys interface.