@shopify/cli 3.82.1 → 3.83.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.
Files changed (101) hide show
  1. package/dist/{chokidar-TTCYG5AA.js → chokidar-KCZH6DIC.js} +5 -5
  2. package/dist/{chokidar-XUA2BN3J.js → chokidar-XPSJ2FUJ.js} +5 -5
  3. package/dist/{chunk-QDLC5TZP.js → chunk-2ZA3MHM5.js} +3 -3
  4. package/dist/{chunk-LPU2VGJR.js → chunk-3FBDJEGD.js} +6153 -11319
  5. package/dist/{chunk-IHFQ3F23.js → chunk-4BPSIIGV.js} +3 -3
  6. package/dist/{chunk-EE5FOU6D.js → chunk-57SXE5DE.js} +2 -2
  7. package/dist/{chunk-TRPRYAWB.js → chunk-5BJYF6FG.js} +4 -4
  8. package/dist/{chunk-7E5ELMEP.js → chunk-5QFLNCVR.js} +6 -6
  9. package/dist/{chunk-F7J5CUMZ.js → chunk-66VZYBID.js} +4 -4
  10. package/dist/{chunk-JFCQDJFN.js → chunk-7EV36FNO.js} +12 -12
  11. package/dist/{chunk-MOIB2YST.js → chunk-7KLV4YSY.js} +2 -2
  12. package/dist/{chunk-TOYQ6OGF.js → chunk-A6DFWCO7.js} +4 -4
  13. package/dist/{chunk-YPVB6B34.js → chunk-ARXCCKJT.js} +9 -9
  14. package/dist/{chunk-LHLR2V5J.js → chunk-ASWHWSRF.js} +2 -2
  15. package/dist/{chunk-B2IEJ5WW.js → chunk-BZBO3V3A.js} +4 -4
  16. package/dist/{chunk-YN4HBUI3.js → chunk-BZFP2O66.js} +7 -7
  17. package/dist/{chunk-API6SOPE.js → chunk-DDU22ZPL.js} +3 -3
  18. package/dist/{chunk-YJPCY2LS.js → chunk-DFABOPSU.js} +4 -4
  19. package/dist/{chunk-UENXYFT3.js → chunk-DVGCJLCA.js} +12 -10
  20. package/dist/{chunk-CLFWIHUG.js → chunk-FEMALH67.js} +4 -4
  21. package/dist/{chunk-SFDHLWEI.js → chunk-FNYLJESL.js} +4 -4
  22. package/dist/{chunk-MPCIJZRR.js → chunk-JEW6HZHJ.js} +3 -3
  23. package/dist/{chunk-5NCPSAFZ.js → chunk-K5GF4S7D.js} +2 -2
  24. package/dist/{chunk-AE3MLJMV.js → chunk-KPFBSWRK.js} +779 -24
  25. package/dist/{chunk-W7ISQU7I.js → chunk-KSLA767C.js} +2 -2
  26. package/dist/{chunk-HPTCTDPD.js → chunk-NJN55E4K.js} +4 -4
  27. package/dist/{chunk-OSWJJWB4.js → chunk-PPDGMVCL.js} +5 -5
  28. package/dist/{chunk-VOPDBKMR.js → chunk-QNMWKLS4.js} +3 -3
  29. package/dist/{chunk-IXOKLO2J.js → chunk-RDAZS4FZ.js} +8 -8
  30. package/dist/{chunk-MBYV3HFV.js → chunk-SJYNVNUB.js} +3 -3
  31. package/dist/{chunk-2UOPOSAQ.js → chunk-SUA462JY.js} +5 -5
  32. package/dist/{chunk-6HSVIAHC.js → chunk-TB443RFG.js} +14 -12
  33. package/dist/{chunk-M4TCGXII.js → chunk-TLYRIQK7.js} +7 -7
  34. package/dist/chunk-UV5N2VL7.js +39 -0
  35. package/dist/{chunk-7AGM22KG.js → chunk-UZIJLLPI.js} +3 -3
  36. package/dist/{chunk-SRBYTZSG.js → chunk-XI6AXLZO.js} +4 -4
  37. package/dist/{chunk-RBHXB7LY.js → chunk-XOIMWH77.js} +2 -2
  38. package/dist/{chunk-GCPVC7EU.js → chunk-XVZQHSFP.js} +5 -5
  39. package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
  40. package/dist/{chunk-N4LQOIDN.js → chunk-ZQMRVJXG.js} +3 -3
  41. package/dist/cli/commands/auth/logout.js +16 -18
  42. package/dist/cli/commands/auth/logout.test.js +17 -19
  43. package/dist/cli/commands/cache/clear.js +15 -17
  44. package/dist/cli/commands/debug/command-flags.d.ts +1 -1
  45. package/dist/cli/commands/debug/command-flags.js +15 -17
  46. package/dist/cli/commands/docs/generate.js +15 -17
  47. package/dist/cli/commands/docs/generate.test.js +15 -17
  48. package/dist/cli/commands/help.d.ts +2 -2
  49. package/dist/cli/commands/help.js +15 -17
  50. package/dist/cli/commands/kitchen-sink/async.js +16 -18
  51. package/dist/cli/commands/kitchen-sink/async.test.js +16 -18
  52. package/dist/cli/commands/kitchen-sink/index.js +18 -20
  53. package/dist/cli/commands/kitchen-sink/index.test.js +18 -20
  54. package/dist/cli/commands/kitchen-sink/prompts.js +16 -18
  55. package/dist/cli/commands/kitchen-sink/prompts.test.js +16 -18
  56. package/dist/cli/commands/kitchen-sink/static.js +16 -18
  57. package/dist/cli/commands/kitchen-sink/static.test.js +16 -18
  58. package/dist/cli/commands/notifications/generate.js +16 -18
  59. package/dist/cli/commands/notifications/list.d.ts +1 -1
  60. package/dist/cli/commands/notifications/list.js +16 -18
  61. package/dist/cli/commands/search.d.ts +1 -1
  62. package/dist/cli/commands/search.js +16 -18
  63. package/dist/cli/commands/upgrade.js +16 -18
  64. package/dist/cli/commands/version.js +16 -18
  65. package/dist/cli/commands/version.test.js +16 -18
  66. package/dist/cli/services/commands/notifications.js +11 -13
  67. package/dist/cli/services/commands/search.js +7 -9
  68. package/dist/cli/services/commands/search.test.js +7 -9
  69. package/dist/cli/services/commands/version.js +8 -10
  70. package/dist/cli/services/commands/version.test.js +9 -11
  71. package/dist/cli/services/kitchen-sink/async.js +7 -9
  72. package/dist/cli/services/kitchen-sink/prompts.js +7 -9
  73. package/dist/cli/services/kitchen-sink/static.js +7 -9
  74. package/dist/cli/services/upgrade.js +8 -10
  75. package/dist/cli/services/upgrade.test.js +9 -11
  76. package/dist/configs/all.yml +9 -0
  77. package/dist/configs/recommended.yml +9 -0
  78. package/dist/{custom-oclif-loader-SQEUSZSS.js → custom-oclif-loader-XASCYJ7O.js} +7 -9
  79. package/dist/data/filters.json +40 -0
  80. package/dist/data/latest.json +1 -1
  81. package/dist/data/objects.json +28 -16
  82. package/dist/data/tags.json +7 -7
  83. package/dist/data/translations.json +9 -2
  84. package/dist/{chunk-FAITFLRX.js → del-SAZHGAZZ.js} +372 -42
  85. package/dist/{error-handler-EUTRPJGF.js → error-handler-HQBVO3GI.js} +13 -15
  86. package/dist/hooks/postrun.js +11 -13
  87. package/dist/hooks/prerun.js +12 -14
  88. package/dist/{http-proxy-LHSVRGJ5.js → http-proxy-node16-T623PGD4.js} +37 -29
  89. package/dist/index.js +20782 -20289
  90. package/dist/{lib-2ZBT3UR2.js → lib-OSXFX3I2.js} +4 -5
  91. package/dist/{local-DTWKQE2A.js → local-PI2REOYY.js} +7 -9
  92. package/dist/{morph-DFRO3NRL.js → morph-5LWJDWYB.js} +5 -5
  93. package/dist/{node-MZOMVUI6.js → node-NAYZANSZ.js} +17 -19
  94. package/dist/{node-package-manager-NJGCZMAX.js → node-package-manager-RVDETLBX.js} +8 -10
  95. package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
  96. package/dist/tsconfig.tsbuildinfo +1 -1
  97. package/dist/{ui-OUT2NXBE.js → ui-RDFVKEJS.js} +7 -9
  98. package/dist/{workerd-JR3RQRVU.js → workerd-XLT4ZWI5.js} +17 -19
  99. package/oclif.manifest.json +212 -1
  100. package/package.json +14 -12
  101. package/dist/del-4JSTEFDW.js +0 -375
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-N4LQOIDN.js";
3
+ } from "./chunk-ZQMRVJXG.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-UENXYFT3.js";
6
+ } from "./chunk-DVGCJLCA.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
22
22
  export {
23
23
  Version
24
24
  };
25
- //# sourceMappingURL=chunk-IHFQ3F23.js.map
25
+ //# sourceMappingURL=chunk-4BPSIIGV.js.map
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/dist/public/common/version.js
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.82.1";
7
+ var CLI_KIT_VERSION = "3.83.1";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-EE5FOU6D.js.map
12
+ //# sourceMappingURL=chunk-57SXE5DE.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-UENXYFT3.js";
3
+ } from "./chunk-DVGCJLCA.js";
4
4
  import {
5
5
  outputResult,
6
6
  renderTable
7
- } from "./chunk-AE3MLJMV.js";
7
+ } from "./chunk-KPFBSWRK.js";
8
8
  import {
9
9
  require_lib
10
- } from "./chunk-LPU2VGJR.js";
10
+ } from "./chunk-3FBDJEGD.js";
11
11
  import {
12
12
  __toESM,
13
13
  init_cjs_shims
@@ -84,4 +84,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
84
84
  export {
85
85
  CommandFlags
86
86
  };
87
- //# sourceMappingURL=chunk-TRPRYAWB.js.map
87
+ //# sourceMappingURL=chunk-5BJYF6FG.js.map
@@ -2,15 +2,15 @@ import {
2
2
  fetch,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-YJPCY2LS.js";
5
+ } from "./chunk-DFABOPSU.js";
6
6
  import {
7
7
  CLI_KIT_VERSION
8
- } from "./chunk-EE5FOU6D.js";
8
+ } from "./chunk-57SXE5DE.js";
9
9
  import {
10
10
  cacheRetrieve,
11
11
  cacheStore,
12
12
  versionSatisfies
13
- } from "./chunk-YN4HBUI3.js";
13
+ } from "./chunk-BZFP2O66.js";
14
14
  import {
15
15
  AbortSilentError,
16
16
  exec,
@@ -19,7 +19,7 @@ import {
19
19
  renderError,
20
20
  renderInfo,
21
21
  renderWarning
22
- } from "./chunk-AE3MLJMV.js";
22
+ } from "./chunk-KPFBSWRK.js";
23
23
  import {
24
24
  init_cjs_shims
25
25
  } from "./chunk-PKR7KJ6P.js";
@@ -87,7 +87,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
87
87
  throw new AbortSilentError();
88
88
  let errorMessage = `Error showing notifications: ${error.message}`;
89
89
  outputDebug(errorMessage);
90
- let { sendErrorToBugsnag } = await import("./error-handler-EUTRPJGF.js");
90
+ let { sendErrorToBugsnag } = await import("./error-handler-HQBVO3GI.js");
91
91
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
92
92
  }
93
93
  }
@@ -200,4 +200,4 @@ export {
200
200
  fetchNotificationsInBackground,
201
201
  stringifyFilters
202
202
  };
203
- //# sourceMappingURL=chunk-7E5ELMEP.js.map
203
+ //# sourceMappingURL=chunk-5QFLNCVR.js.map
@@ -1,9 +1,9 @@
1
- import {
2
- require_normalize_path
3
- } from "./chunk-X7YTIMNN.js";
4
1
  import {
5
2
  require_picomatch
6
3
  } from "./chunk-7IK72W75.js";
4
+ import {
5
+ require_normalize_path
6
+ } from "./chunk-X7YTIMNN.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require,
@@ -494,4 +494,4 @@ export {
494
494
  require_anymatch,
495
495
  require_is_binary_path
496
496
  };
497
- //# sourceMappingURL=chunk-F7J5CUMZ.js.map
497
+ //# sourceMappingURL=chunk-66VZYBID.js.map
@@ -5,19 +5,19 @@ import {
5
5
  ensureAuthenticatedAdmin,
6
6
  ensureAuthenticatedBusinessPlatform,
7
7
  logout
8
- } from "./chunk-CLFWIHUG.js";
8
+ } from "./chunk-FEMALH67.js";
9
9
  import {
10
10
  base_command_default
11
- } from "./chunk-UENXYFT3.js";
11
+ } from "./chunk-DVGCJLCA.js";
12
12
  import {
13
13
  fanoutHooks,
14
14
  requestIdsCollection
15
- } from "./chunk-M4TCGXII.js";
15
+ } from "./chunk-TLYRIQK7.js";
16
16
  import {
17
17
  businessPlatformFqdn,
18
18
  normalizeStoreFqdn,
19
19
  partnersFqdn
20
- } from "./chunk-6HSVIAHC.js";
20
+ } from "./chunk-TB443RFG.js";
21
21
  import {
22
22
  ClientError,
23
23
  GraphQLClient,
@@ -31,10 +31,10 @@ import {
31
31
  retryAwareRequest,
32
32
  sanitizeURL,
33
33
  sanitizedHeadersOutput
34
- } from "./chunk-YJPCY2LS.js";
34
+ } from "./chunk-DFABOPSU.js";
35
35
  import {
36
36
  CLI_KIT_VERSION
37
- } from "./chunk-EE5FOU6D.js";
37
+ } from "./chunk-57SXE5DE.js";
38
38
  import {
39
39
  cacheRetrieveOrRepopulate,
40
40
  findUpAndReadPackageJson,
@@ -44,7 +44,7 @@ import {
44
44
  readAndParsePackageJson,
45
45
  timeIntervalToMilliseconds,
46
46
  writePackageJSON
47
- } from "./chunk-YN4HBUI3.js";
47
+ } from "./chunk-BZFP2O66.js";
48
48
  import {
49
49
  AbortError,
50
50
  BugError,
@@ -84,7 +84,7 @@ import {
84
84
  source_default,
85
85
  stringifyMessage,
86
86
  writeFile
87
- } from "./chunk-AE3MLJMV.js";
87
+ } from "./chunk-KPFBSWRK.js";
88
88
  import {
89
89
  basename,
90
90
  cwd,
@@ -94,10 +94,10 @@ import {
94
94
  relativePath,
95
95
  relativizePath,
96
96
  resolvePath
97
- } from "./chunk-EG6MBBEN.js";
97
+ } from "./chunk-Y2JP6WFP.js";
98
98
  import {
99
99
  require_lib
100
- } from "./chunk-LPU2VGJR.js";
100
+ } from "./chunk-3FBDJEGD.js";
101
101
  import {
102
102
  require_src
103
103
  } from "./chunk-UMUTXITN.js";
@@ -135807,7 +135807,7 @@ init_cjs_shims();
135807
135807
  // ../../node_modules/.pnpm/@shopify+cli-hydrogen@10.0.1_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_700217a4222a08650099cd57a51aa579/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/file.js
135808
135808
  init_cjs_shims();
135809
135809
  async function transpileFile(code, filepath, keepTypes = !0) {
135810
- let { transpileTs } = await import("./morph-DFRO3NRL.js");
135810
+ let { transpileTs } = await import("./morph-5LWJDWYB.js");
135811
135811
  return transpileTs(code, filepath, keepTypes);
135812
135812
  }
135813
135813
 
@@ -142602,4 +142602,4 @@ export {
142602
142602
  getDebugBannerLine,
142603
142603
  getUtilityBannerlines
142604
142604
  };
142605
- //# sourceMappingURL=chunk-JFCQDJFN.js.map
142605
+ //# sourceMappingURL=chunk-7EV36FNO.js.map
@@ -7,7 +7,7 @@ import {
7
7
  renderSuccess,
8
8
  renderTable,
9
9
  renderWarning
10
- } from "./chunk-AE3MLJMV.js";
10
+ } from "./chunk-KPFBSWRK.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-PKR7KJ6P.js";
@@ -203,4 +203,4 @@ async function staticService() {
203
203
  export {
204
204
  staticService
205
205
  };
206
- //# sourceMappingURL=chunk-MOIB2YST.js.map
206
+ //# sourceMappingURL=chunk-7KLV4YSY.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-UENXYFT3.js";
3
+ } from "./chunk-DVGCJLCA.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-AE3MLJMV.js";
9
+ } from "./chunk-KPFBSWRK.js";
10
10
  import {
11
11
  cwd,
12
12
  joinPath
13
- } from "./chunk-EG6MBBEN.js";
13
+ } from "./chunk-Y2JP6WFP.js";
14
14
  import {
15
15
  init_cjs_shims
16
16
  } from "./chunk-PKR7KJ6P.js";
@@ -118,4 +118,4 @@ export {
118
118
  writeCommandFlagInterface,
119
119
  writeCommandUsageExampleFile
120
120
  };
121
- //# sourceMappingURL=chunk-TOYQ6OGF.js.map
121
+ //# sourceMappingURL=chunk-A6DFWCO7.js.map
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  fanoutHooks,
6
6
  reportAnalyticsEvent
7
- } from "./chunk-M4TCGXII.js";
7
+ } from "./chunk-TLYRIQK7.js";
8
8
  import {
9
9
  getEnvironmentData
10
- } from "./chunk-6HSVIAHC.js";
10
+ } from "./chunk-TB443RFG.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-EE5FOU6D.js";
13
+ } from "./chunk-57SXE5DE.js";
14
14
  import {
15
15
  runWithRateLimit
16
- } from "./chunk-YN4HBUI3.js";
16
+ } from "./chunk-BZFP2O66.js";
17
17
  import {
18
18
  AbortSilentError,
19
19
  CancelExecution,
@@ -28,17 +28,17 @@ import {
28
28
  reportingRateLimit,
29
29
  require_stacktracey,
30
30
  shouldReportErrorAsUnexpected
31
- } from "./chunk-AE3MLJMV.js";
31
+ } from "./chunk-KPFBSWRK.js";
32
32
  import {
33
33
  cwd,
34
34
  isAbsolutePath,
35
35
  joinPath,
36
36
  normalizePath,
37
37
  relativePath
38
- } from "./chunk-EG6MBBEN.js";
38
+ } from "./chunk-Y2JP6WFP.js";
39
39
  import {
40
40
  require_lib
41
- } from "./chunk-LPU2VGJR.js";
41
+ } from "./chunk-3FBDJEGD.js";
42
42
  import {
43
43
  __commonJS,
44
44
  __require,
@@ -2034,7 +2034,7 @@ var require_notifier = __commonJS({
2034
2034
 
2035
2035
  // ../cli-kit/dist/public/node/error-handler.js
2036
2036
  init_cjs_shims();
2037
- var import_core = __toESM(require_lib()), import_stacktracey = __toESM(require_stacktracey()), import_js = __toESM(require_notifier());
2037
+ var import_core = __toESM(require_lib(), 1), import_stacktracey = __toESM(require_stacktracey(), 1), import_js = __toESM(require_notifier(), 1);
2038
2038
  import { realpath } from "fs/promises";
2039
2039
  async function errorHandler(error, config) {
2040
2040
  if (error instanceof CancelExecution)
@@ -2149,4 +2149,4 @@ export {
2149
2149
  registerCleanBugsnagErrorsFromWithinPlugins,
2150
2150
  addBugsnagMetadata
2151
2151
  };
2152
- //# sourceMappingURL=chunk-YPVB6B34.js.map
2152
+ //# sourceMappingURL=chunk-ARXCCKJT.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-AE3MLJMV.js";
4
+ } from "./chunk-KPFBSWRK.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-PKR7KJ6P.js";
@@ -43,4 +43,4 @@ async function asyncTasks() {
43
43
  export {
44
44
  asyncTasks
45
45
  };
46
- //# sourceMappingURL=chunk-LHLR2V5J.js.map
46
+ //# sourceMappingURL=chunk-ASWHWSRF.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  searchService
3
- } from "./chunk-W7ISQU7I.js";
3
+ } from "./chunk-KSLA767C.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-UENXYFT3.js";
6
+ } from "./chunk-DVGCJLCA.js";
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-LPU2VGJR.js";
9
+ } from "./chunk-3FBDJEGD.js";
10
10
  import {
11
11
  __toESM,
12
12
  init_cjs_shims
@@ -48,4 +48,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
48
48
  export {
49
49
  Search
50
50
  };
51
- //# sourceMappingURL=chunk-B2IEJ5WW.js.map
51
+ //# sourceMappingURL=chunk-BZBO3V3A.js.map
@@ -18,14 +18,14 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-AE3MLJMV.js";
22
- import {
23
- require_semver
24
- } from "./chunk-HMDWNGIV.js";
21
+ } from "./chunk-KPFBSWRK.js";
25
22
  import {
26
23
  dirname,
27
24
  joinPath
28
- } from "./chunk-EG6MBBEN.js";
25
+ } from "./chunk-Y2JP6WFP.js";
26
+ import {
27
+ require_semver
28
+ } from "./chunk-HMDWNGIV.js";
29
29
  import {
30
30
  __commonJS,
31
31
  __export,
@@ -13636,7 +13636,7 @@ async function latestVersion(packageName, options) {
13636
13636
  }
13637
13637
 
13638
13638
  // ../cli-kit/dist/public/node/node-package-manager.js
13639
- var import_semver3 = __toESM(require_semver()), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
13639
+ var import_semver3 = __toESM(require_semver(), 1), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
13640
13640
  yarn: yarnLockfile,
13641
13641
  npm: npmLockfile,
13642
13642
  pnpm: pnpmLockfile,
@@ -13948,4 +13948,4 @@ deep-extend/lib/deep-extend.js:
13948
13948
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13949
13949
  *)
13950
13950
  */
13951
- //# sourceMappingURL=chunk-YN4HBUI3.js.map
13951
+ //# sourceMappingURL=chunk-BZFP2O66.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-LHLR2V5J.js";
3
+ } from "./chunk-ASWHWSRF.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-UENXYFT3.js";
6
+ } from "./chunk-DVGCJLCA.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkAsync
27
27
  };
28
- //# sourceMappingURL=chunk-API6SOPE.js.map
28
+ //# sourceMappingURL=chunk-DDU22ZPL.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-25IMI7TH.js";
6
6
  import {
7
7
  CLI_KIT_VERSION
8
- } from "./chunk-EE5FOU6D.js";
8
+ } from "./chunk-57SXE5DE.js";
9
9
  import {
10
10
  Environment,
11
11
  environmentVariables,
@@ -18,10 +18,10 @@ import {
18
18
  serviceEnvironment,
19
19
  sleep,
20
20
  systemEnvironmentVariables
21
- } from "./chunk-AE3MLJMV.js";
21
+ } from "./chunk-KPFBSWRK.js";
22
22
  import {
23
23
  sniffForJson
24
- } from "./chunk-EG6MBBEN.js";
24
+ } from "./chunk-Y2JP6WFP.js";
25
25
  import {
26
26
  __commonJS,
27
27
  __require,
@@ -31449,4 +31449,4 @@ mime-types/index.js:
31449
31449
  * MIT Licensed
31450
31450
  *)
31451
31451
  */
31452
- //# sourceMappingURL=chunk-YJPCY2LS.js.map
31452
+ //# sourceMappingURL=chunk-DFABOPSU.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-YPVB6B34.js";
4
+ } from "./chunk-ARXCCKJT.js";
5
5
  import {
6
6
  setCurrentCommandId,
7
7
  showNotificationsIfNeeded
8
- } from "./chunk-7E5ELMEP.js";
8
+ } from "./chunk-5QFLNCVR.js";
9
9
  import {
10
10
  hashString
11
- } from "./chunk-YJPCY2LS.js";
11
+ } from "./chunk-DFABOPSU.js";
12
12
  import {
13
13
  AbortError,
14
14
  addPublicMetadata,
@@ -24,13 +24,13 @@ import {
24
24
  renderWarning,
25
25
  terminalSupportsPrompting,
26
26
  underscore
27
- } from "./chunk-AE3MLJMV.js";
27
+ } from "./chunk-KPFBSWRK.js";
28
28
  import {
29
29
  cwd
30
- } from "./chunk-EG6MBBEN.js";
30
+ } from "./chunk-Y2JP6WFP.js";
31
31
  import {
32
32
  require_lib
33
- } from "./chunk-LPU2VGJR.js";
33
+ } from "./chunk-3FBDJEGD.js";
34
34
  import {
35
35
  __commonJS,
36
36
  __require,
@@ -1563,7 +1563,6 @@ var import_core = __toESM(require_lib()), BaseCommand = class extends import_cor
1563
1563
  async catch(error) {
1564
1564
  return error.skipOclifErrorHandling = !0, await errorHandler(error, this.config), import_core.Errors.handle(error);
1565
1565
  }
1566
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1567
1566
  async init() {
1568
1567
  return this.exitWithTimestampWhenEnvVariablePresent(), setCurrentCommandId(this.id ?? ""), isDevelopment() || await registerCleanBugsnagErrorsFromWithinPlugins(this.config), this.showNpmFlagWarning(), await showNotificationsIfNeeded(), super.init();
1569
1568
  }
@@ -1615,7 +1614,7 @@ This flag is required in non-interactive terminal environments, such as a CI env
1615
1614
  if (!environmentFileExists && !environmentSpecified || environmentSpecified && environments.length > 1)
1616
1615
  return originalResult;
1617
1616
  let { environment, isDefaultEnvironment } = await this.loadEnvironmentForCommand(flags.path, environmentsFileName, environments[0]);
1618
- if (!environment)
1617
+ if (!environment || isDefaultEnvironment && !commandSupportsFlag(options?.flags, "environment"))
1619
1618
  return originalResult;
1620
1619
  let noDefaultsResult = await super.parse(noDefaultsOptions(options), argv), result = await super.parse(options, [
1621
1620
  // Need to specify argv default because we're merging with argsFromEnvironment.
@@ -1670,7 +1669,7 @@ function noDefaultsOptions(options) {
1670
1669
  function argsFromEnvironment(environment, options, noDefaultsResult) {
1671
1670
  let args = [];
1672
1671
  for (let [label, value] of Object.entries(environment)) {
1673
- let flagIsRelevantToCommand = options?.flags && Object.prototype.hasOwnProperty.call(options.flags, label), userSpecifiedThisFlag = noDefaultsResult.flags && Object.prototype.hasOwnProperty.call(noDefaultsResult.flags, label);
1672
+ let flagIsRelevantToCommand = commandSupportsFlag(options?.flags, label), userSpecifiedThisFlag = noDefaultsResult.flags && Object.prototype.hasOwnProperty.call(noDefaultsResult.flags, label);
1674
1673
  if (flagIsRelevantToCommand && !userSpecifiedThisFlag)
1675
1674
  if (typeof value == "boolean")
1676
1675
  if (value)
@@ -1681,6 +1680,9 @@ function argsFromEnvironment(environment, options, noDefaultsResult) {
1681
1680
  }
1682
1681
  return args;
1683
1682
  }
1683
+ function commandSupportsFlag(flags, flagName) {
1684
+ return !!flags && Object.prototype.hasOwnProperty.call(flags, flagName);
1685
+ }
1684
1686
  var base_command_default = BaseCommand;
1685
1687
 
1686
1688
  export {
@@ -1689,4 +1691,4 @@ export {
1689
1691
  loadEnvironment,
1690
1692
  base_command_default
1691
1693
  };
1692
- //# sourceMappingURL=chunk-UENXYFT3.js.map
1694
+ //# sourceMappingURL=chunk-DVGCJLCA.js.map
@@ -8,17 +8,17 @@ import {
8
8
  remove,
9
9
  setLastSeenAuthMethod,
10
10
  setLastSeenUserIdAfterAuth
11
- } from "./chunk-6HSVIAHC.js";
11
+ } from "./chunk-TB443RFG.js";
12
12
  import {
13
13
  getPartnersToken,
14
14
  nonRandomUUID
15
- } from "./chunk-YJPCY2LS.js";
15
+ } from "./chunk-DFABOPSU.js";
16
16
  import {
17
17
  BugError,
18
18
  outputContent,
19
19
  outputDebug,
20
20
  outputToken
21
- } from "./chunk-AE3MLJMV.js";
21
+ } from "./chunk-KPFBSWRK.js";
22
22
  import {
23
23
  init_cjs_shims
24
24
  } from "./chunk-PKR7KJ6P.js";
@@ -117,4 +117,4 @@ export {
117
117
  ensureAuthenticatedBusinessPlatform,
118
118
  logout
119
119
  };
120
- //# sourceMappingURL=chunk-CLFWIHUG.js.map
120
+ //# sourceMappingURL=chunk-FEMALH67.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  logout
3
- } from "./chunk-CLFWIHUG.js";
3
+ } from "./chunk-FEMALH67.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-UENXYFT3.js";
6
+ } from "./chunk-DVGCJLCA.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-AE3MLJMV.js";
9
+ } from "./chunk-KPFBSWRK.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
25
25
  export {
26
26
  Logout
27
27
  };
28
- //# sourceMappingURL=chunk-SFDHLWEI.js.map
28
+ //# sourceMappingURL=chunk-FNYLJESL.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-YN4HBUI3.js";
3
+ } from "./chunk-BZFP2O66.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-AE3MLJMV.js";
9
+ } from "./chunk-KPFBSWRK.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ export {
25
25
  cliInstallCommand,
26
26
  getOutputUpdateCLIReminder
27
27
  };
28
- //# sourceMappingURL=chunk-MPCIJZRR.js.map
28
+ //# sourceMappingURL=chunk-JEW6HZHJ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-AE3MLJMV.js";
4
+ } from "./chunk-KPFBSWRK.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-PKR7KJ6P.js";
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
33
33
  export {
34
34
  mockAndCaptureOutput
35
35
  };
36
- //# sourceMappingURL=chunk-5NCPSAFZ.js.map
36
+ //# sourceMappingURL=chunk-K5GF4S7D.js.map