@shopify/create-app 3.67.1 → 3.67.3

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 (35) hide show
  1. package/dist/{chunk-ZSO54CGJ.js → chunk-2PQHVB6V.js} +6 -6
  2. package/dist/{chunk-H3SGNEP3.js → chunk-7LVBGR7A.js} +6 -6
  3. package/dist/{chunk-R4JYIGZ6.js → chunk-BS3YFFB7.js} +2 -2
  4. package/dist/{chunk-AZ47753Z.js → chunk-E6XHIWXF.js} +2 -2
  5. package/dist/{chunk-7TIEQFXZ.js → chunk-EFGMCCNP.js} +4 -4
  6. package/dist/{chunk-QB544PAD.js → chunk-F5S3JF2R.js} +2 -2
  7. package/dist/{chunk-QH7VTTGK.js → chunk-FASE2P6Y.js} +6 -6
  8. package/dist/{chunk-B5HFPT7G.js → chunk-RTJIFTOH.js} +2 -2
  9. package/dist/{chunk-TV5LJHC5.js → chunk-S2WVM7Y3.js} +4 -4
  10. package/dist/{chunk-X4PTOOZW.js → chunk-WYGWN7M4.js} +2 -2
  11. package/dist/{chunk-JHN6JQJ6.js → chunk-XCRWJDT4.js} +4 -4
  12. package/dist/{chunk-QFQCHQ24.js → chunk-XSDHOAF6.js} +12 -222
  13. package/dist/{chunk-3R2K56R4.js → chunk-XVVXCSDD.js} +2 -2
  14. package/dist/{chunk-NWC4ORCS.js → chunk-ZO4XNI6X.js} +8 -8
  15. package/dist/commands/init.js +14 -14
  16. package/dist/commands/init.test.js +14 -14
  17. package/dist/{custom-oclif-loader-P7CQYRCS.js → custom-oclif-loader-42VW3UOZ.js} +2 -2
  18. package/dist/{error-handler-73YUB4PB.js → error-handler-WKBNFFTG.js} +9 -9
  19. package/dist/hooks/postrun.js +7 -7
  20. package/dist/hooks/prerun.js +5 -5
  21. package/dist/index.js +1 -1
  22. package/dist/{local-7ZNEHAZM.js → local-A54LWRVS.js} +2 -2
  23. package/dist/{node-package-manager-EV7MLIUF.js → node-package-manager-O3BDLGRZ.js} +3 -3
  24. package/dist/prompts/init.js +2 -2
  25. package/dist/prompts/init.test.js +2 -2
  26. package/dist/services/init.js +8 -8
  27. package/dist/{system-WOOCGJ5M.js → system-IFAVPQMR.js} +2 -2
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/dist/{ui-YRQ272UN.js → ui-PYGMGV7R.js} +2 -2
  30. package/dist/utils/template/cleanup.js +2 -2
  31. package/dist/utils/template/cleanup.test.js +2 -2
  32. package/dist/utils/template/npm.js +4 -4
  33. package/dist/utils/template/npm.test.js +4 -4
  34. package/oclif.manifest.json +1 -1
  35. package/package.json +2 -2
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetch
3
- } from "./chunk-AZ47753Z.js";
3
+ } from "./chunk-E6XHIWXF.js";
4
4
  import {
5
5
  getEnvironmentData,
6
6
  getSensitiveEnvironmentData
7
- } from "./chunk-JHN6JQJ6.js";
7
+ } from "./chunk-XCRWJDT4.js";
8
8
  import {
9
9
  CLI_KIT_VERSION
10
- } from "./chunk-3R2K56R4.js";
10
+ } from "./chunk-XVVXCSDD.js";
11
11
  import {
12
12
  require_semver,
13
13
  runWithRateLimit
14
- } from "./chunk-X4PTOOZW.js";
14
+ } from "./chunk-WYGWN7M4.js";
15
15
  import {
16
16
  alwaysLogAnalytics,
17
17
  alwaysLogMetrics,
@@ -26,7 +26,7 @@ import {
26
26
  outputContent,
27
27
  outputDebug,
28
28
  outputToken
29
- } from "./chunk-QFQCHQ24.js";
29
+ } from "./chunk-XSDHOAF6.js";
30
30
  import {
31
31
  reportingRateLimit
32
32
  } from "./chunk-2IV4ZS5T.js";
@@ -15821,4 +15821,4 @@ export {
15821
15821
  fanoutHooks,
15822
15822
  reportAnalyticsEvent
15823
15823
  };
15824
- //# sourceMappingURL=chunk-ZSO54CGJ.js.map
15824
+ //# sourceMappingURL=chunk-2PQHVB6V.js.map
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  cleanup
3
- } from "./chunk-B5HFPT7G.js";
3
+ } from "./chunk-RTJIFTOH.js";
4
4
  import {
5
5
  getDeepInstallNPMTasks,
6
6
  updateCLIDependencies
7
- } from "./chunk-7TIEQFXZ.js";
7
+ } from "./chunk-EFGMCCNP.js";
8
8
  import {
9
9
  username
10
- } from "./chunk-R4JYIGZ6.js";
10
+ } from "./chunk-BS3YFFB7.js";
11
11
  import {
12
12
  LocalStorage,
13
13
  UnknownPackageManagerError,
14
14
  findUpAndReadPackageJson,
15
15
  lockfiles,
16
16
  writePackageJSON
17
- } from "./chunk-X4PTOOZW.js";
17
+ } from "./chunk-WYGWN7M4.js";
18
18
  import {
19
19
  AbortError,
20
20
  appendFile,
@@ -42,7 +42,7 @@ import {
42
42
  renderTasks,
43
43
  runWithTimer,
44
44
  writeFile
45
- } from "./chunk-QFQCHQ24.js";
45
+ } from "./chunk-XSDHOAF6.js";
46
46
  import {
47
47
  dirname,
48
48
  joinPath,
@@ -5622,4 +5622,4 @@ var init_default = init;
5622
5622
  export {
5623
5623
  init_default
5624
5624
  };
5625
- //# sourceMappingURL=chunk-H3SGNEP3.js.map
5625
+ //# sourceMappingURL=chunk-7LVBGR7A.js.map
@@ -2,7 +2,7 @@ import {
2
2
  execa,
3
3
  outputContent,
4
4
  outputDebug
5
- } from "./chunk-QFQCHQ24.js";
5
+ } from "./chunk-XSDHOAF6.js";
6
6
  import {
7
7
  init_cjs_shims
8
8
  } from "./chunk-POZ5MGPT.js";
@@ -60,4 +60,4 @@ export {
60
60
  username,
61
61
  platformAndArch
62
62
  };
63
- //# sourceMappingURL=chunk-R4JYIGZ6.js.map
63
+ //# sourceMappingURL=chunk-BS3YFFB7.js.map
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  outputDebug,
8
8
  runWithTimer
9
- } from "./chunk-QFQCHQ24.js";
9
+ } from "./chunk-XSDHOAF6.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
@@ -27907,4 +27907,4 @@ mime-types/index.js:
27907
27907
  * MIT Licensed
27908
27908
  *)
27909
27909
  */
27910
- //# sourceMappingURL=chunk-AZ47753Z.js.map
27910
+ //# sourceMappingURL=chunk-E6XHIWXF.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-3R2K56R4.js";
3
+ } from "./chunk-XVVXCSDD.js";
4
4
  import {
5
5
  installNodeModules
6
- } from "./chunk-X4PTOOZW.js";
6
+ } from "./chunk-WYGWN7M4.js";
7
7
  import {
8
8
  findPathUp
9
- } from "./chunk-QFQCHQ24.js";
9
+ } from "./chunk-XSDHOAF6.js";
10
10
  import {
11
11
  moduleDirectory,
12
12
  normalizePath
@@ -51,4 +51,4 @@ export {
51
51
  updateCLIDependencies,
52
52
  getDeepInstallNPMTasks
53
53
  };
54
- //# sourceMappingURL=chunk-7TIEQFXZ.js.map
54
+ //# sourceMappingURL=chunk-EFGMCCNP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  renderSelectPrompt,
5
5
  renderText,
6
6
  renderTextPrompt
7
- } from "./chunk-QFQCHQ24.js";
7
+ } from "./chunk-XSDHOAF6.js";
8
8
  import {
9
9
  __export,
10
10
  init_cjs_shims
@@ -105,4 +105,4 @@ export {
105
105
  isPredefinedTemplate,
106
106
  init_exports
107
107
  };
108
- //# sourceMappingURL=chunk-QB544PAD.js.map
108
+ //# sourceMappingURL=chunk-F5S3JF2R.js.map
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  fanoutHooks,
6
6
  reportAnalyticsEvent
7
- } from "./chunk-ZSO54CGJ.js";
7
+ } from "./chunk-2PQHVB6V.js";
8
8
  import {
9
9
  getEnvironmentData
10
- } from "./chunk-JHN6JQJ6.js";
10
+ } from "./chunk-XCRWJDT4.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-3R2K56R4.js";
13
+ } from "./chunk-XVVXCSDD.js";
14
14
  import {
15
15
  runWithRateLimit
16
- } from "./chunk-X4PTOOZW.js";
16
+ } from "./chunk-WYGWN7M4.js";
17
17
  import {
18
18
  AbortSilentError,
19
19
  CancelExecution,
@@ -26,7 +26,7 @@ import {
26
26
  outputInfo,
27
27
  require_stacktracey,
28
28
  shouldReportError
29
- } from "./chunk-QFQCHQ24.js";
29
+ } from "./chunk-XSDHOAF6.js";
30
30
  import {
31
31
  bugsnagApiKey,
32
32
  reportingRateLimit
@@ -2154,4 +2154,4 @@ export {
2154
2154
  registerCleanBugsnagErrorsFromWithinPlugins,
2155
2155
  addBugsnagMetadata
2156
2156
  };
2157
- //# sourceMappingURL=chunk-QH7VTTGK.js.map
2157
+ //# sourceMappingURL=chunk-FASE2P6Y.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  glob,
3
3
  rmdir
4
- } from "./chunk-QFQCHQ24.js";
4
+ } from "./chunk-XSDHOAF6.js";
5
5
  import {
6
6
  joinPath
7
7
  } from "./chunk-4DRC2PSU.js";
@@ -35,4 +35,4 @@ async function cleanup(webOutputDirectory) {
35
35
  export {
36
36
  cleanup
37
37
  };
38
- //# sourceMappingURL=chunk-B5HFPT7G.js.map
38
+ //# sourceMappingURL=chunk-RTJIFTOH.js.map
@@ -17,7 +17,7 @@ import { fileURLToPath } from "url";
17
17
  async function warnIfOldNodeVersion() {
18
18
  let nodeVersion = process.versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
19
19
  if (nodeMajorVersion < 18) {
20
- let { renderWarning } = await import("./ui-YRQ272UN.js");
20
+ let { renderWarning } = await import("./ui-PYGMGV7R.js");
21
21
  renderWarning({
22
22
  headline: "Upgrade to a supported Node version now.",
23
23
  body: [
@@ -42,7 +42,7 @@ function forceNoColor() {
42
42
  }
43
43
  async function runCLI(options) {
44
44
  setupEnvironmentVariables(options), forceNoColor(), await warnIfOldNodeVersion();
45
- let { errorHandler } = await import("./error-handler-73YUB4PB.js"), { isDevelopment } = await import("./local-7ZNEHAZM.js"), oclif = await import("./lib-FYUAIYTL.js"), { ShopifyConfig } = await import("./custom-oclif-loader-P7CQYRCS.js");
45
+ let { errorHandler } = await import("./error-handler-WKBNFFTG.js"), { isDevelopment } = await import("./local-A54LWRVS.js"), oclif = await import("./lib-FYUAIYTL.js"), { ShopifyConfig } = await import("./custom-oclif-loader-42VW3UOZ.js");
46
46
  isDevelopment() && (oclif.default.settings.debug = !0);
47
47
  try {
48
48
  let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
@@ -53,7 +53,7 @@ async function runCLI(options) {
53
53
  }
54
54
  async function runCreateCLI(options) {
55
55
  setupEnvironmentVariables(options);
56
- let { findUpAndReadPackageJson } = await import("./node-package-manager-EV7MLIUF.js"), { moduleDirectory } = await import("./path-L375JOQ2.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
56
+ let { findUpAndReadPackageJson } = await import("./node-package-manager-O3BDLGRZ.js"), { moduleDirectory } = await import("./path-L375JOQ2.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
57
57
  if (process.argv.findIndex((arg) => arg.includes("init")) === -1) {
58
58
  let initIndex2 = process.argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
59
59
  process.argv.splice(initIndex2, 0, "init");
@@ -77,4 +77,4 @@ export {
77
77
  runCreateCLI,
78
78
  globalFlags
79
79
  };
80
- //# sourceMappingURL=chunk-TV5LJHC5.js.map
80
+ //# sourceMappingURL=chunk-S2WVM7Y3.js.map
@@ -16,7 +16,7 @@ import {
16
16
  require_get_stream,
17
17
  runWithTimer,
18
18
  writeFile
19
- } from "./chunk-QFQCHQ24.js";
19
+ } from "./chunk-XSDHOAF6.js";
20
20
  import {
21
21
  envPaths
22
22
  } from "./chunk-2IV4ZS5T.js";
@@ -15360,4 +15360,4 @@ deep-extend/lib/deep-extend.js:
15360
15360
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15361
15361
  *)
15362
15362
  */
15363
- //# sourceMappingURL=chunk-X4PTOOZW.js.map
15363
+ //# sourceMappingURL=chunk-WYGWN7M4.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  platformAndArch
3
- } from "./chunk-R4JYIGZ6.js";
3
+ } from "./chunk-BS3YFFB7.js";
4
4
  import {
5
5
  getPackageManager,
6
6
  packageManagerFromUserAgent
7
- } from "./chunk-X4PTOOZW.js";
7
+ } from "./chunk-WYGWN7M4.js";
8
8
  import {
9
9
  addPublicMetadata,
10
10
  addSensitiveMetadata,
@@ -12,7 +12,7 @@ import {
12
12
  cloudEnvironment,
13
13
  currentProcessIsGlobal,
14
14
  macAddress
15
- } from "./chunk-QFQCHQ24.js";
15
+ } from "./chunk-XSDHOAF6.js";
16
16
  import {
17
17
  cwd
18
18
  } from "./chunk-4DRC2PSU.js";
@@ -91,4 +91,4 @@ export {
91
91
  getEnvironmentData,
92
92
  getSensitiveEnvironmentData
93
93
  };
94
- //# sourceMappingURL=chunk-JHN6JQJ6.js.map
94
+ //# sourceMappingURL=chunk-XCRWJDT4.js.map
@@ -7,7 +7,6 @@ import {
7
7
  } from "./chunk-2IV4ZS5T.js";
8
8
  import {
9
9
  cwd,
10
- dirname,
11
10
  joinPath,
12
11
  normalizePath,
13
12
  relativizePath,
@@ -4213,208 +4212,6 @@ var require_merge_stream = __commonJS({
4213
4212
  }
4214
4213
  });
4215
4214
 
4216
- // ../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/posix.js
4217
- var require_posix = __commonJS({
4218
- "../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/posix.js"(exports) {
4219
- "use strict";
4220
- init_cjs_shims();
4221
- Object.defineProperty(exports, "__esModule", { value: !0 });
4222
- exports.sync = exports.isexe = void 0;
4223
- var fs_1 = __require("fs"), promises_1 = __require("fs/promises"), isexe = async (path7, options = {}) => {
4224
- let { ignoreErrors = !1 } = options;
4225
- try {
4226
- return checkStat(await (0, promises_1.stat)(path7), options);
4227
- } catch (e) {
4228
- let er = e;
4229
- if (ignoreErrors || er.code === "EACCES")
4230
- return !1;
4231
- throw er;
4232
- }
4233
- };
4234
- exports.isexe = isexe;
4235
- var sync = (path7, options = {}) => {
4236
- let { ignoreErrors = !1 } = options;
4237
- try {
4238
- return checkStat((0, fs_1.statSync)(path7), options);
4239
- } catch (e) {
4240
- let er = e;
4241
- if (ignoreErrors || er.code === "EACCES")
4242
- return !1;
4243
- throw er;
4244
- }
4245
- };
4246
- exports.sync = sync;
4247
- var checkStat = (stat, options) => stat.isFile() && checkMode(stat, options), checkMode = (stat, options) => {
4248
- let myUid = options.uid ?? process.getuid?.(), myGroups = options.groups ?? process.getgroups?.() ?? [], myGid = options.gid ?? process.getgid?.() ?? myGroups[0];
4249
- if (myUid === void 0 || myGid === void 0)
4250
- throw new Error("cannot get uid or gid");
4251
- let groups = /* @__PURE__ */ new Set([myGid, ...myGroups]), mod = stat.mode, uid = stat.uid, gid = stat.gid, u = parseInt("100", 8), g = parseInt("010", 8), o = parseInt("001", 8), ug = u | g;
4252
- return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);
4253
- };
4254
- }
4255
- });
4256
-
4257
- // ../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/win32.js
4258
- var require_win32 = __commonJS({
4259
- "../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/win32.js"(exports) {
4260
- "use strict";
4261
- init_cjs_shims();
4262
- Object.defineProperty(exports, "__esModule", { value: !0 });
4263
- exports.sync = exports.isexe = void 0;
4264
- var fs_1 = __require("fs"), promises_1 = __require("fs/promises"), isexe = async (path7, options = {}) => {
4265
- let { ignoreErrors = !1 } = options;
4266
- try {
4267
- return checkStat(await (0, promises_1.stat)(path7), path7, options);
4268
- } catch (e) {
4269
- let er = e;
4270
- if (ignoreErrors || er.code === "EACCES")
4271
- return !1;
4272
- throw er;
4273
- }
4274
- };
4275
- exports.isexe = isexe;
4276
- var sync = (path7, options = {}) => {
4277
- let { ignoreErrors = !1 } = options;
4278
- try {
4279
- return checkStat((0, fs_1.statSync)(path7), path7, options);
4280
- } catch (e) {
4281
- let er = e;
4282
- if (ignoreErrors || er.code === "EACCES")
4283
- return !1;
4284
- throw er;
4285
- }
4286
- };
4287
- exports.sync = sync;
4288
- var checkPathExt = (path7, options) => {
4289
- let { pathExt = process.env.PATHEXT || "" } = options, peSplit = pathExt.split(";");
4290
- if (peSplit.indexOf("") !== -1)
4291
- return !0;
4292
- for (let i = 0; i < peSplit.length; i++) {
4293
- let p = peSplit[i].toLowerCase(), ext2 = path7.substring(path7.length - p.length).toLowerCase();
4294
- if (p && ext2 === p)
4295
- return !0;
4296
- }
4297
- return !1;
4298
- }, checkStat = (stat, path7, options) => stat.isFile() && checkPathExt(path7, options);
4299
- }
4300
- });
4301
-
4302
- // ../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/options.js
4303
- var require_options = __commonJS({
4304
- "../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/options.js"(exports) {
4305
- "use strict";
4306
- init_cjs_shims();
4307
- Object.defineProperty(exports, "__esModule", { value: !0 });
4308
- }
4309
- });
4310
-
4311
- // ../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/index.js
4312
- var require_cjs = __commonJS({
4313
- "../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/index.js"(exports) {
4314
- "use strict";
4315
- init_cjs_shims();
4316
- var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
4317
- k2 === void 0 && (k2 = k);
4318
- var desc = Object.getOwnPropertyDescriptor(m, k);
4319
- (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
4320
- return m[k];
4321
- } }), Object.defineProperty(o, k2, desc);
4322
- } : function(o, m, k, k2) {
4323
- k2 === void 0 && (k2 = k), o[k2] = m[k];
4324
- }), __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
4325
- Object.defineProperty(o, "default", { enumerable: !0, value: v });
4326
- } : function(o, v) {
4327
- o.default = v;
4328
- }), __importStar2 = exports && exports.__importStar || function(mod) {
4329
- if (mod && mod.__esModule)
4330
- return mod;
4331
- var result = {};
4332
- if (mod != null)
4333
- for (var k in mod)
4334
- k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding2(result, mod, k);
4335
- return __setModuleDefault2(result, mod), result;
4336
- }, __exportStar2 = exports && exports.__exportStar || function(m, exports2) {
4337
- for (var p in m)
4338
- p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding2(exports2, m, p);
4339
- };
4340
- Object.defineProperty(exports, "__esModule", { value: !0 });
4341
- exports.sync = exports.isexe = exports.posix = exports.win32 = void 0;
4342
- var posix = __importStar2(require_posix());
4343
- exports.posix = posix;
4344
- var win32 = __importStar2(require_win32());
4345
- exports.win32 = win32;
4346
- __exportStar2(require_options(), exports);
4347
- var platform2 = process.env._ISEXE_TEST_PLATFORM_ || process.platform, impl = platform2 === "win32" ? win32 : posix;
4348
- exports.isexe = impl.isexe;
4349
- exports.sync = impl.sync;
4350
- }
4351
- });
4352
-
4353
- // ../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js
4354
- var require_lib2 = __commonJS({
4355
- "../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js"(exports, module) {
4356
- init_cjs_shims();
4357
- var { isexe, sync: isexeSync } = require_cjs(), { join: join2, delimiter, sep: sep2, posix } = __require("path"), isWindows2 = process.platform === "win32", rSlash = new RegExp(`[${posix.sep}${sep2 === posix.sep ? "" : sep2}]`.replace(/(\\)/g, "\\$1")), rRel = new RegExp(`^\\.${rSlash.source}`), getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" }), getPathInfo = (cmd, {
4358
- path: optPath = process.env.PATH,
4359
- pathExt: optPathExt = process.env.PATHEXT,
4360
- delimiter: optDelimiter = delimiter
4361
- }) => {
4362
- let pathEnv = cmd.match(rSlash) ? [""] : [
4363
- // windows always checks the cwd first
4364
- ...isWindows2 ? [process.cwd()] : [],
4365
- ...(optPath || /* istanbul ignore next: very unusual */
4366
- "").split(optDelimiter)
4367
- ];
4368
- if (isWindows2) {
4369
- let pathExtExe = optPathExt || [".EXE", ".CMD", ".BAT", ".COM"].join(optDelimiter), pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()]);
4370
- return cmd.includes(".") && pathExt[0] !== "" && pathExt.unshift(""), { pathEnv, pathExt, pathExtExe };
4371
- }
4372
- return { pathEnv, pathExt: [""] };
4373
- }, getPathPart = (raw, cmd) => {
4374
- let pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
4375
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join2(pathPart, cmd);
4376
- }, which2 = async (cmd, opt = {}) => {
4377
- let { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt), found = [];
4378
- for (let envPart of pathEnv) {
4379
- let p = getPathPart(envPart, cmd);
4380
- for (let ext2 of pathExt) {
4381
- let withExt = p + ext2;
4382
- if (await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: !0 })) {
4383
- if (!opt.all)
4384
- return withExt;
4385
- found.push(withExt);
4386
- }
4387
- }
4388
- }
4389
- if (opt.all && found.length)
4390
- return found;
4391
- if (opt.nothrow)
4392
- return null;
4393
- throw getNotFoundError(cmd);
4394
- }, whichSync = (cmd, opt = {}) => {
4395
- let { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt), found = [];
4396
- for (let pathEnvPart of pathEnv) {
4397
- let p = getPathPart(pathEnvPart, cmd);
4398
- for (let ext2 of pathExt) {
4399
- let withExt = p + ext2;
4400
- if (isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: !0 })) {
4401
- if (!opt.all)
4402
- return withExt;
4403
- found.push(withExt);
4404
- }
4405
- }
4406
- }
4407
- if (opt.all && found.length)
4408
- return found;
4409
- if (opt.nothrow)
4410
- return null;
4411
- throw getNotFoundError(cmd);
4412
- };
4413
- module.exports = which2;
4414
- which2.sync = whichSync;
4415
- }
4416
- });
4417
-
4418
4215
  // ../../node_modules/.pnpm/macaddress@0.5.3/node_modules/macaddress/lib/util.js
4419
4216
  var require_util = __commonJS({
4420
4217
  "../../node_modules/.pnpm/macaddress@0.5.3/node_modules/macaddress/lib/util.js"(exports, module) {
@@ -21090,7 +20887,7 @@ var require_helpers = __commonJS({
21090
20887
  });
21091
20888
 
21092
20889
  // ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/cjs.js
21093
- var require_cjs2 = __commonJS({
20890
+ var require_cjs = __commonJS({
21094
20891
  "../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/cjs.js"(exports) {
21095
20892
  "use strict";
21096
20893
  init_cjs_shims();
@@ -24075,22 +23872,22 @@ var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/, regExpEscape2 = (s) => s.replace(/[-[
24075
23872
  return globParts.filter((gs) => gs.length);
24076
23873
  }
24077
23874
  partsMatch(a, b, emptyGSMatch = !1) {
24078
- let ai = 0, bi = 0, result = [], which2 = "";
23875
+ let ai = 0, bi = 0, result = [], which = "";
24079
23876
  for (; ai < a.length && bi < b.length; )
24080
23877
  if (a[ai] === b[bi])
24081
- result.push(which2 === "b" ? b[bi] : a[ai]), ai++, bi++;
23878
+ result.push(which === "b" ? b[bi] : a[ai]), ai++, bi++;
24082
23879
  else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1])
24083
23880
  result.push(a[ai]), ai++;
24084
23881
  else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1])
24085
23882
  result.push(b[bi]), bi++;
24086
23883
  else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
24087
- if (which2 === "b")
23884
+ if (which === "b")
24088
23885
  return !1;
24089
- which2 = "a", result.push(a[ai]), ai++, bi++;
23886
+ which = "a", result.push(a[ai]), ai++, bi++;
24090
23887
  } else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
24091
- if (which2 === "a")
23888
+ if (which === "a")
24092
23889
  return !1;
24093
- which2 = "b", result.push(b[bi]), ai++, bi++;
23890
+ which = "b", result.push(b[bi]), ai++, bi++;
24094
23891
  } else
24095
23892
  return !1;
24096
23893
  return a.length === b.length && result;
@@ -25266,7 +25063,6 @@ function create$(options) {
25266
25063
  var $ = create$();
25267
25064
 
25268
25065
  // ../cli-kit/src/public/node/system.ts
25269
- var import_which = __toESM(require_lib2(), 1);
25270
25066
  async function openURL(url) {
25271
25067
  await (await import("./open-MZGVNFZO.js")).default(url);
25272
25068
  }
@@ -25296,7 +25092,7 @@ async function exec2(command, args, options) {
25296
25092
  }
25297
25093
  function buildExec(command, args, options) {
25298
25094
  let env2 = options?.env ?? process.env;
25299
- shouldDisplayColors() && (env2.FORCE_COLOR = "1"), checkCommandSafety(command);
25095
+ shouldDisplayColors() && (env2.FORCE_COLOR = "1");
25300
25096
  let commandProcess = execa(command, args, {
25301
25097
  env: env2,
25302
25098
  cwd: options?.cwd,
@@ -25315,12 +25111,6 @@ Running system process:
25315
25111
  \xB7 Working directory: ${options?.cwd ?? cwd()}
25316
25112
  `), commandProcess;
25317
25113
  }
25318
- function checkCommandSafety(command) {
25319
- if (dirname(import_which.default.sync(command)) === cwd()) {
25320
- let headline = ["Skipped run of unsecure binary", { command }, "found in the current directory."], body = "Please remove that file or review your current PATH.";
25321
- throw renderWarning({ headline, body }), new AbortError(headline, body);
25322
- }
25323
- }
25324
25114
  async function sleep(seconds) {
25325
25115
  return new Promise((resolve) => {
25326
25116
  setTimeout(resolve, 1e3 * seconds);
@@ -29637,7 +29427,7 @@ function outputContent(strings, ...keys) {
29637
29427
  let token = keys[i];
29638
29428
  if (typeof token == "string")
29639
29429
  output += token;
29640
- else {
29430
+ else if (token) {
29641
29431
  let enumTokenOutput = token.output();
29642
29432
  Array.isArray(enumTokenOutput) ? enumTokenOutput.forEach((line) => {
29643
29433
  output += line;
@@ -29718,7 +29508,7 @@ function shouldDisplayColors(_process = process) {
29718
29508
  }
29719
29509
 
29720
29510
  // ../cli-kit/src/public/node/error.ts
29721
- var import_core2 = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs2(), 1);
29511
+ var import_core2 = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1);
29722
29512
  var CancelExecution = class extends Error {
29723
29513
  }, FatalError = class extends Error {
29724
29514
  /**
@@ -29822,7 +29612,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
29822
29612
  try {
29823
29613
  await getAndSet();
29824
29614
  } catch (error) {
29825
- let { sendErrorToBugsnag } = await import("./error-handler-73YUB4PB.js");
29615
+ let { sendErrorToBugsnag } = await import("./error-handler-WKBNFFTG.js");
29826
29616
  await sendErrorToBugsnag(error, "unexpected_error");
29827
29617
  }
29828
29618
  }, durationStack = [];
@@ -31646,4 +31436,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31646
31436
  * LICENSE file in the root directory of this source tree.
31647
31437
  *)
31648
31438
  */
31649
- //# sourceMappingURL=chunk-QFQCHQ24.js.map
31439
+ //# sourceMappingURL=chunk-XSDHOAF6.js.map
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/src/public/common/version.ts
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.67.1";
7
+ var CLI_KIT_VERSION = "3.67.3";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-3R2K56R4.js.map
12
+ //# sourceMappingURL=chunk-XVVXCSDD.js.map
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-QH7VTTGK.js";
4
+ } from "./chunk-FASE2P6Y.js";
5
5
  import {
6
6
  init_default as init_default2
7
- } from "./chunk-H3SGNEP3.js";
7
+ } from "./chunk-7LVBGR7A.js";
8
8
  import {
9
9
  hashString
10
- } from "./chunk-JHN6JQJ6.js";
10
+ } from "./chunk-XCRWJDT4.js";
11
11
  import {
12
12
  packageManager,
13
13
  packageManagerFromUserAgent
14
- } from "./chunk-X4PTOOZW.js";
14
+ } from "./chunk-WYGWN7M4.js";
15
15
  import {
16
16
  globalFlags
17
- } from "./chunk-TV5LJHC5.js";
17
+ } from "./chunk-S2WVM7Y3.js";
18
18
  import {
19
19
  init_default,
20
20
  isPredefinedTemplate,
21
21
  templates,
22
22
  visibleTemplates
23
- } from "./chunk-QB544PAD.js";
23
+ } from "./chunk-F5S3JF2R.js";
24
24
  import {
25
25
  AbortError,
26
26
  addPublicMetadata,
@@ -37,7 +37,7 @@ import {
37
37
  renderWarning,
38
38
  terminalSupportsPrompting,
39
39
  underscore
40
- } from "./chunk-QFQCHQ24.js";
40
+ } from "./chunk-XSDHOAF6.js";
41
41
  import {
42
42
  cwd,
43
43
  resolvePath
@@ -1844,4 +1844,4 @@ var Init = class _Init extends base_command_default {
1844
1844
  export {
1845
1845
  Init
1846
1846
  };
1847
- //# sourceMappingURL=chunk-NWC4ORCS.js.map
1847
+ //# sourceMappingURL=chunk-ZO4XNI6X.js.map