create-vue 3.16.1 → 3.16.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/bundle.js +4 -4
- package/package.json +1 -1
package/bundle.js
CHANGED
|
@@ -11,13 +11,13 @@ import * as path$4 from "node:path";
|
|
|
11
11
|
import * as path$3 from "node:path";
|
|
12
12
|
import * as path$2 from "node:path";
|
|
13
13
|
import * as path from "node:path";
|
|
14
|
+
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
14
15
|
import { parseArgs, stripVTControlCharacters } from "node:util";
|
|
15
16
|
import g, { stdin, stdout } from "node:process";
|
|
16
17
|
import * as f$1 from "node:readline";
|
|
17
18
|
import M from "node:readline";
|
|
18
19
|
import { WriteStream } from "node:tty";
|
|
19
20
|
import * as path$1 from "path";
|
|
20
|
-
import { pathToFileURL } from "node:url";
|
|
21
21
|
|
|
22
22
|
//#region rolldown:runtime
|
|
23
23
|
var __create = Object.create;
|
|
@@ -2705,7 +2705,7 @@ function emptyRouterConfig(rootDir, needsTypeScript) {
|
|
|
2705
2705
|
//#endregion
|
|
2706
2706
|
//#region package.json
|
|
2707
2707
|
var name = "create-vue";
|
|
2708
|
-
var version = "3.16.
|
|
2708
|
+
var version = "3.16.3";
|
|
2709
2709
|
var description = "🛠️ The recommended way to start a Vite-powered Vue project";
|
|
2710
2710
|
var type = "module";
|
|
2711
2711
|
var packageManager = "pnpm@10.7.0";
|
|
@@ -2783,7 +2783,7 @@ var package_default = {
|
|
|
2783
2783
|
|
|
2784
2784
|
//#endregion
|
|
2785
2785
|
//#region index.ts
|
|
2786
|
-
const language = await getLanguage(
|
|
2786
|
+
const language = await getLanguage(fileURLToPath(new URL("./locales", import.meta.url)));
|
|
2787
2787
|
const FEATURE_FLAGS = [
|
|
2788
2788
|
"default",
|
|
2789
2789
|
"ts",
|
|
@@ -3032,7 +3032,7 @@ async function init() {
|
|
|
3032
3032
|
version: "0.0.0"
|
|
3033
3033
|
};
|
|
3034
3034
|
fs.writeFileSync(path.resolve(root, "package.json"), JSON.stringify(pkg, null, 2));
|
|
3035
|
-
const templateRoot = new URL("./template", import.meta.url)
|
|
3035
|
+
const templateRoot = fileURLToPath(new URL("./template", import.meta.url));
|
|
3036
3036
|
const callbacks = [];
|
|
3037
3037
|
const render = function render$1(templateName) {
|
|
3038
3038
|
const templateDir = path.resolve(templateRoot, templateName);
|