@vuetify/cli 0.1.1 → 0.1.2
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/dist/index.mjs +43 -4
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -126068,6 +126068,40 @@ function isMetadataYarnClassic(metadataPath) {
|
|
|
126068
126068
|
return metadataPath.endsWith(".yarn_integrity");
|
|
126069
126069
|
}
|
|
126070
126070
|
|
|
126071
|
+
//#endregion
|
|
126072
|
+
//#region ../shared/src/constants/presets.ts
|
|
126073
|
+
const standardPresets = {
|
|
126074
|
+
base: {
|
|
126075
|
+
meta: { displayName: "Base" },
|
|
126076
|
+
type: "vuetify",
|
|
126077
|
+
platform: "vue",
|
|
126078
|
+
features: [],
|
|
126079
|
+
router: "none",
|
|
126080
|
+
typescript: true
|
|
126081
|
+
},
|
|
126082
|
+
full: {
|
|
126083
|
+
meta: { displayName: "Full" },
|
|
126084
|
+
type: "vuetify",
|
|
126085
|
+
platform: "vue",
|
|
126086
|
+
features: [
|
|
126087
|
+
"eslint",
|
|
126088
|
+
"pinia",
|
|
126089
|
+
"i18n",
|
|
126090
|
+
"mcp"
|
|
126091
|
+
],
|
|
126092
|
+
router: "router",
|
|
126093
|
+
typescript: true
|
|
126094
|
+
},
|
|
126095
|
+
v0: {
|
|
126096
|
+
meta: { displayName: "Vuetify0" },
|
|
126097
|
+
type: "vuetify0",
|
|
126098
|
+
platform: "vue",
|
|
126099
|
+
features: ["eslint"],
|
|
126100
|
+
router: "router",
|
|
126101
|
+
typescript: true
|
|
126102
|
+
}
|
|
126103
|
+
};
|
|
126104
|
+
|
|
126071
126105
|
//#endregion
|
|
126072
126106
|
//#region ../../node_modules/.pnpm/validate-npm-package-name@7.0.2/node_modules/validate-npm-package-name/lib/builtin-modules.json
|
|
126073
126107
|
var require_builtin_modules = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
@@ -148020,7 +148054,7 @@ export const useAppStore = defineStore('app', {
|
|
|
148020
148054
|
|
|
148021
148055
|
//#endregion
|
|
148022
148056
|
//#region ../shared/package.json
|
|
148023
|
-
var version$1 = "0.1.
|
|
148057
|
+
var version$1 = "0.1.2";
|
|
148024
148058
|
|
|
148025
148059
|
//#endregion
|
|
148026
148060
|
//#region ../shared/src/utils/getTemplateSource.ts
|
|
@@ -149391,7 +149425,11 @@ async function createVuetify(options, commandOptions) {
|
|
|
149391
149425
|
console.log(createBanner());
|
|
149392
149426
|
Nt(i18n$1.t("messages.create.intro", { version }));
|
|
149393
149427
|
}
|
|
149394
|
-
if (args.preset) {
|
|
149428
|
+
if (args.preset) if (standardPresets[args.preset]) {
|
|
149429
|
+
const preset = standardPresets[args.preset];
|
|
149430
|
+
Object.assign(args, preset);
|
|
149431
|
+
debug("loaded standard preset=", preset);
|
|
149432
|
+
} else {
|
|
149395
149433
|
const home = homedir();
|
|
149396
149434
|
const presetPath = resolve$2(args.preset);
|
|
149397
149435
|
const globalPresetPath = join$1(home, ".vuetify", "presets", args.preset.endsWith(".json") ? args.preset : `${args.preset}.json`);
|
|
@@ -149420,7 +149458,8 @@ async function createVuetify(options, commandOptions) {
|
|
|
149420
149458
|
platform: rawArgs.platform,
|
|
149421
149459
|
type: rawArgs.type,
|
|
149422
149460
|
css: rawArgs.css,
|
|
149423
|
-
router: rawArgs.router
|
|
149461
|
+
router: rawArgs.router,
|
|
149462
|
+
vuetifyVersion: args.vuetifyVersion
|
|
149424
149463
|
}, cwd);
|
|
149425
149464
|
debug("context=", JSON.stringify(context, null, 2));
|
|
149426
149465
|
if (args.interactive && !args.preset) {
|
|
@@ -150904,7 +150943,7 @@ const JsonReporter = { report: async (data, options) => {
|
|
|
150904
150943
|
|
|
150905
150944
|
//#endregion
|
|
150906
150945
|
//#region package.json
|
|
150907
|
-
var version = "0.1.
|
|
150946
|
+
var version = "0.1.2";
|
|
150908
150947
|
|
|
150909
150948
|
//#endregion
|
|
150910
150949
|
//#region src/commands/analyze.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Vuetify CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"open": "^11.0.0",
|
|
36
36
|
"pathe": "^2.0.3",
|
|
37
37
|
"tsdown": "^0.20.3",
|
|
38
|
-
"@vuetify/cli-shared": "0.1.
|
|
38
|
+
"@vuetify/cli-shared": "0.1.2"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@typescript-eslint/parser": "^8.54.0"
|