@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibai/create-myvue",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "pnpm create vue@latest 的二次封装,支持自定义默认选项",
5
5
  "main": "./bin/cli.js",
6
6
  "bin": {