Skip to content

Commit cc439e2

Browse files
committed
add missing commands
1 parent 77b97aa commit cc439e2

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

dev-packages/e2e-tests/test-applications/cloudflare-astro/astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export default defineConfig({
1414
sentry({
1515
enabled: Boolean(dsn),
1616
dsn,
17+
sourceMapsUploadOptions: {
18+
enabled: false,
19+
},
1720
clientInitPath: 'sentry.client.mjs',
1821
serverInitPath: 'sentry.server.mjs',
1922
}),

dev-packages/e2e-tests/test-applications/cloudflare-astro/package.json

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,30 @@
44
"version": "0.0.1",
55
"private": true,
66
"scripts": {
7-
"dev": "astro dev",
8-
"start": "astro dev",
9-
"build": "yarn build:bundle",
7+
"astro": "astro",
8+
"build": "astro build",
109
"build:bundle": "astro build",
10+
"clean": "npx rimraf node_modules,pnpm-lock.yaml",
11+
"dev": "astro dev",
1112
"preview": "astro preview",
12-
"astro": "astro",
13-
"test:assert": "pnpm version"
13+
"start": "astro dev",
14+
"test:prod": "pnpm -v",
15+
"test:dev": "pnpm -v",
16+
"test:build": "pnpm install && pnpm build",
17+
"test:assert": "pnpm -v"
1418
},
1519
"dependencies": {
16-
"astro": "^4.1.1",
17-
"@astrojs/cloudflare": "^8.0.2",
18-
"@sentry/astro": "7.92.0",
19-
"@sentry/profiling-node": "^1.3.2"
20-
},
21-
"volta": {
22-
"extends": "../../package.json"
20+
"@astrojs/cloudflare": "8.0.1",
21+
"@sentry/astro": "latest || *",
22+
"astro": "4.0.9"
2323
},
2424
"pnpm": {
2525
"overrides": {
26-
"@sentry/node": "latest || *"
26+
"@sentry/node": "latest || *",
27+
"@sentry/tracing": "latest || *"
2728
}
29+
},
30+
"volta": {
31+
"extends": "../../package.json"
2832
}
2933
}

dev-packages/e2e-tests/test-applications/cloudflare-astro/sentry.client.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ import * as Sentry from '@sentry/astro';
22

33
Sentry.init({
44
dsn: process.env.E2E_TEST_DSN,
5-
tracesSampleRate: 1,
6-
integrations: [],
75
});

0 commit comments

Comments
 (0)