create-vuetify0 0.0.13-beta.9 → 0.0.14-beta.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 +18 -5
- package/package.json +7 -2
package/dist/index.mjs
CHANGED
|
@@ -27137,7 +27137,7 @@ var require_espree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27137
27137
|
}
|
|
27138
27138
|
};
|
|
27139
27139
|
};
|
|
27140
|
-
const version$1 = "10.4.0";
|
|
27140
|
+
const version$1$1 = "10.4.0";
|
|
27141
27141
|
/**
|
|
27142
27142
|
* @fileoverview Main Espree file that converts Acorn into Esprima output.
|
|
27143
27143
|
*
|
|
@@ -27232,7 +27232,7 @@ var require_espree = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27232
27232
|
function parse$4(code$1, options$1) {
|
|
27233
27233
|
return new (parsers.get(options$1))(options$1, code$1).parse();
|
|
27234
27234
|
}
|
|
27235
|
-
const version$2 = version$1;
|
|
27235
|
+
const version$2 = version$1$1;
|
|
27236
27236
|
const name = "espree";
|
|
27237
27237
|
/* istanbul ignore next */
|
|
27238
27238
|
const VisitorKeys = function() {
|
|
@@ -66777,6 +66777,19 @@ export const useAppStore = defineStore('app', {
|
|
|
66777
66777
|
`;
|
|
66778
66778
|
}
|
|
66779
66779
|
|
|
66780
|
+
//#endregion
|
|
66781
|
+
//#region ../shared/package.json
|
|
66782
|
+
var version$1 = "0.0.14-beta.2";
|
|
66783
|
+
|
|
66784
|
+
//#endregion
|
|
66785
|
+
//#region ../shared/src/utils/getTemplateSource.ts
|
|
66786
|
+
function getTemplateSource(templateName) {
|
|
66787
|
+
let tag = `v${version$1}`;
|
|
66788
|
+
if (version$1.includes("beta-next")) tag = `v${version$1.replace("beta-next", "beta")}`;
|
|
66789
|
+
else if (version$1.endsWith("-next.1")) tag = `v${version$1.slice(0, -7)}`;
|
|
66790
|
+
return `gh:vuetifyjs/cli/templates/${templateName}#${tag}`;
|
|
66791
|
+
}
|
|
66792
|
+
|
|
66780
66793
|
//#endregion
|
|
66781
66794
|
//#region ../shared/src/utils/installFeature.ts
|
|
66782
66795
|
async function installFeature(feature, cwd$2, type = "vuetify") {
|
|
@@ -66787,7 +66800,7 @@ async function installFeature(feature, cwd$2, type = "vuetify") {
|
|
|
66787
66800
|
} else {
|
|
66788
66801
|
const tmp = mkdtempSync(join$1(tmpdir(), "vuetify-feature-"));
|
|
66789
66802
|
try {
|
|
66790
|
-
await downloadTemplate(
|
|
66803
|
+
await downloadTemplate(getTemplateSource(templateName), { dir: tmp });
|
|
66791
66804
|
cpSync(tmp, cwd$2, { recursive: true });
|
|
66792
66805
|
} finally {
|
|
66793
66806
|
rmSync(tmp, {
|
|
@@ -67226,7 +67239,7 @@ async function scaffold(options$1, callbacks = {}) {
|
|
|
67226
67239
|
debug$7(`Copy complete.`);
|
|
67227
67240
|
} else debug$7(`templatePath does not exist: ${templatePath}`);
|
|
67228
67241
|
} else {
|
|
67229
|
-
const templateSource =
|
|
67242
|
+
const templateSource = getTemplateSource(templateName);
|
|
67230
67243
|
try {
|
|
67231
67244
|
await downloadTemplate(templateSource, {
|
|
67232
67245
|
dir: projectRoot,
|
|
@@ -68408,7 +68421,7 @@ const blue = ansi256(33);
|
|
|
68408
68421
|
|
|
68409
68422
|
//#endregion
|
|
68410
68423
|
//#region package.json
|
|
68411
|
-
var version = "0.0.
|
|
68424
|
+
var version = "0.0.14-beta.2";
|
|
68412
68425
|
|
|
68413
68426
|
//#endregion
|
|
68414
68427
|
//#region src/commands/upgrade.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuetify0",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14-beta.2",
|
|
4
4
|
"description": "Create a new Vuetify project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
],
|
|
23
23
|
"author": "Andrey Yolkin <andreyyolkin@gmail.com>",
|
|
24
24
|
"license": "MIT",
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/vuetifyjs/cli.git",
|
|
28
|
+
"directory": "packages/create0"
|
|
29
|
+
},
|
|
25
30
|
"devDependencies": {
|
|
26
31
|
"@bomb.sh/tab": "^0.0.11",
|
|
27
32
|
"@clack/prompts": "^1.0.0-alpha.9",
|
|
@@ -31,7 +36,7 @@
|
|
|
31
36
|
"nypm": "^0.6.2",
|
|
32
37
|
"pathe": "^2.0.3",
|
|
33
38
|
"tsdown": "^0.16.8",
|
|
34
|
-
"@vuetify/cli-shared": "0.0.
|
|
39
|
+
"@vuetify/cli-shared": "0.0.14-beta.2"
|
|
35
40
|
},
|
|
36
41
|
"main": "./dist/index.mjs",
|
|
37
42
|
"module": "./dist/index.mjs",
|