@shopify/create-app 3.76.0 → 3.76.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.
@@ -22455,7 +22455,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
22455
22455
  try {
22456
22456
  await getAndSet();
22457
22457
  } catch (error) {
22458
- let { sendErrorToBugsnag } = await import("./error-handler-QN5AUYGU.js");
22458
+ let { sendErrorToBugsnag } = await import("./error-handler-CUX3CN3R.js");
22459
22459
  await sendErrorToBugsnag(error, "unexpected_error");
22460
22460
  }
22461
22461
  }, durationStack = [];
@@ -28065,7 +28065,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
28065
28065
  }
28066
28066
 
28067
28067
  // ../cli-kit/dist/public/node/ui.js
28068
- var import_react55 = __toESM(require_react(), 1), defaultUIDebugOptions = {
28068
+ var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
28069
28069
  skipTTYCheck: !1
28070
28070
  };
28071
28071
  async function renderConcurrent({ renderOptions, ...props }) {
@@ -29258,8 +29258,7 @@ function buildExec(command, args, options) {
29258
29258
  detached: options?.background,
29259
29259
  cleanup: !options?.background
29260
29260
  });
29261
- return outputDebug(`
29262
- Running system process${options?.background ? " in background" : ""}:
29261
+ return outputDebug(`Running system process${options?.background ? " in background" : ""}:
29263
29262
  \xB7 Command: ${command} ${args.join(" ")}
29264
29263
  \xB7 Working directory: ${executionCwd}
29265
29264
  `), commandProcess;
@@ -31692,4 +31691,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31692
31691
  * LICENSE file in the root directory of this source tree.
31693
31692
  *)
31694
31693
  */
31695
- //# sourceMappingURL=chunk-4HFDUDDU.js.map
31694
+ //# sourceMappingURL=chunk-4YFG4SYR.js.map
@@ -9,7 +9,7 @@ import {
9
9
  packageManagerFromUserAgent,
10
10
  removeSession,
11
11
  setSession
12
- } from "./chunk-4IZOAUIJ.js";
12
+ } from "./chunk-DVNRCA3A.js";
13
13
  import {
14
14
  AbortError,
15
15
  BugError,
@@ -45,7 +45,7 @@ import {
45
45
  sessionConstants,
46
46
  spinFqdn,
47
47
  themeToken
48
- } from "./chunk-4HFDUDDU.js";
48
+ } from "./chunk-4YFG4SYR.js";
49
49
  import {
50
50
  cwd
51
51
  } from "./chunk-ZUCWDIGE.js";
@@ -26947,7 +26947,7 @@ var require_form_data = __commonJS({
26947
26947
 
26948
26948
  // ../cli-kit/dist/public/common/version.js
26949
26949
  init_cjs_shims();
26950
- var CLI_KIT_VERSION = "3.76.0";
26950
+ var CLI_KIT_VERSION = "3.76.2";
26951
26951
 
26952
26952
  // ../cli-kit/dist/private/node/analytics.js
26953
26953
  init_cjs_shims();
@@ -32317,4 +32317,4 @@ mime-types/index.js:
32317
32317
  * MIT Licensed
32318
32318
  *)
32319
32319
  */
32320
- //# sourceMappingURL=chunk-BR3KKEPN.js.map
32320
+ //# sourceMappingURL=chunk-DH5OC5ON.js.map
@@ -18,7 +18,7 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-4HFDUDDU.js";
21
+ } from "./chunk-4YFG4SYR.js";
22
22
  import {
23
23
  dirname,
24
24
  joinPath
@@ -14831,4 +14831,4 @@ deep-extend/lib/deep-extend.js:
14831
14831
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14832
14832
  *)
14833
14833
  */
14834
- //# sourceMappingURL=chunk-4IZOAUIJ.js.map
14834
+ //# sourceMappingURL=chunk-DVNRCA3A.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-VV6IS7HZ.js";
4
+ } from "./chunk-PEDOCKWB.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-BR3KKEPN.js";
8
+ } from "./chunk-DH5OC5ON.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-4IZOAUIJ.js";
11
+ } from "./chunk-DVNRCA3A.js";
12
12
  import {
13
13
  AbortSilentError,
14
14
  CancelExecution,
@@ -23,7 +23,7 @@ import {
23
23
  reportingRateLimit,
24
24
  require_stacktracey,
25
25
  shouldReportErrorAsUnexpected
26
- } from "./chunk-4HFDUDDU.js";
26
+ } from "./chunk-4YFG4SYR.js";
27
27
  import {
28
28
  require_lib
29
29
  } from "./chunk-S3QEOIDU.js";
@@ -2129,4 +2129,4 @@ export {
2129
2129
  registerCleanBugsnagErrorsFromWithinPlugins,
2130
2130
  addBugsnagMetadata
2131
2131
  };
2132
- //# sourceMappingURL=chunk-U4LAO4KY.js.map
2132
+ //# sourceMappingURL=chunk-GQZNHHN6.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CLI_KIT_VERSION,
3
3
  z
4
- } from "./chunk-BR3KKEPN.js";
4
+ } from "./chunk-DH5OC5ON.js";
5
5
  import {
6
6
  cacheRetrieve,
7
7
  cacheStore,
8
8
  versionSatisfies
9
- } from "./chunk-4IZOAUIJ.js";
9
+ } from "./chunk-DVNRCA3A.js";
10
10
  import {
11
11
  AbortSilentError,
12
12
  exec,
@@ -16,7 +16,7 @@ import {
16
16
  renderError,
17
17
  renderInfo,
18
18
  renderWarning
19
- } from "./chunk-4HFDUDDU.js";
19
+ } from "./chunk-4YFG4SYR.js";
20
20
  import {
21
21
  init_cjs_shims
22
22
  } from "./chunk-PKR7KJ6P.js";
@@ -38,7 +38,15 @@ function setCurrentCommandId(commandId) {
38
38
  }
39
39
 
40
40
  // ../cli-kit/dist/public/node/notifications-system.js
41
- var URL = "https://cdn.shopify.com/static/cli/notifications.json", EMPTY_CACHE_MESSAGE = "Cache is empty";
41
+ var URL = "https://cdn.shopify.com/static/cli/notifications.json", EMPTY_CACHE_MESSAGE = "Cache is empty", COMMANDS_TO_SKIP = [
42
+ "notifications:list",
43
+ "notifications:generate",
44
+ "init",
45
+ "app:init",
46
+ "theme:init",
47
+ "hydrogen:init",
48
+ "cache:clear"
49
+ ];
42
50
  function url() {
43
51
  return process.env.SHOPIFY_CLI_NOTIFICATIONS_URL ?? URL;
44
52
  }
@@ -62,22 +70,26 @@ var NotificationSchema = z.object({
62
70
  }), NotificationsSchema = z.object({ notifications: z.array(NotificationSchema) });
63
71
  async function showNotificationsIfNeeded(currentSurfaces, environment = process.env) {
64
72
  try {
65
- if (skipNotifications(environment) || jsonOutputEnabled(environment))
73
+ let commandId = getCurrentCommandId();
74
+ if (skipNotifications(commandId, environment) || jsonOutputEnabled(environment))
66
75
  return;
67
- let notifications = await getNotifications(), commandId = getCurrentCommandId(), notificationsToShow = filterNotifications(notifications.notifications, commandId, currentSurfaces);
76
+ let notifications = await getNotifications(), notificationsToShow = filterNotifications(notifications.notifications, commandId, currentSurfaces);
68
77
  outputDebug(`Notifications to show: ${notificationsToShow.length}`), await renderNotifications(notificationsToShow);
69
78
  } catch (error) {
79
+ if (error.message === EMPTY_CACHE_MESSAGE) {
80
+ outputDebug("Notifications to show: 0 (Cache is empty)");
81
+ return;
82
+ }
70
83
  if (error.message === "abort")
71
84
  throw new AbortSilentError();
72
- let errorMessage = `Error retrieving notifications: ${error.message}`;
73
- if (outputDebug(errorMessage), error.message === EMPTY_CACHE_MESSAGE)
74
- return;
75
- let { sendErrorToBugsnag } = await import("./error-handler-QN5AUYGU.js");
85
+ let errorMessage = `Error showing notifications: ${error.message}`;
86
+ outputDebug(errorMessage);
87
+ let { sendErrorToBugsnag } = await import("./error-handler-CUX3CN3R.js");
76
88
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
77
89
  }
78
90
  }
79
- function skipNotifications(environment = process.env) {
80
- return isTruthy(environment.CI) || isTruthy(environment.SHOPIFY_UNIT_TEST);
91
+ function skipNotifications(currentCommand, environment = process.env) {
92
+ return isTruthy(environment.CI) || isTruthy(environment.SHOPIFY_UNIT_TEST) || COMMANDS_TO_SKIP.includes(currentCommand);
81
93
  }
82
94
  async function renderNotifications(notifications) {
83
95
  notifications.slice(0, 2).forEach((notification) => {
@@ -110,9 +122,9 @@ async function getNotifications() {
110
122
  return NotificationsSchema.parse(notifications);
111
123
  }
112
124
  function fetchNotificationsInBackground(currentCommand, argv = process.argv, environment = process.env) {
113
- if (skipNotifications(environment))
125
+ if (skipNotifications(currentCommand, environment))
114
126
  return;
115
- let command = "shopify", args = ["notifications", "list"];
127
+ let command = "shopify", args = ["notifications", "list", "--ignore-errors"];
116
128
  if (argv[0] && argv[0] !== "shopify") {
117
129
  command = argv[0];
118
130
  let indexValue = currentCommand.split(":")[0] ?? "", index = argv.indexOf(indexValue);
@@ -161,4 +173,4 @@ export {
161
173
  showNotificationsIfNeeded,
162
174
  fetchNotificationsInBackground
163
175
  };
164
- //# sourceMappingURL=chunk-IDMI4B5S.js.map
176
+ //# sourceMappingURL=chunk-L2SIT6F4.js.map
@@ -4,10 +4,10 @@ import {
4
4
  getEnvironmentData,
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData
7
- } from "./chunk-BR3KKEPN.js";
7
+ } from "./chunk-DH5OC5ON.js";
8
8
  import {
9
9
  runWithRateLimit
10
- } from "./chunk-4IZOAUIJ.js";
10
+ } from "./chunk-DVNRCA3A.js";
11
11
  import {
12
12
  alwaysLogAnalytics,
13
13
  alwaysLogMetrics,
@@ -24,7 +24,7 @@ import {
24
24
  outputDebug,
25
25
  outputToken,
26
26
  reportingRateLimit
27
- } from "./chunk-4HFDUDDU.js";
27
+ } from "./chunk-4YFG4SYR.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __esm,
@@ -15926,4 +15926,4 @@ export {
15926
15926
  requestIdsCollection,
15927
15927
  reportAnalyticsEvent
15928
15928
  };
15929
- //# sourceMappingURL=chunk-VV6IS7HZ.js.map
15929
+ //# sourceMappingURL=chunk-PEDOCKWB.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-4HFDUDDU.js";
4
+ } from "./chunk-4YFG4SYR.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-S3QEOIDU.js";
@@ -43,4 +43,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
43
43
  export {
44
44
  ShopifyConfig
45
45
  };
46
- //# sourceMappingURL=custom-oclif-loader-SMMR74RK.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-34DJVRTG.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-U4LAO4KY.js";
8
- import "./chunk-VV6IS7HZ.js";
9
- import "./chunk-BR3KKEPN.js";
7
+ } from "./chunk-GQZNHHN6.js";
8
+ import "./chunk-PEDOCKWB.js";
9
+ import "./chunk-DH5OC5ON.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-4IZOAUIJ.js";
12
- import "./chunk-4HFDUDDU.js";
11
+ import "./chunk-DVNRCA3A.js";
12
+ import "./chunk-4YFG4SYR.js";
13
13
  import "./chunk-S3QEOIDU.js";
14
14
  import "./chunk-3I3GQNEW.js";
15
15
  import "./chunk-ZUCWDIGE.js";
@@ -28,4 +28,4 @@ export {
28
28
  registerCleanBugsnagErrorsFromWithinPlugins,
29
29
  sendErrorToBugsnag
30
30
  };
31
- //# sourceMappingURL=error-handler-QN5AUYGU.js.map
31
+ //# sourceMappingURL=error-handler-CUX3CN3R.js.map
@@ -3,16 +3,16 @@ import {
3
3
  } from "../chunk-CP3BRHWK.js";
4
4
  import {
5
5
  reportAnalyticsEvent
6
- } from "../chunk-VV6IS7HZ.js";
7
- import "../chunk-BR3KKEPN.js";
6
+ } from "../chunk-PEDOCKWB.js";
7
+ import "../chunk-DH5OC5ON.js";
8
8
  import "../chunk-25IMI7TH.js";
9
- import "../chunk-4IZOAUIJ.js";
9
+ import "../chunk-DVNRCA3A.js";
10
10
  import {
11
11
  addSensitiveMetadata,
12
12
  getAllSensitiveMetadata,
13
13
  outputDebug,
14
14
  renderWarning
15
- } from "../chunk-4HFDUDDU.js";
15
+ } from "../chunk-4YFG4SYR.js";
16
16
  import "../chunk-S3QEOIDU.js";
17
17
  import "../chunk-3I3GQNEW.js";
18
18
  import "../chunk-ZUCWDIGE.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetchNotificationsInBackground
3
- } from "../chunk-IDMI4B5S.js";
3
+ } from "../chunk-L2SIT6F4.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-BR3KKEPN.js";
7
+ } from "../chunk-DH5OC5ON.js";
8
8
  import "../chunk-25IMI7TH.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  packageManagerFromUserAgent,
13
13
  runAtMinimumInterval
14
- } from "../chunk-4IZOAUIJ.js";
14
+ } from "../chunk-DVNRCA3A.js";
15
15
  import {
16
16
  currentProcessIsGlobal,
17
17
  inferPackageManagerForGlobalCLI,
@@ -19,7 +19,7 @@ import {
19
19
  outputDebug,
20
20
  outputToken,
21
21
  outputWarn
22
- } from "../chunk-4HFDUDDU.js";
22
+ } from "../chunk-4YFG4SYR.js";
23
23
  import "../chunk-S3QEOIDU.js";
24
24
  import "../chunk-3I3GQNEW.js";
25
25
  import "../chunk-ZUCWDIGE.js";
@@ -56,7 +56,7 @@ var hook = async (options) => {
56
56
  aliases: options.Command.aliases,
57
57
  pluginAlias: options.Command.plugin?.alias
58
58
  }), args = options.argv;
59
- await warnOnAvailableUpgrade(), outputDebug(`Running command ${commandContent.command}`), await startAnalytics({ commandContent, args, commandClass: options.Command }), options.Command.hidden || fetchNotificationsInBackground(options.Command.id);
59
+ await warnOnAvailableUpgrade(), outputDebug(`Running command ${commandContent.command}`), await startAnalytics({ commandContent, args, commandClass: options.Command }), fetchNotificationsInBackground(options.Command.id);
60
60
  };
61
61
  function parseCommandContent(cmdInfo) {
62
62
  let commandContent = parseCreateCommand(cmdInfo.pluginAlias);
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  errorHandler,
13
13
  registerCleanBugsnagErrorsFromWithinPlugins,
14
14
  require_end_of_stream
15
- } from "./chunk-U4LAO4KY.js";
15
+ } from "./chunk-GQZNHHN6.js";
16
16
  import {
17
17
  setNextDeprecationDate
18
18
  } from "./chunk-CP3BRHWK.js";
@@ -21,11 +21,11 @@ import {
21
21
  getListOfTunnelPlugins,
22
22
  reportAnalyticsEvent,
23
23
  requestIdsCollection
24
- } from "./chunk-VV6IS7HZ.js";
24
+ } from "./chunk-PEDOCKWB.js";
25
25
  import {
26
26
  setCurrentCommandId,
27
27
  showNotificationsIfNeeded
28
- } from "./chunk-IDMI4B5S.js";
28
+ } from "./chunk-L2SIT6F4.js";
29
29
  import {
30
30
  CLI_KIT_VERSION,
31
31
  ClientError,
@@ -57,7 +57,7 @@ import {
57
57
  setLastSeenAuthMethod,
58
58
  setLastSeenUserIdAfterAuth,
59
59
  z
60
- } from "./chunk-BR3KKEPN.js";
60
+ } from "./chunk-DH5OC5ON.js";
61
61
  import "./chunk-25IMI7TH.js";
62
62
  import {
63
63
  LocalStorage,
@@ -81,7 +81,7 @@ import {
81
81
  usesWorkspaces,
82
82
  versionSatisfies,
83
83
  writePackageJSON
84
- } from "./chunk-4IZOAUIJ.js";
84
+ } from "./chunk-DVNRCA3A.js";
85
85
  import {
86
86
  AbortController as AbortController2,
87
87
  AbortError,
@@ -278,7 +278,7 @@ import {
278
278
  username,
279
279
  writeFile,
280
280
  writeFileSync
281
- } from "./chunk-4HFDUDDU.js";
281
+ } from "./chunk-4YFG4SYR.js";
282
282
  import {
283
283
  require_brace_expansion,
284
284
  require_lib
@@ -156980,13 +156980,22 @@ function simplifyUnionErrors(rawErrors, subject, schema) {
156980
156980
  }
156981
156981
 
156982
156982
  // ../app/dist/cli/utilities/json-schema.js
156983
+ var JsonSchemaBaseProperties = {
156984
+ type: { type: "string" },
156985
+ handle: { type: "string" },
156986
+ uid: { type: "string" },
156987
+ path: { type: "string" },
156988
+ extensions: {}
156989
+ };
156983
156990
  async function unifiedConfigurationParserFactory(merged, handleInvalidAdditionalProperties = "strip") {
156984
156991
  let contractJsonSchema = merged.validationSchema?.jsonSchema;
156985
156992
  if (contractJsonSchema === void 0 || isEmpty(JSON.parse(contractJsonSchema)))
156986
156993
  return merged.parseConfigurationObject;
156987
- let contract = await normaliseJsonSchema(contractJsonSchema), extensionIdentifier = merged.identifier;
156994
+ let contract = await normaliseJsonSchema(contractJsonSchema);
156995
+ contract.properties = { ...JsonSchemaBaseProperties, ...contract.properties };
156996
+ let extensionIdentifier = merged.identifier;
156988
156997
  return (config2) => {
156989
- let zodParse = merged.parseConfigurationObject(config2), subjectForAjv = (zodParse.state === "ok" ? zodParse.data : void 0) ?? config2, subjectForAjvWithoutFirstClassFields = configWithoutFirstClassFields(subjectForAjv), jsonSchemaParse = jsonSchemaValidate(subjectForAjvWithoutFirstClassFields, contract, handleInvalidAdditionalProperties, extensionIdentifier), errors = zodParse.errors || [];
156998
+ let zodParse = merged.parseConfigurationObject(config2), subjectForAjv = (zodParse.state === "ok" ? zodParse.data : void 0) ?? config2, jsonSchemaParse = jsonSchemaValidate(subjectForAjv, contract, handleInvalidAdditionalProperties, extensionIdentifier), errors = zodParse.errors || [];
156990
156999
  jsonSchemaParse.state === "error" && (errors = errors.concat(jsonSchemaParse.errors));
156991
157000
  let errorSet = /* @__PURE__ */ new Set();
156992
157001
  return errors = errors.filter((error) => {
@@ -157392,7 +157401,7 @@ init_cjs_shims();
157392
157401
  init_cjs_shims();
157393
157402
  import { fileURLToPath as fileURLToPath2 } from "node:url";
157394
157403
  async function launchCLI(options2) {
157395
- let { errorHandler: errorHandler3 } = await import("./error-handler-QN5AUYGU.js"), { isDevelopment: isDevelopment2 } = await import("./local-4SXMDAD7.js"), oclif = await import("./lib-GSZAN7VA.js"), { ShopifyConfig } = await import("./custom-oclif-loader-SMMR74RK.js");
157404
+ let { errorHandler: errorHandler3 } = await import("./error-handler-CUX3CN3R.js"), { isDevelopment: isDevelopment2 } = await import("./local-7HCM3VPW.js"), oclif = await import("./lib-GSZAN7VA.js"), { ShopifyConfig } = await import("./custom-oclif-loader-34DJVRTG.js");
157396
157405
  isDevelopment2() && (oclif.default.settings.debug = !0);
157397
157406
  try {
157398
157407
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options2.moduleURL) });
@@ -157407,7 +157416,7 @@ var import_core3 = __toESM(require_lib());
157407
157416
  async function exitIfOldNodeVersion(versions2 = process.versions) {
157408
157417
  let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
157409
157418
  if (nodeMajorVersion < 18) {
157410
- let { renderError: renderError2 } = await import("./ui-B4KI2XON.js");
157419
+ let { renderError: renderError2 } = await import("./ui-BE7SBGMH.js");
157411
157420
  renderError2({
157412
157421
  headline: "Upgrade to a supported Node version now.",
157413
157422
  body: [
@@ -157434,7 +157443,7 @@ async function runCLI(options2, launchCLI2 = launchCLI, argv = process.argv, env
157434
157443
  return setupEnvironmentVariables(options2, argv, env), options2.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options2, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options2.moduleURL });
157435
157444
  }
157436
157445
  async function addInitToArgvWhenRunningCreateCLI(options2, argv = process.argv) {
157437
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-ACRDOQYF.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-GWAZZN2N.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
157446
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-MEKPJUK5.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-GWAZZN2N.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
157438
157447
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
157439
157448
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
157440
157449
  argv.splice(initIndex2, 0, "init");
@@ -23,7 +23,7 @@ import {
23
23
  themeToken,
24
24
  useEmbeddedThemeCLI,
25
25
  useThemebundling
26
- } from "./chunk-4HFDUDDU.js";
26
+ } from "./chunk-4YFG4SYR.js";
27
27
  import "./chunk-S3QEOIDU.js";
28
28
  import "./chunk-3I3GQNEW.js";
29
29
  import "./chunk-ZUCWDIGE.js";
@@ -60,4 +60,4 @@ export {
60
60
  useEmbeddedThemeCLI,
61
61
  useThemebundling
62
62
  };
63
- //# sourceMappingURL=local-4SXMDAD7.js.map
63
+ //# sourceMappingURL=local-7HCM3VPW.js.map
@@ -29,8 +29,8 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-4IZOAUIJ.js";
33
- import "./chunk-4HFDUDDU.js";
32
+ } from "./chunk-DVNRCA3A.js";
33
+ import "./chunk-4YFG4SYR.js";
34
34
  import "./chunk-S3QEOIDU.js";
35
35
  import "./chunk-3I3GQNEW.js";
36
36
  import "./chunk-ZUCWDIGE.js";
@@ -73,4 +73,4 @@ export {
73
73
  writePackageJSON,
74
74
  yarnLockfile
75
75
  };
76
- //# sourceMappingURL=node-package-manager-ACRDOQYF.js.map
76
+ //# sourceMappingURL=node-package-manager-MEKPJUK5.js.map