pantheon-opencode 1.1.1-beta.0 → 1.1.1-beta.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.
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* opencode.mjs — OpenCode platform installer
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
import { execSync } from 'node:child_process'
|
|
6
7
|
import { chmodSync, existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs'
|
|
7
8
|
import { homedir } from 'node:os'
|
|
8
9
|
import { join, resolve } from 'node:path'
|
|
@@ -267,7 +268,7 @@ export function installOpenCode(
|
|
|
267
268
|
// Install plugin dependencies (@opentui/core, @opentui/solid, solid-js)
|
|
268
269
|
if (!dryRun) {
|
|
269
270
|
try {
|
|
270
|
-
execSync('npm install --
|
|
271
|
+
execSync('npm install --omit=dev --no-audit --no-fund --legacy-peer-deps', { cwd: dstPluginDir, stdio: 'pipe' })
|
|
271
272
|
} catch (e) {
|
|
272
273
|
console.warn(' ⚠️ Failed to install TUI plugin dependencies:', e.message)
|
|
273
274
|
}
|