Fabric Elements
Development
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.
Releases
This project uses
Semantic Release to
automate package publishing when making changes to the main
or alpha
branch.
It is recommended to branch off the alpha
branch. Make sure alpha
branch is
updated with the latest main
.
Follow conventional commits
when making changes. When your changes are ready for pull request, this should be
opened against the alpha
branch.
Please note that the version published will depend on your commit message
structure. You can 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
).