gridsum-vue3-pc 1.1.0 → 1.2.0
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
CHANGED
|
@@ -433,16 +433,6 @@ async function main() {
|
|
|
433
433
|
autoInstall = result;
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
let autoStart = argv['auto-start'];
|
|
437
|
-
if (autoStart === undefined && isInteractive && autoInstall) {
|
|
438
|
-
const result = await prompts.confirm({
|
|
439
|
-
message: 'Start dev server now?',
|
|
440
|
-
initialValue: false,
|
|
441
|
-
});
|
|
442
|
-
if (prompts.isCancel(result)) return cancel();
|
|
443
|
-
autoStart = result;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
436
|
if (autoInstall && !process.env._CREATE_VUE3_PC_TEST) {
|
|
447
437
|
process.stdout.write(`\r\x1b[K${pc.dim('Installing dependencies...')}\n`);
|
|
448
438
|
try {
|
|
@@ -456,6 +446,16 @@ async function main() {
|
|
|
456
446
|
}
|
|
457
447
|
}
|
|
458
448
|
|
|
449
|
+
let autoStart = argv['auto-start'];
|
|
450
|
+
if (autoStart === undefined && isInteractive && autoInstall) {
|
|
451
|
+
const result = await prompts.confirm({
|
|
452
|
+
message: 'Start dev server now?',
|
|
453
|
+
initialValue: false,
|
|
454
|
+
});
|
|
455
|
+
if (prompts.isCancel(result)) return cancel();
|
|
456
|
+
autoStart = result;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
459
|
if (autoStart) {
|
|
460
460
|
prompts.log.step(`Starting dev server... (press ${pc.bold('Ctrl+C')} to stop)`);
|
|
461
461
|
runCommand(getRunCommand(pkgManager, 'dev'), { cwd: root });
|
package/package.json
CHANGED
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"eslint": "^9.0.0",
|
|
34
34
|
"eslint-plugin-vue": "^9.28.0",
|
|
35
35
|
"prettier": "^3.3.0",
|
|
36
|
-
"stylelint": "^
|
|
36
|
+
"stylelint": "^16.0.0",
|
|
37
|
+
"stylelint-config-standard": "^36.0.0",
|
|
37
38
|
"husky": "^9.1.0",
|
|
38
39
|
"lint-staged": "^15.0.0",
|
|
39
40
|
"commitlint": "^19.5.0",
|