-
-
Notifications
You must be signed in to change notification settings - Fork 57
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(angular): Add Sentry setup in main.ts
#768
base: onur/angular-wizard-base
Are you sure you want to change the base?
feat(angular): Add Sentry setup in main.ts
#768
Conversation
|
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.
Just one concern where I think we can use an already existing helper function.
Generally, I'm seeing quite a few duplicated functions from Remix and other SDKs in this flow but for now I'm fine with the duplication. I'll create a tracking issue to dedupe and extract some helper function to tackle later.
src/angular/sdk-setup.ts
Outdated
import chalk from 'chalk'; | ||
import { updateAppEntryMod } from './codemods/main'; | ||
|
||
export function hasSentryContent( |
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.
m: can we use the hasSentryContent
function from ast-utils.ts
instead of this one here?
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.
Updated 👍
Supersedes #741 - Part 2
Targeted to the epic branch.
main.ts
with feature selectionLocally tested
#skip-changelog