Assuming that you will run in a local development environment, follow the instructions below:
This repository uses yarn
v3 (berry).
Run yarn
to install the node packages
Some packages need to be built before consuming them, like the foundation
, which will distribute the design tokens to the rest of the packages. To build the packages execute:
yarn workspace @newline-ds/foundation build # Build the foundation package
yarn workspace @newline-ds/react build # Build the react package
- git
- NodeJS
>=10.13.0
to work with Storybook - yarn v3
You can run Storybook and instantly start experimenting with the components' code running the command:
yarn workspace @newline-ds/storybook storybook
A compiled storybook can be found also here.
- Knowledge of JavaScript
- Basic knowledge of TypeScript would be helpful
- This repository uses React, but you can swap it with your own framework of choice
If you spotted a bug 🐛 or an incompatibility with newer versions please feel free to open an issue or a pull request.