mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 16:22:09 +08:00
Documentation: Update migration documentation and dependency versions: require Next.js 14.1 and Angular 18.0. Adjusted support messages accordingly.
This commit is contained in:
parent
fdb13bd0fa
commit
e9cf081d0d
@ -861,9 +861,9 @@ export default {
|
|||||||
|
|
||||||
#### Next.js = Require v14 and up
|
#### Next.js = Require v14 and up
|
||||||
|
|
||||||
Storybook has dropped support for Next.js versions below 14. The minimum supported version is now Next.js 14.
|
Storybook has dropped support for Next.js versions below 14.1. The minimum supported version is now Next.js 14.1.
|
||||||
|
|
||||||
If you're using an older version of Next.js, you'll need to upgrade to Next.js 14 or newer to use the latest version of Storybook.
|
If you're using an older version of Next.js, you'll need to upgrade to Next.js 14.1 or newer to use the latest version of Storybook.
|
||||||
|
|
||||||
For help upgrading your Next.js application, see the [Next.js upgrade guide](https://nextjs.org/docs/app/building-your-application/upgrading).
|
For help upgrading your Next.js application, see the [Next.js upgrade guide](https://nextjs.org/docs/app/building-your-application/upgrading).
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ import { dedent } from 'ts-dedent';
|
|||||||
import { createBlocker } from './types';
|
import { createBlocker } from './types';
|
||||||
|
|
||||||
const minimalVersionsMap = {
|
const minimalVersionsMap = {
|
||||||
'@angular/core': '15.0.0',
|
'@angular/core': '18.0.0',
|
||||||
'react-scripts': '5.0.0',
|
'react-scripts': '5.0.0',
|
||||||
'@storybook/preact-webpack5': '9.0.0',
|
'@storybook/preact-webpack5': '9.0.0',
|
||||||
'@storybook/preset-preact-webpack': '9.0.0',
|
'@storybook/preset-preact-webpack': '9.0.0',
|
||||||
@ -86,7 +86,7 @@ export const blocker = createBlocker({
|
|||||||
`;
|
`;
|
||||||
case '@angular/core':
|
case '@angular/core':
|
||||||
return dedent`
|
return dedent`
|
||||||
Support for Angular < 15 has been removed.
|
Support for Angular < 18 has been removed.
|
||||||
Please see the migration guide for more information:
|
Please see the migration guide for more information:
|
||||||
${picocolors.yellow('https://angular.io/guide/update-to-version-15')}
|
${picocolors.yellow('https://angular.io/guide/update-to-version-15')}
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ export const blocker = createBlocker({
|
|||||||
`;
|
`;
|
||||||
case 'next':
|
case 'next':
|
||||||
return dedent`
|
return dedent`
|
||||||
Support for Next.js < 13.5 has been removed.
|
Support for Next.js < 14.1 has been removed.
|
||||||
Please see the migration guide for more information:
|
Please see the migration guide for more information:
|
||||||
${picocolors.yellow(
|
${picocolors.yellow(
|
||||||
'https://nextjs.org/docs/pages/building-your-application/upgrading/version-13'
|
'https://nextjs.org/docs/pages/building-your-application/upgrading/version-13'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user