gridsum-vue3-pc 1.0.2 → 1.0.3

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.
@@ -482,14 +482,9 @@ async function main() {
482
482
  }
483
483
 
484
484
  if (autoInstall && !process.env._CREATE_VUE3_PC_TEST) {
485
- try {
486
- await runCommandAsync(getInstallCommand(pkgManager), { cwd: root });
487
- process.stdout.write(`\r\x1b[K${pc.green('✓')} Dependencies installed!\n`);
488
- } catch (e) {
489
- process.stdout.write(`\r\x1b[K${pc.red('✗')} Installation failed\n`);
490
- console.error(` ${pc.dim('You can retry manually:')}`);
491
- console.error(` ${pc.cyan(`cd ${targetDir} && ${pkgManager} install${pkgManager === 'npm' ? ' --legacy-peer-deps' : ''}`)}\n`);
492
- }
485
+ process.stdout.write(`\r\x1b[K${pc.dim('Installing dependencies...')}\n`);
486
+ runCommand(getInstallCommand(pkgManager), { cwd: root });
487
+ process.stdout.write(`${pc.green('✓')} Dependencies installed!\n`);
493
488
  }
494
489
 
495
490
  if (!argv['no-git'] && !process.env._CREATE_VUE3_PC_TEST) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gridsum-vue3-pc",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Gridsum Vue3 Vite PC Template Generator - 快速生成基于 Vue3 + Vite + TypeScript 的企业级 PC 端项目",
5
5
  "type": "module",
6
6
  "sideEffects": false,