From 5d5482a549cd59b8295e16150071c898f65713ae Mon Sep 17 00:00:00 2001 From: Ian Thorslund Date: Tue, 25 Feb 2025 11:57:29 +0100 Subject: [PATCH 1/3] Update templates.ts --- src/nextjs/templates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nextjs/templates.ts b/src/nextjs/templates.ts index 5f7b608d..35eb3158 100644 --- a/src/nextjs/templates.ts +++ b/src/nextjs/templates.ts @@ -20,7 +20,7 @@ export function getWithSentryConfigOptionsTemplate({ }: WithSentryConfigOptions): string { return `{ // For all available options, see: - // https://github.com/getsentry/sentry-webpack-plugin#options + // https://www.npmjs.com/package/@sentry/webpack-plugin#options org: "${orgSlug}", project: "${projectSlug}",${ From 4158a7d394977f295aef0f8b937162613f4a185e Mon Sep 17 00:00:00 2001 From: Ian Thorslund Date: Tue, 25 Feb 2025 11:59:51 +0100 Subject: [PATCH 2/3] Update next.config.js --- scripts/NextJs/configs/next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/NextJs/configs/next.config.js b/scripts/NextJs/configs/next.config.js index 06ef151f..23edce78 100644 --- a/scripts/NextJs/configs/next.config.js +++ b/scripts/NextJs/configs/next.config.js @@ -28,7 +28,7 @@ const sentryWebpackPluginOptions = { silent: true, // Suppresses all logs // For all available options, see: - // https://github.com/getsentry/sentry-webpack-plugin#options. + // https://www.npmjs.com/package/@sentry/webpack-plugin#options }; // Make sure adding Sentry options is the last code to run before exporting, to From 412b28cba3abcf6bd9784089e51c9f3b667f132e Mon Sep 17 00:00:00 2001 From: Ian Thorslund Date: Tue, 25 Feb 2025 12:01:13 +0100 Subject: [PATCH 3/3] Update templates.test.ts --- test/nextjs/templates.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/nextjs/templates.test.ts b/test/nextjs/templates.test.ts index 75f19d86..00f7b64d 100644 --- a/test/nextjs/templates.test.ts +++ b/test/nextjs/templates.test.ts @@ -253,7 +253,7 @@ describe('Next.js code templates', () => { expect(template).toMatchInlineSnapshot(` "{ // For all available options, see: - // https://github.com/getsentry/sentry-webpack-plugin#options + // https://www.npmjs.com/package/@sentry/webpack-plugin#options org: "my-org", project: "my-project", @@ -298,7 +298,7 @@ describe('Next.js code templates', () => { expect(template).toMatchInlineSnapshot(` "{ // For all available options, see: - // https://github.com/getsentry/sentry-webpack-plugin#options + // https://www.npmjs.com/package/@sentry/webpack-plugin#options org: "my-org", project: "my-project", @@ -344,7 +344,7 @@ describe('Next.js code templates', () => { expect(template).toMatchInlineSnapshot(` "{ // For all available options, see: - // https://github.com/getsentry/sentry-webpack-plugin#options + // https://www.npmjs.com/package/@sentry/webpack-plugin#options org: "my-org", project: "my-project", @@ -389,7 +389,7 @@ describe('Next.js code templates', () => { expect(template).toMatchInlineSnapshot(` "{ // For all available options, see: - // https://github.com/getsentry/sentry-webpack-plugin#options + // https://www.npmjs.com/package/@sentry/webpack-plugin#options org: "my-org", project: "my-project",