create-jnrs-vue 1.2.14 → 1.2.16
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/create.mjs +6 -5
- package/jnrs-vue/package.json +1 -1
- package/package.json +1 -1
package/bin/create.mjs
CHANGED
|
@@ -189,20 +189,21 @@ async function main() {
|
|
|
189
189
|
// 成功提示
|
|
190
190
|
const relativePath = relative(process.cwd(), root)
|
|
191
191
|
const devCmd = getRunCommand(packageManager, 'dev')
|
|
192
|
+
const buildCmd = getRunCommand(packageManager, 'build')
|
|
192
193
|
|
|
193
|
-
console.log(`\n✅ 项目创建成功!
|
|
194
|
+
console.log(`\n✅ 项目创建成功! 🎉🎉🎉\n`)
|
|
194
195
|
|
|
195
196
|
if (relativePath) {
|
|
196
|
-
console.log(
|
|
197
|
+
console.log(`👉 进入项目根目录:`, `cd ${relativePath}`)
|
|
197
198
|
}
|
|
198
199
|
|
|
199
200
|
if (selectedPM === 'skip') {
|
|
200
201
|
const fallbackPM = availablePMs[0] || 'npm'
|
|
201
202
|
const [cmd, ...args] = getInstallCommand(fallbackPM)
|
|
202
|
-
console.log(
|
|
203
|
-
console.log(` ${cmd} ${args.join(' ')}`)
|
|
203
|
+
console.log(`💻 手动安装依赖:`, `${cmd} ${args.join(' ')}`)
|
|
204
204
|
}
|
|
205
|
-
console.log(
|
|
205
|
+
console.log(`☕️ 启动开发服务器:`, `${devCmd}`)
|
|
206
|
+
console.log(`📦 打包项目:`, `${buildCmd}`)
|
|
206
207
|
}
|
|
207
208
|
|
|
208
209
|
main().catch((err) => {
|
package/jnrs-vue/package.json
CHANGED