Skip to content

Commit f89759f

Browse files
authored
ref(nextjs): Remove next.js plugin (#3462)
This PR removes the nextjs plugin, in light of the infrastructure for it having been [removed by Vercel](vercel/next.js#20759). This disables the SDK for anything but entirely manual use. Replacements for the work the plugin was doing to come in future PRs.
1 parent 7335bee commit f89759f

File tree

13 files changed

+645
-387
lines changed

13 files changed

+645
-387
lines changed

packages/next-plugin-sentry/LICENSE

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/next-plugin-sentry/README.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

packages/next-plugin-sentry/env.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/next-plugin-sentry/package.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

packages/next-plugin-sentry/src/on-error-client.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/next-plugin-sentry/src/on-error-server.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

packages/next-plugin-sentry/src/on-init-client.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/next-plugin-sentry/src/on-init-server.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"dependencies": {
2020
"@sentry/core": "6.3.1",
2121
"@sentry/integrations": "6.3.1",
22-
"@sentry/next-plugin-sentry": "6.3.1",
2322
"@sentry/node": "6.3.1",
2423
"@sentry/react": "6.3.1",
2524
"@sentry/utils": "6.3.1",
@@ -29,6 +28,7 @@
2928
"@sentry/types": "6.3.1",
3029
"@types/webpack": "^5.28.0",
3130
"eslint": "7.20.0",
31+
"next": "^10.1.3",
3232
"rimraf": "3.0.2"
3333
},
3434
"scripts": {

packages/nextjs/src/index.server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ export function init(options: NextjsOptions): void {
2727
}
2828

2929
export { withSentryConfig } from './utils/config';
30+
export { withSentry } from './utils/handlers';

0 commit comments

Comments
 (0)