Skip to content

evergreen-ci/ui

Repository files navigation

Evergreen UI

The new home of Spruce and Parsley.

Analytics

Read more about our analytics practices here.

Monorepo Tips & Tricks

Learn about our monorepo shared library here.

Check out the Yarn Workspaces documentation for more.

Dependencies

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.

Scripts

To run a script in a workspace from root:

yarn workspace [workspace-name] run [script-name]

For example, yarn workspace spruce run storybook.

Testing

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]

Storybook

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