diff --git a/CHANGELOG.md b/CHANGELOG.md index 47f30f8ea..b888b3ea8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - feat(nuxt): Add `import-in-the-middle` install step when using pnpm ([#727](https://github.com/getsentry/sentry-wizard/pull/727)) - fix(nuxt): Remove unused parameter in sentry-example-api template ([#734](https://github.com/getsentry/sentry-wizard/pull/734)) +- fix(nuxt): Remove option to downgrade override nitropack ([#744](https://github.com/getsentry/sentry-wizard/pull/744)) ## 3.36.0 diff --git a/e2e-tests/tests/nuxt-3.test.ts b/e2e-tests/tests/nuxt-3.test.ts index d79ee3189..a371aefec 100644 --- a/e2e-tests/tests/nuxt-3.test.ts +++ b/e2e-tests/tests/nuxt-3.test.ts @@ -44,25 +44,12 @@ async function runWizardOnNuxtProject(projectDir: string): Promise { 'Please select your package manager.', ); - const nitropackOverridePrompted = + const nftOverridePrompted = packageManagerPrompted && (await wizardInstance.sendStdinAndWaitForOutput( // Selecting `yarn` as the package manager [KEYS.DOWN, KEYS.ENTER], - // Do you want to install version 2.9.7 of nitropack and add an override to package.json? - 'Do you want to add an override for nitropack version ~2.9.7?', - { - timeout: 240_000, - }, - )); - - const nftOverridePrompted = - nitropackOverridePrompted && - (await wizardInstance.sendStdinAndWaitForOutput( - // Selecting `yes` to downgrade nitropack - KEYS.ENTER, 'Do you want to add an override for @vercel/nft version ^0.27.4?', - // 'Do you want to install version', { timeout: 240_000, }, diff --git a/e2e-tests/tests/nuxt-4.test.ts b/e2e-tests/tests/nuxt-4.test.ts index b255d8cf2..4a8306f72 100644 --- a/e2e-tests/tests/nuxt-4.test.ts +++ b/e2e-tests/tests/nuxt-4.test.ts @@ -43,25 +43,12 @@ async function runWizardOnNuxtProject(projectDir: string): Promise { 'Please select your package manager.', ); - const nitropackOverridePrompted = + const nftOverridePrompted = packageManagerPrompted && (await wizardInstance.sendStdinAndWaitForOutput( // Selecting `yarn` as the package manager [KEYS.DOWN, KEYS.ENTER], - // Do you want to install version 2.9.7 of nitropack and add an override to package.json? - 'Do you want to add an override for nitropack version ~2.9.7?', - { - timeout: 240_000, - }, - )); - - const nftOverridePrompted = - nitropackOverridePrompted && - (await wizardInstance.sendStdinAndWaitForOutput( - // Selecting `yes` to downgrade nitropack - KEYS.ENTER, 'Do you want to add an override for @vercel/nft version ^0.27.4?', - // 'Do you want to install version', { timeout: 240_000, }, diff --git a/src/nuxt/sdk-setup.ts b/src/nuxt/sdk-setup.ts index 6e2a2b0a8..5f5b5d6fe 100644 --- a/src/nuxt/sdk-setup.ts +++ b/src/nuxt/sdk-setup.ts @@ -222,10 +222,6 @@ export async function addNuxtOverrides( const isPNPM = PNPM.detect(); const overrides = [ - { - pkgName: 'nitropack', - pkgVersion: '~2.9.7', - }, { pkgName: '@vercel/nft', pkgVersion: '^0.27.4',