Skip to content

Commit

Permalink
feat(internal): Add vitest workspace config at root (#5586)
Browse files Browse the repository at this point in the history
Add vitest workspace config at root
  • Loading branch information
Swimburger authored Jan 12, 2025
1 parent 48260d9 commit 0a79ceb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ packages/**/generated
.vercel

**/.idea/*
vitest.workspace.ts
**.code-workspace

.python-version
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
"eslint": "^8.56.0",
"prettier": "^3.4.2",
"@trivago/prettier-plugin-sort-imports": "^5.2.1",
"typescript": "5.7.2"
"typescript": "5.7.2",
"vitest": "^2.1.8"
},
"resolutions": {
"@babel/traverse": "7.23.2",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vitest.workspace.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { defineWorkspace } from "vitest/config";

export default defineWorkspace(["./generators/**/vitest.config.ts", "./packages/**/vitest.config.ts"]);

0 comments on commit 0a79ceb

Please sign in to comment.