Skip to content

Commit

Permalink
feat: vitest 1.0 (#11196)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Dec 8, 2023
1 parent 79a08d9 commit a07deb8
Show file tree
Hide file tree
Showing 16 changed files with 315 additions and 252 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-pumas-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': minor
---

feat: update vitest to 1.0
1 change: 1 addition & 0 deletions .changeset/thick-suits-help.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
'@sveltejs/kit': major
'create-svelte': major
---

breaking: require Node 18.13 or newer
2 changes: 1 addition & 1 deletion packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/set-cookie-parser": "^2.4.2",
"rollup": "^4.2.0",
"typescript": "^5.3.2",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"peerDependencies": {
"@sveltejs/kit": "^1.5.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"polka": "^1.0.0-next.24",
"sirv": "^2.0.3",
"typescript": "^5.3.2",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"dependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/node": "^18.19.1",
"typescript": "^5.3.2",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"peerDependencies": {
"@sveltejs/kit": "^1.5.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"sucrase": "^3.29.0",
"svelte": "^4.2.7",
"tiny-glob": "^0.2.9",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"scripts": {
"build": "node scripts/build-templates",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-svelte/shared/+vitest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"devDependencies": {
"vitest": "^0.34.0"
"vitest": "^1.0.0"
},
"scripts": {
"test": "vitest"
Expand Down
2 changes: 1 addition & 1 deletion packages/enhanced-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"svelte": "^4.2.7",
"typescript": "^5.3.2",
"vite": "^5.0.4",
"vitest": "^0.34.0"
"vitest": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"svelte-preprocess": "^5.1.1",
"typescript": "^5.3.2",
"vite": "^5.0.4",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"peerDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/build-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"type": "module",
"devDependencies": {
"vitest": "^0.34.5"
"vitest": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"svelte-check": "^3.4.4",
"typescript": "^5.3.2",
"vite": "^5.0.4",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"svelte-check": "^3.4.4",
"typescript": "^5.3.2",
"vite": "^5.0.4",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/paths-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"svelte-check": "^3.4.4",
"typescript": "^5.3.2",
"vite": "^5.0.4",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/prompts": "^2.4.1",
"@types/semver": "^7.5.0",
"prettier": "^3.1.0",
"vitest": "^0.34.5"
"vitest": "^1.0.0"
},
"scripts": {
"test": "vitest run",
Expand Down
Loading

0 comments on commit a07deb8

Please sign in to comment.