Skip to content

Commit 663abd6

Browse files
authored
Merge pull request #1181 from joshunrau/dev
fix: issue with vite types
2 parents 5d1ca62 + 487518f commit 663abd6

File tree

4 files changed

+222
-442
lines changed

4 files changed

+222
-442
lines changed

apps/gateway/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import tailwindcss from '@tailwindcss/vite';
55
import react from '@vitejs/plugin-react-swc';
66
import { defineConfig } from 'vite';
77

8-
// @ts-expect-error - conflict with vite version of subdependency, but works with v6
98
export default defineConfig(({ mode }) => ({
109
build: {
1110
chunkSizeWarningLimit: 1000,
@@ -23,7 +22,7 @@ export default defineConfig(({ mode }) => ({
2322
react(),
2423
runtime({
2524
disabled: mode === 'test'
26-
}),
25+
}) as any,
2726
tailwindcss()
2827
],
2928
resolve: {

apps/web/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ export default defineConfig({
3333
}),
3434
react(),
3535
viteCompression(),
36-
// @ts-expect-error - conflict with vite version of subdependency, but works with v6
3736
importMetaEnv.vite({
3837
example: path.resolve(import.meta.dirname, '.env.public')
39-
}),
38+
}) as any,
4039
runtime(),
4140
tailwindcss()
4241
],

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "1.11.0",
55
"private": true,
6-
"packageManager": "pnpm@9.15.4",
6+
"packageManager": "pnpm@10.7.0",
77
"license": "Apache-2.0",
88
"engines": {
99
"node": ">=v22.11.0"
@@ -47,8 +47,8 @@
4747
"@types/github-script": "https://github.com/actions/github-script/archive/refs/tags/v7.0.1.tar.gz",
4848
"@types/js-yaml": "^4.0.9",
4949
"@types/node": "22.x",
50-
"@vitest/browser": "^2.1.9",
51-
"@vitest/coverage-v8": "^2.0.5",
50+
"@vitest/browser": "^3.2.4",
51+
"@vitest/coverage-v8": "^3.2.4",
5252
"dotenv": "^16.4.7",
5353
"env-cmd": "^10.1.0",
5454
"eslint": "9.23.x",
@@ -65,7 +65,7 @@
6565
"turbo": "^2.3.3",
6666
"typescript": "5.6.x",
6767
"unplugin-swc": "^1.5.1",
68-
"vitest": "^2.1.9"
68+
"vitest": "^3.2.4"
6969
},
7070
"os": [
7171
"darwin",
@@ -86,7 +86,10 @@
8686
"@types/react-dom": "-",
8787
"framer-motion": "11.15.0",
8888
"typescript": "5.6.x"
89-
}
89+
},
90+
"onlyBuiltDependencies": [
91+
"@nestjs/core"
92+
]
9093
},
9194
"__isODCRepo": true
9295
}

0 commit comments

Comments
 (0)