GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Clean build output before running test · getsentry/sentry-javascript@fe6711f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • dev-packages/e2e-tests/test-applications/solidstart
    • package.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎dev-packages/e2e-tests/test-applications/solidstart/package.json‎

Copy file name to clipboardExpand all lines: dev-packages/e2e-tests/test-applications/solidstart/package.json
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,19 @@
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",

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.