File tree 1 file changed +7
-2
lines changed
dev-packages/e2e-tests/test-applications/solidstart
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 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" ,
6
7
"dev" : " NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev" ,
7
8
"build" : " vinxi build" ,
8
9
"//" : [
9
10
" We are using `vinxi dev` to start the server because `vinxi start` is experimental and " ,
10
11
" doesn't correctly resolve modules for @sentry/solidstart/solidrouter." ,
11
- " This is currently not an issue outside of our repo. See: https://github.com/nksaraf/vinxi/issues/177"
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`."
12
17
],
13
- "preview" : " HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev" ,
18
+ "preview" : " pnpm clean:build && HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev" ,
14
19
"start" : " HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi start" ,
15
20
"test:prod" : " TEST_ENV=production playwright test" ,
16
21
"test:build" : " pnpm install && npx playwright install && pnpm build" ,
You can’t perform that action at this time.
0 commit comments