@l4yercak3/cli 1.1.0 → 1.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/package.json +1 -1
- package/src/commands/spread.js +10 -2
package/package.json
CHANGED
package/src/commands/spread.js
CHANGED
|
@@ -592,7 +592,8 @@ async function handleSpread() {
|
|
|
592
592
|
} catch (regError) {
|
|
593
593
|
// Registration failed but files were generated - warn but don't fail
|
|
594
594
|
console.log(chalk.yellow(` ⚠️ Could not register with backend: ${regError.message}`));
|
|
595
|
-
console.log(chalk.gray(' Your files were generated.
|
|
595
|
+
console.log(chalk.gray(' Your files were generated successfully.'));
|
|
596
|
+
console.log(chalk.gray(' Backend registration will be available in a future update.\n'));
|
|
596
597
|
}
|
|
597
598
|
|
|
598
599
|
// Save project configuration
|
|
@@ -614,7 +615,14 @@ async function handleSpread() {
|
|
|
614
615
|
configManager.saveProjectConfig(detection.projectPath, projectConfig);
|
|
615
616
|
console.log(chalk.gray(` 📝 Configuration saved to ~/.l4yercak3/config.json\n`));
|
|
616
617
|
|
|
617
|
-
|
|
618
|
+
// Show appropriate completion message based on registration status
|
|
619
|
+
if (applicationId) {
|
|
620
|
+
console.log(chalk.cyan('\n 🎉 Setup complete!\n'));
|
|
621
|
+
} else {
|
|
622
|
+
console.log(chalk.cyan('\n 🎉 Local setup complete!\n'));
|
|
623
|
+
console.log(chalk.yellow(' ⚠️ Note: Backend registration pending - your app works locally but'));
|
|
624
|
+
console.log(chalk.yellow(' won\'t appear in the L4YERCAK3 dashboard until endpoints are available.\n'));
|
|
625
|
+
}
|
|
618
626
|
|
|
619
627
|
if (features.includes('oauth')) {
|
|
620
628
|
console.log(chalk.yellow(' 📋 Next steps:\n'));
|