2.25.0 • Published 5 years ago

prosapient-ui v2.25.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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

  1. Setup a branch from master
  2. Commit all changes
  3. Run yarn release. It will upgrade release version and setup a new tag.
  4. 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