Skip to content

Commit 19c20eb

Browse files
committed
fix: build and start scripts
1 parent bccdfc0 commit 19c20eb

4 files changed

Lines changed: 15 additions & 7 deletions

File tree

dev-packages/e2e-tests/test-applications/vinext-app/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,23 @@
55
"scripts": {
66
"dev": "vinext dev",
77
"build": "vinext build",
8-
"start": "vinext start --port 3000",
8+
"start": "vinext start --port 3030",
99
"test": "playwright test",
1010
"test:build": "pnpm install && pnpm build",
1111
"test:assert": "pnpm test"
1212
},
1313
"dependencies": {
1414
"@sentry/vinext": "latest || *",
15-
"react": "^19.0.0",
16-
"react-dom": "^19.0.0",
17-
"vinext": "latest"
15+
"react": "^19.2.4",
16+
"react-dom": "^19.2.4"
1817
},
1918
"devDependencies": {
2019
"@playwright/test": "~1.56.0",
2120
"@sentry-internal/test-utils": "link:../../../test-utils",
21+
"@vitejs/plugin-rsc": "^0.5.20",
2222
"typescript": "~5.5.0",
23-
"vite": "^7.0.0"
23+
"vinext": "^0.0.19",
24+
"vite": "^7.3.1"
2425
},
2526
"volta": {
2627
"extends": "../../package.json",

dev-packages/e2e-tests/test-applications/vinext-app/playwright.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { getPlaywrightConfig } from '@sentry-internal/test-utils';
22

33
const config = getPlaywrightConfig({
44
startCommand: `pnpm start`,
5-
port: 3000,
5+
port: 3030,
66
});
77

88
export default config;

dev-packages/e2e-tests/test-applications/vinext-app/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"esModuleInterop": true,
99
"skipLibCheck": true
1010
},
11-
"include": ["src/**/*"]
11+
"include": ["src/**/*", "*.ts", "*.mts"]
1212
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { defineConfig } from 'vite';
2+
import vinext from 'vinext';
3+
import { sentryVinext } from '@sentry/vinext/vite';
4+
5+
export default defineConfig({
6+
plugins: [vinext(), sentryVinext()],
7+
});

0 commit comments

Comments
 (0)