@shopify/create-app 3.80.0 → 3.80.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.
@@ -2,12 +2,12 @@ import {
2
2
  CLI_KIT_VERSION,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-CVMOVSIB.js";
5
+ } from "./chunk-IKCTE3XD.js";
6
6
  import {
7
7
  cacheRetrieve,
8
8
  cacheStore,
9
9
  versionSatisfies
10
- } from "./chunk-MJT2RCS3.js";
10
+ } from "./chunk-JYLKKAQB.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-CAGO7XJB.js";
19
+ } from "./chunk-VVG53QBQ.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-7T2LK45I.js");
87
+ let { sendErrorToBugsnag } = await import("./error-handler-IZWRBHEL.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-E7FQPEOZ.js.map
177
+ //# sourceMappingURL=chunk-3O26NP2I.js.map
@@ -4,10 +4,10 @@ import {
4
4
  getEnvironmentData,
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData
7
- } from "./chunk-CVMOVSIB.js";
7
+ } from "./chunk-IKCTE3XD.js";
8
8
  import {
9
9
  runWithRateLimit
10
- } from "./chunk-MJT2RCS3.js";
10
+ } from "./chunk-JYLKKAQB.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-CAGO7XJB.js";
27
+ } from "./chunk-VVG53QBQ.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-ABZFL5NQ.js.map
15929
+ //# sourceMappingURL=chunk-IJGCYDXR.js.map
@@ -9,7 +9,7 @@ import {
9
9
  packageManagerFromUserAgent,
10
10
  removeSession,
11
11
  setSession
12
- } from "./chunk-MJT2RCS3.js";
12
+ } from "./chunk-JYLKKAQB.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-CAGO7XJB.js";
48
+ } from "./chunk-VVG53QBQ.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.80.0";
26951
+ var CLI_KIT_VERSION = "3.80.1";
26952
26952
 
26953
26953
  // ../cli-kit/dist/private/node/analytics.js
26954
26954
  init_cjs_shims();
@@ -30961,6 +30961,17 @@ async function partnersFqdn() {
30961
30961
  return productionFqdn;
30962
30962
  }
30963
30963
  }
30964
+ async function adminFqdn() {
30965
+ let environment = serviceEnvironment(), productionFqdn = "admin.shopify.com";
30966
+ switch (environment) {
30967
+ case "local":
30968
+ return new DevServerCore().host("admin");
30969
+ case "spin":
30970
+ return `admin.shopify.${await spinFqdn()}`;
30971
+ default:
30972
+ return productionFqdn;
30973
+ }
30974
+ }
30964
30975
  async function appManagementFqdn() {
30965
30976
  let environment = serviceEnvironment(), productionFqdn = "app.shopify.com";
30966
30977
  switch (environment) {
@@ -31029,7 +31040,7 @@ async function normalizeStoreFqdn(store2) {
31029
31040
 
31030
31041
  // ../cli-kit/dist/public/node/http.js
31031
31042
  init_cjs_shims();
31032
- var import_form_data = __toESM(require_form_data());
31043
+ var import_form_data = __toESM(require_form_data(), 1);
31033
31044
 
31034
31045
  // ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
31035
31046
  init_cjs_shims();
@@ -32583,6 +32594,7 @@ export {
32583
32594
  shopifyFetch,
32584
32595
  z,
32585
32596
  partnersFqdn,
32597
+ adminFqdn,
32586
32598
  appManagementFqdn,
32587
32599
  appDevFqdn,
32588
32600
  developerDashboardFqdn,
@@ -32620,4 +32632,4 @@ mime-types/index.js:
32620
32632
  * MIT Licensed
32621
32633
  *)
32622
32634
  */
32623
- //# sourceMappingURL=chunk-CVMOVSIB.js.map
32635
+ //# sourceMappingURL=chunk-IKCTE3XD.js.map
@@ -19,7 +19,7 @@ import {
19
19
  require_semver,
20
20
  runWithTimer,
21
21
  writeFile
22
- } from "./chunk-CAGO7XJB.js";
22
+ } from "./chunk-VVG53QBQ.js";
23
23
  import {
24
24
  dirname,
25
25
  joinPath
@@ -13708,4 +13708,4 @@ deep-extend/lib/deep-extend.js:
13708
13708
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13709
13709
  *)
13710
13710
  */
13711
- //# sourceMappingURL=chunk-MJT2RCS3.js.map
13711
+ //# sourceMappingURL=chunk-JYLKKAQB.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-ABZFL5NQ.js";
4
+ } from "./chunk-IJGCYDXR.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-CVMOVSIB.js";
8
+ } from "./chunk-IKCTE3XD.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-MJT2RCS3.js";
11
+ } from "./chunk-JYLKKAQB.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-CAGO7XJB.js";
26
+ } from "./chunk-VVG53QBQ.js";
27
27
  import {
28
28
  require_lib
29
29
  } from "./chunk-3INFDIM3.js";
@@ -2137,4 +2137,4 @@ export {
2137
2137
  registerCleanBugsnagErrorsFromWithinPlugins,
2138
2138
  addBugsnagMetadata
2139
2139
  };
2140
- //# sourceMappingURL=chunk-VUMC3Y3I.js.map
2140
+ //# sourceMappingURL=chunk-MJEERJNX.js.map
@@ -23580,7 +23580,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
23580
23580
  try {
23581
23581
  await getAndSet();
23582
23582
  } catch (error) {
23583
- let { sendErrorToBugsnag } = await import("./error-handler-7T2LK45I.js");
23583
+ let { sendErrorToBugsnag } = await import("./error-handler-IZWRBHEL.js");
23584
23584
  await sendErrorToBugsnag(error, "unexpected_error");
23585
23585
  }
23586
23586
  }, durationStack = [];
@@ -28171,7 +28171,7 @@ init_cjs_shims();
28171
28171
 
28172
28172
  // ../cli-kit/dist/public/common/array.js
28173
28173
  init_cjs_shims();
28174
- var import_uniqBy = __toESM(require_uniqBy(), 1), import_difference = __toESM(require_difference(), 1);
28174
+ var import_uniqBy = __toESM(require_uniqBy()), import_difference = __toESM(require_difference());
28175
28175
  function takeRandomFromArray(array) {
28176
28176
  return array[Math.floor(Math.random() * array.length)];
28177
28177
  }
@@ -29197,7 +29197,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
29197
29197
  }
29198
29198
 
29199
29199
  // ../cli-kit/dist/public/node/ui.js
29200
- var import_react55 = __toESM(require_react(), 1), defaultUIDebugOptions = {
29200
+ var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
29201
29201
  skipTTYCheck: !1
29202
29202
  };
29203
29203
  async function renderConcurrent({ renderOptions, ...props }) {
@@ -32789,4 +32789,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32789
32789
  * LICENSE file in the root directory of this source tree.
32790
32790
  *)
32791
32791
  */
32792
- //# sourceMappingURL=chunk-CAGO7XJB.js.map
32792
+ //# sourceMappingURL=chunk-VVG53QBQ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-CAGO7XJB.js";
4
+ } from "./chunk-VVG53QBQ.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-3INFDIM3.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-VPMAYVED.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-IKM6XX3W.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-VUMC3Y3I.js";
8
- import "./chunk-ABZFL5NQ.js";
9
- import "./chunk-CVMOVSIB.js";
7
+ } from "./chunk-MJEERJNX.js";
8
+ import "./chunk-IJGCYDXR.js";
9
+ import "./chunk-IKCTE3XD.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-MJT2RCS3.js";
12
- import "./chunk-CAGO7XJB.js";
11
+ import "./chunk-JYLKKAQB.js";
12
+ import "./chunk-VVG53QBQ.js";
13
13
  import "./chunk-3INFDIM3.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-7T2LK45I.js.map
31
+ //# sourceMappingURL=error-handler-IZWRBHEL.js.map
@@ -3,16 +3,16 @@ import {
3
3
  } from "../chunk-CP3BRHWK.js";
4
4
  import {
5
5
  reportAnalyticsEvent
6
- } from "../chunk-ABZFL5NQ.js";
7
- import "../chunk-CVMOVSIB.js";
6
+ } from "../chunk-IJGCYDXR.js";
7
+ import "../chunk-IKCTE3XD.js";
8
8
  import "../chunk-25IMI7TH.js";
9
- import "../chunk-MJT2RCS3.js";
9
+ import "../chunk-JYLKKAQB.js";
10
10
  import {
11
11
  addSensitiveMetadata,
12
12
  getAllSensitiveMetadata,
13
13
  outputDebug,
14
14
  renderWarning
15
- } from "../chunk-CAGO7XJB.js";
15
+ } from "../chunk-VVG53QBQ.js";
16
16
  import "../chunk-3INFDIM3.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-E7FQPEOZ.js";
3
+ } from "../chunk-3O26NP2I.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-CVMOVSIB.js";
7
+ } from "../chunk-IKCTE3XD.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-MJT2RCS3.js";
14
+ } from "../chunk-JYLKKAQB.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-CAGO7XJB.js";
23
+ } from "../chunk-VVG53QBQ.js";
24
24
  import "../chunk-3INFDIM3.js";
25
25
  import "../chunk-3I3GQNEW.js";
26
26
  import "../chunk-ZUCWDIGE.js";