Diffuse is a Design System built with React.
This project uses Yarn, JavaScript, Storybook, Sass, Styled Components, React.
Maybe you want to read about them:
This project also uses Husky to prevent commit and push messy and wrong code.
This project contains shareable styles of components, UI Components using React and Storybook's presentation and build configs need to stay here.
yarn install
yarn storybook
- To test on a project that is consuming our package we can run our project with
yarn run build:npm:watch
- To be exposed as a local package
npm link
- In the project that consumes this package we will run the command
npm link diffuse-ds
- To prepare your package to be published:
yarn build:lib
- If you haven’t already, sign-up to npm.
- Go into your terminal.
npm login
npm publish
Copyright © 2022