The project uses Vite for "unbundled" local development. Start a local dev server by running the following command:
npm run dev
Changes to either the custom elements or the HTML files should hot reload.
This project uses Semantic Release to
automate package publishing when making changes to the main
or next
branch.
It is recommended to branch off the next
branch and follow
conventional commits when making changes.
When your changes are ready for pull request, this should be opened against the next
branch.
Read more in-depth about Fabric Releases here.
Please note that the version published will depend on your commit message structure. We use commitizen to help follow this structure:
npm install -g commitizen
When installed, you should be able to type cz
or git cz
in your terminal to commit your changes
(replacing git commit
).