A collection of shared design styles, components, and patterns for teams to build quality consistent interfaces. A bit like a LEGO kit.
This project uses:
- Lerna to manage multiple packages/libraries.
- Storybook for a development environment.
- Gatsby v2 for a fast website.
Run these commands before doing anything else.
git clone https://github.com/mlibrary/umich-lib-ui.git
cd umich-lib-ui
npm install
All dependencies get linked for cross-component and package development
npm run bootstrap
Starts the the storybook development environment.
npm run develop
Opens up Storybook at http://localhost:9001
Anytime you add a new component you will need to run npm run bootstrap
again.
Built with Gatsby v2 for a fast website.
See the README in www
directory.
❗ An NPM account with the umich-lib-ui organization is required to publish. Only core-contributors are able to publish versions. Contact the core team to get help setting this up.
Create a build to be published
npm run build
Make sure you're logged into the NPM registry.
npm login
To publish a quick canary version
npm run publish:canary
To publish a next version.
npm run publish:next
To publish an official version and follow Lerna publish prompts.
npm run publish
Open a GitHub issue.