create-egregore 0.8.1 → 0.8.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/lib/local.js +8 -1
- package/package.json +1 -1
package/lib/local.js
CHANGED
|
@@ -317,7 +317,7 @@ async function localFounderFlow(ui) {
|
|
|
317
317
|
if (newProjectRepo) {
|
|
318
318
|
// Re-prompt if name conflicts with core/memory repo
|
|
319
319
|
while (newProjectRepo === repoName || newProjectRepo === memoryRepoName) {
|
|
320
|
-
ui.warn(`"${newProjectRepo}"
|
|
320
|
+
ui.warn(`Your Egregore is already named "${newProjectRepo}". Pick a different name for your project repo (e.g. "${newProjectRepo}-app").`);
|
|
321
321
|
const retry = await ui.prompt("Repo name (or Enter to skip):");
|
|
322
322
|
if (!retry) { newProjectRepo = null; break; }
|
|
323
323
|
newProjectRepo = retry.trim().toLowerCase().replace(/[^a-z0-9-]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
@@ -677,6 +677,13 @@ async function localJoinFlow(orgArg, ui) {
|
|
|
677
677
|
} catch {}
|
|
678
678
|
}
|
|
679
679
|
|
|
680
|
+
// 13. Show Telegram group link if configured
|
|
681
|
+
if (config.telegram_group_link) {
|
|
682
|
+
console.log("");
|
|
683
|
+
ui.info("Join the team's Telegram group:");
|
|
684
|
+
ui.info(` ${ui.cyan(config.telegram_group_link)}`);
|
|
685
|
+
}
|
|
686
|
+
|
|
680
687
|
// 14. Done
|
|
681
688
|
console.log("");
|
|
682
689
|
ui.success(`Joined ${ui.bold(orgName)}`);
|