the-frame-ai 0.10.1 → 0.10.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 +1 -1
- package/src/update.js +8 -5
package/package.json
CHANGED
package/src/update.js
CHANGED
|
@@ -101,14 +101,17 @@ export async function update(target, flags = {}) {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
// 5. Update Playwright MCP (frontend projects)
|
|
104
|
-
if (config.frontend
|
|
104
|
+
if (!config.frontend) {
|
|
105
105
|
if (process.stdin.isTTY && !flags.yes) {
|
|
106
106
|
const frontend = await promptFrontend(false);
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
if (frontend) {
|
|
108
|
+
config.frontend = true;
|
|
109
|
+
writeFileSync(join(target, '.frame', 'config.json'), JSON.stringify(config, null, 2), 'utf-8');
|
|
110
|
+
mergeClaudeSettings(join(target, '.claude', 'settings.json'));
|
|
111
|
+
if (config.copilot) mergeVscodeMcp(join(target, '.vscode', 'mcp.json'));
|
|
112
|
+
}
|
|
109
113
|
}
|
|
110
|
-
}
|
|
111
|
-
if (config.frontend) {
|
|
114
|
+
} else {
|
|
112
115
|
mergeClaudeSettings(join(target, '.claude', 'settings.json'));
|
|
113
116
|
if (config.copilot) mergeVscodeMcp(join(target, '.vscode', 'mcp.json'));
|
|
114
117
|
}
|