@aslomon/effectum 0.3.0 → 0.3.1
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/bin/install.js +7 -5
- package/package.json +1 -1
package/bin/install.js
CHANGED
|
@@ -543,17 +543,19 @@ Options:
|
|
|
543
543
|
writeConfig(targetDir, config);
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
// MCP servers
|
|
547
|
-
|
|
548
|
-
|
|
546
|
+
// MCP servers — always install recommended MCPs (or explicit --with-mcp)
|
|
547
|
+
const mcpKeys = config.mcpServers || (config.recommended ? config.recommended.mcps : []) || [];
|
|
548
|
+
if (mcpKeys.length > 0 || args.withMcp) {
|
|
549
|
+
const keysToInstall = mcpKeys.length > 0 ? mcpKeys : MCP_SERVERS.map((s) => s.key);
|
|
550
|
+
const mcpResults = installMcpServers(keysToInstall);
|
|
549
551
|
const settingsPath = isGlobal
|
|
550
552
|
? path.join(homeClaudeDir, "settings.json")
|
|
551
553
|
: path.join(targetDir, ".claude", "settings.json");
|
|
552
554
|
addMcpToSettings(settingsPath, mcpResults, targetDir);
|
|
553
555
|
}
|
|
554
556
|
|
|
555
|
-
// Playwright
|
|
556
|
-
if (args.withPlaywright) {
|
|
557
|
+
// Playwright — install if recommended or explicit
|
|
558
|
+
if (args.withPlaywright || config.playwrightBrowsers) {
|
|
557
559
|
installPlaywrightBrowsers();
|
|
558
560
|
if (!isGlobal) ensurePlaywrightConfig(process.cwd());
|
|
559
561
|
}
|
package/package.json
CHANGED