-
Notifications
You must be signed in to change notification settings - Fork 50
feat(sourcemaps): Replace "clean artifacts" command #30
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
Conversation
| } | ||
| // eslint-disable-next-line @typescript-eslint/restrict-template-expressions, @typescript-eslint/no-unsafe-member-access | ||
| const USER_AGENT = `sentry-unplugin/${unpluginVersion}`; | ||
| const sentryApiAxiosInstance = axios.create(); |
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.
+1 for this!
vladanpaunovic
left a comment
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.
Ignoring TODOs, all good
| authToken: string; | ||
| sentryUrl: string; | ||
| }): Promise<void> { | ||
| const requestUrl = `${sentryUrl}${API_PATH}/projects/${org}/${project}/releases/`; |
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.
| const requestUrl = `${sentryUrl}${API_PATH}/projects/${org}/${project}/releases/`; | |
| // using the legacy endpoint here because the sentry webpack plugin only associates one project | |
| // with the release. If we ever wanna support multiple projects in the unplugin, | |
| // take a look at how sentry/cli calls the new endpoint: | |
| // https://github.com/getsentry/sentry-cli/blob/4fa813549cd249e77ae6ba974d76e606a19f48de/src/api.rs#L769-L773 | |
| const requestUrl = `${sentryUrl}${API_PATH}/projects/${org}/${project}/releases/`; |
packages/unplugin/src/sentry/api.ts
Outdated
| // using the legacy endpoint here because the sentry webpack plugin only associates one project | ||
| // with the release. If we ever wanna support multiple projects in the unplugin, | ||
| // take a look at how sentry/cli calls the new endpoint: | ||
| // https://github.com/getsentry/sentry-cli/blob/4fa813549cd249e77ae6ba974d76e606a19f48de/src/api.rs#L769-L773 |
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.
| // using the legacy endpoint here because the sentry webpack plugin only associates one project | |
| // with the release. If we ever wanna support multiple projects in the unplugin, | |
| // take a look at how sentry/cli calls the new endpoint: | |
| // https://github.com/getsentry/sentry-cli/blob/4fa813549cd249e77ae6ba974d76e606a19f48de/src/api.rs#L769-L773 |
No description provided.