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.
- package/bin/create-vue3-pc.mjs +3 -8
- package/package.json +1 -1
package/bin/create-vue3-pc.mjs
CHANGED
|
@@ -482,14 +482,9 @@ async function main() {
|
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
if (autoInstall && !process.env._CREATE_VUE3_PC_TEST) {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
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) {
|