The new home of Spruce and Parsley.
Read more about our analytics practices here.
Learn about our monorepo shared library here.
Check out the Yarn Workspaces documentation for more.
To upgrade a dependency across workspaces:
yarn upgrade-interactive [--latest] [package-name]
To remove all installed dependencies:
yarn clean
You can then rerun yarn install
.
To run a script in a workspace from root:
yarn workspace [workspace-name] run [script-name]
For example, yarn workspace spruce run storybook
.
To run all unit tests across the repository, from root:
yarn test
To run a particular workspace's unit tests from root:
yarn test --project [workspace-name]
Spruce, Parsley, and @evg-ui/lib all have their own storybooks, but there's also a shared storybook that combines them into one interface. From root, just run:
yarn storybook