create-nodality 1.0.0-beta.26 → 1.0.0-beta.27
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 +11 -0
- package/package.json +1 -1
package/bin/index.js
CHANGED
@@ -133,6 +133,17 @@ 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
|
+
const green = '\x1b[32m';
|
139
|
+
const reset = '\x1b[0m';
|
140
|
+
|
141
|
+
|
142
|
+
const confetti = '🎉';
|
143
|
+
|
144
|
+
console.log(`\n${green}%s${reset}\n`, `${confetti} Your project "${projectName}" is ready! ${confetti}`);
|
145
|
+
|
146
|
+
|
136
147
|
console.log("\nAll done! Run:\n");
|
137
148
|
console.log(` cd ${projectName}`);
|
138
149
|
console.log(" npm run build # Rebuild your project");
|