Skip to content

Commit

Permalink
fix(vitest): make @types/node optional (#4210)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Oct 2, 2023
1 parent 8e5e42d commit a5383c2
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 97 deletions.
5 changes: 4 additions & 1 deletion packages/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"@types/node": ">= 14",
"@edge-runtime/vm": "*",

Check failure on line 110 in packages/vitest/package.json

View workflow job for this annotation

GitHub Actions / lint

Expected object keys to be in ascending order. '@edge-runtime/vm' should be before '@types/node'
"@vitest/browser": "*",
"@vitest/ui": "*",
Expand All @@ -116,6 +117,9 @@
"webdriverio": "*"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
},
"@vitest/ui": {
"optional": true
},
Expand Down Expand Up @@ -144,7 +148,6 @@
"dependencies": {
"@types/chai": "^4.3.5",
"@types/chai-subset": "^1.3.3",
"@types/node": "*",
"@vitest/expect": "workspace:*",
"@vitest/runner": "workspace:*",
"@vitest/snapshot": "workspace:*",
Expand Down
Loading

0 comments on commit a5383c2

Please sign in to comment.