todo: update
This repo contains the shared components for our frontend applications. Using this react component library guide
- Ensure you have
volta
installed on your computer - Clone the repo
-
npm install
(note:npm
, notyarn
)
Ensure the project consuming this library has all the required peer dependencies.
-
@movable/ui
:yarn link
-
@movable/ui
:npm run watch
-
front-end/packages/studio
:yarn link /path/to/local/@movable/ui
-
front-end/packages/studio
:yarn dev --force
- Be sure afterwards to unlink from
front-end/packages/studio
:yarn unlink @movable/ui
If yarn gets confused, try unlinking, removing node_modules
and following the steps again.
tbd
This repo has conventional-commits We lint for this both pre-commit and on PR actions. It is required and will not pass without it.
Ex:
fix(percy): added percy snapshots for all component states
- active
- disabled
- focused