@energybox/react-ui-library
v14.8.1
Published
Energybox React UI Library
Downloads
2,397
Maintainers
Keywords
Readme
Intro
This project is using npmjs.com as a npm package repository and is publicly available. Please go to Company's LastPass > Shared Dev > npmjs.com to find shared credentials to the account.
Initial Setup
After running the initial yarn install
(we use yarn, not npm), run yarn husky:setup
. We use husky
/lint-staged
/prettier
to format our staged code consistently every time we create a new commit.
NOTE: Please don't run yarn husky:setup
more than once, or else you will add multiple yarn lint-staged
commands inside your .husky/pre-commit
file
Release
- Increase library version
- Commit
- Go to pipelines and select pipeline that includes version to be released.
- Tap "Publish"
Local Development
To use a local version of the react-ui-library in another FE repo during development:
- from react-ui-library,
- run
yarn yalc:publish
- run
yarn yalc:serve
- run
- in the target local FE repo,
- run
yalc link (library name)
Ex: ../fe_repo $yalc link @energybox/[email protected]
- run