@collectui/cli 0.2.37 → 0.2.38
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 +1 -1
- package/src/commands/setup.mjs +3 -1
package/package.json
CHANGED
package/src/commands/setup.mjs
CHANGED
|
@@ -287,7 +287,9 @@ export async function runSetup({ flags, rest = [], reporter, mode }) {
|
|
|
287
287
|
mcpClients: clients,
|
|
288
288
|
mcpServers: mcpEntries.map((e) => e.serverName),
|
|
289
289
|
next: [
|
|
290
|
-
|
|
290
|
+
// 不在目标目录才提示 cd(在项目里跑就不必;configure 远处项目同样给——
|
|
291
|
+
// 2026-12-06 用户定案)
|
|
292
|
+
process.cwd() !== target ? `cd ${cs.show(target)}` : null,
|
|
291
293
|
// 只有 CLI 没自动装、且项目里确实没有 node_modules 才提示安装
|
|
292
294
|
// (configure 到已装过依赖的老项目不该再出现这行——2026-12-06 实报)
|
|
293
295
|
install || existsSync(join(target, "node_modules"))
|