@aibai/create-myvue 0.0.6 → 0.0.8
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/cli.js
CHANGED
|
@@ -293,6 +293,10 @@ async function main(projectName, options) {
|
|
|
293
293
|
await executeCommand('pnpm', args);
|
|
294
294
|
|
|
295
295
|
// 问询用户是否添加额外插件
|
|
296
|
+
if (!finalConfig.projectName) {
|
|
297
|
+
console.log('未指定项目名称,跳过插件配置...');
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
296
300
|
const projectPath = path.join(process.cwd(), finalConfig.projectName);
|
|
297
301
|
|
|
298
302
|
if (fs.existsSync(projectPath)) {
|
package/package.json
CHANGED
|
File without changes
|