fix(ui): add @types/node for process.env in vite.config
tsc -b type-checks vite.config.ts during the production build (pnpm lint does not), and the API_PROXY_TARGET override added there needs node types for `process`. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
26
ui/pnpm-lock.yaml
generated
26
ui/pnpm-lock.yaml
generated
@@ -48,6 +48,9 @@ importers:
|
||||
specifier: ^4.0.1
|
||||
version: 4.0.1
|
||||
devDependencies:
|
||||
'@types/node':
|
||||
specifier: ^25.9.3
|
||||
version: 25.9.3
|
||||
'@types/react':
|
||||
specifier: ^19.0.0
|
||||
version: 19.2.14
|
||||
@@ -59,13 +62,13 @@ importers:
|
||||
version: 3.3.6
|
||||
'@vitejs/plugin-react-swc':
|
||||
specifier: ^3.7.2
|
||||
version: 3.11.0(@swc/helpers@0.5.21)(vite@6.4.2)
|
||||
version: 3.11.0(@swc/helpers@0.5.21)(vite@6.4.2(@types/node@25.9.3))
|
||||
typescript:
|
||||
specifier: ~5.7.0
|
||||
version: 5.7.3
|
||||
vite:
|
||||
specifier: ^6.0.0
|
||||
version: 6.4.2
|
||||
version: 6.4.2(@types/node@25.9.3)
|
||||
|
||||
packages:
|
||||
|
||||
@@ -532,6 +535,9 @@ packages:
|
||||
'@types/ms@2.1.0':
|
||||
resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
|
||||
|
||||
'@types/node@25.9.3':
|
||||
resolution: {integrity: sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==}
|
||||
|
||||
'@types/prop-types@15.7.15':
|
||||
resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}
|
||||
|
||||
@@ -1068,6 +1074,9 @@ packages:
|
||||
peerDependencies:
|
||||
react: '>=16.14.0'
|
||||
|
||||
undici-types@7.24.6:
|
||||
resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==}
|
||||
|
||||
unified@11.0.5:
|
||||
resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==}
|
||||
|
||||
@@ -1449,6 +1458,10 @@ snapshots:
|
||||
|
||||
'@types/ms@2.1.0': {}
|
||||
|
||||
'@types/node@25.9.3':
|
||||
dependencies:
|
||||
undici-types: 7.24.6
|
||||
|
||||
'@types/prop-types@15.7.15': {}
|
||||
|
||||
'@types/react-dom@19.2.3(@types/react@19.2.14)':
|
||||
@@ -1475,11 +1488,11 @@ snapshots:
|
||||
|
||||
'@ungap/structured-clone@1.3.0': {}
|
||||
|
||||
'@vitejs/plugin-react-swc@3.11.0(@swc/helpers@0.5.21)(vite@6.4.2)':
|
||||
'@vitejs/plugin-react-swc@3.11.0(@swc/helpers@0.5.21)(vite@6.4.2(@types/node@25.9.3))':
|
||||
dependencies:
|
||||
'@rolldown/pluginutils': 1.0.0-beta.27
|
||||
'@swc/core': 1.15.33(@swc/helpers@0.5.21)
|
||||
vite: 6.4.2
|
||||
vite: 6.4.2(@types/node@25.9.3)
|
||||
transitivePeerDependencies:
|
||||
- '@swc/helpers'
|
||||
|
||||
@@ -2328,6 +2341,8 @@ snapshots:
|
||||
dependencies:
|
||||
react: 19.2.5
|
||||
|
||||
undici-types@7.24.6: {}
|
||||
|
||||
unified@11.0.5:
|
||||
dependencies:
|
||||
'@types/unist': 3.0.3
|
||||
@@ -2380,7 +2395,7 @@ snapshots:
|
||||
'@types/unist': 3.0.3
|
||||
vfile-message: 4.0.3
|
||||
|
||||
vite@6.4.2:
|
||||
vite@6.4.2(@types/node@25.9.3):
|
||||
dependencies:
|
||||
esbuild: 0.25.12
|
||||
fdir: 6.5.0(picomatch@4.0.4)
|
||||
@@ -2389,6 +2404,7 @@ snapshots:
|
||||
rollup: 4.60.2
|
||||
tinyglobby: 0.2.16
|
||||
optionalDependencies:
|
||||
'@types/node': 25.9.3
|
||||
fsevents: 2.3.3
|
||||
|
||||
warning@4.0.3:
|
||||
|
||||
Reference in New Issue
Block a user