@shopify/create-app 3.81.1 → 3.81.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.
@@ -2,12 +2,12 @@ import {
2
2
  CLI_KIT_VERSION,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-6EPG6YJ6.js";
5
+ } from "./chunk-GGWHB6LL.js";
6
6
  import {
7
7
  cacheRetrieve,
8
8
  cacheStore,
9
9
  versionSatisfies
10
- } from "./chunk-C4ABWPZH.js";
10
+ } from "./chunk-YJPO3M7O.js";
11
11
  import {
12
12
  AbortSilentError,
13
13
  exec,
@@ -16,7 +16,7 @@ import {
16
16
  renderError,
17
17
  renderInfo,
18
18
  renderWarning
19
- } from "./chunk-TT3RANTU.js";
19
+ } from "./chunk-NEIKNULL.js";
20
20
  import {
21
21
  init_cjs_shims
22
22
  } from "./chunk-PKR7KJ6P.js";
@@ -84,7 +84,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
84
84
  throw new AbortSilentError();
85
85
  let errorMessage = `Error showing notifications: ${error.message}`;
86
86
  outputDebug(errorMessage);
87
- let { sendErrorToBugsnag } = await import("./error-handler-DQ6X5YKA.js");
87
+ let { sendErrorToBugsnag } = await import("./error-handler-5ZPHVQR4.js");
88
88
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
89
89
  }
90
90
  }
@@ -174,4 +174,4 @@ export {
174
174
  showNotificationsIfNeeded,
175
175
  fetchNotificationsInBackground
176
176
  };
177
- //# sourceMappingURL=chunk-UQP4ZLNS.js.map
177
+ //# sourceMappingURL=chunk-CSOJOXW2.js.map
@@ -4,10 +4,10 @@ import {
4
4
  getEnvironmentData,
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData
7
- } from "./chunk-6EPG6YJ6.js";
7
+ } from "./chunk-GGWHB6LL.js";
8
8
  import {
9
9
  runWithRateLimit
10
- } from "./chunk-C4ABWPZH.js";
10
+ } from "./chunk-YJPO3M7O.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-TT3RANTU.js";
27
+ } from "./chunk-NEIKNULL.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-4WMN57JE.js.map
15929
+ //# sourceMappingURL=chunk-CVOLR6M5.js.map
@@ -9,7 +9,7 @@ import {
9
9
  packageManagerFromUserAgent,
10
10
  removeSession,
11
11
  setSession
12
- } from "./chunk-C4ABWPZH.js";
12
+ } from "./chunk-YJPO3M7O.js";
13
13
  import {
14
14
  AbortError,
15
15
  BugError,
@@ -45,7 +45,7 @@ import {
45
45
  spinFqdn,
46
46
  systemEnvironmentVariables,
47
47
  themeToken
48
- } from "./chunk-TT3RANTU.js";
48
+ } from "./chunk-NEIKNULL.js";
49
49
  import {
50
50
  cwd,
51
51
  sniffForJson
@@ -26948,7 +26948,7 @@ var require_form_data = __commonJS({
26948
26948
 
26949
26949
  // ../cli-kit/dist/public/common/version.js
26950
26950
  init_cjs_shims();
26951
- var CLI_KIT_VERSION = "3.81.1";
26951
+ var CLI_KIT_VERSION = "3.81.2";
26952
26952
 
26953
26953
  // ../cli-kit/dist/private/node/analytics.js
26954
26954
  init_cjs_shims();
@@ -31039,7 +31039,7 @@ async function normalizeStoreFqdn(store2) {
31039
31039
 
31040
31040
  // ../cli-kit/dist/public/node/http.js
31041
31041
  init_cjs_shims();
31042
- var import_form_data = __toESM(require_form_data(), 1);
31042
+ var import_form_data = __toESM(require_form_data());
31043
31043
 
31044
31044
  // ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
31045
31045
  init_cjs_shims();
@@ -32631,4 +32631,4 @@ mime-types/index.js:
32631
32631
  * MIT Licensed
32632
32632
  *)
32633
32633
  */
32634
- //# sourceMappingURL=chunk-6EPG6YJ6.js.map
32634
+ //# sourceMappingURL=chunk-GGWHB6LL.js.map
@@ -23580,7 +23580,7 @@ init_cjs_shims();
23580
23580
 
23581
23581
  // ../cli-kit/dist/public/node/abort.js
23582
23582
  init_cjs_shims();
23583
- var import_node_abort_controller = __toESM(require_node_abort_controller(), 1), AbortController = class extends import_node_abort_controller.AbortController {
23583
+ var import_node_abort_controller = __toESM(require_node_abort_controller()), AbortController = class extends import_node_abort_controller.AbortController {
23584
23584
  }, AbortSignal = class extends import_node_abort_controller.AbortSignal {
23585
23585
  };
23586
23586
 
@@ -23611,7 +23611,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
23611
23611
  try {
23612
23612
  await getAndSet();
23613
23613
  } catch (error) {
23614
- let { sendErrorToBugsnag } = await import("./error-handler-DQ6X5YKA.js");
23614
+ let { sendErrorToBugsnag } = await import("./error-handler-5ZPHVQR4.js");
23615
23615
  await sendErrorToBugsnag(error, "unexpected_error");
23616
23616
  }
23617
23617
  }, durationStack = [];
@@ -28240,7 +28240,7 @@ function asHumanFriendlyArray(items) {
28240
28240
  }
28241
28241
 
28242
28242
  // ../cli-kit/dist/public/common/string.js
28243
- var import_change_case = __toESM(require_dist16(), 1), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
28243
+ var import_change_case = __toESM(require_dist16()), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
28244
28244
  "commercial",
28245
28245
  "profitable",
28246
28246
  "amortizable",
@@ -29242,7 +29242,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
29242
29242
  }
29243
29243
 
29244
29244
  // ../cli-kit/dist/public/node/ui.js
29245
- var import_react55 = __toESM(require_react(), 1), defaultUIDebugOptions = {
29245
+ var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
29246
29246
  skipTTYCheck: !1
29247
29247
  };
29248
29248
  async function renderConcurrent({ renderOptions, ...props }) {
@@ -32813,4 +32813,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32813
32813
  * LICENSE file in the root directory of this source tree.
32814
32814
  *)
32815
32815
  */
32816
- //# sourceMappingURL=chunk-TT3RANTU.js.map
32816
+ //# sourceMappingURL=chunk-NEIKNULL.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-4WMN57JE.js";
4
+ } from "./chunk-CVOLR6M5.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-6EPG6YJ6.js";
8
+ } from "./chunk-GGWHB6LL.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-C4ABWPZH.js";
11
+ } from "./chunk-YJPO3M7O.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-TT3RANTU.js";
26
+ } from "./chunk-NEIKNULL.js";
27
27
  import {
28
28
  require_lib
29
29
  } from "./chunk-2YVW3FGK.js";
@@ -2142,4 +2142,4 @@ export {
2142
2142
  registerCleanBugsnagErrorsFromWithinPlugins,
2143
2143
  addBugsnagMetadata
2144
2144
  };
2145
- //# sourceMappingURL=chunk-4S4CSWD6.js.map
2145
+ //# sourceMappingURL=chunk-YFBX3GUL.js.map
@@ -19,7 +19,7 @@ import {
19
19
  require_semver,
20
20
  runWithTimer,
21
21
  writeFile
22
- } from "./chunk-TT3RANTU.js";
22
+ } from "./chunk-NEIKNULL.js";
23
23
  import {
24
24
  dirname,
25
25
  joinPath
@@ -13907,4 +13907,4 @@ deep-extend/lib/deep-extend.js:
13907
13907
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13908
13908
  *)
13909
13909
  */
13910
- //# sourceMappingURL=chunk-C4ABWPZH.js.map
13910
+ //# sourceMappingURL=chunk-YJPO3M7O.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-TT3RANTU.js";
4
+ } from "./chunk-NEIKNULL.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-2YVW3FGK.js";
@@ -42,4 +42,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
42
42
  export {
43
43
  ShopifyConfig
44
44
  };
45
- //# sourceMappingURL=custom-oclif-loader-NCDQWHDP.js.map
45
+ //# sourceMappingURL=custom-oclif-loader-5ZQOICQH.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-4S4CSWD6.js";
8
- import "./chunk-4WMN57JE.js";
9
- import "./chunk-6EPG6YJ6.js";
7
+ } from "./chunk-YFBX3GUL.js";
8
+ import "./chunk-CVOLR6M5.js";
9
+ import "./chunk-GGWHB6LL.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-C4ABWPZH.js";
12
- import "./chunk-TT3RANTU.js";
11
+ import "./chunk-YJPO3M7O.js";
12
+ import "./chunk-NEIKNULL.js";
13
13
  import "./chunk-2YVW3FGK.js";
14
14
  import "./chunk-UMUTXITN.js";
15
15
  import "./chunk-Y2JP6WFP.js";
@@ -27,4 +27,4 @@ export {
27
27
  registerCleanBugsnagErrorsFromWithinPlugins,
28
28
  sendErrorToBugsnag
29
29
  };
30
- //# sourceMappingURL=error-handler-DQ6X5YKA.js.map
30
+ //# sourceMappingURL=error-handler-5ZPHVQR4.js.map
@@ -3,16 +3,16 @@ import {
3
3
  } from "../chunk-CP3BRHWK.js";
4
4
  import {
5
5
  reportAnalyticsEvent
6
- } from "../chunk-4WMN57JE.js";
7
- import "../chunk-6EPG6YJ6.js";
6
+ } from "../chunk-CVOLR6M5.js";
7
+ import "../chunk-GGWHB6LL.js";
8
8
  import "../chunk-25IMI7TH.js";
9
- import "../chunk-C4ABWPZH.js";
9
+ import "../chunk-YJPO3M7O.js";
10
10
  import {
11
11
  addSensitiveMetadata,
12
12
  getAllSensitiveMetadata,
13
13
  outputDebug,
14
14
  renderWarning
15
- } from "../chunk-TT3RANTU.js";
15
+ } from "../chunk-NEIKNULL.js";
16
16
  import "../chunk-2YVW3FGK.js";
17
17
  import "../chunk-UMUTXITN.js";
18
18
  import "../chunk-Y2JP6WFP.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetchNotificationsInBackground
3
- } from "../chunk-UQP4ZLNS.js";
3
+ } from "../chunk-CSOJOXW2.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-6EPG6YJ6.js";
7
+ } from "../chunk-GGWHB6LL.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-C4ABWPZH.js";
14
+ } from "../chunk-YJPO3M7O.js";
15
15
  import {
16
16
  currentProcessIsGlobal,
17
17
  inferPackageManagerForGlobalCLI,
@@ -20,7 +20,7 @@ import {
20
20
  outputDebug,
21
21
  outputToken,
22
22
  outputWarn
23
- } from "../chunk-TT3RANTU.js";
23
+ } from "../chunk-NEIKNULL.js";
24
24
  import "../chunk-2YVW3FGK.js";
25
25
  import "../chunk-UMUTXITN.js";
26
26
  import "../chunk-Y2JP6WFP.js";
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  errorHandler,
9
9
  registerCleanBugsnagErrorsFromWithinPlugins,
10
10
  require_end_of_stream
11
- } from "./chunk-4S4CSWD6.js";
11
+ } from "./chunk-YFBX3GUL.js";
12
12
  import {
13
13
  setNextDeprecationDate
14
14
  } from "./chunk-CP3BRHWK.js";
@@ -17,11 +17,11 @@ import {
17
17
  getListOfTunnelPlugins,
18
18
  reportAnalyticsEvent,
19
19
  requestIdsCollection
20
- } from "./chunk-4WMN57JE.js";
20
+ } from "./chunk-CVOLR6M5.js";
21
21
  import {
22
22
  setCurrentCommandId,
23
23
  showNotificationsIfNeeded
24
- } from "./chunk-UQP4ZLNS.js";
24
+ } from "./chunk-CSOJOXW2.js";
25
25
  import {
26
26
  CLI_KIT_VERSION,
27
27
  ClientError,
@@ -69,7 +69,7 @@ import {
69
69
  setLastSeenUserIdAfterAuth,
70
70
  shopifyFetch,
71
71
  z
72
- } from "./chunk-6EPG6YJ6.js";
72
+ } from "./chunk-GGWHB6LL.js";
73
73
  import "./chunk-25IMI7TH.js";
74
74
  import {
75
75
  LocalStorage,
@@ -94,7 +94,7 @@ import {
94
94
  usesWorkspaces,
95
95
  versionSatisfies,
96
96
  writePackageJSON
97
- } from "./chunk-C4ABWPZH.js";
97
+ } from "./chunk-YJPO3M7O.js";
98
98
  import {
99
99
  AbortController as AbortController2,
100
100
  AbortError,
@@ -286,7 +286,7 @@ import {
286
286
  username,
287
287
  writeFile,
288
288
  writeFileSync
289
- } from "./chunk-TT3RANTU.js";
289
+ } from "./chunk-NEIKNULL.js";
290
290
  import {
291
291
  require_brace_expansion,
292
292
  require_commonjs,
@@ -199314,7 +199314,7 @@ init_cjs_shims();
199314
199314
  init_cjs_shims();
199315
199315
  import { fileURLToPath as fileURLToPath2 } from "node:url";
199316
199316
  async function launchCLI(options2) {
199317
- let { errorHandler: errorHandler3 } = await import("./error-handler-DQ6X5YKA.js"), { isDevelopment: isDevelopment2 } = await import("./local-EXTM5UPB.js"), oclif = await import("./lib-UJ7YNLH4.js"), { ShopifyConfig } = await import("./custom-oclif-loader-NCDQWHDP.js");
199317
+ let { errorHandler: errorHandler3 } = await import("./error-handler-5ZPHVQR4.js"), { isDevelopment: isDevelopment2 } = await import("./local-O36XSLPO.js"), oclif = await import("./lib-UJ7YNLH4.js"), { ShopifyConfig } = await import("./custom-oclif-loader-5ZQOICQH.js");
199318
199318
  isDevelopment2() && (oclif.default.settings.debug = !0);
199319
199319
  try {
199320
199320
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options2.moduleURL) });
@@ -199329,7 +199329,7 @@ var import_core3 = __toESM(require_lib2());
199329
199329
  async function exitIfOldNodeVersion(versions2 = process.versions) {
199330
199330
  let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
199331
199331
  if (nodeMajorVersion < 18) {
199332
- let { renderError: renderError2 } = await import("./ui-6L3VQT6P.js");
199332
+ let { renderError: renderError2 } = await import("./ui-TUFRYZMP.js");
199333
199333
  renderError2({
199334
199334
  headline: "Upgrade to a supported Node version now.",
199335
199335
  body: [
@@ -199356,7 +199356,7 @@ async function runCLI(options2, launchCLI2 = launchCLI, argv = process.argv, env
199356
199356
  return setupEnvironmentVariables(options2, argv, env), options2.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options2, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options2.moduleURL });
199357
199357
  }
199358
199358
  async function addInitToArgvWhenRunningCreateCLI(options2, argv = process.argv) {
199359
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-4LLKYFW5.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-COZT77T2.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
199359
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-DXIM2DYO.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-COZT77T2.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
199360
199360
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
199361
199361
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
199362
199362
  argv.splice(initIndex2, 0, "init");
@@ -210541,15 +210541,6 @@ async function insideGitDirectory(directory) {
210541
210541
  async function isClean(directory) {
210542
210542
  return (await esm_default({ baseDir: directory }).status()).isClean();
210543
210543
  }
210544
- async function removeGitRemote(directory, remoteName = "origin") {
210545
- outputDebug(outputContent`Removing git remote ${remoteName} from ${outputToken.path(directory)}...`), await ensureGitIsPresentOrAbort();
210546
- let repo = esm_default(directory);
210547
- if (!(await repo.getRemotes()).some((remote) => remote.name === remoteName)) {
210548
- outputDebug(outputContent`Remote ${remoteName} does not exist, no action needed`);
210549
- return;
210550
- }
210551
- await repo.removeRemote(remoteName);
210552
- }
210553
210544
 
210554
210545
  // ../theme/dist/cli/services/init.js
210555
210546
  async function cloneRepo(repoUrl, destination) {
@@ -210566,9 +210557,8 @@ async function downloadRepository(repoUrl, destination, latestTag) {
210566
210557
  await downloadGitRepository({
210567
210558
  repoUrl,
210568
210559
  destination,
210569
- latestTag,
210570
- shallow: !0
210571
- }), await removeGitRemote(destination);
210560
+ latestTag
210561
+ });
210572
210562
  }
210573
210563
  }
210574
210564
  ]);
@@ -20,7 +20,7 @@ import {
20
20
  macAddress,
21
21
  opentelemetryDomain,
22
22
  themeToken
23
- } from "./chunk-TT3RANTU.js";
23
+ } from "./chunk-NEIKNULL.js";
24
24
  import "./chunk-2YVW3FGK.js";
25
25
  import "./chunk-UMUTXITN.js";
26
26
  import "./chunk-Y2JP6WFP.js";
@@ -53,4 +53,4 @@ export {
53
53
  opentelemetryDomain,
54
54
  themeToken
55
55
  };
56
- //# sourceMappingURL=local-EXTM5UPB.js.map
56
+ //# sourceMappingURL=local-O36XSLPO.js.map
@@ -29,8 +29,8 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-C4ABWPZH.js";
33
- import "./chunk-TT3RANTU.js";
32
+ } from "./chunk-YJPO3M7O.js";
33
+ import "./chunk-NEIKNULL.js";
34
34
  import "./chunk-2YVW3FGK.js";
35
35
  import "./chunk-UMUTXITN.js";
36
36
  import "./chunk-Y2JP6WFP.js";
@@ -72,4 +72,4 @@ export {
72
72
  writePackageJSON,
73
73
  yarnLockfile
74
74
  };
75
- //# sourceMappingURL=node-package-manager-4LLKYFW5.js.map
75
+ //# sourceMappingURL=node-package-manager-DXIM2DYO.js.map
@@ -16,7 +16,7 @@ import {
16
16
  renderTasks,
17
17
  renderTextPrompt,
18
18
  renderWarning
19
- } from "./chunk-TT3RANTU.js";
19
+ } from "./chunk-NEIKNULL.js";
20
20
  import "./chunk-2YVW3FGK.js";
21
21
  import "./chunk-UMUTXITN.js";
22
22
  import "./chunk-Y2JP6WFP.js";
@@ -45,4 +45,4 @@ export {
45
45
  renderTextPrompt,
46
46
  renderWarning
47
47
  };
48
- //# sourceMappingURL=ui-6L3VQT6P.js.map
48
+ //# sourceMappingURL=ui-TUFRYZMP.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.81.1"
107
+ "version": "3.81.2"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.81.1",
3
+ "version": "3.81.2",
4
4
  "private": false,
5
5
  "description": "A CLI tool to create a new Shopify app.",
6
6
  "keywords": [
@@ -47,8 +47,8 @@
47
47
  "esbuild": "0.25.5"
48
48
  },
49
49
  "devDependencies": {
50
- "@shopify/cli-kit": "3.81.1",
51
- "@shopify/app": "3.81.1",
50
+ "@shopify/cli-kit": "3.81.2",
51
+ "@shopify/app": "3.81.2",
52
52
  "esbuild-plugin-copy": "^2.1.1",
53
53
  "@vitest/coverage-istanbul": "^3.1.4"
54
54
  },