1 | import './chunk-WUKYLWAZ.mjs';
|
2 | import './chunk-R3DRYDIZ.mjs';
|
3 | import { dedent } from 'ts-dedent';
|
4 | import chalk from 'chalk';
|
5 |
|
6 | var blocker={id:"storyStoreV7removal",async check({mainConfig}){let features=mainConfig?.features;return features===void 0?!1:!!Object.hasOwn(features,"storyStoreV7")},log(){return dedent`
|
7 | StoryStoreV7 feature must be removed from your Storybook configuration.
|
8 | This feature was removed in Storybook 8.0.0.
|
9 | Please see the migration guide for more information:
|
10 | ${chalk.yellow("https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#storystorev6-and-storiesof-is-deprecated")}
|
11 |
|
12 | In your Storybook configuration we found storyStoryV7 feature defined. For instance:
|
13 |
|
14 | export default = {
|
15 | features: {
|
16 | ${chalk.cyan("storyStoreV7: false")}, <--- ${chalk.bold("remove this line")}
|
17 | },
|
18 | };
|
19 |
|
20 | You need to remove the storyStoreV7 property.
|
21 | `}};
|
22 |
|
23 | export { blocker };
|