Skip to content

Commit

Permalink
ref(nextjs): Remove next.js plugin (#3462)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lobsterkatie authored Apr 28, 2021
1 parent 7335bee commit f89759f
Show file tree
Hide file tree
Showing 13 changed files with 645 additions and 387 deletions.
29 changes: 0 additions & 29 deletions packages/next-plugin-sentry/LICENSE

This file was deleted.

17 changes: 0 additions & 17 deletions packages/next-plugin-sentry/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions packages/next-plugin-sentry/env.js

This file was deleted.

38 changes: 0 additions & 38 deletions packages/next-plugin-sentry/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/next-plugin-sentry/src/on-error-client.js

This file was deleted.

36 changes: 0 additions & 36 deletions packages/next-plugin-sentry/src/on-error-server.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/next-plugin-sentry/src/on-init-client.js

This file was deleted.

6 changes: 0 additions & 6 deletions packages/next-plugin-sentry/src/on-init-server.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"dependencies": {
"@sentry/core": "6.3.1",
"@sentry/integrations": "6.3.1",
"@sentry/next-plugin-sentry": "6.3.1",
"@sentry/node": "6.3.1",
"@sentry/react": "6.3.1",
"@sentry/utils": "6.3.1",
Expand All @@ -29,6 +28,7 @@
"@sentry/types": "6.3.1",
"@types/webpack": "^5.28.0",
"eslint": "7.20.0",
"next": "^10.1.3",
"rimraf": "3.0.2"
},
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/src/index.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ export function init(options: NextjsOptions): void {
}

export { withSentryConfig } from './utils/config';
export { withSentry } from './utils/handlers';
Loading

0 comments on commit f89759f

Please sign in to comment.