- yarn
- Atomic Design
- Monorepo with Lerna
- Story Book
- Automated Tests
- add CHROMATIC regression test to ci
- configure netlify to build and deploy story books
Open the terminal on the root folder and type the following.
To install all packages at once:
yarn
To build all packages at once:
yarn build
Needs to be installed first.
Open the terminal on the playground folder and run the following command:
yarn dev
To install all the dependencies and start the development server with hot reloadings go the the root folder of the project and run the following:
yarn && yarn dev
Open the terminal on the root folder and type the following. Obs. Needs to be installed first. See "Instalation" section of this README.
yarn test
To publish the packages to NPM using lerna:
- Create an account on NPM.
- open the terminal on the root folder.
- Login on NPM with the command
npm login
- Pubish to NPM using the command
yarn publish
- Chose the version
- Accept the publish
The process above will commit changes on git (but don't push changes to remote) using the version number as commit message.