@shopify/create-app 3.78.1 → 3.78.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.
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-6MRAQG44.js";
4
+ } from "./chunk-KNEC3BRF.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-YKOYLUBN.js";
8
+ } from "./chunk-PS6NFRCK.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-DLSEULVM.js";
11
+ } from "./chunk-WHWAKQQY.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-PIO22A2A.js";
26
+ } from "./chunk-NT557SK2.js";
27
27
  import {
28
28
  require_lib
29
29
  } from "./chunk-S3QEOIDU.js";
@@ -2133,4 +2133,4 @@ export {
2133
2133
  registerCleanBugsnagErrorsFromWithinPlugins,
2134
2134
  addBugsnagMetadata
2135
2135
  };
2136
- //# sourceMappingURL=chunk-BYEWWOVM.js.map
2136
+ //# sourceMappingURL=chunk-EQR72MUQ.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CLI_KIT_VERSION,
3
3
  z
4
- } from "./chunk-YKOYLUBN.js";
4
+ } from "./chunk-PS6NFRCK.js";
5
5
  import {
6
6
  cacheRetrieve,
7
7
  cacheStore,
8
8
  versionSatisfies
9
- } from "./chunk-DLSEULVM.js";
9
+ } from "./chunk-WHWAKQQY.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-PIO22A2A.js";
19
+ } from "./chunk-NT557SK2.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-EUINVIQB.js");
87
+ let { sendErrorToBugsnag } = await import("./error-handler-M5SCW37U.js");
88
88
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
89
89
  }
90
90
  }
@@ -173,4 +173,4 @@ export {
173
173
  showNotificationsIfNeeded,
174
174
  fetchNotificationsInBackground
175
175
  };
176
- //# sourceMappingURL=chunk-RLKXROME.js.map
176
+ //# sourceMappingURL=chunk-HYAKRM37.js.map
@@ -4,10 +4,10 @@ import {
4
4
  getEnvironmentData,
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData
7
- } from "./chunk-YKOYLUBN.js";
7
+ } from "./chunk-PS6NFRCK.js";
8
8
  import {
9
9
  runWithRateLimit
10
- } from "./chunk-DLSEULVM.js";
10
+ } from "./chunk-WHWAKQQY.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-PIO22A2A.js";
27
+ } from "./chunk-NT557SK2.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-6MRAQG44.js.map
15929
+ //# sourceMappingURL=chunk-KNEC3BRF.js.map
@@ -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-EUINVIQB.js");
22458
+ let { sendErrorToBugsnag } = await import("./error-handler-M5SCW37U.js");
22459
22459
  await sendErrorToBugsnag(error, "unexpected_error");
22460
22460
  }
22461
22461
  }, durationStack = [];
@@ -31709,4 +31709,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31709
31709
  * LICENSE file in the root directory of this source tree.
31710
31710
  *)
31711
31711
  */
31712
- //# sourceMappingURL=chunk-PIO22A2A.js.map
31712
+ //# sourceMappingURL=chunk-NT557SK2.js.map
@@ -9,7 +9,7 @@ import {
9
9
  packageManagerFromUserAgent,
10
10
  removeSession,
11
11
  setSession
12
- } from "./chunk-DLSEULVM.js";
12
+ } from "./chunk-WHWAKQQY.js";
13
13
  import {
14
14
  AbortError,
15
15
  BugError,
@@ -49,7 +49,7 @@ import {
49
49
  sleep,
50
50
  spinFqdn,
51
51
  themeToken
52
- } from "./chunk-PIO22A2A.js";
52
+ } from "./chunk-NT557SK2.js";
53
53
  import {
54
54
  cwd
55
55
  } from "./chunk-ZUCWDIGE.js";
@@ -26951,7 +26951,7 @@ var require_form_data = __commonJS({
26951
26951
 
26952
26952
  // ../cli-kit/dist/public/common/version.js
26953
26953
  init_cjs_shims();
26954
- var CLI_KIT_VERSION = "3.78.1";
26954
+ var CLI_KIT_VERSION = "3.78.2";
26955
26955
 
26956
26956
  // ../cli-kit/dist/private/node/analytics.js
26957
26957
  init_cjs_shims();
@@ -30966,7 +30966,7 @@ async function normalizeStoreFqdn(store2) {
30966
30966
 
30967
30967
  // ../cli-kit/dist/public/node/http.js
30968
30968
  init_cjs_shims();
30969
- var import_form_data = __toESM(require_form_data());
30969
+ var import_form_data = __toESM(require_form_data(), 1);
30970
30970
 
30971
30971
  // ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
30972
30972
  init_cjs_shims();
@@ -32535,4 +32535,4 @@ mime-types/index.js:
32535
32535
  * MIT Licensed
32536
32536
  *)
32537
32537
  */
32538
- //# sourceMappingURL=chunk-YKOYLUBN.js.map
32538
+ //# sourceMappingURL=chunk-PS6NFRCK.js.map
@@ -18,7 +18,7 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-PIO22A2A.js";
21
+ } from "./chunk-NT557SK2.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-DLSEULVM.js.map
14834
+ //# sourceMappingURL=chunk-WHWAKQQY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-PIO22A2A.js";
4
+ } from "./chunk-NT557SK2.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-RG432YHP.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-4XA4AN34.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-BYEWWOVM.js";
8
- import "./chunk-6MRAQG44.js";
9
- import "./chunk-YKOYLUBN.js";
7
+ } from "./chunk-EQR72MUQ.js";
8
+ import "./chunk-KNEC3BRF.js";
9
+ import "./chunk-PS6NFRCK.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-DLSEULVM.js";
12
- import "./chunk-PIO22A2A.js";
11
+ import "./chunk-WHWAKQQY.js";
12
+ import "./chunk-NT557SK2.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-EUINVIQB.js.map
31
+ //# sourceMappingURL=error-handler-M5SCW37U.js.map
@@ -3,16 +3,16 @@ import {
3
3
  } from "../chunk-CP3BRHWK.js";
4
4
  import {
5
5
  reportAnalyticsEvent
6
- } from "../chunk-6MRAQG44.js";
7
- import "../chunk-YKOYLUBN.js";
6
+ } from "../chunk-KNEC3BRF.js";
7
+ import "../chunk-PS6NFRCK.js";
8
8
  import "../chunk-25IMI7TH.js";
9
- import "../chunk-DLSEULVM.js";
9
+ import "../chunk-WHWAKQQY.js";
10
10
  import {
11
11
  addSensitiveMetadata,
12
12
  getAllSensitiveMetadata,
13
13
  outputDebug,
14
14
  renderWarning
15
- } from "../chunk-PIO22A2A.js";
15
+ } from "../chunk-NT557SK2.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-RLKXROME.js";
3
+ } from "../chunk-HYAKRM37.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-YKOYLUBN.js";
7
+ } from "../chunk-PS6NFRCK.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-DLSEULVM.js";
14
+ } from "../chunk-WHWAKQQY.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-PIO22A2A.js";
22
+ } from "../chunk-NT557SK2.js";
23
23
  import "../chunk-S3QEOIDU.js";
24
24
  import "../chunk-3I3GQNEW.js";
25
25
  import "../chunk-ZUCWDIGE.js";
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-BYEWWOVM.js";
15
+ } from "./chunk-EQR72MUQ.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-6MRAQG44.js";
24
+ } from "./chunk-KNEC3BRF.js";
25
25
  import {
26
26
  setCurrentCommandId,
27
27
  showNotificationsIfNeeded
28
- } from "./chunk-RLKXROME.js";
28
+ } from "./chunk-HYAKRM37.js";
29
29
  import {
30
30
  CLI_KIT_VERSION,
31
31
  ClientError,
@@ -61,7 +61,7 @@ import {
61
61
  setLastSeenUserIdAfterAuth,
62
62
  shopifyFetch,
63
63
  z
64
- } from "./chunk-YKOYLUBN.js";
64
+ } from "./chunk-PS6NFRCK.js";
65
65
  import "./chunk-25IMI7TH.js";
66
66
  import {
67
67
  LocalStorage,
@@ -85,7 +85,7 @@ import {
85
85
  usesWorkspaces,
86
86
  versionSatisfies,
87
87
  writePackageJSON
88
- } from "./chunk-DLSEULVM.js";
88
+ } from "./chunk-WHWAKQQY.js";
89
89
  import {
90
90
  AbortController as AbortController2,
91
91
  AbortError,
@@ -283,7 +283,7 @@ import {
283
283
  username,
284
284
  writeFile,
285
285
  writeFileSync
286
- } from "./chunk-PIO22A2A.js";
286
+ } from "./chunk-NT557SK2.js";
287
287
  import {
288
288
  require_brace_expansion,
289
289
  require_lib as require_lib2
@@ -186130,7 +186130,7 @@ Extension point targets must be unique`), errors.length ? (errors.push(`Please c
186130
186130
  }
186131
186131
  function isRemoteDomExtension(config2) {
186132
186132
  let apiVersion = config2.api_version, [year, month] = apiVersion?.split("-").map((part) => parseInt(part, 10)) ?? [];
186133
- return !year || !month ? !1 : year > 2025 || year === 2025 && month >= 7;
186133
+ return !year || !month ? !1 : year > 2025 || year === 2025 && month >= 10;
186134
186134
  }
186135
186135
  function getShouldRenderTarget(target) {
186136
186136
  return target.replace(/\.render$/, ".should-render");
@@ -194556,8 +194556,8 @@ function diffAppModules({ currentModules, selectedVersionModules }) {
194556
194556
  async function allowedTemplates(templates2, betaFlagsFetcher) {
194557
194557
  let allBetaFlags = Array.from(new Set(templates2.map((ext) => ext.organizationBetaFlags ?? []).flat())), enabledBetaFlags = await betaFlagsFetcher(allBetaFlags);
194558
194558
  return templates2.filter((ext) => {
194559
- let hasAnyNeededBetas = !ext.organizationBetaFlags || ext.organizationBetaFlags.every((flag) => enabledBetaFlags[flag]), satisfiesMinCliVersion = !ext.minimumCliVersion || versionSatisfies(CLI_KIT_VERSION, `>=${ext.minimumCliVersion}`);
194560
- return hasAnyNeededBetas && satisfiesMinCliVersion;
194559
+ let hasAnyNeededBetas = !ext.organizationBetaFlags || ext.organizationBetaFlags.every((flag) => enabledBetaFlags[flag]), satisfiesMinCliVersion = !ext.minimumCliVersion || versionSatisfies(CLI_KIT_VERSION, `>=${ext.minimumCliVersion}`), satisfiesDeprecatedFromCliVersion = !ext.deprecatedFromCliVersion || versionSatisfies(CLI_KIT_VERSION, `<${ext.deprecatedFromCliVersion}`);
194560
+ return hasAnyNeededBetas && satisfiesMinCliVersion && satisfiesDeprecatedFromCliVersion;
194561
194561
  });
194562
194562
  }
194563
194563
  function experience(identifier) {
@@ -196155,7 +196155,7 @@ init_cjs_shims();
196155
196155
  init_cjs_shims();
196156
196156
  import { fileURLToPath as fileURLToPath2 } from "node:url";
196157
196157
  async function launchCLI(options2) {
196158
- let { errorHandler: errorHandler3 } = await import("./error-handler-EUINVIQB.js"), { isDevelopment: isDevelopment2 } = await import("./local-27FRXTZP.js"), oclif = await import("./lib-GSZAN7VA.js"), { ShopifyConfig } = await import("./custom-oclif-loader-RG432YHP.js");
196158
+ let { errorHandler: errorHandler3 } = await import("./error-handler-M5SCW37U.js"), { isDevelopment: isDevelopment2 } = await import("./local-ZUDPXH3G.js"), oclif = await import("./lib-GSZAN7VA.js"), { ShopifyConfig } = await import("./custom-oclif-loader-4XA4AN34.js");
196159
196159
  isDevelopment2() && (oclif.default.settings.debug = !0);
196160
196160
  try {
196161
196161
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options2.moduleURL) });
@@ -196170,7 +196170,7 @@ var import_core3 = __toESM(require_lib2());
196170
196170
  async function exitIfOldNodeVersion(versions2 = process.versions) {
196171
196171
  let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
196172
196172
  if (nodeMajorVersion < 18) {
196173
- let { renderError: renderError2 } = await import("./ui-VPNTET27.js");
196173
+ let { renderError: renderError2 } = await import("./ui-FBSFOBFT.js");
196174
196174
  renderError2({
196175
196175
  headline: "Upgrade to a supported Node version now.",
196176
196176
  body: [
@@ -196197,7 +196197,7 @@ async function runCLI(options2, launchCLI2 = launchCLI, argv = process.argv, env
196197
196197
  return setupEnvironmentVariables(options2, argv, env), options2.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options2, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options2.moduleURL });
196198
196198
  }
196199
196199
  async function addInitToArgvWhenRunningCreateCLI(options2, argv = process.argv) {
196200
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-C5QIQFCM.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-GWAZZN2N.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
196200
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-FFT43K5J.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-GWAZZN2N.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
196201
196201
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
196202
196202
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
196203
196203
  argv.splice(initIndex2, 0, "init");
@@ -23,7 +23,7 @@ import {
23
23
  themeToken,
24
24
  useEmbeddedThemeCLI,
25
25
  useThemebundling
26
- } from "./chunk-PIO22A2A.js";
26
+ } from "./chunk-NT557SK2.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-27FRXTZP.js.map
63
+ //# sourceMappingURL=local-ZUDPXH3G.js.map
@@ -29,8 +29,8 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-DLSEULVM.js";
33
- import "./chunk-PIO22A2A.js";
32
+ } from "./chunk-WHWAKQQY.js";
33
+ import "./chunk-NT557SK2.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-C5QIQFCM.js.map
76
+ //# sourceMappingURL=node-package-manager-FFT43K5J.js.map
@@ -17,7 +17,7 @@ import {
17
17
  renderText,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-PIO22A2A.js";
20
+ } from "./chunk-NT557SK2.js";
21
21
  import "./chunk-S3QEOIDU.js";
22
22
  import "./chunk-3I3GQNEW.js";
23
23
  import "./chunk-ZUCWDIGE.js";
@@ -48,4 +48,4 @@ export {
48
48
  renderTextPrompt,
49
49
  renderWarning
50
50
  };
51
- //# sourceMappingURL=ui-VPNTET27.js.map
51
+ //# sourceMappingURL=ui-FBSFOBFT.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.78.1"
107
+ "version": "3.78.2"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.78.1",
3
+ "version": "3.78.2",
4
4
  "packageManager": "pnpm@8.15.7",
5
5
  "private": false,
6
6
  "description": "A CLI tool to create a new Shopify app.",
@@ -48,8 +48,8 @@
48
48
  "esbuild": "0.24.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@shopify/cli-kit": "3.78.1",
52
- "@shopify/app": "3.78.1",
51
+ "@shopify/cli-kit": "3.78.2",
52
+ "@shopify/app": "3.78.2",
53
53
  "esbuild-plugin-copy": "^2.1.1",
54
54
  "@vitest/coverage-istanbul": "^1.6.0"
55
55
  },