Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 1.15 KB

CONTRIBUTING.md

File metadata and controls

68 lines (44 loc) · 1.15 KB

How to contribute

Requirements

Local development

  1. Link local modules
npm run link
  1. Build packages
  • Build dist (with types)
npm run build
  • Build & watch (js only + hot reloading)
npm run build:watch
  1. Go to pages folder and run web dev server
npm run dev

For more details visit individual package folder.

Releasing

  1. Run changeset and specify new package version & change summary

Note: If releasing multiple packages, you can run changeset just once if u wish to share changelog and version type, or for each package separately (preferred).

npm run changeset

Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version for breaking change (incompatible API changes)
  • MINOR version for new feature(s)
  • PATCH version for bug fixes
  1. Bump version, lockfile & create commit message
npm run changeset:version
  1. Build, publish NPM packages & push refs to origin
npm run release