create-revo 2.0.3 → 2.0.5
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/cli.js
CHANGED
|
@@ -72,7 +72,7 @@ function copyTemplateFiles(templateType, projectName, targetDir) {
|
|
|
72
72
|
process.exit(1);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
console.log("\nSetting up project
|
|
75
|
+
console.log("\nSetting up project...\n");
|
|
76
76
|
|
|
77
77
|
fs.mkdirSync(targetDir, { recursive: true });
|
|
78
78
|
|
|
@@ -84,7 +84,6 @@ function copyTemplateFiles(templateType, projectName, targetDir) {
|
|
|
84
84
|
|
|
85
85
|
createGitignoreFile(targetDir);
|
|
86
86
|
|
|
87
|
-
console.log(`Project setup complete.`);
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
function createGitignoreFile(projectDir) {
|
|
@@ -261,12 +260,12 @@ async function main() {
|
|
|
261
260
|
const copyDurationMs = Date.now() - copyStartMs;
|
|
262
261
|
|
|
263
262
|
console.log(`Time Taken - ${copyDurationMs}ms.`);
|
|
264
|
-
console.log(
|
|
263
|
+
console.log(`\nProject created at ${finalTargetDir}`);
|
|
265
264
|
process.chdir(finalTargetDir);
|
|
266
265
|
|
|
267
266
|
console.log("\nNext steps:");
|
|
268
|
-
console.log("1.
|
|
269
|
-
console.log("2.
|
|
267
|
+
console.log("1. npm install");
|
|
268
|
+
console.log("2. npm run dev");
|
|
270
269
|
} catch (error) {
|
|
271
270
|
console.error("Error creating project:", error.message);
|
|
272
271
|
process.exit(1);
|
package/package.json
CHANGED