@insforge/install 0.0.37 → 0.0.39
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/dist/index.js +33 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13,7 +13,38 @@ import {
|
|
|
13
13
|
import { hideBin } from "yargs/helpers";
|
|
14
14
|
|
|
15
15
|
import pc from "picocolors";
|
|
16
|
-
var { green, red } = pc;
|
|
16
|
+
var { green, red, yellow } = pc;
|
|
17
|
+
|
|
18
|
+
// ASCII art logo for InsForge
|
|
19
|
+
const INSFORGE_LOGO = `
|
|
20
|
+
██╗███╗ ██╗███████╗███████╗ ██████╗ ██████╗ ██████╗ ███████╗
|
|
21
|
+
██║████╗ ██║██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔════╝ ██╔════╝
|
|
22
|
+
██║██╔██╗ ██║███████╗█████╗ ██║ ██║██████╔╝██║ ███╗█████╗
|
|
23
|
+
██║██║╚██╗██║╚════██║██╔══╝ ██║ ██║██╔══██╗██║ ██║██╔══╝
|
|
24
|
+
██║██║ ╚████║███████║██║ ╚██████╔╝██║ ██║╚██████╔╝███████╗
|
|
25
|
+
╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
|
|
26
|
+
`;
|
|
27
|
+
|
|
28
|
+
function printPostInstallMessage() {
|
|
29
|
+
console.log(INSFORGE_LOGO);
|
|
30
|
+
console.log(green('✓ InsForge MCP is now configured!'));
|
|
31
|
+
console.log();
|
|
32
|
+
console.log('Next steps:');
|
|
33
|
+
console.log(' 1. Restart your coding agent to load InsForge');
|
|
34
|
+
console.log(' 2. Try these commands in your agent:');
|
|
35
|
+
console.log();
|
|
36
|
+
console.log(` ${yellow('"Create a posts table with title, content, and author"')}`);
|
|
37
|
+
console.log(' (Sets up your database schema)');
|
|
38
|
+
console.log();
|
|
39
|
+
console.log(` ${yellow('"Add image upload for user profiles"')}`);
|
|
40
|
+
console.log(' (Creates storage bucket and handles file uploads)');
|
|
41
|
+
console.log();
|
|
42
|
+
console.log('Learn more:');
|
|
43
|
+
console.log(' 📚 Documentation: https://docs.insforge.dev/introduction');
|
|
44
|
+
console.log(' 💬 Discord: https://discord.com/invite/MPxwj5xVvW');
|
|
45
|
+
console.log(' ⭐ GitHub: https://github.com/insforge/insforge');
|
|
46
|
+
console.log();
|
|
47
|
+
}
|
|
17
48
|
function builder(yargs2) {
|
|
18
49
|
return yargs2.option("client", {
|
|
19
50
|
type: "string",
|
|
@@ -243,7 +274,7 @@ alwaysApply: true
|
|
|
243
274
|
}
|
|
244
275
|
}
|
|
245
276
|
|
|
246
|
-
|
|
277
|
+
printPostInstallMessage();
|
|
247
278
|
} catch (e) {
|
|
248
279
|
logger.error(red(e.message));
|
|
249
280
|
}
|