devfast 1.0.0 ā 1.0.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.
|
@@ -36,14 +36,12 @@ export async function createAction(templateId) {
|
|
|
36
36
|
process.exit(1);
|
|
37
37
|
}
|
|
38
38
|
const templateData = { APP_NAME: appName, RELATIVE_PATH: relativePath };
|
|
39
|
-
|
|
40
|
-
console.log(`\n${formatMessage(template.data.welcomeMessage, templateData)}`);
|
|
39
|
+
console.log(chalk.green(`\nš Setting up ${appName} with devfast...`));
|
|
41
40
|
const spinner = ora('Setting up project...').start();
|
|
42
41
|
try {
|
|
43
42
|
const emitter = degit(template.data.repository, { force: true });
|
|
44
43
|
await emitter.clone(targetDir);
|
|
45
44
|
spinner.succeed(chalk.green('Done!'));
|
|
46
|
-
// Format and Log Next Steps
|
|
47
45
|
console.log(`\n${chalk.bold('Next steps:')}`);
|
|
48
46
|
console.log(formatMessage(template.data.nextSteps, templateData));
|
|
49
47
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devfast",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Devfast template setup library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/api.js",
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"@types/prompts": "^2.4.9",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|