create-lve 0.4.3 → 0.4.4
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/index.js +1 -11
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -97,8 +97,6 @@ async function main() {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
try {
|
|
100
|
-
s.start('Creating project')
|
|
101
|
-
|
|
102
100
|
if (project.shouldOverwrite) await fs.emptyDir(ctx.targetDir)
|
|
103
101
|
await fs.ensureDir(ctx.targetDir)
|
|
104
102
|
await fs.copy(ctx.templateDir, ctx.targetDir)
|
|
@@ -107,15 +105,7 @@ async function main() {
|
|
|
107
105
|
|
|
108
106
|
s.start('Installing dependencies')
|
|
109
107
|
await installDependencies(ctx)
|
|
110
|
-
|
|
111
|
-
console.log(pc.gray(`◇ Scaffolded ${ctx.name} with Vite application`))
|
|
112
|
-
console.log(
|
|
113
|
-
pc.gray(
|
|
114
|
-
`• Node ${process.version.slice(1)} ${ctx.pkgManager} ${execSync(ctx.pkgManager + ' -V')
|
|
115
|
-
.toString()
|
|
116
|
-
.trim()}`,
|
|
117
|
-
),
|
|
118
|
-
)
|
|
108
|
+
s.stop()
|
|
119
109
|
console.log(pc.green(`→ Next: cd ${ctx.name} && ${ctx.devCmd.replace(' ', ' run ')}`))
|
|
120
110
|
} catch (err) {
|
|
121
111
|
s.stop(pc.red('Failed'))
|