Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update repo setup instruction in CONTRIBUTING.md #6729

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ To develop and test `vitest` package:

1. Run `pnpm install` in `vitest`'s root folder

2. Run `pnpm run dev` to build sources in watch mode
2. Run `pnpm run build` to build all monorepo packages
- after this, you can use `pnpm run dev` to rebuild packages as you modify code

3. Run
- `pnpm run test` to run core tests
- `pnpm run test:all` to run all the suite
- `pnpm run test:ci` to run all the suite
- `cd test/(dir) && pnpm run test` to run a specific test suite

> 💡 If you use VS Code, you can hit `⇧ ⌘ B` or `Ctrl + Shift + B` to launch all the necessary dev tasks.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"node": "^18.0.0 || >=20.0.0"
},
"scripts": {
"ci": "ni && nr typecheck && nr lint && nr build && nr test:all",
"ci": "ni && nr typecheck && nr lint && nr build && nr test:ci",
"ci:docs": "pnpm run build && pnpm run docs:build",
"build": "pnpm -r --filter @vitest/ui --filter='./packages/**' run build",
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" pnpm -r --parallel --filter='./packages/**' run dev",
Expand Down
Loading