@miyucy/storybook-mcp 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -164,7 +164,7 @@ class Storybook {
164
164
  absolute: true,
165
165
  });
166
166
  if (paths.length > 0) {
167
- resolved[componentPath] = path.resolve(this.storybookRoot, paths[0]);
167
+ resolved[componentPath] = paths[0];
168
168
  }
169
169
  }
170
170
  }
@@ -181,7 +181,7 @@ class Storybook {
181
181
  const task = tasks.pop();
182
182
  if (!task) {
183
183
  worker.terminate();
184
- return;
184
+ return processNext();
185
185
  }
186
186
  worker.postMessage(task);
187
187
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miyucy/storybook-mcp",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {