@insforge/cli 0.1.13 → 0.1.15
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/README.md +9 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -128,6 +128,15 @@ insforge current
|
|
|
128
128
|
insforge current --json
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
+
#### `insforge metadata`
|
|
132
|
+
|
|
133
|
+
Show backend metadata including auth configuration, database tables, storage buckets, edge functions, AI models, and realtime channels.
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
insforge metadata
|
|
137
|
+
insforge metadata --json
|
|
138
|
+
```
|
|
139
|
+
|
|
131
140
|
---
|
|
132
141
|
|
|
133
142
|
### Database — `insforge db`
|
package/dist/index.js
CHANGED
|
@@ -697,13 +697,13 @@ ${missing.join("\n")}
|
|
|
697
697
|
async function installSkills(json) {
|
|
698
698
|
try {
|
|
699
699
|
if (!json) clack5.log.info("Installing InsForge agent skills...");
|
|
700
|
-
await execAsync("npx skills add insforge/agent-skills -y -a antigravity -a augment -a claude-code -a cline -a codex -a cursor -a gemini-cli -a github-copilot -a kilo -a qoder -a qwen-code -a roo -a trae -a windsurf", {
|
|
700
|
+
await execAsync("npx skills add insforge/agent-skills -y -s insforge -s insforge-cli -a antigravity -a augment -a claude-code -a cline -a codex -a cursor -a gemini-cli -a github-copilot -a kilo -a qoder -a qwen-code -a roo -a trae -a windsurf", {
|
|
701
701
|
cwd: process.cwd(),
|
|
702
702
|
timeout: 6e4
|
|
703
703
|
});
|
|
704
704
|
if (!json) clack5.log.success("InsForge agent skills installed.");
|
|
705
705
|
} catch {
|
|
706
|
-
if (!json) clack5.log.warn("Failed to install agent skills. You can run manually: npx skills add insforge/agent-skills");
|
|
706
|
+
if (!json) clack5.log.warn("Failed to install agent skills. You can run manually: npx skills add insforge/agent-skills -s insforge -s insforge-cli");
|
|
707
707
|
}
|
|
708
708
|
try {
|
|
709
709
|
updateGitignore();
|
|
@@ -2050,7 +2050,8 @@ async function downloadTemplate(framework, projectConfig, projectName, json, _ap
|
|
|
2050
2050
|
} catch {
|
|
2051
2051
|
}
|
|
2052
2052
|
const frame = framework === "nextjs" ? "nextjs" : "react";
|
|
2053
|
-
const
|
|
2053
|
+
const esc = (s2) => `'${s2.replace(/'/g, "'\\''")}'`;
|
|
2054
|
+
const command = `npx create-insforge-app ${esc(targetDir)} --frame ${frame} --base-url ${esc(projectConfig.oss_host)} --anon-key ${esc(anonKey)} --skip-install`;
|
|
2054
2055
|
s?.message(`Running create-insforge-app (${frame})...`);
|
|
2055
2056
|
await execAsync2(command, {
|
|
2056
2057
|
maxBuffer: 10 * 1024 * 1024,
|