File tree Expand file tree Collapse file tree
dev-packages/e2e-tests/test-applications/solidstart Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "version": "0.0.0",
44 "scripts": {
55 "clean": "pnpx rimraf node_modules pnpm-lock.yaml .vinxi .output",
6+ "clean:build": "pnpx rimraf .vinxi .output",
67 "dev": "NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi dev",
78 "build": "vinxi build",
89 "//": [
910 "We are using `vinxi dev` to start the server because `vinxi start` is experimental and ",
1011 "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`."
1217 ],
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",
1419 "start": "HOST=localhost PORT=3030 NODE_OPTIONS='--import ./src/instrument.server.mjs' vinxi start",
1520 "test:prod": "TEST_ENV=production playwright test",
1621 "test:build": "pnpm install && npx playwright install && pnpm build",
You can’t perform that action at this time.
0 commit comments