vite-shadcn-ui-cli 1.0.10 → 1.0.11

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.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -62,8 +62,6 @@ program
62
62
  }
63
63
  });
64
64
 
65
- program.parse(process.argv);
66
-
67
65
  // 克隆 GitHub 仓库的函数
68
66
  async function cloneRepo(projectDir) {
69
67
  const spinner = ora('Cloning the repository...').start();
@@ -89,3 +87,4 @@ async function cloneRepo(projectDir) {
89
87
  process.exit(1);
90
88
  }
91
89
  }
90
+ program.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-shadcn-ui-cli",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "A CLI tool to bootstrap Vite projects with shadcn UI components",
5
5
  "main": "index.js",
6
6
  "bin": {