| 
3 | 3 |   "version": "0.0.0",  | 
4 | 4 |   "scripts": {  | 
5 | 5 |     "clean": "pnpx rimraf node_modules pnpm-lock.yaml .vinxi .output",  | 
6 |  | -    "clean:build": "pnpx rimraf .vinxi .output",  | 
7 | 6 |     "dev": "NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev",  | 
8 |  | -    "build": "vinxi build",  | 
9 |  | -    "//": [  | 
10 |  | -      "We are using `vinxi dev` to start the server because `vinxi start` is experimental and ",  | 
11 |  | -      "doesn't correctly resolve modules for @sentry/solidstart/solidrouter.",  | 
12 |  | -      "This is currently not an issue outside of our repo. See: https://github.com/nksaraf/vinxi/issues/177",  | 
13 |  | -      "We run the build command to ensure building succeeds. However, keeping",  | 
14 |  | -      "build output around slows down the vite dev server when using `@sentry/vite-plugin` so we clear it out",  | 
15 |  | -      "before actually running the tests.",  | 
16 |  | -      "Cleaning the build output should be removed once we can use `vinxi start`."  | 
17 |  | -    ],  | 
18 |  | -    "preview": "pnpm clean:build && HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev",  | 
19 |  | -    "start": "HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi start",  | 
 | 7 | +    "build": "vinxi build && sh ./post_build.sh",  | 
 | 8 | +    "preview": "HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi start",  | 
20 | 9 |     "test:prod": "TEST_ENV=production playwright test",  | 
21 | 10 |     "test:build": "pnpm install && npx playwright install && pnpm build",  | 
22 | 11 |     "test:assert": "pnpm test:prod"  | 
 | 
41 | 30 |     "vite": "^5.2.8",  | 
42 | 31 |     "vite-plugin-solid": "^2.10.2",  | 
43 | 32 |     "vitest": "^1.5.0"  | 
 | 33 | +  },  | 
 | 34 | +  "overrides": {  | 
 | 35 | +    "@vercel/nft": "0.27.4"  | 
44 | 36 |   }  | 
45 | 37 | }  | 
0 commit comments