genie-setup 1.0.1 → 1.0.5

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.
Files changed (2) hide show
  1. package/index.js +12 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -55,12 +55,21 @@ if (fs.existsSync(PROJECT_NAME)) {
55
55
  }
56
56
 
57
57
  // 5. Navigate, Install, and Launch!
58
+
59
+
58
60
  console.log(`\nšŸ“¦ Installing GENIE dependencies...`);
59
61
  const projectPath = path.join(process.cwd(), PROJECT_NAME);
60
62
  process.chdir(projectPath);
61
63
 
62
64
  run('pnpm install');
63
65
 
64
- console.log(`\nšŸš€ GENIE is ready! Starting the core process...`);
65
- // Change this next line to whatever command actually boots up your app (e.g., pnpm run dev, pnpm start)
66
- run('pnpm start');
66
+ // Link the CLI globally so the 'genie' command works everywhere
67
+ console.log(`\nšŸ”— Linking GENIE CLI...`);
68
+ run('npm link');
69
+
70
+ console.log(`\nāœ… GENIE is installed and ready to grant wishes!\n`);
71
+ console.log(`========================================`);
72
+ console.log(`To launch your dashboard, type:`);
73
+ console.log(` cd ${PROJECT_NAME}`);
74
+ console.log(` genie start --desktop`);
75
+ console.log(`========================================\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genie-setup",
3
- "version": "1.0.1",
3
+ "version": "1.0.5",
4
4
  "description": "Universal installer for GENIE",
5
5
  "main": "index.js",
6
6
  "bin": {