2.25.0 • Published 5 years ago
prosapient-ui v2.25.0
proSapient Styleguide
Prerequisites
Development
- Run
asdf install
to install nodejs - Run
yarn install
to install dependencies - Run
yarn styleguidist
to start a server
You can now visit localhost:3000
to browse the styleguide.
New release
- Setup a branch from master
- Commit all changes
- Run
yarn release
. It will upgrade release version and setup a new tag. - Push new commits with tags and run publish:
git push --follow-tags origin <new branch> && npm publish
Deployment to AWS
- Run
AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID> AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY> yarn deploy
Build style guide as a separate distribution
- Run
yarn build:lib
You can find the build inside /dist
folder