Skip to content

Commit

Permalink
chore: update repo setup instruction in CONTRIBUTING.md (#6729)
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa authored Oct 17, 2024
1 parent a939779 commit 0a2132b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
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

0 comments on commit 0a2132b

Please sign in to comment.