This repository was made to keep examples of the creation and the use of libraries to store and distribute the Design System of a company. Until now, the tools that was used are: Storybook, Bit, Next.js (to show test the use of the libraries).
- Library build with Storybook
- Library build with Bit
- Next.js website to show how which library can be used in a React app.
To run bit you have to first intall bvm in your machine:
npm i -g @teambit/bvm
bvm installIn the bit's folder
bit installTo run the library
bit startTo run storybook you have to first intall node_modules in the storybook's folder:
yarnTo run storybook
yarn storybookTo run next.js you have to first intall node_modules in the design-systems-test's folder:
yarnTo run the App
yarn dev