diff --git a/.changeset/soft-schools-share.md b/.changeset/soft-schools-share.md new file mode 100644 index 0000000..b29d7b7 --- /dev/null +++ b/.changeset/soft-schools-share.md @@ -0,0 +1,5 @@ +--- +'@storybook/addon-mcp': patch +--- + +Support Storybook 9.1.16 and up diff --git a/packages/addon-mcp/CHANGELOG.md b/packages/addon-mcp/CHANGELOG.md index a434e91..56b2796 100644 --- a/packages/addon-mcp/CHANGELOG.md +++ b/packages/addon-mcp/CHANGELOG.md @@ -6,9 +6,11 @@ - [#36](https://github.com/storybookjs/mcp/pull/36) [`93f88e4`](https://github.com/storybookjs/mcp/commit/93f88e4a28c3dae1b4c02c29839eb5e8b9375146) Thanks [@JReinhold](https://github.com/JReinhold)! - Add support for Webpack (including Webpack-based frameworks like Next.js) - # Breaking Change +# Breaking Change - This requires version 10.1 of Storybook, currently only available as the canary version `0.0.0-pr-32810-sha-6e759c7e`. If you want to continue to use the addon with Storybook 9 or 10.0 (and Vite), stick to [version `0.0.9` of this package](https://github.com/storybookjs/mcp/tree/%40storybook/addon-mcp%400.0.9). +This requires version 10.1 of Storybook, currently only available as the canary version `0.0.0-pr-32810-sha-6e759c7e`. If you want to continue to use the addon with Storybook 9 or 10.0 (and Vite), stick to [version `0.0.9` of this package](https://github.com/storybookjs/mcp/tree/%40storybook/addon-mcp%400.0.9). + +EDIT: The above is not true anymore, see version [0.1.1](#011) of this package. ### Patch Changes diff --git a/packages/addon-mcp/README.md b/packages/addon-mcp/README.md index a9ef413..9817d76 100644 --- a/packages/addon-mcp/README.md +++ b/packages/addon-mcp/README.md @@ -15,7 +15,7 @@ The addon provides tools to improve agents' UI development capabilities, retriev ### Installation and Setup > [!NOTE] -> This addon requires Storybook 10.1 or higher, currently only available as the canary version `0.0.0-pr-32810-sha-6e759c7e`. +> This addon requires Storybook version 9.1.16 or higher. Use Storybook's CLI to automatically install and configure the addon: @@ -125,6 +125,7 @@ These additional tools are available when the **experimental** component manifes **Requirements:** +- Storybook version 10.1.0 or higher (currently only available as prereleases, `storybook@next`) - React-based framework (`react-vite`, `nextjs-vite`, `nextjs`, `react-webpack5`) - Feature flag `features.experimentalComponentsManifest` set to `true` in `.storybook/main.js` diff --git a/packages/addon-mcp/package.json b/packages/addon-mcp/package.json index 237b1f1..01c4e74 100644 --- a/packages/addon-mcp/package.json +++ b/packages/addon-mcp/package.json @@ -51,7 +51,7 @@ "vitest": "catalog:" }, "peerDependencies": { - "storybook": "catalog:" + "storybook": "^9.1.16 || ^10.0.0" }, "publishConfig": { "access": "public"