@bitovi/vybit 0.10.1 → 0.10.2

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/README.md +15 -12
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -171,18 +171,21 @@ STORYBOOK_URL=http://localhost:7000 npx @bitovi/vybit
171
171
 
172
172
  ### 2. Use the VyBit Panel Inside Storybook
173
173
 
174
- You can embed the VyBit editor panel as a tab directly inside your Storybook UI. This requires installing the addon separately:
175
-
176
- 1. Install the addon in your project:
177
- ```bash
178
- npm install --save-dev @bitovi/vybit-storybook-addon
179
- ```
180
- 2. Register it in `.storybook/main.ts`:
181
- ```ts
182
- export default {
183
- addons: ['@bitovi/vybit-storybook-addon'],
184
- };
185
- ```
174
+ You can embed the VyBit editor panel as a tab directly inside your Storybook UI. Because VyBit is typically run via `npx` in the MCP config (not installed locally), you need to add it as a dev dependency so Storybook can resolve the addon.
175
+
176
+ Install it in the same package where Storybook is a dependency (this may be a subdirectory in a monorepo):
177
+
178
+ ```bash
179
+ npm install --save-dev @bitovi/vybit
180
+ ```
181
+
182
+ Then register the addon in `.storybook/main.ts`:
183
+
184
+ ```ts
185
+ export default {
186
+ addons: ['@bitovi/vybit/storybook-addon'],
187
+ };
188
+ ```
186
189
 
187
190
  The VyBit editor panel will now appear as a tab inside your Storybook.
188
191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitovi/vybit",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "Browser overlay + inspector panel + MCP server for visually editing Tailwind CSS classes on a running React app",
5
5
  "keywords": [
6
6
  "tailwind",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "exports": {
25
25
  ".": "./loader.mjs",
26
- "./storybook-addon": "./storybook-addon/index.ts"
26
+ "./storybook-addon": "./storybook-addon/index.js"
27
27
  },
28
28
  "files": [
29
29
  "loader.mjs",