Skip to content

Commit

Permalink
Merge pull request #27065 from storybookjs/norbert/add-nextjs-peerwar…
Browse files Browse the repository at this point in the history
…ning-exception

Build: Fix nextjs prerelease peerDep warning
  • Loading branch information
ndelangen authored May 8, 2024
2 parents abff28c + f6b4fbd commit 8787873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/e2e-tests/addon-docs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
) {
Expand Down
1 change: 1 addition & 0 deletions scripts/utils/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
) {
Expand Down

0 comments on commit 8787873

Please sign in to comment.