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') ) { 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') ) {