Andrew commited on
Commit
2829807
·
1 Parent(s): 90b6a14

Add cross-env and IPv4-first DNS fix for Windows dev server

Browse files
Files changed (2) hide show
  1. package-lock.json +26 -0
  2. package.json +2 -1
package-lock.json CHANGED
@@ -65,6 +65,7 @@
65
  "@typescript-eslint/eslint-plugin": "^6.x",
66
  "@typescript-eslint/parser": "^6.x",
67
  "bson-objectid": "^2.0.4",
 
68
  "dompurify": "^3.2.4",
69
  "elysia": "^1.3.2",
70
  "eslint": "^8.28.0",
@@ -487,6 +488,13 @@
487
  "tslib": "^2.4.0"
488
  }
489
  },
 
 
 
 
 
 
 
490
  "node_modules/@esbuild/aix-ppc64": {
491
  "version": "0.25.5",
492
  "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.5.tgz",
@@ -4247,6 +4255,24 @@
4247
  "url": "https://github.com/sponsors/mesqueeb"
4248
  }
4249
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4250
  "node_modules/cross-spawn": {
4251
  "version": "7.0.6",
4252
  "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
 
65
  "@typescript-eslint/eslint-plugin": "^6.x",
66
  "@typescript-eslint/parser": "^6.x",
67
  "bson-objectid": "^2.0.4",
68
+ "cross-env": "^10.1.0",
69
  "dompurify": "^3.2.4",
70
  "elysia": "^1.3.2",
71
  "eslint": "^8.28.0",
 
488
  "tslib": "^2.4.0"
489
  }
490
  },
491
+ "node_modules/@epic-web/invariant": {
492
+ "version": "1.0.0",
493
+ "resolved": "https://registry.npmjs.org/@epic-web/invariant/-/invariant-1.0.0.tgz",
494
+ "integrity": "sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==",
495
+ "dev": true,
496
+ "license": "MIT"
497
+ },
498
  "node_modules/@esbuild/aix-ppc64": {
499
  "version": "0.25.5",
500
  "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.5.tgz",
 
4255
  "url": "https://github.com/sponsors/mesqueeb"
4256
  }
4257
  },
4258
+ "node_modules/cross-env": {
4259
+ "version": "10.1.0",
4260
+ "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-10.1.0.tgz",
4261
+ "integrity": "sha512-GsYosgnACZTADcmEyJctkJIoqAhHjttw7RsFrVoJNXbsWWqaq6Ym+7kZjq6mS45O0jij6vtiReppKQEtqWy6Dw==",
4262
+ "dev": true,
4263
+ "license": "MIT",
4264
+ "dependencies": {
4265
+ "@epic-web/invariant": "^1.0.0",
4266
+ "cross-spawn": "^7.0.6"
4267
+ },
4268
+ "bin": {
4269
+ "cross-env": "dist/bin/cross-env.js",
4270
+ "cross-env-shell": "dist/bin/cross-env-shell.js"
4271
+ },
4272
+ "engines": {
4273
+ "node": ">=20"
4274
+ }
4275
+ },
4276
  "node_modules/cross-spawn": {
4277
  "version": "7.0.6",
4278
  "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
package.json CHANGED
@@ -4,7 +4,7 @@
4
  "private": true,
5
  "packageManager": "npm@9.5.0",
6
  "scripts": {
7
- "dev": "vite dev",
8
  "build": "vite build",
9
  "preview": "vite preview",
10
  "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
@@ -38,6 +38,7 @@
38
  "@typescript-eslint/eslint-plugin": "^6.x",
39
  "@typescript-eslint/parser": "^6.x",
40
  "bson-objectid": "^2.0.4",
 
41
  "dompurify": "^3.2.4",
42
  "elysia": "^1.3.2",
43
  "eslint": "^8.28.0",
 
4
  "private": true,
5
  "packageManager": "npm@9.5.0",
6
  "scripts": {
7
+ "dev": "cross-env NODE_OPTIONS=--dns-result-order=ipv4first vite dev",
8
  "build": "vite build",
9
  "preview": "vite preview",
10
  "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
 
38
  "@typescript-eslint/eslint-plugin": "^6.x",
39
  "@typescript-eslint/parser": "^6.x",
40
  "bson-objectid": "^2.0.4",
41
+ "cross-env": "^10.1.0",
42
  "dompurify": "^3.2.4",
43
  "elysia": "^1.3.2",
44
  "eslint": "^8.28.0",