@storybook/addon-mcp 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/preset.js
CHANGED
|
@@ -15,7 +15,7 @@ import { buffer } from "node:stream/consumers";
|
|
|
15
15
|
|
|
16
16
|
//#region package.json
|
|
17
17
|
var name = "@storybook/addon-mcp";
|
|
18
|
-
var version = "0.
|
|
18
|
+
var version = "0.5.0";
|
|
19
19
|
var description = "Help agents automatically write and test stories for your UI components";
|
|
20
20
|
|
|
21
21
|
//#endregion
|
|
@@ -1339,6 +1339,12 @@ const experimental_devServer = async (app, options) => {
|
|
|
1339
1339
|
});
|
|
1340
1340
|
return app;
|
|
1341
1341
|
};
|
|
1342
|
+
const features = async (existingFeatures) => {
|
|
1343
|
+
return {
|
|
1344
|
+
...existingFeatures,
|
|
1345
|
+
componentsManifest: true
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1342
1348
|
/**
|
|
1343
1349
|
* Get composed Storybook refs from Storybook config.
|
|
1344
1350
|
* See: https://storybook.js.org/docs/sharing/storybook-composition
|
|
@@ -1358,4 +1364,4 @@ async function getRefsFromConfig(options) {
|
|
|
1358
1364
|
}
|
|
1359
1365
|
|
|
1360
1366
|
//#endregion
|
|
1361
|
-
export { experimental_devServer, previewAnnotations };
|
|
1367
|
+
export { experimental_devServer, features, previewAnnotations };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Help agents automatically write and test stories for your UI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@tmcp/adapter-valibot": "^0.1.
|
|
34
|
-
"@tmcp/transport-http": "^0.8.
|
|
33
|
+
"@tmcp/adapter-valibot": "^0.1.5",
|
|
34
|
+
"@tmcp/transport-http": "^0.8.5",
|
|
35
35
|
"picoquery": "^2.5.0",
|
|
36
|
-
"tmcp": "^1.
|
|
36
|
+
"tmcp": "^1.19.3",
|
|
37
37
|
"valibot": "1.2.0",
|
|
38
|
-
"@storybook/mcp": "0.6.
|
|
38
|
+
"@storybook/mcp": "0.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@storybook/addon-a11y": "10.
|
|
42
|
-
"@storybook/addon-vitest": "10.
|
|
43
|
-
"storybook": "10.
|
|
41
|
+
"@storybook/addon-a11y": "10.4.0-alpha.7",
|
|
42
|
+
"@storybook/addon-vitest": "10.4.0-alpha.7",
|
|
43
|
+
"storybook": "10.4.0-alpha.7"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@storybook/addon-vitest": "^9.1.16 || ^10.0.0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0 || ^10.4.0-0",
|