@shopify/create-app 3.89.0 → 3.90.0

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.
@@ -5,10 +5,10 @@ import {
5
5
  getLastSeenUserIdAfterAuth,
6
6
  isLocalEnvironment,
7
7
  reportAnalyticsEvent
8
- } from "./chunk-2MJWCH3V.js";
8
+ } from "./chunk-2HKUDD5O.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-SDSP6YZX.js";
11
+ } from "./chunk-6J45DHE7.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-OVQTCKQU.js";
26
+ } from "./chunk-RGJ4BXIY.js";
27
27
  import {
28
28
  require_lib
29
29
  } from "./chunk-V7OWCSFT.js";
@@ -2231,4 +2231,4 @@ export {
2231
2231
  registerCleanBugsnagErrorsFromWithinPlugins,
2232
2232
  addBugsnagMetadata
2233
2233
  };
2234
- //# sourceMappingURL=chunk-6MAOIPCN.js.map
2234
+ //# sourceMappingURL=chunk-2DEP3RXL.js.map
@@ -15,7 +15,7 @@ import {
15
15
  setCurrentSessionId,
16
16
  setSessions,
17
17
  timeIntervalToMilliseconds
18
- } from "./chunk-SDSP6YZX.js";
18
+ } from "./chunk-6J45DHE7.js";
19
19
  import {
20
20
  AbortError,
21
21
  BugError,
@@ -92,7 +92,7 @@ import {
92
92
  stringifyMessage,
93
93
  systemEnvironmentVariables,
94
94
  themeToken
95
- } from "./chunk-OVQTCKQU.js";
95
+ } from "./chunk-RGJ4BXIY.js";
96
96
  import {
97
97
  cwd,
98
98
  sniffForJson
@@ -46017,7 +46017,7 @@ var require_lib3 = __commonJS({
46017
46017
 
46018
46018
  // ../cli-kit/dist/public/common/version.js
46019
46019
  init_cjs_shims();
46020
- var CLI_KIT_VERSION = "3.89.0";
46020
+ var CLI_KIT_VERSION = "3.90.0";
46021
46021
 
46022
46022
  // ../cli-kit/dist/public/node/plugins.js
46023
46023
  init_cjs_shims();
@@ -49230,7 +49230,7 @@ function maxRequestTimeForNetworkCallsMs(environment = getEnvironmentVariables()
49230
49230
  }
49231
49231
 
49232
49232
  // ../cli-kit/dist/public/node/http.js
49233
- var import_form_data = __toESM(require_form_data());
49233
+ var import_form_data = __toESM(require_form_data(), 1);
49234
49234
 
49235
49235
  // ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
49236
49236
  init_cjs_shims();
@@ -52133,7 +52133,11 @@ async function pollForDeviceAuthorization(code, interval = 5) {
52133
52133
  currentIntervalInSeconds += 5, startPolling();
52134
52134
  return;
52135
52135
  case "access_denied":
52136
+ reject(new AbortError("Device authorization failed: Access denied."));
52137
+ return;
52136
52138
  case "expired_token":
52139
+ reject(new AbortError("Device authorization failed: Token expired. Please try again."));
52140
+ return;
52137
52141
  case "unknown_failure":
52138
52142
  reject(new Error(`Device authorization failed: ${error}`));
52139
52143
  }
@@ -52497,7 +52501,7 @@ function earliestDateTimeAfter(afterTime, dates) {
52497
52501
  }
52498
52502
 
52499
52503
  // ../cli-kit/dist/public/node/api/partners.js
52500
- var import_bottleneck = __toESM(require_lib3()), limiter = new import_bottleneck.default({
52504
+ var import_bottleneck = __toESM(require_lib3(), 1), limiter = new import_bottleneck.default({
52501
52505
  minTime: 150,
52502
52506
  maxConcurrent: 10
52503
52507
  });
@@ -52869,4 +52873,4 @@ mime-types/index.js:
52869
52873
  * MIT Licensed
52870
52874
  *)
52871
52875
  */
52872
- //# sourceMappingURL=chunk-2MJWCH3V.js.map
52876
+ //# sourceMappingURL=chunk-2HKUDD5O.js.map
@@ -20,7 +20,7 @@ import {
20
20
  runWithTimer,
21
21
  unixFileIsOwnedByCurrentUser,
22
22
  writeFile
23
- } from "./chunk-OVQTCKQU.js";
23
+ } from "./chunk-RGJ4BXIY.js";
24
24
  import {
25
25
  require_semver
26
26
  } from "./chunk-V7OWCSFT.js";
@@ -13996,4 +13996,4 @@ deep-extend/lib/deep-extend.js:
13996
13996
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13997
13997
  *)
13998
13998
  */
13999
- //# sourceMappingURL=chunk-SDSP6YZX.js.map
13999
+ //# sourceMappingURL=chunk-6J45DHE7.js.map
@@ -2,12 +2,12 @@ import {
2
2
  CLI_KIT_VERSION,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-2MJWCH3V.js";
5
+ } from "./chunk-2HKUDD5O.js";
6
6
  import {
7
7
  cacheRetrieve,
8
8
  cacheStore,
9
9
  versionSatisfies
10
- } from "./chunk-SDSP6YZX.js";
10
+ } from "./chunk-6J45DHE7.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-OVQTCKQU.js";
19
+ } from "./chunk-RGJ4BXIY.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-RTPIFBDU.js");
87
+ let { sendErrorToBugsnag } = await import("./error-handler-TTBMK4H6.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-G547J43X.js.map
177
+ //# sourceMappingURL=chunk-7YUNOVUI.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  getNextDeprecationDate,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-2MJWCH3V.js";
4
+ } from "./chunk-2HKUDD5O.js";
5
5
  import {
6
6
  addSensitiveMetadata,
7
7
  getAllSensitiveMetadata,
8
8
  outputDebug,
9
9
  renderWarning
10
- } from "./chunk-OVQTCKQU.js";
10
+ } from "./chunk-RGJ4BXIY.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-PKR7KJ6P.js";
@@ -75,4 +75,4 @@ export {
75
75
  postRunHookHasCompleted,
76
76
  hook
77
77
  };
78
- //# sourceMappingURL=chunk-PH7SQKY6.js.map
78
+ //# sourceMappingURL=chunk-GWY4CBLA.js.map
@@ -22849,6 +22849,7 @@ var environmentVariables = {
22849
22849
  enableCliRedirect: "SHOPIFY_CLI_ENABLE_CLI_REDIRECT",
22850
22850
  env: "SHOPIFY_CLI_ENV",
22851
22851
  firstPartyDev: "SHOPIFY_CLI_1P_DEV",
22852
+ skipLocalDevConsole: "SHOPIFY_SKIP_LOCAL_DEV_CONSOLE",
22852
22853
  noAnalytics: "SHOPIFY_CLI_NO_ANALYTICS",
22853
22854
  partnersToken: "SHOPIFY_CLI_PARTNERS_TOKEN",
22854
22855
  runAsUser: "SHOPIFY_RUN_AS_USER",
@@ -22945,7 +22946,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
22945
22946
  try {
22946
22947
  await getAndSet();
22947
22948
  } catch (error) {
22948
- let { sendErrorToBugsnag } = await import("./error-handler-RTPIFBDU.js");
22949
+ let { sendErrorToBugsnag } = await import("./error-handler-TTBMK4H6.js");
22949
22950
  await sendErrorToBugsnag(error, "unexpected_error");
22950
22951
  }
22951
22952
  }, durationStack = [];
@@ -27902,7 +27903,7 @@ function asHumanFriendlyArray(items) {
27902
27903
  }
27903
27904
 
27904
27905
  // ../cli-kit/dist/public/common/string.js
27905
- var import_change_case = __toESM(require_dist15(), 1), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
27906
+ var import_change_case = __toESM(require_dist15()), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
27906
27907
  "commercial",
27907
27908
  "profitable",
27908
27909
  "amortizable",
@@ -28973,7 +28974,7 @@ var SingleTask = ({ task, title, onComplete, onAbort, noColor }) => {
28973
28974
  };
28974
28975
 
28975
28976
  // ../cli-kit/dist/public/node/ui.js
28976
- var import_react57 = __toESM(require_react(), 1), defaultUIDebugOptions = {
28977
+ var import_react57 = __toESM(require_react()), defaultUIDebugOptions = {
28977
28978
  skipTTYCheck: !1
28978
28979
  };
28979
28980
  async function renderConcurrent({ renderOptions, ...props }) {
@@ -31970,6 +31971,9 @@ function alwaysLogMetrics(env4 = process.env) {
31970
31971
  function firstPartyDev(env4 = process.env) {
31971
31972
  return isTruthy(env4[environmentVariables.firstPartyDev]);
31972
31973
  }
31974
+ function skipLocalDevConsole(env4 = process.env) {
31975
+ return isTruthy(env4[environmentVariables.skipLocalDevConsole]);
31976
+ }
31973
31977
  function gitpodURL(env4 = process.env) {
31974
31978
  return env4[environmentVariables.gitpod];
31975
31979
  }
@@ -32156,6 +32160,7 @@ export {
32156
32160
  alwaysLogAnalytics,
32157
32161
  alwaysLogMetrics,
32158
32162
  firstPartyDev,
32163
+ skipLocalDevConsole,
32159
32164
  gitpodURL,
32160
32165
  codespaceURL,
32161
32166
  codespacePortForwardingDomain,
@@ -32337,4 +32342,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32337
32342
  * LICENSE file in the root directory of this source tree.
32338
32343
  *)
32339
32344
  */
32340
- //# sourceMappingURL=chunk-OVQTCKQU.js.map
32345
+ //# sourceMappingURL=chunk-RGJ4BXIY.js.map
@@ -2,7 +2,7 @@ import {
2
2
  execaSync,
3
3
  fileExistsSync,
4
4
  isDevelopment
5
- } from "./chunk-OVQTCKQU.js";
5
+ } from "./chunk-RGJ4BXIY.js";
6
6
  import {
7
7
  require_lib
8
8
  } from "./chunk-V7OWCSFT.js";
@@ -46,4 +46,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
46
46
  export {
47
47
  ShopifyConfig
48
48
  };
49
- //# sourceMappingURL=custom-oclif-loader-27AG3IED.js.map
49
+ //# sourceMappingURL=custom-oclif-loader-2UXWLT7G.js.map
@@ -4,11 +4,11 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-6MAOIPCN.js";
8
- import "./chunk-2MJWCH3V.js";
7
+ } from "./chunk-2DEP3RXL.js";
8
+ import "./chunk-2HKUDD5O.js";
9
9
  import "./chunk-XD3LXUGW.js";
10
- import "./chunk-SDSP6YZX.js";
11
- import "./chunk-OVQTCKQU.js";
10
+ import "./chunk-6J45DHE7.js";
11
+ import "./chunk-RGJ4BXIY.js";
12
12
  import "./chunk-V7OWCSFT.js";
13
13
  import "./chunk-UMUTXITN.js";
14
14
  import "./chunk-Y2JP6WFP.js";
@@ -26,4 +26,4 @@ export {
26
26
  registerCleanBugsnagErrorsFromWithinPlugins,
27
27
  sendErrorToBugsnag
28
28
  };
29
- //# sourceMappingURL=error-handler-RTPIFBDU.js.map
29
+ //# sourceMappingURL=error-handler-TTBMK4H6.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  hook
3
- } from "../chunk-PH7SQKY6.js";
4
- import "../chunk-2MJWCH3V.js";
3
+ } from "../chunk-GWY4CBLA.js";
4
+ import "../chunk-2HKUDD5O.js";
5
5
  import "../chunk-XD3LXUGW.js";
6
- import "../chunk-SDSP6YZX.js";
7
- import "../chunk-OVQTCKQU.js";
6
+ import "../chunk-6J45DHE7.js";
7
+ import "../chunk-RGJ4BXIY.js";
8
8
  import "../chunk-V7OWCSFT.js";
9
9
  import "../chunk-UMUTXITN.js";
10
10
  import "../chunk-Y2JP6WFP.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetchNotificationsInBackground
3
- } from "../chunk-G547J43X.js";
3
+ } from "../chunk-7YUNOVUI.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-2MJWCH3V.js";
7
+ } from "../chunk-2HKUDD5O.js";
8
8
  import "../chunk-XD3LXUGW.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  packageManagerFromUserAgent,
13
13
  runAtMinimumInterval
14
- } from "../chunk-SDSP6YZX.js";
14
+ } from "../chunk-6J45DHE7.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-OVQTCKQU.js";
23
+ } from "../chunk-RGJ4BXIY.js";
24
24
  import "../chunk-V7OWCSFT.js";
25
25
  import "../chunk-UMUTXITN.js";
26
26
  import "../chunk-Y2JP6WFP.js";