create-vuetify 3.0.13-beta-next.8 → 3.0.14-beta-next.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.
Files changed (2) hide show
  1. package/dist/index.mjs +18 -5
  2. package/package.json +7 -2
package/dist/index.mjs CHANGED
@@ -23678,7 +23678,7 @@ var require_espree = /* @__PURE__ */ __commonJSMin(((exports) => {
23678
23678
  }
23679
23679
  };
23680
23680
  };
23681
- const version$1 = "10.4.0";
23681
+ const version$1$1 = "10.4.0";
23682
23682
  /**
23683
23683
  * @fileoverview Main Espree file that converts Acorn into Esprima output.
23684
23684
  *
@@ -23773,7 +23773,7 @@ var require_espree = /* @__PURE__ */ __commonJSMin(((exports) => {
23773
23773
  function parse$2(code, options$1) {
23774
23774
  return new (parsers.get(options$1))(options$1, code).parse();
23775
23775
  }
23776
- const version$2 = version$1;
23776
+ const version$2 = version$1$1;
23777
23777
  const name = "espree";
23778
23778
  /* istanbul ignore next */
23779
23779
  const VisitorKeys = function() {
@@ -40996,6 +40996,19 @@ export const useAppStore = defineStore('app', {
40996
40996
  `;
40997
40997
  }
40998
40998
 
40999
+ //#endregion
41000
+ //#region ../shared/package.json
41001
+ var version$1 = "0.0.14-beta.2";
41002
+
41003
+ //#endregion
41004
+ //#region ../shared/src/utils/getTemplateSource.ts
41005
+ function getTemplateSource(templateName) {
41006
+ let tag = `v${version$1}`;
41007
+ if (version$1.includes("beta-next")) tag = `v${version$1.replace("beta-next", "beta")}`;
41008
+ else if (version$1.endsWith("-next.1")) tag = `v${version$1.slice(0, -7)}`;
41009
+ return `gh:vuetifyjs/cli/templates/${templateName}#${tag}`;
41010
+ }
41011
+
40999
41012
  //#endregion
41000
41013
  //#region ../shared/src/utils/installFeature.ts
41001
41014
  async function installFeature(feature, cwd$1, type = "vuetify") {
@@ -41006,7 +41019,7 @@ async function installFeature(feature, cwd$1, type = "vuetify") {
41006
41019
  } else {
41007
41020
  const tmp = mkdtempSync(join$1(tmpdir(), "vuetify-feature-"));
41008
41021
  try {
41009
- await downloadTemplate(`gh:vuetifyjs/templates/${templateName}`, { dir: tmp });
41022
+ await downloadTemplate(getTemplateSource(templateName), { dir: tmp });
41010
41023
  cpSync(tmp, cwd$1, { recursive: true });
41011
41024
  } finally {
41012
41025
  rmSync(tmp, {
@@ -41445,7 +41458,7 @@ async function scaffold(options$1, callbacks = {}) {
41445
41458
  debug$7(`Copy complete.`);
41446
41459
  } else debug$7(`templatePath does not exist: ${templatePath}`);
41447
41460
  } else {
41448
- const templateSource = `gh:vuetifyjs/templates/${templateName}`;
41461
+ const templateSource = getTemplateSource(templateName);
41449
41462
  try {
41450
41463
  await downloadTemplate(templateSource, {
41451
41464
  dir: projectRoot,
@@ -43625,7 +43638,7 @@ const blue = ansi256(33);
43625
43638
 
43626
43639
  //#endregion
43627
43640
  //#region package.json
43628
- var version = "3.0.13-beta-next.8";
43641
+ var version = "3.0.14-beta-next.2";
43629
43642
 
43630
43643
  //#endregion
43631
43644
  //#region src/commands/upgrade.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vuetify",
3
- "version": "3.0.13-beta-next.8",
3
+ "version": "3.0.14-beta-next.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/create"
29
+ },
25
30
  "devDependencies": {
26
31
  "@bomb.sh/tab": "^0.0.11",
27
32
  "@clack/prompts": "^1.0.0-alpha.9",
@@ -33,7 +38,7 @@
33
38
  "pathe": "^2.0.3",
34
39
  "tsdown": "^0.16.8",
35
40
  "vitest": "^4.0.17",
36
- "@vuetify/cli-shared": "0.0.13-beta.8"
41
+ "@vuetify/cli-shared": "0.0.14-beta.2"
37
42
  },
38
43
  "main": "./dist/index.mjs",
39
44
  "module": "./dist/index.mjs",