Skip to content

Commit 75d0f93

Browse files
committed
feat(hapi): Upgrade sentry to v8
1 parent 8338a05 commit 75d0f93

File tree

4 files changed

+569
-193
lines changed

4 files changed

+569
-193
lines changed

apps/hapi/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"scripts": {
99
"build": "tsc",
10-
"start": "yarn build && node --require ./dist/instrumentation.js dist/app.js",
10+
"start": "yarn build && node dist/app.js",
1111
"clean": "npx rimraf node_modules,pnpm-lock.yaml"
1212
},
1313
"license": "MIT",
@@ -16,7 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@hapi/hapi": "21.3.9",
19-
"@sentry/node": "8.0.0-rc.1",
19+
"@sentry/node": "8.9.2",
2020
"dotenv": "^16.4.5"
2121
}
2222
}

apps/hapi/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// import './instrumentation'; // file preloaded with --require option in node call
1+
import './instrument';
22
import * as Sentry from '@sentry/node';
33
import Hapi from '@hapi/hapi';
44

File renamed without changes.

0 commit comments

Comments
 (0)