Skip to content

Commit 789965c

Browse files
authored
fix: allow vitest v2 in peer dependencies (#13)
1 parent 9d01688 commit 789965c

File tree

4 files changed

+745
-1023
lines changed

4 files changed

+745
-1023
lines changed

package.json

+24-16
Original file line numberDiff line numberDiff line change
@@ -47,37 +47,45 @@
4747
"parserOptions": {
4848
"project": "./tsconfig.json"
4949
},
50-
"extends": "@mcous/eslint-config"
50+
"extends": "@mcous/eslint-config",
51+
"rules": {
52+
"@typescript-eslint/restrict-template-expressions": [
53+
"error",
54+
{
55+
"allowNumber": true
56+
}
57+
]
58+
}
5159
},
5260
"devDependencies": {
53-
"@mcous/eslint-config": "0.4.3",
61+
"@mcous/eslint-config": "0.4.4",
5462
"@mcous/prettier-config": "0.3.0",
5563
"@mcous/typescript-config": "0.2.1",
56-
"@typescript-eslint/eslint-plugin": "6.18.1",
57-
"@typescript-eslint/parser": "6.18.1",
58-
"@vitest/coverage-istanbul": "^1.1.3",
59-
"@vitest/expect": "^1.1.3",
64+
"@typescript-eslint/eslint-plugin": "7.16.0",
65+
"@typescript-eslint/parser": "7.16.0",
66+
"@vitest/coverage-istanbul": "^2.0.1",
67+
"@vitest/expect": "^2.0.1",
6068
"concurrently": "^8.2.2",
6169
"eslint": "8.56.0",
6270
"eslint-config-prettier": "9.1.0",
63-
"eslint-plugin-promise": "6.1.1",
64-
"eslint-plugin-sonarjs": "0.23.0",
65-
"eslint-plugin-unicorn": "50.0.1",
66-
"prettier": "3.1.1",
67-
"tsup": "^8.0.1",
68-
"typescript": "5.3.3",
69-
"vitest": "^1.1.3"
71+
"eslint-plugin-promise": "6.4.0",
72+
"eslint-plugin-sonarjs": "0.24.0",
73+
"eslint-plugin-unicorn": "51.0.1",
74+
"prettier": "3.3.2",
75+
"tsup": "^8.1.0",
76+
"typescript": "5.5.3",
77+
"vitest": "^2.0.1"
7078
},
7179
"peerDependencies": {
72-
"@vitest/expect": ">=0.31.0 <2.0.0",
73-
"vitest": ">=0.31.0 <2.0.0"
80+
"@vitest/expect": ">=0.31.0 <3.0.0",
81+
"vitest": ">=0.31.0 <3.0.0"
7482
},
7583
"peerDependenciesMeta": {
7684
"@vitest/expect": {
7785
"optional": true
7886
}
7987
},
80-
"packageManager": "pnpm@8.14.0+sha256.9cebf61abd83f68177b29484da72da9751390eaad46dfc3072d266bfbb1ba7bf",
88+
"packageManager": "pnpm@8.15.8+sha256.691fe176eea9a8a80df20e4976f3dfb44a04841ceb885638fe2a26174f81e65e",
8189
"publishConfig": {
8290
"access": "public",
8391
"provenance": true

0 commit comments

Comments
 (0)