A modular frontend toolkit designed to help with Brave project development, including accessibility enhancements, utility functions, and easy-to-use classes.
npm install @yardinternet/brave-frontend-kit- Run
npm linkinside this project. - Run
npm link @yardinternet/brave-frontend-kitinside the project or theme. This will create a symbolic link to the project folder. - Run
npm run startinside this project AND the equivalent script inside the project or theme.
- Go to releases of the package and click on "Draft a new release"
- Click "Choose a tag", type the corresponding version (e.g.
v1.2.3) and press Enter. Add a title and description for the release. - Click "Publish release"
The Github Workflow release-package.yml will run whenever a release is created in this repository. It sets package.json's version from the release tag, then, if the tests pass, publishes the package to Github packages.