From 18af2a93ab7630bbaa0d3f40795fe8d823450b38 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Fri, 20 Sep 2024 14:18:33 +0200 Subject: [PATCH 1/2] fix(sveltekit): Create bundler plugin env file instead of sentryclirc Ref https://github.com/getsentry/sentry-wizard/issues/674 --- src/sveltekit/sveltekit-wizard.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sveltekit/sveltekit-wizard.ts b/src/sveltekit/sveltekit-wizard.ts index 8b0a9418..78233c5a 100644 --- a/src/sveltekit/sveltekit-wizard.ts +++ b/src/sveltekit/sveltekit-wizard.ts @@ -7,7 +7,7 @@ import * as Sentry from '@sentry/node'; import { abort, abortIfCancelled, - addSentryCliConfig, + addDotEnvSentryBuildPluginFile, askShouldCreateExamplePage, confirmContinueIfNoOrDirtyGitRepo, ensurePackageIsInstalled, @@ -98,7 +98,7 @@ export async function runSvelteKitWizardWithTelemetry( alreadyInstalled: sdkAlreadyInstalled, }); - await addSentryCliConfig({ authToken }); + await addDotEnvSentryBuildPluginFile(authToken); const svelteConfig = await traceStep('load-svelte-config', loadSvelteConfig); From cedde8b46a42d718e07ba5b74a4f58256cf7c5cf Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Fri, 20 Sep 2024 14:19:18 +0200 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfb4e5c4..a8467cc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- fix(sveltekit): Create bundler plugin env file instead of sentryclirc (#675) + ## 3.30.0 - feat: Allow passing org and project slug parameters (#671) @@ -29,11 +33,14 @@ Work in this release contributed by @MaximAL. Thank you for your contributions! ## 3.26.0 -- fix(nextjs): Don't add '.env.sentry-build-plugin' to .gitignore if it's already there (#610) +- fix(nextjs): Don't add '.env.sentry-build-plugin' to .gitignore if it's + already there (#610) - feat(nextjs): Support all `next.config` file types (#630) -- fix(nextjs): Update instrumentation and example creation logic for app or pages usage (#629) +- fix(nextjs): Update instrumentation and example creation logic for app or + pages usage (#629) - feat(nextjs): Prompt for `reactComponentAnnotation` (#634) -- fix(nextjs): Add missing Error.getInitialProps calls in Next.js error page snippets (#632) +- fix(nextjs): Add missing Error.getInitialProps calls in Next.js error page + snippets (#632) - fix/feat: Improve error logging for package installation (#635) - fix: Properly close open handles (#638) @@ -51,7 +58,8 @@ Work in this release contributed by @MaximAL. Thank you for your contributions! ## 3.24.1 -- fix(nextjs): Add trailing comma to `sentryUrl` option in `withSentryConfig` template (#601) +- fix(nextjs): Add trailing comma to `sentryUrl` option in `withSentryConfig` + template (#601) ## 3.24.0