@slahon/lazykit 1.0.2 → 1.0.3
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/init.js +5 -1
- package/package.json +1 -1
package/init.js
CHANGED
|
@@ -18,7 +18,11 @@ async function init() {
|
|
|
18
18
|
|
|
19
19
|
// ─── Step 1: Verify git repo ─────────────────────────────────────────────
|
|
20
20
|
if (!isGitRepo()) {
|
|
21
|
-
log.error('Not inside a git repository.
|
|
21
|
+
log.error('Not inside a git repository.');
|
|
22
|
+
console.log(chalk.gray('\n LazyKit needs a git repo with a GitHub remote. To set one up:\n'));
|
|
23
|
+
console.log(chalk.cyan(' git init'));
|
|
24
|
+
console.log(chalk.cyan(' git remote add origin https://github.com/<you>/<repo>'));
|
|
25
|
+
console.log(chalk.gray('\n Then re-run: ') + chalk.cyan('npx @slahon/lazykit init\n'));
|
|
22
26
|
process.exit(1);
|
|
23
27
|
}
|
|
24
28
|
|