@c4t4/heyamigo 0.1.0 → 0.1.1
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/cli/service.js +2 -2
- package/dist/cli/setup.js +2 -2
- package/package.json +1 -1
package/dist/cli/service.js
CHANGED
|
@@ -50,7 +50,7 @@ export async function serviceCmd(action) {
|
|
|
50
50
|
if (child.pid) {
|
|
51
51
|
writeFileSync(PID_FILE, String(child.pid));
|
|
52
52
|
console.log(`Started (PID: ${child.pid})`);
|
|
53
|
-
console.log(`Logs: heyamigo logs`);
|
|
53
|
+
console.log(`Logs: npx @c4t4/heyamigo logs`);
|
|
54
54
|
}
|
|
55
55
|
else {
|
|
56
56
|
console.error('Failed to start');
|
|
@@ -82,7 +82,7 @@ export async function serviceCmd(action) {
|
|
|
82
82
|
}
|
|
83
83
|
case 'logs': {
|
|
84
84
|
if (!existsSync(LOG_FILE)) {
|
|
85
|
-
console.log('No logs yet. Start the bot first: heyamigo start');
|
|
85
|
+
console.log('No logs yet. Start the bot first: npx @c4t4/heyamigo start');
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
88
|
spawnSync('tail', ['-f', '-n', '50', LOG_FILE], {
|
package/dist/cli/setup.js
CHANGED
|
@@ -45,7 +45,7 @@ function scaffoldProject(targetDir, pkgDir) {
|
|
|
45
45
|
private: true,
|
|
46
46
|
type: 'module',
|
|
47
47
|
dependencies: {
|
|
48
|
-
heyamigo: '*',
|
|
48
|
+
'@c4t4/heyamigo': '*',
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
writeFileSync(resolve(targetDir, 'package.json'), JSON.stringify(projectPkg, null, 2) + '\n');
|
|
@@ -562,7 +562,7 @@ export async function runSetup() {
|
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
else {
|
|
565
|
-
p.log.info('Skipped. Pair later: heyamigo
|
|
565
|
+
p.log.info('Skipped. Pair later: npx @c4t4/heyamigo setup');
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
// ── Name your amigo ───────────────────────────────────────────
|