@shopify/create-app 3.71.5 → 3.72.1

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.
@@ -18,7 +18,7 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-SWJYETLD.js";
21
+ } from "./chunk-B4S5OTYL.js";
22
22
  import {
23
23
  dirname,
24
24
  joinPath
@@ -15390,4 +15390,4 @@ deep-extend/lib/deep-extend.js:
15390
15390
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15391
15391
  *)
15392
15392
  */
15393
- //# sourceMappingURL=chunk-XY5EMAOX.js.map
15393
+ //# sourceMappingURL=chunk-3KRAGAYN.js.map
@@ -22989,7 +22989,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
22989
22989
  try {
22990
22990
  await getAndSet();
22991
22991
  } catch (error) {
22992
- let { sendErrorToBugsnag } = await import("./error-handler-2DRGGEE3.js");
22992
+ let { sendErrorToBugsnag } = await import("./error-handler-GRRY52XM.js");
22993
22993
  await sendErrorToBugsnag(error, "unexpected_error");
22994
22994
  }
22995
22995
  }, durationStack = [];
@@ -32078,4 +32078,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32078
32078
  * LICENSE file in the root directory of this source tree.
32079
32079
  *)
32080
32080
  */
32081
- //# sourceMappingURL=chunk-SWJYETLD.js.map
32081
+ //# sourceMappingURL=chunk-B4S5OTYL.js.map
@@ -4,10 +4,10 @@ import {
4
4
  getEnvironmentData,
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData
7
- } from "./chunk-DKPXW2UF.js";
7
+ } from "./chunk-RYWO5SQE.js";
8
8
  import {
9
9
  runWithRateLimit
10
- } from "./chunk-XY5EMAOX.js";
10
+ } from "./chunk-3KRAGAYN.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-SWJYETLD.js";
27
+ } from "./chunk-B4S5OTYL.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __require,
@@ -15766,4 +15766,4 @@ export {
15766
15766
  getListOfTunnelPlugins,
15767
15767
  reportAnalyticsEvent
15768
15768
  };
15769
- //# sourceMappingURL=chunk-VPK5R6CK.js.map
15769
+ //# sourceMappingURL=chunk-PODOOCJV.js.map
@@ -12,7 +12,7 @@ import {
12
12
  removeSession,
13
13
  setCachedPartnerAccountStatus,
14
14
  setSession
15
- } from "./chunk-XY5EMAOX.js";
15
+ } from "./chunk-3KRAGAYN.js";
16
16
  import {
17
17
  AbortError,
18
18
  BugError,
@@ -49,7 +49,7 @@ import {
49
49
  systemEnvironmentVariables,
50
50
  themeKitAccessDomain,
51
51
  themeToken
52
- } from "./chunk-SWJYETLD.js";
52
+ } from "./chunk-B4S5OTYL.js";
53
53
  import {
54
54
  cwd,
55
55
  sniffForJson
@@ -29342,7 +29342,7 @@ var require_lib3 = __commonJS({
29342
29342
 
29343
29343
  // ../cli-kit/dist/public/common/version.js
29344
29344
  init_cjs_shims();
29345
- var CLI_KIT_VERSION = "3.71.5";
29345
+ var CLI_KIT_VERSION = "3.72.1";
29346
29346
 
29347
29347
  // ../cli-kit/dist/private/node/analytics.js
29348
29348
  init_cjs_shims();
@@ -34858,4 +34858,4 @@ mime-types/index.js:
34858
34858
  * MIT Licensed
34859
34859
  *)
34860
34860
  */
34861
- //# sourceMappingURL=chunk-DKPXW2UF.js.map
34861
+ //# sourceMappingURL=chunk-RYWO5SQE.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-VPK5R6CK.js";
4
+ } from "./chunk-PODOOCJV.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-DKPXW2UF.js";
8
+ } from "./chunk-RYWO5SQE.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-XY5EMAOX.js";
11
+ } from "./chunk-3KRAGAYN.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-SWJYETLD.js";
26
+ } from "./chunk-B4S5OTYL.js";
27
27
  import {
28
28
  require_lib
29
29
  } from "./chunk-CQGOPQQH.js";
@@ -2140,4 +2140,4 @@ export {
2140
2140
  registerCleanBugsnagErrorsFromWithinPlugins,
2141
2141
  addBugsnagMetadata
2142
2142
  };
2143
- //# sourceMappingURL=chunk-PBF4R2FY.js.map
2143
+ //# sourceMappingURL=chunk-YKZZUNB4.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-XY5EMAOX.js";
3
+ } from "./chunk-3KRAGAYN.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-SWJYETLD.js";
9
+ } from "./chunk-B4S5OTYL.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-POZ5MGPT.js";
@@ -24,4 +24,4 @@ function getOutputUpdateCLIReminder(version) {
24
24
  export {
25
25
  getOutputUpdateCLIReminder
26
26
  };
27
- //# sourceMappingURL=chunk-WAC2A2NP.js.map
27
+ //# sourceMappingURL=chunk-Z75XLDG2.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-SWJYETLD.js";
4
+ } from "./chunk-B4S5OTYL.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-CQGOPQQH.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-PUXRZWOJ.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-ETGLSWWW.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-PBF4R2FY.js";
8
- import "./chunk-VPK5R6CK.js";
9
- import "./chunk-DKPXW2UF.js";
7
+ } from "./chunk-YKZZUNB4.js";
8
+ import "./chunk-PODOOCJV.js";
9
+ import "./chunk-RYWO5SQE.js";
10
10
  import "./chunk-VSLR7ET4.js";
11
- import "./chunk-XY5EMAOX.js";
12
- import "./chunk-SWJYETLD.js";
11
+ import "./chunk-3KRAGAYN.js";
12
+ import "./chunk-B4S5OTYL.js";
13
13
  import "./chunk-CQGOPQQH.js";
14
14
  import "./chunk-SNOECVP4.js";
15
15
  import "./chunk-522OB3EU.js";
@@ -28,4 +28,4 @@ export {
28
28
  registerCleanBugsnagErrorsFromWithinPlugins,
29
29
  sendErrorToBugsnag
30
30
  };
31
- //# sourceMappingURL=error-handler-2DRGGEE3.js.map
31
+ //# sourceMappingURL=error-handler-GRRY52XM.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-VPK5R6CK.js";
3
+ } from "../chunk-PODOOCJV.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-DKPXW2UF.js";
6
+ } from "../chunk-RYWO5SQE.js";
7
7
  import "../chunk-VSLR7ET4.js";
8
- import "../chunk-XY5EMAOX.js";
8
+ import "../chunk-3KRAGAYN.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-SWJYETLD.js";
14
+ } from "../chunk-B4S5OTYL.js";
15
15
  import "../chunk-CQGOPQQH.js";
16
16
  import "../chunk-SNOECVP4.js";
17
17
  import "../chunk-522OB3EU.js";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  getOutputUpdateCLIReminder
3
- } from "../chunk-WAC2A2NP.js";
3
+ } from "../chunk-Z75XLDG2.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-DKPXW2UF.js";
7
+ } from "../chunk-RYWO5SQE.js";
8
8
  import "../chunk-VSLR7ET4.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  runAtMinimumInterval
13
- } from "../chunk-XY5EMAOX.js";
13
+ } from "../chunk-3KRAGAYN.js";
14
14
  import {
15
15
  outputDebug,
16
16
  outputWarn
17
- } from "../chunk-SWJYETLD.js";
17
+ } from "../chunk-B4S5OTYL.js";
18
18
  import "../chunk-CQGOPQQH.js";
19
19
  import "../chunk-SNOECVP4.js";
20
20
  import "../chunk-522OB3EU.js";
package/dist/index.js CHANGED
@@ -8,15 +8,15 @@ import {
8
8
  errorHandler,
9
9
  registerCleanBugsnagErrorsFromWithinPlugins,
10
10
  require_end_of_stream
11
- } from "./chunk-PBF4R2FY.js";
11
+ } from "./chunk-YKZZUNB4.js";
12
12
  import {
13
13
  fanoutHooks,
14
14
  getListOfTunnelPlugins,
15
15
  reportAnalyticsEvent
16
- } from "./chunk-VPK5R6CK.js";
16
+ } from "./chunk-PODOOCJV.js";
17
17
  import {
18
18
  getOutputUpdateCLIReminder
19
- } from "./chunk-WAC2A2NP.js";
19
+ } from "./chunk-Z75XLDG2.js";
20
20
  import {
21
21
  CLI_KIT_VERSION,
22
22
  ClientError,
@@ -61,7 +61,7 @@ import {
61
61
  setNextDeprecationDate,
62
62
  username,
63
63
  z
64
- } from "./chunk-DKPXW2UF.js";
64
+ } from "./chunk-RYWO5SQE.js";
65
65
  import "./chunk-VSLR7ET4.js";
66
66
  import {
67
67
  LocalStorage,
@@ -86,7 +86,7 @@ import {
86
86
  usesWorkspaces,
87
87
  versionSatisfies,
88
88
  writePackageJSON
89
- } from "./chunk-XY5EMAOX.js";
89
+ } from "./chunk-3KRAGAYN.js";
90
90
  import {
91
91
  AbortController as AbortController2,
92
92
  AbortError,
@@ -260,7 +260,7 @@ import {
260
260
  use_stdin_default,
261
261
  writeFile,
262
262
  writeFileSync
263
- } from "./chunk-SWJYETLD.js";
263
+ } from "./chunk-B4S5OTYL.js";
264
264
  import {
265
265
  require_brace_expansion,
266
266
  require_lib
@@ -142813,7 +142813,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
142813
142813
  throw new AbortSilentError();
142814
142814
  let errorMessage2 = `Error retrieving notifications: ${error.message}`;
142815
142815
  outputDebug(errorMessage2);
142816
- let { sendErrorToBugsnag } = await import("./error-handler-2DRGGEE3.js");
142816
+ let { sendErrorToBugsnag } = await import("./error-handler-GRRY52XM.js");
142817
142817
  await sendErrorToBugsnag(errorMessage2, "unexpected_error");
142818
142818
  }
142819
142819
  }
@@ -152025,7 +152025,7 @@ init_cjs_shims();
152025
152025
  init_cjs_shims();
152026
152026
  import { fileURLToPath as fileURLToPath2 } from "node:url";
152027
152027
  async function launchCLI(options) {
152028
- let { errorHandler: errorHandler2 } = await import("./error-handler-2DRGGEE3.js"), { isDevelopment: isDevelopment2 } = await import("./local-BWALDEYA.js"), oclif = await import("./lib-EGJUAXU5.js"), { ShopifyConfig } = await import("./custom-oclif-loader-PUXRZWOJ.js");
152028
+ let { errorHandler: errorHandler2 } = await import("./error-handler-GRRY52XM.js"), { isDevelopment: isDevelopment2 } = await import("./local-4TKV7SXN.js"), oclif = await import("./lib-EGJUAXU5.js"), { ShopifyConfig } = await import("./custom-oclif-loader-ETGLSWWW.js");
152029
152029
  isDevelopment2() && (oclif.default.settings.debug = !0);
152030
152030
  try {
152031
152031
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
@@ -152040,7 +152040,7 @@ var import_core3 = __toESM(require_lib());
152040
152040
  async function warnIfOldNodeVersion(versions2 = process.versions) {
152041
152041
  let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
152042
152042
  if (nodeMajorVersion < 18) {
152043
- let { renderWarning: renderWarning2 } = await import("./ui-US5TTZHC.js");
152043
+ let { renderWarning: renderWarning2 } = await import("./ui-V6ASEPZK.js");
152044
152044
  renderWarning2({
152045
152045
  headline: "Upgrade to a supported Node version now.",
152046
152046
  body: [
@@ -152067,7 +152067,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
152067
152067
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await warnIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL });
152068
152068
  }
152069
152069
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
152070
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-UWKPZZ3A.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-3RNJ32DF.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
152070
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-TN6TFHA5.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-3RNJ32DF.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
152071
152071
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
152072
152072
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
152073
152073
  argv.splice(initIndex2, 0, "init");
@@ -168470,7 +168470,7 @@ var contextToTarget = (context) => {
168470
168470
  case "variants":
168471
168471
  return "product-variant";
168472
168472
  default:
168473
- return type.toLocaleLowerCase().replace(new RegExp("(s)$"), "");
168473
+ return hyphenate(type.toLocaleLowerCase().replace(new RegExp("(s)$"), ""));
168474
168474
  }
168475
168475
  };
168476
168476
 
@@ -22,7 +22,7 @@ import {
22
22
  themeToken,
23
23
  useEmbeddedThemeCLI,
24
24
  useThemebundling
25
- } from "./chunk-SWJYETLD.js";
25
+ } from "./chunk-B4S5OTYL.js";
26
26
  import "./chunk-CQGOPQQH.js";
27
27
  import "./chunk-SNOECVP4.js";
28
28
  import "./chunk-522OB3EU.js";
@@ -58,4 +58,4 @@ export {
58
58
  useEmbeddedThemeCLI,
59
59
  useThemebundling
60
60
  };
61
- //# sourceMappingURL=local-BWALDEYA.js.map
61
+ //# sourceMappingURL=local-4TKV7SXN.js.map
@@ -28,8 +28,8 @@ import {
28
28
  versionSatisfies,
29
29
  writePackageJSON,
30
30
  yarnLockfile
31
- } from "./chunk-XY5EMAOX.js";
32
- import "./chunk-SWJYETLD.js";
31
+ } from "./chunk-3KRAGAYN.js";
32
+ import "./chunk-B4S5OTYL.js";
33
33
  import "./chunk-CQGOPQQH.js";
34
34
  import "./chunk-SNOECVP4.js";
35
35
  import "./chunk-522OB3EU.js";
@@ -71,4 +71,4 @@ export {
71
71
  writePackageJSON,
72
72
  yarnLockfile
73
73
  };
74
- //# sourceMappingURL=node-package-manager-UWKPZZ3A.js.map
74
+ //# sourceMappingURL=node-package-manager-TN6TFHA5.js.map
@@ -17,7 +17,7 @@ import {
17
17
  renderText,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-SWJYETLD.js";
20
+ } from "./chunk-B4S5OTYL.js";
21
21
  import "./chunk-CQGOPQQH.js";
22
22
  import "./chunk-SNOECVP4.js";
23
23
  import "./chunk-522OB3EU.js";
@@ -48,4 +48,4 @@ export {
48
48
  renderTextPrompt,
49
49
  renderWarning
50
50
  };
51
- //# sourceMappingURL=ui-US5TTZHC.js.map
51
+ //# sourceMappingURL=ui-V6ASEPZK.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.71.5"
107
+ "version": "3.72.1"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.71.5",
3
+ "version": "3.72.1",
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.19.8"
48
48
  },
49
49
  "devDependencies": {
50
- "@shopify/cli-kit": "3.71.5",
51
- "@shopify/app": "3.71.5",
50
+ "@shopify/cli-kit": "3.72.1",
51
+ "@shopify/app": "3.72.1",
52
52
  "@types/node": "18.19.3",
53
53
  "esbuild-plugin-copy": "^2.1.1",
54
54
  "@vitest/coverage-istanbul": "^1.6.0"