create-nodality 1.0.0-beta.26 → 1.0.0-beta.28
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/bin/index.js +9 -0
- package/package.json +1 -1
package/bin/index.js
CHANGED
@@ -133,6 +133,15 @@ export default {
|
|
133
133
|
console.log("Building with Webpack...");
|
134
134
|
execSync(`npx webpack`, { cwd: projectPath, stdio: "inherit" });
|
135
135
|
|
136
|
+
|
137
|
+
// ANSI escape codes for green text and reset
|
138
|
+
|
139
|
+
const bold = '\x1b[1m';
|
140
|
+
const color1abc9c = '\x1b[38;5;37m';
|
141
|
+
const reset = '\x1b[0m';
|
142
|
+
|
143
|
+
console.log(`\n${color1abc9c}${bold}%s${reset}\n`, `All done! Your project "${projectName}" is ready! 🎉`);
|
144
|
+
|
136
145
|
console.log("\nAll done! Run:\n");
|
137
146
|
console.log(` cd ${projectName}`);
|
138
147
|
console.log(" npm run build # Rebuild your project");
|