-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(next): add sentry to payments-next #17550
Conversation
@@ -276,7 +277,8 @@ | |||
"tap/typescript": "^4.5.2", | |||
"terser:>4.0.0 <5": ">=4.8.1", | |||
"terser:>5 <6": ">=5.14.2", | |||
"underscore": ">=1.13.2" | |||
"underscore": ">=1.13.2", | |||
"@sentry/types": "^7.113.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed once #17505 is merged.
@@ -61,6 +61,7 @@ | |||
"@fxa/shared/pem-jwk": ["libs/shared/pem-jwk/src/index.ts"], | |||
"@fxa/shared/react": ["libs/shared/react/src/index.ts"], | |||
"@fxa/shared/sentry": ["libs/shared/sentry/src/index.ts"], | |||
"@fxa/shared/sentry/client": ["libs/shared/sentry/src/client.ts"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some modules in shared-sentry
require modules only available in a node
environment, such as fs
, which are not available on the client (browser). Therefore a separate client
barrel file is required which would not include these modules.
69cc7bf
to
fe1c51e
Compare
fe1c51e
to
0e50f05
Compare
Because: - Be able to use Sentry in Next.js on both the client and the server This commit: - Add Sentry to payments-next using the installation wizard Closes #FXA-9998
0e50f05
to
54fefd2
Compare
Because
This pull request
Issue that this pull request solves
Closes: #FXA-9998
Checklist
Put an
x
in the boxes that apply