@shopify/create-app 3.73.0 → 3.73.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.
@@ -12,7 +12,7 @@ import {
12
12
  removeSession,
13
13
  setCachedPartnerAccountStatus,
14
14
  setSession
15
- } from "./chunk-FCVEYEXQ.js";
15
+ } from "./chunk-5ICBOSRB.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-32ADIPRM.js";
52
+ } from "./chunk-EB3W4HCZ.js";
53
53
  import {
54
54
  cwd,
55
55
  sniffForJson
@@ -29366,7 +29366,7 @@ var require_lib3 = __commonJS({
29366
29366
 
29367
29367
  // ../cli-kit/dist/public/common/version.js
29368
29368
  init_cjs_shims();
29369
- var CLI_KIT_VERSION = "3.73.0";
29369
+ var CLI_KIT_VERSION = "3.73.1";
29370
29370
 
29371
29371
  // ../cli-kit/dist/private/node/analytics.js
29372
29372
  init_cjs_shims();
@@ -32933,7 +32933,7 @@ ${result.sanitizedHeaders}
32933
32933
  }
32934
32934
 
32935
32935
  // ../cli-kit/dist/public/node/http.js
32936
- var import_form_data2 = __toESM(require_form_data2(), 1);
32936
+ var import_form_data2 = __toESM(require_form_data2());
32937
32937
 
32938
32938
  // ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
32939
32939
  init_cjs_shims();
@@ -34904,4 +34904,4 @@ mime-types/index.js:
34904
34904
  * MIT Licensed
34905
34905
  *)
34906
34906
  */
34907
- //# sourceMappingURL=chunk-ESJZHEJV.js.map
34907
+ //# sourceMappingURL=chunk-3HBTLKMG.js.map
@@ -18,7 +18,7 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-32ADIPRM.js";
21
+ } from "./chunk-EB3W4HCZ.js";
22
22
  import {
23
23
  dirname,
24
24
  joinPath
@@ -15356,4 +15356,4 @@ deep-extend/lib/deep-extend.js:
15356
15356
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15357
15357
  *)
15358
15358
  */
15359
- //# sourceMappingURL=chunk-FCVEYEXQ.js.map
15359
+ //# sourceMappingURL=chunk-5ICBOSRB.js.map
@@ -5,10 +5,10 @@ import {
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData,
7
7
  requestIdsCollection
8
- } from "./chunk-ESJZHEJV.js";
8
+ } from "./chunk-3HBTLKMG.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-FCVEYEXQ.js";
11
+ } from "./chunk-5ICBOSRB.js";
12
12
  import {
13
13
  alwaysLogAnalytics,
14
14
  alwaysLogMetrics,
@@ -25,7 +25,7 @@ import {
25
25
  outputDebug,
26
26
  outputToken,
27
27
  reportingRateLimit
28
- } from "./chunk-32ADIPRM.js";
28
+ } from "./chunk-EB3W4HCZ.js";
29
29
  import {
30
30
  __commonJS,
31
31
  __require,
@@ -15739,4 +15739,4 @@ export {
15739
15739
  getListOfTunnelPlugins,
15740
15740
  reportAnalyticsEvent
15741
15741
  };
15742
- //# sourceMappingURL=chunk-PGIQSURY.js.map
15742
+ //# sourceMappingURL=chunk-AAHIKFN5.js.map
@@ -22468,7 +22468,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
22468
22468
  try {
22469
22469
  await getAndSet();
22470
22470
  } catch (error) {
22471
- let { sendErrorToBugsnag } = await import("./error-handler-5R6VHH3O.js");
22471
+ let { sendErrorToBugsnag } = await import("./error-handler-5YP7AEGG.js");
22472
22472
  await sendErrorToBugsnag(error, "unexpected_error");
22473
22473
  }
22474
22474
  }, durationStack = [];
@@ -28026,7 +28026,7 @@ init_cjs_shims();
28026
28026
 
28027
28027
  // ../cli-kit/dist/public/common/function.js
28028
28028
  init_cjs_shims();
28029
- var import_memoize = __toESM(require_memoize(), 1), import_debounce = __toESM(require_debounce(), 1);
28029
+ var import_memoize = __toESM(require_memoize()), import_debounce = __toESM(require_debounce());
28030
28030
  function debounce(func, wait, options) {
28031
28031
  return (0, import_debounce.default)(func, wait, options);
28032
28032
  }
@@ -28206,7 +28206,7 @@ This usually happens when running a command non-interactively, for example in a
28206
28206
  }
28207
28207
 
28208
28208
  // ../cli-kit/dist/public/node/error.js
28209
- var import_core = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1), FatalErrorType;
28209
+ var import_core = __toESM(require_lib()), import_ts_error = __toESM(require_cjs()), FatalErrorType;
28210
28210
  (function(FatalErrorType2) {
28211
28211
  FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
28212
28212
  })(FatalErrorType || (FatalErrorType = {}));
@@ -31487,4 +31487,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31487
31487
  * LICENSE file in the root directory of this source tree.
31488
31488
  *)
31489
31489
  */
31490
- //# sourceMappingURL=chunk-32ADIPRM.js.map
31490
+ //# sourceMappingURL=chunk-EB3W4HCZ.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-FCVEYEXQ.js";
3
+ } from "./chunk-5ICBOSRB.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-32ADIPRM.js";
9
+ } from "./chunk-EB3W4HCZ.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -24,4 +24,4 @@ function getOutputUpdateCLIReminder(version) {
24
24
  export {
25
25
  getOutputUpdateCLIReminder
26
26
  };
27
- //# sourceMappingURL=chunk-SXEU7RMP.js.map
27
+ //# sourceMappingURL=chunk-I2IKEWDQ.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-PGIQSURY.js";
4
+ } from "./chunk-AAHIKFN5.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-ESJZHEJV.js";
8
+ } from "./chunk-3HBTLKMG.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-FCVEYEXQ.js";
11
+ } from "./chunk-5ICBOSRB.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-32ADIPRM.js";
26
+ } from "./chunk-EB3W4HCZ.js";
27
27
  import {
28
28
  require_lib
29
29
  } from "./chunk-BOBYVF6Z.js";
@@ -2111,4 +2111,4 @@ export {
2111
2111
  registerCleanBugsnagErrorsFromWithinPlugins,
2112
2112
  addBugsnagMetadata
2113
2113
  };
2114
- //# sourceMappingURL=chunk-2KUKSPXE.js.map
2114
+ //# sourceMappingURL=chunk-WQCDIZKW.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-32ADIPRM.js";
4
+ } from "./chunk-EB3W4HCZ.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-BOBYVF6Z.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-XEKDTAWW.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-Q4J4YZBZ.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-2KUKSPXE.js";
8
- import "./chunk-PGIQSURY.js";
9
- import "./chunk-ESJZHEJV.js";
7
+ } from "./chunk-WQCDIZKW.js";
8
+ import "./chunk-AAHIKFN5.js";
9
+ import "./chunk-3HBTLKMG.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-FCVEYEXQ.js";
12
- import "./chunk-32ADIPRM.js";
11
+ import "./chunk-5ICBOSRB.js";
12
+ import "./chunk-EB3W4HCZ.js";
13
13
  import "./chunk-BOBYVF6Z.js";
14
14
  import "./chunk-OAZFIMJ3.js";
15
15
  import "./chunk-CFIKVUNW.js";
@@ -28,4 +28,4 @@ export {
28
28
  registerCleanBugsnagErrorsFromWithinPlugins,
29
29
  sendErrorToBugsnag
30
30
  };
31
- //# sourceMappingURL=error-handler-5R6VHH3O.js.map
31
+ //# sourceMappingURL=error-handler-5YP7AEGG.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-PGIQSURY.js";
3
+ } from "../chunk-AAHIKFN5.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-ESJZHEJV.js";
6
+ } from "../chunk-3HBTLKMG.js";
7
7
  import "../chunk-25IMI7TH.js";
8
- import "../chunk-FCVEYEXQ.js";
8
+ import "../chunk-5ICBOSRB.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-32ADIPRM.js";
14
+ } from "../chunk-EB3W4HCZ.js";
15
15
  import "../chunk-BOBYVF6Z.js";
16
16
  import "../chunk-OAZFIMJ3.js";
17
17
  import "../chunk-CFIKVUNW.js";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  getOutputUpdateCLIReminder
3
- } from "../chunk-SXEU7RMP.js";
3
+ } from "../chunk-I2IKEWDQ.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-ESJZHEJV.js";
7
+ } from "../chunk-3HBTLKMG.js";
8
8
  import "../chunk-25IMI7TH.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  runAtMinimumInterval
13
- } from "../chunk-FCVEYEXQ.js";
13
+ } from "../chunk-5ICBOSRB.js";
14
14
  import {
15
15
  outputDebug,
16
16
  outputWarn
17
- } from "../chunk-32ADIPRM.js";
17
+ } from "../chunk-EB3W4HCZ.js";
18
18
  import "../chunk-BOBYVF6Z.js";
19
19
  import "../chunk-OAZFIMJ3.js";
20
20
  import "../chunk-CFIKVUNW.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-2KUKSPXE.js";
11
+ } from "./chunk-WQCDIZKW.js";
12
12
  import {
13
13
  fanoutHooks,
14
14
  getListOfTunnelPlugins,
15
15
  reportAnalyticsEvent
16
- } from "./chunk-PGIQSURY.js";
16
+ } from "./chunk-AAHIKFN5.js";
17
17
  import {
18
18
  getOutputUpdateCLIReminder
19
- } from "./chunk-SXEU7RMP.js";
19
+ } from "./chunk-I2IKEWDQ.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-ESJZHEJV.js";
64
+ } from "./chunk-3HBTLKMG.js";
65
65
  import "./chunk-25IMI7TH.js";
66
66
  import {
67
67
  LocalStorage,
@@ -87,7 +87,7 @@ import {
87
87
  usesWorkspaces,
88
88
  versionSatisfies,
89
89
  writePackageJSON
90
- } from "./chunk-FCVEYEXQ.js";
90
+ } from "./chunk-5ICBOSRB.js";
91
91
  import {
92
92
  AbortController as AbortController2,
93
93
  AbortError,
@@ -262,7 +262,7 @@ import {
262
262
  use_stdin_default,
263
263
  writeFile,
264
264
  writeFileSync
265
- } from "./chunk-32ADIPRM.js";
265
+ } from "./chunk-EB3W4HCZ.js";
266
266
  import {
267
267
  require_brace_expansion,
268
268
  require_lib
@@ -142466,7 +142466,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
142466
142466
  throw new AbortSilentError();
142467
142467
  let errorMessage2 = `Error retrieving notifications: ${error.message}`;
142468
142468
  outputDebug(errorMessage2);
142469
- let { sendErrorToBugsnag } = await import("./error-handler-5R6VHH3O.js");
142469
+ let { sendErrorToBugsnag } = await import("./error-handler-5YP7AEGG.js");
142470
142470
  await sendErrorToBugsnag(errorMessage2, "unexpected_error");
142471
142471
  }
142472
142472
  }
@@ -144969,6 +144969,10 @@ var CREDIT_CARD_TARGET = "payments.credit-card.render", MAX_CHECKOUT_PAYMENT_MET
144969
144969
  targeting: z.array(z.object({ target: z.literal(CREDIT_CARD_TARGET) })).length(1),
144970
144970
  verification_session_url: z.string().url().optional(),
144971
144971
  ui_extension_handle: z.string().optional(),
144972
+ supports_moto: z.boolean({
144973
+ required_error: "supports_moto is required",
144974
+ invalid_type_error: "Value must be Boolean"
144975
+ }),
144972
144976
  encryption_certificate_fingerprint: z.string().min(1, { message: "Encryption certificate fingerprint can't be blank" }),
144973
144977
  checkout_payment_method_fields: z.array(z.object({
144974
144978
  type: z.union([z.literal("string"), z.literal("number"), z.literal("boolean")]),
@@ -144997,6 +145001,7 @@ function creditCardDeployConfigToCLIConfig(config2, allExtensions) {
144997
145001
  supported_buyer_contexts: config2.supported_buyer_contexts,
144998
145002
  test_mode_available: config2.test_mode_available,
144999
145003
  supports_3ds: config2.supports_3ds,
145004
+ supports_moto: config2.supports_moto,
145000
145005
  supports_deferred_payments: config2.supports_deferred_payments,
145001
145006
  supports_installments: config2.supports_installments,
145002
145007
  verification_session_url: config2.start_verification_session_url,
@@ -145020,6 +145025,7 @@ async function creditCardPaymentsAppExtensionDeployConfig(config2) {
145020
145025
  supported_buyer_contexts: config2.supported_buyer_contexts,
145021
145026
  test_mode_available: config2.test_mode_available,
145022
145027
  supports_3ds: config2.supports_3ds,
145028
+ supports_moto: config2.supports_moto,
145023
145029
  supports_deferred_payments: config2.supports_deferred_payments,
145024
145030
  encryption_certificate_fingerprint: config2.encryption_certificate_fingerprint,
145025
145031
  supports_installments: config2.supports_installments,
@@ -151686,7 +151692,7 @@ init_cjs_shims();
151686
151692
  init_cjs_shims();
151687
151693
  import { fileURLToPath as fileURLToPath2 } from "node:url";
151688
151694
  async function launchCLI(options) {
151689
- let { errorHandler: errorHandler2 } = await import("./error-handler-5R6VHH3O.js"), { isDevelopment: isDevelopment2 } = await import("./local-RZ6SWPQL.js"), oclif = await import("./lib-CKTRCGTR.js"), { ShopifyConfig } = await import("./custom-oclif-loader-XEKDTAWW.js");
151695
+ let { errorHandler: errorHandler2 } = await import("./error-handler-5YP7AEGG.js"), { isDevelopment: isDevelopment2 } = await import("./local-XKYHPSLO.js"), oclif = await import("./lib-CKTRCGTR.js"), { ShopifyConfig } = await import("./custom-oclif-loader-Q4J4YZBZ.js");
151690
151696
  isDevelopment2() && (oclif.default.settings.debug = !0);
151691
151697
  try {
151692
151698
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
@@ -151701,7 +151707,7 @@ var import_core3 = __toESM(require_lib());
151701
151707
  async function warnIfOldNodeVersion(versions2 = process.versions) {
151702
151708
  let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
151703
151709
  if (nodeMajorVersion < 18) {
151704
- let { renderWarning: renderWarning2 } = await import("./ui-AIFW6J5L.js");
151710
+ let { renderWarning: renderWarning2 } = await import("./ui-WWXKR25G.js");
151705
151711
  renderWarning2({
151706
151712
  headline: "Upgrade to a supported Node version now.",
151707
151713
  body: [
@@ -151728,7 +151734,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
151728
151734
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await warnIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL });
151729
151735
  }
151730
151736
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
151731
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-ZXZ6WUOK.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-AAVNXP24.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
151737
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-HVOORAS5.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-AAVNXP24.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
151732
151738
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
151733
151739
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
151734
151740
  argv.splice(initIndex2, 0, "init");
@@ -22,7 +22,7 @@ import {
22
22
  themeToken,
23
23
  useEmbeddedThemeCLI,
24
24
  useThemebundling
25
- } from "./chunk-32ADIPRM.js";
25
+ } from "./chunk-EB3W4HCZ.js";
26
26
  import "./chunk-BOBYVF6Z.js";
27
27
  import "./chunk-OAZFIMJ3.js";
28
28
  import "./chunk-CFIKVUNW.js";
@@ -58,4 +58,4 @@ export {
58
58
  useEmbeddedThemeCLI,
59
59
  useThemebundling
60
60
  };
61
- //# sourceMappingURL=local-RZ6SWPQL.js.map
61
+ //# sourceMappingURL=local-XKYHPSLO.js.map
@@ -29,8 +29,8 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-FCVEYEXQ.js";
33
- import "./chunk-32ADIPRM.js";
32
+ } from "./chunk-5ICBOSRB.js";
33
+ import "./chunk-EB3W4HCZ.js";
34
34
  import "./chunk-BOBYVF6Z.js";
35
35
  import "./chunk-OAZFIMJ3.js";
36
36
  import "./chunk-CFIKVUNW.js";
@@ -73,4 +73,4 @@ export {
73
73
  writePackageJSON,
74
74
  yarnLockfile
75
75
  };
76
- //# sourceMappingURL=node-package-manager-ZXZ6WUOK.js.map
76
+ //# sourceMappingURL=node-package-manager-HVOORAS5.js.map
@@ -17,7 +17,7 @@ import {
17
17
  renderText,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-32ADIPRM.js";
20
+ } from "./chunk-EB3W4HCZ.js";
21
21
  import "./chunk-BOBYVF6Z.js";
22
22
  import "./chunk-OAZFIMJ3.js";
23
23
  import "./chunk-CFIKVUNW.js";
@@ -48,4 +48,4 @@ export {
48
48
  renderTextPrompt,
49
49
  renderWarning
50
50
  };
51
- //# sourceMappingURL=ui-AIFW6J5L.js.map
51
+ //# sourceMappingURL=ui-WWXKR25G.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.73.0"
107
+ "version": "3.73.1"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.73.0",
3
+ "version": "3.73.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.24.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@shopify/cli-kit": "3.73.0",
51
- "@shopify/app": "3.73.0",
50
+ "@shopify/cli-kit": "3.73.1",
51
+ "@shopify/app": "3.73.1",
52
52
  "@types/node": "18.19.3",
53
53
  "esbuild-plugin-copy": "^2.1.1",
54
54
  "@vitest/coverage-istanbul": "^1.6.0"