create-vue 3.16.2 → 3.16.4
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
CHANGED
|
@@ -2399,7 +2399,10 @@ function getLocale() {
|
|
|
2399
2399
|
return linkLocale(shellLocale.split(".")[0].replace("_", "-"));
|
|
2400
2400
|
}
|
|
2401
2401
|
async function loadLanguageFile(filePath) {
|
|
2402
|
-
return
|
|
2402
|
+
return await fs$3.promises.readFile(filePath, "utf-8").then((data) => {
|
|
2403
|
+
const parsedData = JSON.parse(data);
|
|
2404
|
+
if (parsedData) return parsedData;
|
|
2405
|
+
});
|
|
2403
2406
|
}
|
|
2404
2407
|
async function getLanguage(localesRoot) {
|
|
2405
2408
|
const locale = getLocale();
|
|
@@ -2588,7 +2591,7 @@ function deepMerge(target, obj) {
|
|
|
2588
2591
|
//#endregion
|
|
2589
2592
|
//#region template/eslint/package.json
|
|
2590
2593
|
var devDependencies$1 = {
|
|
2591
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
2594
|
+
"@vitest/eslint-plugin": "^1.1.39",
|
|
2592
2595
|
"eslint-plugin-cypress": "^4.2.0",
|
|
2593
2596
|
"eslint-plugin-playwright": "^2.2.0"
|
|
2594
2597
|
};
|
|
@@ -2705,10 +2708,10 @@ function emptyRouterConfig(rootDir, needsTypeScript) {
|
|
|
2705
2708
|
//#endregion
|
|
2706
2709
|
//#region package.json
|
|
2707
2710
|
var name = "create-vue";
|
|
2708
|
-
var version = "3.16.
|
|
2711
|
+
var version = "3.16.4";
|
|
2709
2712
|
var description = "🛠️ The recommended way to start a Vite-powered Vue project";
|
|
2710
2713
|
var type = "module";
|
|
2711
|
-
var packageManager = "pnpm@10.7.
|
|
2714
|
+
var packageManager = "pnpm@10.7.1";
|
|
2712
2715
|
var bin = { "create-vue": "bundle.js" };
|
|
2713
2716
|
var files = [
|
|
2714
2717
|
"locales",
|
|
@@ -2725,6 +2728,7 @@ var scripts = {
|
|
|
2725
2728
|
"pretest": "pnpm run build && pnpm run snapshot",
|
|
2726
2729
|
"test": "zx ./scripts/test.mjs",
|
|
2727
2730
|
"test:unit": "vitest",
|
|
2731
|
+
"preversion": "git fetch && git status -uno | grep -q 'Your branch is up to date'",
|
|
2728
2732
|
"postversion": "zx ./scripts/postversion.mjs",
|
|
2729
2733
|
"prepublishOnly": "pnpm run build"
|
|
2730
2734
|
};
|
|
@@ -2741,7 +2745,7 @@ var devDependencies = {
|
|
|
2741
2745
|
"@clack/prompts": "^0.10.0",
|
|
2742
2746
|
"@tsconfig/node22": "^22.0.1",
|
|
2743
2747
|
"@types/eslint": "^9.6.1",
|
|
2744
|
-
"@types/node": "^22.
|
|
2748
|
+
"@types/node": "^22.14.0",
|
|
2745
2749
|
"@types/prompts": "^2.4.9",
|
|
2746
2750
|
"@vue/create-eslint-config": "^0.10.1",
|
|
2747
2751
|
"@vue/tsconfig": "^0.7.0",
|
|
@@ -2753,7 +2757,7 @@ var devDependencies = {
|
|
|
2753
2757
|
"rolldown": "1.0.0-beta.7",
|
|
2754
2758
|
"rollup-plugin-license": "^3.6.0",
|
|
2755
2759
|
"vitest": "^3.1.1",
|
|
2756
|
-
"zx": "^8.
|
|
2760
|
+
"zx": "^8.5.0"
|
|
2757
2761
|
};
|
|
2758
2762
|
var lint_staged = { "*.{js,ts,vue,json}": ["prettier --write"] };
|
|
2759
2763
|
var publishConfig = {
|
|
@@ -2783,7 +2787,7 @@ var package_default = {
|
|
|
2783
2787
|
|
|
2784
2788
|
//#endregion
|
|
2785
2789
|
//#region index.ts
|
|
2786
|
-
const language = await getLanguage(
|
|
2790
|
+
const language = await getLanguage(fileURLToPath(new URL("./locales", import.meta.url)));
|
|
2787
2791
|
const FEATURE_FLAGS = [
|
|
2788
2792
|
"default",
|
|
2789
2793
|
"ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.4",
|
|
4
4
|
"description": "🛠️ The recommended way to start a Vite-powered Vue project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@clack/prompts": "^0.10.0",
|
|
31
31
|
"@tsconfig/node22": "^22.0.1",
|
|
32
32
|
"@types/eslint": "^9.6.1",
|
|
33
|
-
"@types/node": "^22.
|
|
33
|
+
"@types/node": "^22.14.0",
|
|
34
34
|
"@types/prompts": "^2.4.9",
|
|
35
35
|
"@vue/create-eslint-config": "^0.10.1",
|
|
36
36
|
"@vue/tsconfig": "^0.7.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"rolldown": "1.0.0-beta.7",
|
|
43
43
|
"rollup-plugin-license": "^3.6.0",
|
|
44
44
|
"vitest": "^3.1.1",
|
|
45
|
-
"zx": "^8.
|
|
45
|
+
"zx": "^8.5.0"
|
|
46
46
|
},
|
|
47
47
|
"lint-staged": {
|
|
48
48
|
"*.{js,ts,vue,json}": [
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"pretest": "pnpm run build && pnpm run snapshot",
|
|
61
61
|
"test": "zx ./scripts/test.mjs",
|
|
62
62
|
"test:unit": "vitest",
|
|
63
|
+
"preversion": "git fetch && git status -uno | grep -q 'Your branch is up to date'",
|
|
63
64
|
"postversion": "zx ./scripts/postversion.mjs"
|
|
64
65
|
}
|
|
65
66
|
}
|