Skip to content

Commit d13bc8c

Browse files
feat: upgrade to Vitest v2
1 parent d91b2f9 commit d13bc8c

File tree

3 files changed

+5130
-4126
lines changed

3 files changed

+5130
-4126
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
// Enable the ESLint flat config support
3-
"eslint.experimental.useFlatConfig": true,
3+
"eslint.useFlatConfig": true,
44

55
// Disable the default formatter, use ESLint instead
66
"prettier.enable": false,
@@ -15,6 +15,7 @@
1515
// Silent the stylistic rules in you IDE, but still auto-fix them
1616
"eslint.rules.customizations": [
1717
{ "rule": "style/*", "severity": "off" },
18+
{ "rule": "format/*", "severity": "off" },
1819
{ "rule": "*-indent", "severity": "off" },
1920
{ "rule": "*-spacing", "severity": "off" },
2021
{ "rule": "*-spaces", "severity": "off" },

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nitro-test-utils",
33
"type": "module",
44
"version": "0.5.0",
5-
"packageManager": "pnpm@8.15.6",
5+
"packageManager": "pnpm@9.5.0",
66
"description": "Testing environment and utilities for Nitro",
77
"author": "Johann Schopplich <hello@johannschopplich.com>",
88
"license": "MIT",
@@ -49,7 +49,7 @@
4949
},
5050
"peerDependencies": {
5151
"nitropack": "^2",
52-
"vitest": "^1"
52+
"vitest": "^2"
5353
},
5454
"dependencies": {
5555
"defu": "^6.1.4",
@@ -60,14 +60,14 @@
6060
"ufo": "^1.5.3"
6161
},
6262
"devDependencies": {
63-
"@antfu/eslint-config": "^2.13.3",
64-
"@types/node": "^20.12.7",
65-
"bumpp": "^9.4.0",
66-
"eslint": "^8.57.0",
67-
"nitropack": "^2.9.6",
68-
"typescript": "^5.4.5",
69-
"unbuild": "^2.0.0",
70-
"vite": "^5.2.8",
71-
"vitest": "^1.4.0"
63+
"@antfu/eslint-config": "^2.21.3",
64+
"@types/node": "^20.14.10",
65+
"bumpp": "^9.4.1",
66+
"eslint": "^9.6.0",
67+
"nitropack": "^2.9.7",
68+
"typescript": "^5.5.3",
69+
"unbuild": "^3.0.0-rc.6",
70+
"vite": "^5.3.3",
71+
"vitest": "^2.0.1"
7272
}
7373
}

0 commit comments

Comments
 (0)