Skip to content

evergreen-ci/ui

Repository files navigation

Evergreen UI

The home of Spruce and Parsley.

Getting Started

To use this repo, you'll need to:

  1. Install pnpm Installing via npm is recommended.
  2. Install dependencies: pnpm install from anywhere in this repo.

Each application's README has instructions for running that app.

Analytics

Read more about our analytics practices here.

Monorepo Tips & Tricks

Learn about our monorepo shared library here.

Check out the pnpm Workspaces documentation for more.

Dependencies

To upgrade a dependency across workspaces:

pnpm update [package-name] --latest --recursive

To remove all installed dependencies:

pnpm clean

You can then rerun pnpm install.

Scripts

To run a script in all wokspaces from root:

pnpm -r run [script-name]

The -r flag is shorthand for --recursive, and run is optional. For example, pnpm -r codegen is quite handy to update all packages' generated GraphQL files.

If you'd like to run script in one workspace from root:

pnpm --filter [workspace-name] run [script-name]

For example, pnpm --filter spruce run storybook.

Testing

To run all unit tests across the repository, from root:

pnpm test

To run a particular workspace's unit tests from root:

pnpm 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:

pnpm storybook

About

Evergreen front-end code for Spruce and Parsley.

Resources

License

Stars

Watchers

Forks

Contributors 26

Languages