From 6012858ac85c696031c87597754b3cbab05e1a49 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 8 May 2024 09:25:54 +0200 Subject: [PATCH 1/2] do not warn on nextjs prerelease as @JReinholdsuggested --- scripts/utils/yarn.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/utils/yarn.ts b/scripts/utils/yarn.ts index dd261eb851d2..90a6fb44b0df 100644 --- a/scripts/utils/yarn.ts +++ b/scripts/utils/yarn.ts @@ -101,6 +101,7 @@ export const configureYarn2ForVerdaccio = async ({ if ( key.includes('svelte-kit') || // React prereleases will have INCOMPATIBLE_PEER_DEPENDENCY errors because of transitive dependencies not allowing v19 betas + key.includes('nextjs/prerelease') || key.includes('react-vite/prerelease') || key.includes('react-webpack/prerelease') ) { From f6b4fbd9ead2d86ee63e6701cd025cf8113fd189 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 8 May 2024 10:03:16 +0200 Subject: [PATCH 2/2] fix e2e test for nextjs/prerelease --- code/e2e-tests/addon-docs.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/code/e2e-tests/addon-docs.spec.ts b/code/e2e-tests/addon-docs.spec.ts index b8b20bb46455..b5a50a302281 100644 --- a/code/e2e-tests/addon-docs.spec.ts +++ b/code/e2e-tests/addon-docs.spec.ts @@ -201,6 +201,7 @@ test.describe('addon-docs', () => { } else if (templateName.includes('react16')) { expectedReactVersionRange = /^16/; } else if ( + templateName.includes('nextjs/prerelease') || templateName.includes('react-vite/prerelease') || templateName.includes('react-webpack/prerelease') ) {