This is an example of a library to be used as part of a Front End application
Anything placed in the src folder is exported as part of the library.
The library has built-in support for:
- Typescript
- Formatting with Prettier
- Yarn as package manager (with the binary in repo)
yarn buildto create a production-ready version of the library.
For private packages, we deploy them to Github packages.
For public packages, we deploy them to both Github packages and npmjs.com.
After updating the version number in package json (i.e. yarn version patch), run one of the following commands:
yarn pubdeploys to all configured package repositoriesyarn pubNpmdeploys to npmjs.comyarn pubGithubdeploys to Github packages
Never commit any passwords or auth tokens to the repo!