@openbuilder/cli 0.50.18 → 0.50.19
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openbuilder/cli",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.19",
|
|
4
4
|
"description": "OpenBuilder CLI - AI-powered application builder",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -76,7 +76,6 @@
|
|
|
76
76
|
"ora": "^9.0.0",
|
|
77
77
|
"pg": "^8.13.1",
|
|
78
78
|
"picocolors": "^1.1.1",
|
|
79
|
-
"react": "19.1.0",
|
|
80
79
|
"simple-git": "^3.28.0",
|
|
81
80
|
"ws": "^8.18.0",
|
|
82
81
|
"zod": "^4.0.0"
|
|
@@ -51,6 +51,15 @@ for (const dep of workspaceDeps) {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
// REMOVE react - it's bundled by rollup to prevent multiple instances issue with ink
|
|
55
|
+
// When react is both bundled AND listed as a dependency, ink uses the npm-installed
|
|
56
|
+
// version while our code uses the bundled version, causing "Cannot read properties of null"
|
|
57
|
+
if (packageJson.dependencies['react']) {
|
|
58
|
+
console.log(` Removing react (bundled by rollup to prevent multiple instances)`);
|
|
59
|
+
delete packageJson.dependencies['react'];
|
|
60
|
+
modified = true;
|
|
61
|
+
}
|
|
62
|
+
|
|
54
63
|
// Remove bundledDependencies if it exists (no longer needed)
|
|
55
64
|
if (packageJson.bundledDependencies) {
|
|
56
65
|
console.log(` Removing bundledDependencies (agent-core is inlined, not bundled)`);
|