This is a proof of concept of a monorepo structure for serving react components and design tokens
This is a monorepo repository using Lerna, Commitzen and Conventional Commits to maintain and manage component versions and for documentation, we use Storybook and Compodoc, you can access by clicking here
List of packages containing in this repository:
Name of package | Description |
---|---|
@thedesignsystem/components |
React components with each package.json file |
Local setup to run this project locally
- Node version 10.20.1
- If you use nvm just run the command
nvm use
in the root folder
- If you use nvm just run the command
- Install all the dependencies:
npm i
- You can see the components of this repo in:
- Storybook by running
npm run start:storybook
- Storybook by running
All components in this repository are installed separately, that is, each component has its own npm package, for example if you want to install the button component:
npm i @thedesignsystem/button