Skip to content

Commit d9d5c29

Browse files
committed
build(deps): move client dependencies to devDependencies
Move react, react-dom, @xterm/xterm, @xterm/addon-fit, and @xterm/addon-serialize from dependencies to devDependencies. These packages are only used in the client-side React UI and are bundled into static assets during the Vite build process. They are not required at runtime by the server-side plugin code, so keeping them in devDependencies reduces the installed package size for end users. No functional changes; improves package optimization.
1 parent 8e5995b commit d9d5c29

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎package.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,22 @@
7474
"playwright-core": "1.57.0",
7575
"prettier": "^3.8.1",
7676
"typescript": "^5.3.0",
77-
"vite": "^7.3.1"
77+
"vite": "^7.3.1",
78+
"react": "^18.3.1",
79+
"react-dom": "^18.3.1",
80+
"@xterm/xterm": "^6.0.0",
81+
"@xterm/addon-fit": "^0.11.0",
82+
"@xterm/addon-serialize": "^0.14.0"
7883
},
7984
"peerDependencies": {
8085
"typescript": "^5"
8186
},
8287
"dependencies": {
8388
"@opencode-ai/plugin": "1.1.47",
8489
"@opencode-ai/sdk": "1.1.47",
85-
"@xterm/addon-fit": "^0.11.0",
86-
"@xterm/addon-serialize": "^0.14.0",
87-
"@xterm/xterm": "^6.0.0",
8890
"bun-pty": "^0.4.8",
8991
"moment": "^2.30.1",
9092
"open": "^11.0.0",
91-
"react": "^18.3.1",
92-
"react-dom": "^18.3.1",
9393
"strip-ansi": "^7.1.2"
9494
}
9595
}

0 commit comments

Comments
 (0)