create-vue 3.10.0 → 3.10.1
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/outfile.cjs +3 -3
- package/package.json +1 -1
package/outfile.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! create-vue v3.10.
|
|
2
|
+
/*! create-vue v3.10.1 | MIT */
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -4475,13 +4475,13 @@ async function init() {
|
|
|
4475
4475
|
"vue-devtools": { type: "boolean" },
|
|
4476
4476
|
devtools: { type: "boolean" }
|
|
4477
4477
|
};
|
|
4478
|
-
const { values: argv } = (0, import_node_util.parseArgs)({
|
|
4478
|
+
const { values: argv, positionals } = (0, import_node_util.parseArgs)({
|
|
4479
4479
|
args,
|
|
4480
4480
|
options: options2,
|
|
4481
4481
|
strict: false
|
|
4482
4482
|
});
|
|
4483
4483
|
const isFeatureFlagsUsed = typeof (argv.default ?? (argv.ts || argv.typescript) ?? argv.jsx ?? (argv.router || argv["vue-router"]) ?? argv.pinia ?? (argv.tests || argv["with-tests"]) ?? argv.vitest ?? argv.cypress ?? argv.nightwatch ?? argv.playwright ?? argv.eslint ?? (argv.devtools || argv["vue-devtools"])) === "boolean";
|
|
4484
|
-
let targetDir =
|
|
4484
|
+
let targetDir = positionals[0];
|
|
4485
4485
|
const defaultProjectName = !targetDir ? "vue-project" : targetDir;
|
|
4486
4486
|
const forceOverwrite = argv.force;
|
|
4487
4487
|
const language = getLanguage();
|