Skip to content

Commit

Permalink
feat!: support Vite 6 (#7026)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va authored Dec 5, 2024
1 parent 82c2e24 commit 7abe854
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/vite-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"dist"
],
"engines": {
"node": "^18.0.0 || >=20.0.0"
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
},
"scripts": {
"build": "rimraf dist && rollup -c",
Expand All @@ -86,7 +86,7 @@
"debug": "^4.3.7",
"es-module-lexer": "^1.5.4",
"pathe": "^1.1.2",
"vite": "^5.0.0"
"vite": "^5.0.0 || ^6.0.0"
},
"devDependencies": {
"@jridgewell/trace-mapping": "^0.3.25",
Expand Down
6 changes: 3 additions & 3 deletions packages/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@
"dist"
],
"engines": {
"node": "^18.0.0 || >=20.0.0"
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
},
"scripts": {
"build": "rimraf dist && rollup -c",
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
},
"peerDependencies": {
"@edge-runtime/vm": "*",
"@types/node": "^18.0.0 || >=20.0.0",
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
"@vitest/browser": "workspace:*",
"@vitest/ui": "workspace:*",
"happy-dom": "*",
Expand Down Expand Up @@ -167,7 +167,7 @@
"tinyexec": "^0.3.1",
"tinypool": "^1.0.2",
"tinyrainbow": "^1.2.0",
"vite": "^5.0.0",
"vite": "^5.0.0 || ^6.0.0",
"vite-node": "workspace:*",
"why-is-node-running": "^2.3.0"
},
Expand Down

0 comments on commit 7abe854

Please sign in to comment.