genie-setup 1.0.0 ā 1.0.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/index.js +12 -3
- 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
|
-
|
|
65
|
-
|
|
66
|
-
run('
|
|
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`);
|