@promakeai/inspector 1.0.6 → 1.0.7

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 +4 -2
  2. package/package.json +1 -4
package/README.md CHANGED
@@ -14,12 +14,14 @@ bun add @promakeai/inspector
14
14
 
15
15
  ## Peer Dependencies
16
16
 
17
- Make sure you have these installed in your project:
17
+ Make sure you have React installed in your project:
18
18
 
19
19
  ```bash
20
- npm install react react-dom
20
+ npm install react
21
21
  ```
22
22
 
23
+ **Note:** `react-dom` is bundled with the inspector to avoid ESM compatibility issues.
24
+
23
25
  ## Usage
24
26
 
25
27
  ### 1. Add Vite Plugin (for component tracking)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promakeai/inspector",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Visual element inspector React component with AI prompt support",
5
5
  "author": "Promake",
6
6
  "type": "module",
@@ -57,7 +57,6 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@promakeai/inspector-types": "^1.0.1",
60
- "react-dom": "^18.3.1",
61
60
  "@radix-ui/react-popover": "^1.1.15",
62
61
  "@radix-ui/react-select": "^2.2.6",
63
62
  "@radix-ui/react-slider": "^1.3.6",
@@ -70,8 +69,6 @@
70
69
  "zustand": "^5.0.8"
71
70
  },
72
71
  "devDependencies": {
73
- "react": "^19.2.0",
74
- "react-dom": "^19.2.0",
75
72
  "@testing-library/jest-dom": "^6.9.1",
76
73
  "@testing-library/react": "^16.3.0",
77
74
  "@testing-library/user-event": "^14.6.1",