create-vuetify0 0.0.13-beta.4 → 0.0.13-beta.6
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 +24 -263
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1454,11 +1454,11 @@ ${indent}`);
|
|
|
1454
1454
|
const { env: env$2 = {}, argv: argv$1 = [], platform: platform$1 = "" } = typeof process === "undefined" ? {} : process;
|
|
1455
1455
|
const isDisabled = "NO_COLOR" in env$2 || argv$1.includes("--no-color");
|
|
1456
1456
|
const isForced = "FORCE_COLOR" in env$2 || argv$1.includes("--color");
|
|
1457
|
-
const isWindows$
|
|
1457
|
+
const isWindows$1 = platform$1 === "win32";
|
|
1458
1458
|
const isDumbTerminal = env$2.TERM === "dumb";
|
|
1459
1459
|
const isCompatibleTerminal = tty$2 && tty$2.isatty && tty$2.isatty(1) && env$2.TERM && !isDumbTerminal;
|
|
1460
1460
|
const isCI = "CI" in env$2 && ("GITHUB_ACTIONS" in env$2 || "GITLAB_CI" in env$2 || "CIRCLECI" in env$2);
|
|
1461
|
-
const isColorSupported$1 = !isDisabled && (isForced || isWindows$
|
|
1461
|
+
const isColorSupported$1 = !isDisabled && (isForced || isWindows$1 && !isDumbTerminal || isCompatibleTerminal || isCI);
|
|
1462
1462
|
function replaceClose$1(index, string, close, replace, head = string.slice(0, Math.max(0, index)) + replace, tail = string.slice(Math.max(0, index + close.length)), next = tail.indexOf(close)) {
|
|
1463
1463
|
return head + (next < 0 ? tail : replaceClose$1(next, tail, close, replace));
|
|
1464
1464
|
}
|
|
@@ -15745,7 +15745,7 @@ createError("ERR_INVALID_ARG_VALUE", (name$1, value, reason = "is invalid") => {
|
|
|
15745
15745
|
if (inspected.length > 128) inspected = `${inspected.slice(0, 128)}...`;
|
|
15746
15746
|
return `The ${name$1.includes(".") ? "property" : "argument"} '${name$1}' ${reason}. Received ${inspected}`;
|
|
15747
15747
|
}, TypeError);
|
|
15748
|
-
const hasOwnProperty$1
|
|
15748
|
+
const hasOwnProperty$1 = {}.hasOwnProperty;
|
|
15749
15749
|
const cache$2 = /* @__PURE__ */ new Map();
|
|
15750
15750
|
function read(jsonPath, { base, specifier }) {
|
|
15751
15751
|
const existing = cache$2.get(jsonPath);
|
|
@@ -15776,11 +15776,11 @@ function read(jsonPath, { base, specifier }) {
|
|
|
15776
15776
|
throw error;
|
|
15777
15777
|
}
|
|
15778
15778
|
result.exists = true;
|
|
15779
|
-
if (hasOwnProperty$1
|
|
15780
|
-
if (hasOwnProperty$1
|
|
15781
|
-
if (hasOwnProperty$1
|
|
15782
|
-
if (hasOwnProperty$1
|
|
15783
|
-
if (hasOwnProperty$1
|
|
15779
|
+
if (hasOwnProperty$1.call(parsed, "name") && typeof parsed.name === "string") result.name = parsed.name;
|
|
15780
|
+
if (hasOwnProperty$1.call(parsed, "main") && typeof parsed.main === "string") result.main = parsed.main;
|
|
15781
|
+
if (hasOwnProperty$1.call(parsed, "exports")) result.exports = parsed.exports;
|
|
15782
|
+
if (hasOwnProperty$1.call(parsed, "imports")) result.imports = parsed.imports;
|
|
15783
|
+
if (hasOwnProperty$1.call(parsed, "type") && (parsed.type === "commonjs" || parsed.type === "module")) result.type = parsed.type;
|
|
15784
15784
|
}
|
|
15785
15785
|
cache$2.set(jsonPath, result);
|
|
15786
15786
|
return result;
|
|
@@ -16290,7 +16290,7 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
|
|
|
16290
16290
|
return finalizeResolution(resolved, base, preserveSymlinks);
|
|
16291
16291
|
}
|
|
16292
16292
|
const DEFAULT_CONDITIONS_SET = /* @__PURE__ */ new Set(["node", "import"]);
|
|
16293
|
-
const isWindows
|
|
16293
|
+
const isWindows = /* @__PURE__ */ (() => process.platform === "win32")();
|
|
16294
16294
|
const globalCache = /* @__PURE__ */ (() => globalThis["__EXSOLVE_CACHE__"] ||= /* @__PURE__ */ new Map())();
|
|
16295
16295
|
/**
|
|
16296
16296
|
* Synchronously resolves a module url based on the options provided.
|
|
@@ -16377,7 +16377,7 @@ function resolveModulePath(id, options$1) {
|
|
|
16377
16377
|
if (!resolved) return;
|
|
16378
16378
|
if (!resolved.startsWith("file://") && options$1?.try) return;
|
|
16379
16379
|
const absolutePath = fileURLToPath(resolved);
|
|
16380
|
-
return isWindows
|
|
16380
|
+
return isWindows ? _normalizeWinPath(absolutePath) : absolutePath;
|
|
16381
16381
|
}
|
|
16382
16382
|
function _tryModuleResolve(specifier, base, conditions) {
|
|
16383
16383
|
try {
|
|
@@ -19649,14 +19649,14 @@ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
19649
19649
|
return value;
|
|
19650
19650
|
};
|
|
19651
19651
|
const createToken$1 = (name$1, value, isGlobal) => {
|
|
19652
|
-
const safe
|
|
19652
|
+
const safe = makeSafeRegex(value);
|
|
19653
19653
|
const index = R$4++;
|
|
19654
19654
|
debug$5(name$1, index, value);
|
|
19655
19655
|
t$10[name$1] = index;
|
|
19656
19656
|
src$1[index] = value;
|
|
19657
|
-
safeSrc[index] = safe
|
|
19657
|
+
safeSrc[index] = safe;
|
|
19658
19658
|
re$4[index] = new RegExp(value, isGlobal ? "g" : void 0);
|
|
19659
|
-
safeRe[index] = new RegExp(safe
|
|
19659
|
+
safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
19660
19660
|
};
|
|
19661
19661
|
createToken$1("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
19662
19662
|
createToken$1("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
@@ -67665,8 +67665,8 @@ var is_in_ssh_default = isInSsh;
|
|
|
67665
67665
|
//#endregion
|
|
67666
67666
|
//#region ../../node_modules/.pnpm/open@11.0.0/node_modules/open/index.js
|
|
67667
67667
|
const fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
67668
|
-
const __dirname
|
|
67669
|
-
const localXdgOpenPath = path.join(__dirname
|
|
67668
|
+
const __dirname = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
|
|
67669
|
+
const localXdgOpenPath = path.join(__dirname, "xdg-open");
|
|
67670
67670
|
const { platform, arch } = g$1;
|
|
67671
67671
|
const tryEachApp = async (apps$1, opener) => {
|
|
67672
67672
|
if (apps$1.length === 0) return;
|
|
@@ -67774,7 +67774,7 @@ const baseOpen = async (options$1) => {
|
|
|
67774
67774
|
} else {
|
|
67775
67775
|
if (app) command = app;
|
|
67776
67776
|
else {
|
|
67777
|
-
const isBundled = !__dirname
|
|
67777
|
+
const isBundled = !__dirname || __dirname === "/";
|
|
67778
67778
|
let exeLocalXdgOpen = false;
|
|
67779
67779
|
try {
|
|
67780
67780
|
await fs$1.access(localXdgOpenPath, constants.X_OK);
|
|
@@ -68135,255 +68135,16 @@ async function addMcp() {
|
|
|
68135
68135
|
Wt(i18n.t("messages.all_done"));
|
|
68136
68136
|
}
|
|
68137
68137
|
|
|
68138
|
-
//#endregion
|
|
68139
|
-
//#region ../../node_modules/.pnpm/ini@4.1.1/node_modules/ini/lib/ini.js
|
|
68140
|
-
var require_ini = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
68141
|
-
const { hasOwnProperty: hasOwnProperty$1 } = Object.prototype;
|
|
68142
|
-
const encode = (obj, opt = {}) => {
|
|
68143
|
-
if (typeof opt === "string") opt = { section: opt };
|
|
68144
|
-
opt.align = opt.align === true;
|
|
68145
|
-
opt.newline = opt.newline === true;
|
|
68146
|
-
opt.sort = opt.sort === true;
|
|
68147
|
-
opt.whitespace = opt.whitespace === true || opt.align === true;
|
|
68148
|
-
/* istanbul ignore next */
|
|
68149
|
-
opt.platform = opt.platform || typeof process !== "undefined" && process.platform;
|
|
68150
|
-
opt.bracketedArray = opt.bracketedArray !== false;
|
|
68151
|
-
/* istanbul ignore next */
|
|
68152
|
-
const eol = opt.platform === "win32" ? "\r\n" : "\n";
|
|
68153
|
-
const separator = opt.whitespace ? " = " : "=";
|
|
68154
|
-
const children = [];
|
|
68155
|
-
const keys$4 = opt.sort ? Object.keys(obj).sort() : Object.keys(obj);
|
|
68156
|
-
let padToChars = 0;
|
|
68157
|
-
if (opt.align) padToChars = safe(keys$4.filter((k$6) => obj[k$6] === null || Array.isArray(obj[k$6]) || typeof obj[k$6] !== "object").map((k$6) => Array.isArray(obj[k$6]) ? `${k$6}[]` : k$6).concat([""]).reduce((a$14, b$11) => safe(a$14).length >= safe(b$11).length ? a$14 : b$11)).length;
|
|
68158
|
-
let out = "";
|
|
68159
|
-
const arraySuffix = opt.bracketedArray ? "[]" : "";
|
|
68160
|
-
for (const k$6 of keys$4) {
|
|
68161
|
-
const val = obj[k$6];
|
|
68162
|
-
if (val && Array.isArray(val)) for (const item of val) out += safe(`${k$6}${arraySuffix}`).padEnd(padToChars, " ") + separator + safe(item) + eol;
|
|
68163
|
-
else if (val && typeof val === "object") children.push(k$6);
|
|
68164
|
-
else out += safe(k$6).padEnd(padToChars, " ") + separator + safe(val) + eol;
|
|
68165
|
-
}
|
|
68166
|
-
if (opt.section && out.length) out = "[" + safe(opt.section) + "]" + (opt.newline ? eol + eol : eol) + out;
|
|
68167
|
-
for (const k$6 of children) {
|
|
68168
|
-
const nk = splitSections(k$6, ".").join("\\.");
|
|
68169
|
-
const section = (opt.section ? opt.section + "." : "") + nk;
|
|
68170
|
-
const child = encode(obj[k$6], {
|
|
68171
|
-
...opt,
|
|
68172
|
-
section
|
|
68173
|
-
});
|
|
68174
|
-
if (out.length && child.length) out += eol;
|
|
68175
|
-
out += child;
|
|
68176
|
-
}
|
|
68177
|
-
return out;
|
|
68178
|
-
};
|
|
68179
|
-
function splitSections(str, separator) {
|
|
68180
|
-
var lastMatchIndex = 0;
|
|
68181
|
-
var lastSeparatorIndex = 0;
|
|
68182
|
-
var nextIndex = 0;
|
|
68183
|
-
var sections = [];
|
|
68184
|
-
do {
|
|
68185
|
-
nextIndex = str.indexOf(separator, lastMatchIndex);
|
|
68186
|
-
if (nextIndex !== -1) {
|
|
68187
|
-
lastMatchIndex = nextIndex + separator.length;
|
|
68188
|
-
if (nextIndex > 0 && str[nextIndex - 1] === "\\") continue;
|
|
68189
|
-
sections.push(str.slice(lastSeparatorIndex, nextIndex));
|
|
68190
|
-
lastSeparatorIndex = nextIndex + separator.length;
|
|
68191
|
-
}
|
|
68192
|
-
} while (nextIndex !== -1);
|
|
68193
|
-
sections.push(str.slice(lastSeparatorIndex));
|
|
68194
|
-
return sections;
|
|
68195
|
-
}
|
|
68196
|
-
const decode = (str, opt = {}) => {
|
|
68197
|
-
opt.bracketedArray = opt.bracketedArray !== false;
|
|
68198
|
-
const out = Object.create(null);
|
|
68199
|
-
let p$4 = out;
|
|
68200
|
-
let section = null;
|
|
68201
|
-
const re$7 = /^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i;
|
|
68202
|
-
const lines = str.split(/[\r\n]+/g);
|
|
68203
|
-
const duplicates = {};
|
|
68204
|
-
for (const line of lines) {
|
|
68205
|
-
if (!line || line.match(/^\s*[;#]/) || line.match(/^\s*$/)) continue;
|
|
68206
|
-
const match = line.match(re$7);
|
|
68207
|
-
if (!match) continue;
|
|
68208
|
-
if (match[1] !== void 0) {
|
|
68209
|
-
section = unsafe(match[1]);
|
|
68210
|
-
if (section === "__proto__") {
|
|
68211
|
-
p$4 = Object.create(null);
|
|
68212
|
-
continue;
|
|
68213
|
-
}
|
|
68214
|
-
p$4 = out[section] = out[section] || Object.create(null);
|
|
68215
|
-
continue;
|
|
68216
|
-
}
|
|
68217
|
-
const keyRaw = unsafe(match[2]);
|
|
68218
|
-
let isArray$16;
|
|
68219
|
-
if (opt.bracketedArray) isArray$16 = keyRaw.length > 2 && keyRaw.slice(-2) === "[]";
|
|
68220
|
-
else {
|
|
68221
|
-
duplicates[keyRaw] = (duplicates?.[keyRaw] || 0) + 1;
|
|
68222
|
-
isArray$16 = duplicates[keyRaw] > 1;
|
|
68223
|
-
}
|
|
68224
|
-
const key = isArray$16 ? keyRaw.slice(0, -2) : keyRaw;
|
|
68225
|
-
if (key === "__proto__") continue;
|
|
68226
|
-
const valueRaw = match[3] ? unsafe(match[4]) : true;
|
|
68227
|
-
const value = valueRaw === "true" || valueRaw === "false" || valueRaw === "null" ? JSON.parse(valueRaw) : valueRaw;
|
|
68228
|
-
if (isArray$16) {
|
|
68229
|
-
if (!hasOwnProperty$1.call(p$4, key)) p$4[key] = [];
|
|
68230
|
-
else if (!Array.isArray(p$4[key])) p$4[key] = [p$4[key]];
|
|
68231
|
-
}
|
|
68232
|
-
if (Array.isArray(p$4[key])) p$4[key].push(value);
|
|
68233
|
-
else p$4[key] = value;
|
|
68234
|
-
}
|
|
68235
|
-
const remove = [];
|
|
68236
|
-
for (const k$6 of Object.keys(out)) {
|
|
68237
|
-
if (!hasOwnProperty$1.call(out, k$6) || typeof out[k$6] !== "object" || Array.isArray(out[k$6])) continue;
|
|
68238
|
-
const parts = splitSections(k$6, ".");
|
|
68239
|
-
p$4 = out;
|
|
68240
|
-
const l$5 = parts.pop();
|
|
68241
|
-
const nl = l$5.replace(/\\\./g, ".");
|
|
68242
|
-
for (const part of parts) {
|
|
68243
|
-
if (part === "__proto__") continue;
|
|
68244
|
-
if (!hasOwnProperty$1.call(p$4, part) || typeof p$4[part] !== "object") p$4[part] = Object.create(null);
|
|
68245
|
-
p$4 = p$4[part];
|
|
68246
|
-
}
|
|
68247
|
-
if (p$4 === out && nl === l$5) continue;
|
|
68248
|
-
p$4[nl] = out[k$6];
|
|
68249
|
-
remove.push(k$6);
|
|
68250
|
-
}
|
|
68251
|
-
for (const del of remove) delete out[del];
|
|
68252
|
-
return out;
|
|
68253
|
-
};
|
|
68254
|
-
const isQuoted = (val) => {
|
|
68255
|
-
return val.startsWith("\"") && val.endsWith("\"") || val.startsWith("'") && val.endsWith("'");
|
|
68256
|
-
};
|
|
68257
|
-
const safe = (val) => {
|
|
68258
|
-
if (typeof val !== "string" || val.match(/[=\r\n]/) || val.match(/^\[/) || val.length > 1 && isQuoted(val) || val !== val.trim()) return JSON.stringify(val);
|
|
68259
|
-
return val.split(";").join("\\;").split("#").join("\\#");
|
|
68260
|
-
};
|
|
68261
|
-
const unsafe = (val, doUnesc) => {
|
|
68262
|
-
val = (val || "").trim();
|
|
68263
|
-
if (isQuoted(val)) {
|
|
68264
|
-
if (val.charAt(0) === "'") val = val.slice(1, -1);
|
|
68265
|
-
try {
|
|
68266
|
-
val = JSON.parse(val);
|
|
68267
|
-
} catch {}
|
|
68268
|
-
} else {
|
|
68269
|
-
let esc = false;
|
|
68270
|
-
let unesc = "";
|
|
68271
|
-
for (let i$10 = 0, l$5 = val.length; i$10 < l$5; i$10++) {
|
|
68272
|
-
const c$9 = val.charAt(i$10);
|
|
68273
|
-
if (esc) {
|
|
68274
|
-
if ("\\;#".indexOf(c$9) !== -1) unesc += c$9;
|
|
68275
|
-
else unesc += "\\" + c$9;
|
|
68276
|
-
esc = false;
|
|
68277
|
-
} else if (";#".indexOf(c$9) !== -1) break;
|
|
68278
|
-
else if (c$9 === "\\") esc = true;
|
|
68279
|
-
else unesc += c$9;
|
|
68280
|
-
}
|
|
68281
|
-
if (esc) unesc += "\\";
|
|
68282
|
-
return unesc.trim();
|
|
68283
|
-
}
|
|
68284
|
-
return val;
|
|
68285
|
-
};
|
|
68286
|
-
module.exports = {
|
|
68287
|
-
parse: decode,
|
|
68288
|
-
decode,
|
|
68289
|
-
stringify: encode,
|
|
68290
|
-
encode,
|
|
68291
|
-
safe,
|
|
68292
|
-
unsafe
|
|
68293
|
-
};
|
|
68294
|
-
}));
|
|
68295
|
-
|
|
68296
|
-
//#endregion
|
|
68297
|
-
//#region ../../node_modules/.pnpm/global-directory@4.0.1/node_modules/global-directory/index.js
|
|
68298
|
-
var import_ini = /* @__PURE__ */ __toESM$1(require_ini(), 1);
|
|
68299
|
-
const isWindows = g$1.platform === "win32";
|
|
68300
|
-
const readRc = (filePath) => {
|
|
68301
|
-
try {
|
|
68302
|
-
return import_ini.default.parse(fs.readFileSync(filePath, "utf8")).prefix;
|
|
68303
|
-
} catch {}
|
|
68304
|
-
};
|
|
68305
|
-
const getEnvNpmPrefix = () => Object.keys(g$1.env).reduce((prefix$1, name$1) => /^npm_config_prefix$/i.test(name$1) ? g$1.env[name$1] : prefix$1, void 0);
|
|
68306
|
-
const getGlobalNpmrc = () => {
|
|
68307
|
-
if (isWindows && g$1.env.APPDATA) return path.join(g$1.env.APPDATA, "/npm/etc/npmrc");
|
|
68308
|
-
if (g$1.execPath.includes("/Cellar/node")) {
|
|
68309
|
-
const homebrewPrefix = g$1.execPath.slice(0, g$1.execPath.indexOf("/Cellar/node"));
|
|
68310
|
-
return path.join(homebrewPrefix, "/lib/node_modules/npm/npmrc");
|
|
68311
|
-
}
|
|
68312
|
-
if (g$1.execPath.endsWith("/bin/node")) {
|
|
68313
|
-
const installDir = path.dirname(path.dirname(g$1.execPath));
|
|
68314
|
-
return path.join(installDir, "/etc/npmrc");
|
|
68315
|
-
}
|
|
68316
|
-
};
|
|
68317
|
-
const getDefaultNpmPrefix = () => {
|
|
68318
|
-
if (isWindows) {
|
|
68319
|
-
const { APPDATA } = g$1.env;
|
|
68320
|
-
return APPDATA ? path.join(APPDATA, "npm") : path.dirname(g$1.execPath);
|
|
68321
|
-
}
|
|
68322
|
-
return path.dirname(path.dirname(g$1.execPath));
|
|
68323
|
-
};
|
|
68324
|
-
const getNpmPrefix = () => {
|
|
68325
|
-
const envPrefix = getEnvNpmPrefix();
|
|
68326
|
-
if (envPrefix) return envPrefix;
|
|
68327
|
-
const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
|
|
68328
|
-
if (homePrefix) return homePrefix;
|
|
68329
|
-
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
68330
|
-
const globalPrefix = readRc(getGlobalNpmrc());
|
|
68331
|
-
if (globalPrefix) return globalPrefix;
|
|
68332
|
-
return getDefaultNpmPrefix();
|
|
68333
|
-
};
|
|
68334
|
-
const npmPrefix = path.resolve(getNpmPrefix());
|
|
68335
|
-
const getYarnWindowsDirectory = () => {
|
|
68336
|
-
if (isWindows && g$1.env.LOCALAPPDATA) {
|
|
68337
|
-
const dir = path.join(g$1.env.LOCALAPPDATA, "Yarn");
|
|
68338
|
-
if (fs.existsSync(dir)) return dir;
|
|
68339
|
-
}
|
|
68340
|
-
return false;
|
|
68341
|
-
};
|
|
68342
|
-
const getYarnPrefix = () => {
|
|
68343
|
-
if (g$1.env.PREFIX) return g$1.env.PREFIX;
|
|
68344
|
-
const windowsPrefix = getYarnWindowsDirectory();
|
|
68345
|
-
if (windowsPrefix) return windowsPrefix;
|
|
68346
|
-
const configPrefix = path.join(os.homedir(), ".config/yarn");
|
|
68347
|
-
if (fs.existsSync(configPrefix)) return configPrefix;
|
|
68348
|
-
const homePrefix = path.join(os.homedir(), ".yarn-config");
|
|
68349
|
-
if (fs.existsSync(homePrefix)) return homePrefix;
|
|
68350
|
-
return npmPrefix;
|
|
68351
|
-
};
|
|
68352
|
-
const globalDirectory = {};
|
|
68353
|
-
globalDirectory.npm = {};
|
|
68354
|
-
globalDirectory.npm.prefix = npmPrefix;
|
|
68355
|
-
globalDirectory.npm.packages = path.join(npmPrefix, isWindows ? "node_modules" : "lib/node_modules");
|
|
68356
|
-
globalDirectory.npm.binaries = isWindows ? npmPrefix : path.join(npmPrefix, "bin");
|
|
68357
|
-
const yarnPrefix = path.resolve(getYarnPrefix());
|
|
68358
|
-
globalDirectory.yarn = {};
|
|
68359
|
-
globalDirectory.yarn.prefix = yarnPrefix;
|
|
68360
|
-
globalDirectory.yarn.packages = path.join(yarnPrefix, getYarnWindowsDirectory() ? "Data/global/node_modules" : "global/node_modules");
|
|
68361
|
-
globalDirectory.yarn.binaries = path.join(globalDirectory.yarn.packages, ".bin");
|
|
68362
|
-
var global_directory_default = globalDirectory;
|
|
68363
|
-
|
|
68364
|
-
//#endregion
|
|
68365
|
-
//#region ../../node_modules/.pnpm/is-path-inside@4.0.0/node_modules/is-path-inside/index.js
|
|
68366
|
-
function isPathInside(childPath, parentPath) {
|
|
68367
|
-
const relation = path.relative(parentPath, childPath);
|
|
68368
|
-
return Boolean(relation && relation !== ".." && !relation.startsWith(`..${path.sep}`) && relation !== path.resolve(childPath));
|
|
68369
|
-
}
|
|
68370
|
-
|
|
68371
|
-
//#endregion
|
|
68372
|
-
//#region ../../node_modules/.pnpm/is-installed-globally@1.0.0/node_modules/is-installed-globally/index.js
|
|
68373
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
68374
|
-
const isInstalledGlobally = (() => {
|
|
68375
|
-
try {
|
|
68376
|
-
return isPathInside(__dirname, global_directory_default.yarn.packages) || isPathInside(__dirname, fs.realpathSync(global_directory_default.npm.packages));
|
|
68377
|
-
} catch {
|
|
68378
|
-
return false;
|
|
68379
|
-
}
|
|
68380
|
-
})();
|
|
68381
|
-
var is_installed_globally_default = isInstalledGlobally;
|
|
68382
|
-
|
|
68383
68138
|
//#endregion
|
|
68384
68139
|
//#region ../shared/src/functions/upgrade.ts
|
|
68140
|
+
function isInstalledLocally() {
|
|
68141
|
+
const __dirname$1 = path.dirname(fileURLToPath(import.meta.url));
|
|
68142
|
+
const cwd$2 = process.cwd();
|
|
68143
|
+
const localNodeModules = path.join(cwd$2, "node_modules");
|
|
68144
|
+
return __dirname$1.startsWith(localNodeModules);
|
|
68145
|
+
}
|
|
68385
68146
|
async function upgradeSelf(pkgName) {
|
|
68386
|
-
if (
|
|
68147
|
+
if (isInstalledLocally()) {
|
|
68387
68148
|
R.warning(i18n.t("commands.upgrade.not_global", { pkg: pkgName }));
|
|
68388
68149
|
return;
|
|
68389
68150
|
}
|
|
@@ -68647,7 +68408,7 @@ const blue = ansi256(33);
|
|
|
68647
68408
|
|
|
68648
68409
|
//#endregion
|
|
68649
68410
|
//#region package.json
|
|
68650
|
-
var version = "0.0.13-beta.
|
|
68411
|
+
var version = "0.0.13-beta.6";
|
|
68651
68412
|
|
|
68652
68413
|
//#endregion
|
|
68653
68414
|
//#region src/commands/upgrade.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuetify0",
|
|
3
|
-
"version": "0.0.13-beta.
|
|
3
|
+
"version": "0.0.13-beta.6",
|
|
4
4
|
"description": "Create a new Vuetify project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"nypm": "^0.6.2",
|
|
32
32
|
"pathe": "^2.0.3",
|
|
33
33
|
"tsdown": "^0.16.8",
|
|
34
|
-
"@vuetify/cli-shared": "0.0.13-beta.
|
|
34
|
+
"@vuetify/cli-shared": "0.0.13-beta.6"
|
|
35
35
|
},
|
|
36
36
|
"main": "./dist/index.mjs",
|
|
37
37
|
"module": "./dist/index.mjs",
|