The library is written in TypeScript and comes with a small react application that we use for development.
npm i
To start the dev app and watch for any file changes, run:
npm run start
To compile the library run:
npm run build
Create a release in GitHub and select a tag to create along with the release
(e.g. 1.0.0
), the tag must be equal to the version to be released. This will
trigger a GitHub action which will publish the release.
- Select: Set as the latest release
To publish a beta version the process is the same, just use a "beta" format for
the version string (e.g. 1.0.0-<beta>.1
), where <beta>
can be any
alphabetical string (letters only).
- Name: e.g. 1.0.0-beta.1
- Description: The purpose of this beta and what features or changes does it contain
- Unselect: Set as the latest release
- (Do NOT mark it as pre-release)
The publish
workflow will automatically publish this package into
a <beta>
(non-main) NPM channel.
npm run test
We are transitioning to use Storybook
for public docs. Once that is done app
can be deleted.
npm run storybook