@shopify/create-app 3.61.2 → 3.62.0

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 (71) hide show
  1. package/dist/{chunk-TEIUSMQF.js → chunk-3C7VBPKV.js} +4 -3
  2. package/dist/{chunk-QTBH3GO6.js → chunk-B62HZLMM.js} +3 -2
  3. package/dist/{chunk-5VLFIRJZ.js → chunk-BKY7FLON.js} +6 -5
  4. package/dist/{chunk-5TIUXWJI.js → chunk-CSUGYG4O.js} +9 -8
  5. package/dist/{chunk-DEIGDWGB.js → chunk-CUZDIE7U.js} +3 -2
  6. package/dist/{chunk-HTYJDJRZ.js → chunk-DL3MKXVR.js} +2 -1
  7. package/dist/{chunk-DCYRMEAR.js → chunk-E3R2QNZH.js} +3 -2
  8. package/dist/{chunk-EXKYFA3Q.js → chunk-E4HW5M5H.js} +8 -7
  9. package/dist/{chunk-LKGDG6WW.js → chunk-FMKVOTQK.js} +2 -1
  10. package/dist/{chunk-LUP5VDI4.js → chunk-GJPZCXGT.js} +3 -2
  11. package/dist/{chunk-XRBC4UM7.js → chunk-H7PE6UQQ.js} +5 -4
  12. package/dist/{chunk-6MVE3OZ2.js → chunk-I642G37M.js} +12 -11
  13. package/dist/{chunk-FBB6KUZG.js → chunk-LSCXQWNO.js} +2 -1
  14. package/dist/{chunk-UVY6LL5H.js → chunk-M2VKB6RG.js} +2 -1
  15. package/dist/{chunk-K5EEGEVV.js → chunk-MCED27CG.js} +2 -1
  16. package/dist/{chunk-B2QBH7MN.js → chunk-MPBVJXAB.js} +11 -10
  17. package/dist/{chunk-6PWOAHEA.js → chunk-NORDGBTQ.js} +14 -12
  18. package/dist/{chunk-R5KQZMEG.js → chunk-SAO7C4LP.js} +4 -3
  19. package/dist/{chunk-G6FN5VUE.js → chunk-STRDP5MF.js} +21 -3
  20. package/dist/{chunk-GXPKATXW.js → chunk-T5LLJYYS.js} +2 -1
  21. package/dist/{chunk-EBLO5TQ6.js → chunk-UAHNJ7DG.js} +6 -5
  22. package/dist/{chunk-RAFFEFML.js → chunk-URQFBBW5.js} +4 -2
  23. package/dist/{chunk-ML34TC74.js → chunk-VH2SMHYM.js} +60 -26
  24. package/dist/{chunk-C7PRLYZC.js → chunk-WW3VYTIJ.js} +15664 -7302
  25. package/dist/{chunk-WCNR75S2.js → chunk-YC4FLMDD.js} +2 -1
  26. package/dist/{chunk-U4YACXEW.js → chunk-YH2RKQUF.js} +3 -2
  27. package/dist/{chunk-3JLUTHGR.js → chunk-ZPFJOUKZ.js} +2 -1
  28. package/dist/{chunk-M63RTPGR.js → chunk-ZPL24Y2D.js} +1 -0
  29. package/dist/commands/init.js +28 -27
  30. package/dist/commands/init.test.js +30 -29
  31. package/dist/{constants-NNLQHFRJ.js → constants-BWDIHVPM.js} +5 -4
  32. package/dist/{custom-oclif-loader-4SQGUQ7D.js → custom-oclif-loader-7Q5WVZP6.js} +16 -24
  33. package/dist/{del-ICEHOC6W.js → del-ZCPTGWOA.js} +6 -5
  34. package/dist/{devtools-6HZ2IPFU.js → devtools-5N4JAP3R.js} +2 -1
  35. package/dist/error-handler-OOIG25BK.js +35 -0
  36. package/dist/hooks/postrun.js +20 -19
  37. package/dist/hooks/prerun.js +16 -15
  38. package/dist/index.js +8 -7
  39. package/dist/lib-CTSCLPNV.js +9 -0
  40. package/dist/{local-YKOG4EUR.js → local-GYBILLDV.js} +13 -12
  41. package/dist/{magic-string.es-6DE547FE.js → magic-string.es-ATGURXGQ.js} +2 -1
  42. package/dist/{multipart-parser-ENLY4BKU.js → multipart-parser-KYOHF24X.js} +3 -2
  43. package/dist/{node-package-manager-S7TSAUJZ.js → node-package-manager-N7CTF74M.js} +16 -13
  44. package/dist/{open-B7XFJJCK.js → open-JRS7RW22.js} +3 -2
  45. package/dist/out-OKI3G7I5.js +6 -0
  46. package/dist/{path-HO4HBKK5.js → path-LR5NP4LX.js} +10 -5
  47. package/dist/prompts/init.js +14 -13
  48. package/dist/prompts/init.test.js +15 -14
  49. package/dist/services/init.js +21 -20
  50. package/dist/services/init.test.js +5 -4
  51. package/dist/system-KZ6D632Y.js +26 -0
  52. package/dist/tsconfig.tsbuildinfo +1 -1
  53. package/dist/{ui-FUZYK6S3.js → ui-DULGDV4Y.js} +15 -12
  54. package/dist/utils/template/cleanup.js +14 -13
  55. package/dist/utils/template/cleanup.test.js +15 -14
  56. package/dist/utils/template/npm.js +16 -15
  57. package/dist/utils/template/npm.test.js +17 -16
  58. package/oclif.manifest.json +2 -2
  59. package/package.json +3 -2
  60. package/dist/commands/init.js.map +0 -1
  61. package/dist/error-handler-WI4YVJIS.js +0 -34
  62. package/dist/hooks/postrun.js.map +0 -1
  63. package/dist/hooks/prerun.js.map +0 -1
  64. package/dist/index.js.map +0 -1
  65. package/dist/lib-76RCE6WZ.js +0 -8
  66. package/dist/out-M5MRQZP5.js +0 -5
  67. package/dist/prompts/init.js.map +0 -1
  68. package/dist/services/init.js.map +0 -1
  69. package/dist/system-XXZMW2TO.js +0 -25
  70. package/dist/utils/template/cleanup.js.map +0 -1
  71. package/dist/utils/template/npm.js.map +0 -1
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  glob,
3
3
  rmdir
4
- } from "./chunk-ML34TC74.js";
4
+ } from "./chunk-VH2SMHYM.js";
5
5
  import {
6
6
  joinPath
7
- } from "./chunk-G6FN5VUE.js";
7
+ } from "./chunk-STRDP5MF.js";
8
8
  import {
9
9
  init_cjs_shims
10
- } from "./chunk-M63RTPGR.js";
10
+ } from "./chunk-ZPL24Y2D.js";
11
11
 
12
12
  // src/utils/template/cleanup.ts
13
13
  init_cjs_shims();
@@ -35,3 +35,4 @@ async function cleanup(webOutputDirectory) {
35
35
  export {
36
36
  cleanup
37
37
  };
38
+ //# sourceMappingURL=chunk-3C7VBPKV.js.map
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  init_cjs_shims
3
- } from "./chunk-M63RTPGR.js";
3
+ } from "./chunk-ZPL24Y2D.js";
4
4
 
5
5
  // ../cli-kit/src/public/common/version.ts
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.61.2";
7
+ var CLI_KIT_VERSION = "3.62.0";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
+ //# sourceMappingURL=chunk-B62HZLMM.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-QTBH3GO6.js";
3
+ } from "./chunk-B62HZLMM.js";
4
4
  import {
5
5
  installNodeModules
6
- } from "./chunk-C7PRLYZC.js";
6
+ } from "./chunk-WW3VYTIJ.js";
7
7
  import {
8
8
  findPathUp
9
- } from "./chunk-ML34TC74.js";
9
+ } from "./chunk-VH2SMHYM.js";
10
10
  import {
11
11
  moduleDirectory,
12
12
  normalizePath
13
- } from "./chunk-G6FN5VUE.js";
13
+ } from "./chunk-STRDP5MF.js";
14
14
  import {
15
15
  init_cjs_shims
16
- } from "./chunk-M63RTPGR.js";
16
+ } from "./chunk-ZPL24Y2D.js";
17
17
 
18
18
  // src/utils/template/npm.ts
19
19
  init_cjs_shims();
@@ -60,3 +60,4 @@ export {
60
60
  updateCLIDependencies,
61
61
  getDeepInstallNPMTasks
62
62
  };
63
+ //# sourceMappingURL=chunk-BKY7FLON.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  cleanup
3
- } from "./chunk-TEIUSMQF.js";
3
+ } from "./chunk-3C7VBPKV.js";
4
4
  import {
5
5
  getDeepInstallNPMTasks,
6
6
  updateCLIDependencies
7
- } from "./chunk-5VLFIRJZ.js";
7
+ } from "./chunk-BKY7FLON.js";
8
8
  import {
9
9
  username
10
- } from "./chunk-DCYRMEAR.js";
10
+ } from "./chunk-E3R2QNZH.js";
11
11
  import {
12
12
  UnknownPackageManagerError,
13
13
  findUpAndReadPackageJson,
14
14
  lockfiles,
15
15
  writePackageJSON
16
- } from "./chunk-C7PRLYZC.js";
16
+ } from "./chunk-WW3VYTIJ.js";
17
17
  import {
18
18
  AbortError,
19
19
  appendFile,
@@ -41,21 +41,21 @@ import {
41
41
  renderTasks,
42
42
  runWithTimer,
43
43
  writeFile
44
- } from "./chunk-ML34TC74.js";
44
+ } from "./chunk-VH2SMHYM.js";
45
45
  import {
46
46
  dirname,
47
47
  joinPath,
48
48
  relativePath
49
- } from "./chunk-G6FN5VUE.js";
49
+ } from "./chunk-STRDP5MF.js";
50
50
  import {
51
51
  require_src
52
- } from "./chunk-R5KQZMEG.js";
52
+ } from "./chunk-SAO7C4LP.js";
53
53
  import {
54
54
  __commonJS,
55
55
  __require,
56
56
  __toESM,
57
57
  init_cjs_shims
58
- } from "./chunk-M63RTPGR.js";
58
+ } from "./chunk-ZPL24Y2D.js";
59
59
 
60
60
  // ../../node_modules/.pnpm/liquidjs@10.9.2/node_modules/liquidjs/dist/liquid.node.cjs.js
61
61
  var require_liquid_node_cjs = __commonJS({
@@ -7832,3 +7832,4 @@ var init_default = init;
7832
7832
  export {
7833
7833
  init_default
7834
7834
  };
7835
+ //# sourceMappingURL=chunk-CSUGYG4O.js.map
@@ -4,11 +4,11 @@ import {
4
4
  renderSelectPrompt,
5
5
  renderText,
6
6
  renderTextPrompt
7
- } from "./chunk-ML34TC74.js";
7
+ } from "./chunk-VH2SMHYM.js";
8
8
  import {
9
9
  __export,
10
10
  init_cjs_shims
11
- } from "./chunk-M63RTPGR.js";
11
+ } from "./chunk-ZPL24Y2D.js";
12
12
 
13
13
  // src/prompts/init.ts
14
14
  var init_exports = {};
@@ -142,3 +142,4 @@ export {
142
142
  isPredefinedTemplate,
143
143
  init_exports
144
144
  };
145
+ //# sourceMappingURL=chunk-CUZDIE7U.js.map
@@ -3,7 +3,7 @@ import {
3
3
  __require,
4
4
  __toESM,
5
5
  init_cjs_shims
6
- } from "./chunk-M63RTPGR.js";
6
+ } from "./chunk-ZPL24Y2D.js";
7
7
 
8
8
  // ../../node_modules/.pnpm/web-streams-polyfill@3.3.3/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js
9
9
  var require_ponyfill_es2018 = __commonJS({
@@ -4751,3 +4751,4 @@ fetch-blob/index.js:
4751
4751
  formdata-polyfill/esm.min.js:
4752
4752
  (*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
4753
4753
  */
4754
+ //# sourceMappingURL=chunk-DL3MKXVR.js.map
@@ -2,10 +2,10 @@ import {
2
2
  execa,
3
3
  outputContent,
4
4
  outputDebug
5
- } from "./chunk-ML34TC74.js";
5
+ } from "./chunk-VH2SMHYM.js";
6
6
  import {
7
7
  init_cjs_shims
8
- } from "./chunk-M63RTPGR.js";
8
+ } from "./chunk-ZPL24Y2D.js";
9
9
 
10
10
  // ../cli-kit/src/public/node/os.ts
11
11
  init_cjs_shims();
@@ -70,3 +70,4 @@ export {
70
70
  username,
71
71
  platformAndArch
72
72
  };
73
+ //# sourceMappingURL=chunk-E3R2QNZH.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  fetch
3
- } from "./chunk-XRBC4UM7.js";
3
+ } from "./chunk-H7PE6UQQ.js";
4
4
  import {
5
5
  CLI_KIT_VERSION
6
- } from "./chunk-QTBH3GO6.js";
6
+ } from "./chunk-B62HZLMM.js";
7
7
  import {
8
8
  getEnvironmentData,
9
9
  getSensitiveEnvironmentData
10
- } from "./chunk-EBLO5TQ6.js";
10
+ } from "./chunk-UAHNJ7DG.js";
11
11
  import {
12
12
  require_semver
13
- } from "./chunk-C7PRLYZC.js";
13
+ } from "./chunk-WW3VYTIJ.js";
14
14
  import {
15
15
  alwaysLogAnalytics,
16
16
  alwaysLogMetrics,
@@ -25,16 +25,16 @@ import {
25
25
  outputContent,
26
26
  outputDebug,
27
27
  outputToken
28
- } from "./chunk-ML34TC74.js";
28
+ } from "./chunk-VH2SMHYM.js";
29
29
  import {
30
30
  joinPath
31
- } from "./chunk-G6FN5VUE.js";
31
+ } from "./chunk-STRDP5MF.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __require,
35
35
  __toESM,
36
36
  init_cjs_shims
37
- } from "./chunk-M63RTPGR.js";
37
+ } from "./chunk-ZPL24Y2D.js";
38
38
 
39
39
  // ../../node_modules/.pnpm/@opentelemetry+sdk-metrics@1.17.1_@opentelemetry+api@1.6.0/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationTemporality.js
40
40
  var require_AggregationTemporality = __commonJS({
@@ -18916,3 +18916,4 @@ export {
18916
18916
  fanoutHooks,
18917
18917
  reportAnalyticsEvent
18918
18918
  };
18919
+ //# sourceMappingURL=chunk-E4HW5M5H.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __commonJS,
3
3
  init_cjs_shims
4
- } from "./chunk-M63RTPGR.js";
4
+ } from "./chunk-ZPL24Y2D.js";
5
5
 
6
6
  // ../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js
7
7
  var require_wrappy = __commonJS({
@@ -85,3 +85,4 @@ export {
85
85
  require_wrappy,
86
86
  require_once
87
87
  };
88
+ //# sourceMappingURL=chunk-FMKVOTQK.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  require_merge2,
3
3
  require_out
4
- } from "./chunk-K5EEGEVV.js";
4
+ } from "./chunk-MCED27CG.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require,
8
8
  init_cjs_shims
9
- } from "./chunk-M63RTPGR.js";
9
+ } from "./chunk-ZPL24Y2D.js";
10
10
 
11
11
  // ../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js
12
12
  var require_slash = __commonJS({
@@ -905,3 +905,4 @@ export {
905
905
  require_slash,
906
906
  require_globby
907
907
  };
908
+ //# sourceMappingURL=chunk-GJPZCXGT.js.map
@@ -2,17 +2,17 @@ import {
2
2
  FormData as FormData2,
3
3
  fetch_blob_default,
4
4
  formDataToBlob
5
- } from "./chunk-HTYJDJRZ.js";
5
+ } from "./chunk-DL3MKXVR.js";
6
6
  import {
7
7
  outputDebug,
8
8
  runWithTimer
9
- } from "./chunk-ML34TC74.js";
9
+ } from "./chunk-VH2SMHYM.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
13
13
  __toESM,
14
14
  init_cjs_shims
15
- } from "./chunk-M63RTPGR.js";
15
+ } from "./chunk-ZPL24Y2D.js";
16
16
 
17
17
  // ../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js
18
18
  var require_delayed_stream = __commonJS({
@@ -31658,7 +31658,7 @@ var Body = class {
31658
31658
  }
31659
31659
  return formData;
31660
31660
  }
31661
- const { toFormData } = await import("./multipart-parser-ENLY4BKU.js");
31661
+ const { toFormData } = await import("./multipart-parser-KYOHF24X.js");
31662
31662
  return toFormData(this.body, ct);
31663
31663
  }
31664
31664
  /**
@@ -32797,3 +32797,4 @@ mime-types/index.js:
32797
32797
  * MIT Licensed
32798
32798
  *)
32799
32799
  */
32800
+ //# sourceMappingURL=chunk-H7PE6UQQ.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  isTruthy,
3
3
  printEventsJson
4
- } from "./chunk-UVY6LL5H.js";
4
+ } from "./chunk-M2VKB6RG.js";
5
5
  import {
6
6
  require_lib
7
- } from "./chunk-R5KQZMEG.js";
7
+ } from "./chunk-SAO7C4LP.js";
8
8
  import {
9
9
  __toESM,
10
10
  init_cjs_shims
11
- } from "./chunk-M63RTPGR.js";
11
+ } from "./chunk-ZPL24Y2D.js";
12
12
 
13
13
  // ../cli-kit/src/public/node/cli.ts
14
14
  init_cjs_shims();
@@ -19,7 +19,7 @@ async function warnIfOldNodeVersion() {
19
19
  const nodeMajorVersion = Number(nodeVersion.split(".")[0]);
20
20
  const currentSupportedNodeVersion = 18;
21
21
  if (nodeMajorVersion < currentSupportedNodeVersion) {
22
- const { renderWarning } = await import("./ui-FUZYK6S3.js");
22
+ const { renderWarning } = await import("./ui-DULGDV4Y.js");
23
23
  renderWarning({
24
24
  headline: "Upgrade to a supported Node version now.",
25
25
  body: [
@@ -53,10 +53,10 @@ async function runCLI(options) {
53
53
  setupEnvironmentVariables(options);
54
54
  forceNoColor();
55
55
  await warnIfOldNodeVersion();
56
- const { errorHandler } = await import("./error-handler-WI4YVJIS.js");
57
- const { isDevelopment } = await import("./local-YKOG4EUR.js");
58
- const oclif = await import("./lib-76RCE6WZ.js");
59
- const { ShopifyConfig } = await import("./custom-oclif-loader-4SQGUQ7D.js");
56
+ const { errorHandler } = await import("./error-handler-OOIG25BK.js");
57
+ const { isDevelopment } = await import("./local-GYBILLDV.js");
58
+ const oclif = await import("./lib-CTSCLPNV.js");
59
+ const { ShopifyConfig } = await import("./custom-oclif-loader-7Q5WVZP6.js");
60
60
  if (isDevelopment()) {
61
61
  oclif.default.settings.debug = true;
62
62
  }
@@ -73,8 +73,8 @@ async function runCLI(options) {
73
73
  }
74
74
  async function runCreateCLI(options) {
75
75
  setupEnvironmentVariables(options);
76
- const { findUpAndReadPackageJson } = await import("./node-package-manager-S7TSAUJZ.js");
77
- const { moduleDirectory } = await import("./path-HO4HBKK5.js");
76
+ const { findUpAndReadPackageJson } = await import("./node-package-manager-N7CTF74M.js");
77
+ const { moduleDirectory } = await import("./path-LR5NP4LX.js");
78
78
  const packageJson = await findUpAndReadPackageJson(moduleDirectory(options.moduleURL));
79
79
  const packageName = packageJson.content.name;
80
80
  const name = packageName.replace("@shopify/create-", "");
@@ -93,7 +93,7 @@ var globalFlags = {
93
93
  }),
94
94
  verbose: import_core.Flags.boolean({
95
95
  hidden: false,
96
- description: "Increase the verbosity of the logs.",
96
+ description: "Increase the verbosity of the output.",
97
97
  env: "SHOPIFY_FLAG_VERBOSE"
98
98
  })
99
99
  };
@@ -102,3 +102,4 @@ export {
102
102
  runCreateCLI,
103
103
  globalFlags
104
104
  };
105
+ //# sourceMappingURL=chunk-I642G37M.js.map
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-M63RTPGR.js";
5
+ } from "./chunk-ZPL24Y2D.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
8
8
  var require_polyfills = __commonJS({
@@ -819,3 +819,4 @@ var require_graceful_fs = __commonJS({
819
819
  export {
820
820
  require_graceful_fs
821
821
  };
822
+ //# sourceMappingURL=chunk-LSCXQWNO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_cjs_shims
3
- } from "./chunk-M63RTPGR.js";
3
+ } from "./chunk-ZPL24Y2D.js";
4
4
 
5
5
  // ../cli-kit/src/public/node/context/utilities.ts
6
6
  init_cjs_shims();
@@ -143,3 +143,4 @@ export {
143
143
  printEventsJson,
144
144
  addOrUpdateConcurrentUIEventOutput
145
145
  };
146
+ //# sourceMappingURL=chunk-M2VKB6RG.js.map
@@ -2,7 +2,7 @@ import {
2
2
  __commonJS,
3
3
  __require,
4
4
  init_cjs_shims
5
- } from "./chunk-M63RTPGR.js";
5
+ } from "./chunk-ZPL24Y2D.js";
6
6
 
7
7
  // ../../node_modules/.pnpm/fast-glob@3.3.1/node_modules/fast-glob/out/utils/array.js
8
8
  var require_array = __commonJS({
@@ -5623,3 +5623,4 @@ queue-microtask/index.js:
5623
5623
  run-parallel/index.js:
5624
5624
  (*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
5625
5625
  */
5626
+ //# sourceMappingURL=chunk-MCED27CG.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  require_once
3
- } from "./chunk-LKGDG6WW.js";
3
+ } from "./chunk-FMKVOTQK.js";
4
4
  import {
5
5
  fanoutHooks,
6
6
  reportAnalyticsEvent
7
- } from "./chunk-EXKYFA3Q.js";
7
+ } from "./chunk-E4HW5M5H.js";
8
8
  import {
9
9
  CLI_KIT_VERSION
10
- } from "./chunk-QTBH3GO6.js";
10
+ } from "./chunk-B62HZLMM.js";
11
11
  import {
12
12
  getEnvironmentData
13
- } from "./chunk-EBLO5TQ6.js";
13
+ } from "./chunk-UAHNJ7DG.js";
14
14
  import {
15
15
  AbortSilentError,
16
16
  CancelExecution,
@@ -23,29 +23,29 @@ import {
23
23
  outputInfo,
24
24
  require_stacktracey,
25
25
  shouldReportError
26
- } from "./chunk-ML34TC74.js";
26
+ } from "./chunk-VH2SMHYM.js";
27
27
  import {
28
28
  bugsnagApiKey
29
- } from "./chunk-RAFFEFML.js";
29
+ } from "./chunk-URQFBBW5.js";
30
30
  import {
31
31
  cwd,
32
32
  isAbsolutePath,
33
33
  joinPath,
34
34
  normalizePath,
35
35
  relativePath
36
- } from "./chunk-G6FN5VUE.js";
36
+ } from "./chunk-STRDP5MF.js";
37
37
  import {
38
38
  printEventsJson
39
- } from "./chunk-UVY6LL5H.js";
39
+ } from "./chunk-M2VKB6RG.js";
40
40
  import {
41
41
  require_lib
42
- } from "./chunk-R5KQZMEG.js";
42
+ } from "./chunk-SAO7C4LP.js";
43
43
  import {
44
44
  __commonJS,
45
45
  __require,
46
46
  __toESM,
47
47
  init_cjs_shims
48
- } from "./chunk-M63RTPGR.js";
48
+ } from "./chunk-ZPL24Y2D.js";
49
49
 
50
50
  // ../../node_modules/.pnpm/stackframe@1.3.4/node_modules/stackframe/stackframe.js
51
51
  var require_stackframe = __commonJS({
@@ -3182,3 +3182,4 @@ export {
3182
3182
  registerCleanBugsnagErrorsFromWithinPlugins,
3183
3183
  addBugsnagMetadata
3184
3184
  };
3185
+ //# sourceMappingURL=chunk-MPBVJXAB.js.map
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-B2QBH7MN.js";
4
+ } from "./chunk-MPBVJXAB.js";
5
5
  import {
6
6
  init_default as init_default2
7
- } from "./chunk-5TIUXWJI.js";
7
+ } from "./chunk-CSUGYG4O.js";
8
8
  import {
9
9
  hashString
10
- } from "./chunk-EBLO5TQ6.js";
10
+ } from "./chunk-UAHNJ7DG.js";
11
11
  import {
12
12
  packageManager,
13
13
  packageManagerFromUserAgent
14
- } from "./chunk-C7PRLYZC.js";
14
+ } from "./chunk-WW3VYTIJ.js";
15
15
  import {
16
16
  globalFlags
17
- } from "./chunk-6MVE3OZ2.js";
17
+ } from "./chunk-I642G37M.js";
18
18
  import {
19
19
  init_default,
20
20
  isPredefinedTemplate,
21
21
  templates,
22
22
  visibleTemplates
23
- } from "./chunk-DEIGDWGB.js";
23
+ } from "./chunk-CUZDIE7U.js";
24
24
  import {
25
25
  AbortError,
26
26
  addPublicMetadata,
@@ -37,23 +37,23 @@ import {
37
37
  renderWarning,
38
38
  terminalSupportsRawMode,
39
39
  underscore
40
- } from "./chunk-ML34TC74.js";
40
+ } from "./chunk-VH2SMHYM.js";
41
41
  import {
42
42
  cwd,
43
43
  resolvePath
44
- } from "./chunk-G6FN5VUE.js";
44
+ } from "./chunk-STRDP5MF.js";
45
45
  import {
46
46
  isTruthy
47
- } from "./chunk-UVY6LL5H.js";
47
+ } from "./chunk-M2VKB6RG.js";
48
48
  import {
49
49
  require_lib
50
- } from "./chunk-R5KQZMEG.js";
50
+ } from "./chunk-SAO7C4LP.js";
51
51
  import {
52
52
  __commonJS,
53
53
  __require,
54
54
  __toESM,
55
55
  init_cjs_shims
56
- } from "./chunk-M63RTPGR.js";
56
+ } from "./chunk-ZPL24Y2D.js";
57
57
 
58
58
  // ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js
59
59
  var require_parser = __commonJS({
@@ -2170,6 +2170,7 @@ var BaseCommand = class extends import_core.Command {
2170
2170
  return void 0;
2171
2171
  }
2172
2172
  async catch(error) {
2173
+ error.skipOclifErrorHandling = true;
2173
2174
  await errorHandler(error, this.config);
2174
2175
  return import_core.Errors.handle(error);
2175
2176
  }
@@ -2410,7 +2411,7 @@ var Init = class _Init extends base_command_default {
2410
2411
  );
2411
2412
  if (!url && !isPredefinedTemplate(template))
2412
2413
  throw new AbortError(
2413
- outputContent`Only ${visibleTemplates.map((alias) => outputContent`${outputToken.yellow(alias)}`.value).join(", ")} template aliases are supported`
2414
+ outputContent`Only ${visibleTemplates.map((alias) => outputContent`${outputToken.yellow(alias)}`.value).join(", ")} template aliases are supported, please provide a valid URL`
2414
2415
  );
2415
2416
  }
2416
2417
  validateFlavorValue(template, flavor) {
@@ -2469,3 +2470,4 @@ var Init = class _Init extends base_command_default {
2469
2470
  export {
2470
2471
  Init
2471
2472
  };
2473
+ //# sourceMappingURL=chunk-NORDGBTQ.js.map
@@ -2,15 +2,15 @@ import {
2
2
  require_balanced_match,
3
3
  require_globby,
4
4
  require_indent_string
5
- } from "./chunk-LUP5VDI4.js";
5
+ } from "./chunk-GJPZCXGT.js";
6
6
  import {
7
7
  require_is_wsl
8
- } from "./chunk-WCNR75S2.js";
8
+ } from "./chunk-YC4FLMDD.js";
9
9
  import {
10
10
  __commonJS,
11
11
  __require,
12
12
  init_cjs_shims
13
- } from "./chunk-M63RTPGR.js";
13
+ } from "./chunk-ZPL24Y2D.js";
14
14
 
15
15
  // ../../node_modules/.pnpm/@oclif+core@3.26.5/node_modules/@oclif/core/lib/cli-ux/write.js
16
16
  var require_write = __commonJS({
@@ -213626,3 +213626,4 @@ ejs/lib/ejs.js:
213626
213626
  * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
213627
213627
  *)
213628
213628
  */
213629
+ //# sourceMappingURL=chunk-SAO7C4LP.js.map
@@ -7,13 +7,13 @@ import {
7
7
  normalize,
8
8
  relative,
9
9
  resolve
10
- } from "./chunk-GXPKATXW.js";
10
+ } from "./chunk-T5LLJYYS.js";
11
11
  import {
12
12
  __commonJS,
13
13
  __require,
14
14
  __toESM,
15
15
  init_cjs_shims
16
- } from "./chunk-M63RTPGR.js";
16
+ } from "./chunk-ZPL24Y2D.js";
17
17
 
18
18
  // ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
19
19
  var require_commondir = __commonJS({
@@ -86,6 +86,21 @@ function moduleDirectory(moduleURL) {
86
86
  function cwd() {
87
87
  return normalize(process.env.INIT_CWD ? process.env.INIT_CWD : process.cwd());
88
88
  }
89
+ function sniffForPath(argv = process.argv) {
90
+ const pathFlagIndex = argv.indexOf("--path");
91
+ if (pathFlagIndex === -1) {
92
+ const pathArg = argv.find((arg) => arg.startsWith("--path="));
93
+ return pathArg?.split("=")[1];
94
+ }
95
+ const pathFlag = argv[pathFlagIndex + 1];
96
+ if (!pathFlag || pathFlag.startsWith("-"))
97
+ return;
98
+ return pathFlag;
99
+ }
100
+ function sniffForJson(argv = process.argv) {
101
+ const jsonFlagIndex = argv.indexOf("--json");
102
+ return jsonFlagIndex !== -1;
103
+ }
89
104
 
90
105
  export {
91
106
  joinPath,
@@ -98,5 +113,8 @@ export {
98
113
  extname2 as extname,
99
114
  relativizePath,
100
115
  moduleDirectory,
101
- cwd
116
+ cwd,
117
+ sniffForPath,
118
+ sniffForJson
102
119
  };
120
+ //# sourceMappingURL=chunk-STRDP5MF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_cjs_shims
3
- } from "./chunk-M63RTPGR.js";
3
+ } from "./chunk-ZPL24Y2D.js";
4
4
 
5
5
  // ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/shared/pathe.92c04245.mjs
6
6
  init_cjs_shims();
@@ -192,3 +192,4 @@ export {
192
192
  dirname,
193
193
  basename
194
194
  };
195
+ //# sourceMappingURL=chunk-T5LLJYYS.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  platformAndArch
3
- } from "./chunk-DCYRMEAR.js";
3
+ } from "./chunk-E3R2QNZH.js";
4
4
  import {
5
5
  getPackageManager,
6
6
  packageManagerFromUserAgent
7
- } from "./chunk-C7PRLYZC.js";
7
+ } from "./chunk-WW3VYTIJ.js";
8
8
  import {
9
9
  addPublicMetadata,
10
10
  addSensitiveMetadata,
@@ -12,13 +12,13 @@ import {
12
12
  cloudEnvironment,
13
13
  currentProcessIsGlobal,
14
14
  macAddress
15
- } from "./chunk-ML34TC74.js";
15
+ } from "./chunk-VH2SMHYM.js";
16
16
  import {
17
17
  cwd
18
- } from "./chunk-G6FN5VUE.js";
18
+ } from "./chunk-STRDP5MF.js";
19
19
  import {
20
20
  init_cjs_shims
21
- } from "./chunk-M63RTPGR.js";
21
+ } from "./chunk-ZPL24Y2D.js";
22
22
 
23
23
  // ../cli-kit/src/private/node/analytics.ts
24
24
  init_cjs_shims();
@@ -97,3 +97,4 @@ export {
97
97
  getEnvironmentData,
98
98
  getSensitiveEnvironmentData
99
99
  };
100
+ //# sourceMappingURL=chunk-UAHNJ7DG.js.map