Skip to content

Commit 51423c0

Browse files
committed
Resolve vite to the same version using resolutions
1 parent df703d3 commit 51423c0

File tree

6 files changed

+169
-795
lines changed

6 files changed

+169
-795
lines changed

devserver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@blueprintjs/core": "^5.10.2",
1313
"@blueprintjs/icons": "^5.9.0",
1414
"@sourceacademy/modules-lib": "workspace:^",
15-
"@vitejs/plugin-react": "^4.5.1",
15+
"@vitejs/plugin-react": "^4.7.0",
1616
"ace-builds": "^1.25.1",
1717
"classnames": "^2.3.1",
1818
"commander": "^13.0.0",

lib/modules-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"@sourceacademy/modules-buildtools": "workspace:^",
88
"@types/react": "^18.3.1",
99
"@types/react-dom": "^18.3.1",
10-
"@vitejs/plugin-react": "^4.5.1",
10+
"@vitejs/plugin-react": "^4.7.0",
1111
"@vitest/browser": "^3.2.3",
1212
"eslint": "^9.31.0",
1313
"playwright": "^1.54.1",

lib/repotools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@commander-js/extra-typings": "^13.0.0",
99
"@types/lodash": "^4.14.198",
1010
"@types/node": "^22.15.30",
11-
"@vitejs/plugin-react": "^4.5.1",
11+
"@vitejs/plugin-react": "^4.7.0",
1212
"@vitest/coverage-v8": "^3.2.3",
1313
"typescript": "^5.8.2",
1414
"vitest": "^3.2.3",

lib/repotools/src/testing.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ export const baseVitestConfig: ViteUserConfig = rootConfig;
2020
*/
2121
export const sharedTabsConfig = mergeConfig(
2222
baseVitestConfig,
23-
// @ts-expect-error help why are plugins weird
2423
defineProject({
25-
// @ts-expect-error help why are plugins weird
2624
plugins: [react()],
2725
optimizeDeps: {
2826
include: [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@
107107
"./src/tabs"
108108
],
109109
"resolutions": {
110-
"uniqid@npm:^5.4.0": "patch:uniqid@npm%3A5.4.0#~/.yarn/patches/uniqid-npm-5.4.0-f982bda028.patch"
110+
"vite": "npm:vite@^6.3.5"
111111
}
112112
}

0 commit comments

Comments
 (0)