@shopify/cli 3.78.0 → 3.78.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 (78) hide show
  1. package/dist/{chunk-VAMD3FV3.js → chunk-3COQLGRL.js} +4 -4
  2. package/dist/{chunk-ICGAJSRH.js → chunk-5DXEBIVF.js} +3 -3
  3. package/dist/{chunk-KKK42SBP.js → chunk-6GQF27II.js} +3 -3
  4. package/dist/{chunk-WVISX7R6.js → chunk-6IPFYNHW.js} +2 -2
  5. package/dist/{chunk-TQMZLUGH.js → chunk-AV64MUSE.js} +4 -4
  6. package/dist/{chunk-HQF3OQCV.js → chunk-DNGCAQBF.js} +6 -6
  7. package/dist/{chunk-5LKOKELK.js → chunk-EBRJEUGC.js} +6 -6
  8. package/dist/{chunk-QVDCZMPL.js → chunk-F23MB6TB.js} +3 -3
  9. package/dist/{chunk-K6OZPDRE.js → chunk-F3SJ7GH2.js} +3 -3
  10. package/dist/{chunk-VTV2W43J.js → chunk-FEYZLXHI.js} +3 -3
  11. package/dist/{chunk-WM4XS6OG.js → chunk-FHYKRLSA.js} +3 -3
  12. package/dist/{chunk-IJLYOQTB.js → chunk-FZI742QM.js} +2 -2
  13. package/dist/{chunk-35XDICNP.js → chunk-GA5Q2G7N.js} +2 -2
  14. package/dist/{chunk-KUVHPVGH.js → chunk-GWN4I7WX.js} +3 -3
  15. package/dist/{chunk-NCYK3NPS.js → chunk-H73PDGHM.js} +9 -9
  16. package/dist/{chunk-KJNPOPZU.js → chunk-HE3BDMSQ.js} +4 -4
  17. package/dist/{chunk-N2GQBM45.js → chunk-HGD26EDV.js} +4 -4
  18. package/dist/{chunk-D2R3AM3S.js → chunk-HO5XX2LU.js} +6 -6
  19. package/dist/{chunk-2YVR2YAE.js → chunk-HRT2J6AZ.js} +3 -3
  20. package/dist/{chunk-VNCW4T6F.js → chunk-LE26CN2H.js} +4 -4
  21. package/dist/{chunk-HLFLQFAO.js → chunk-O6JLOWUE.js} +5 -5
  22. package/dist/{chunk-R2JN4S25.js → chunk-OAZABGFS.js} +7 -3
  23. package/dist/{chunk-VNKMVUTV.js → chunk-PT5BDLIN.js} +4 -4
  24. package/dist/{chunk-RYZBD47F.js → chunk-QTRXKFCW.js} +3 -3
  25. package/dist/{chunk-GEAXCEGF.js → chunk-QYA3TD2H.js} +4 -4
  26. package/dist/{chunk-FIH2SHBE.js → chunk-RH2XRA3A.js} +3 -3
  27. package/dist/{chunk-GRJWPHAK.js → chunk-SWU3QODP.js} +2 -2
  28. package/dist/{chunk-S6ZWGAX6.js → chunk-TFCMG5O2.js} +7 -7
  29. package/dist/{chunk-A5LK333I.js → chunk-TIMWAEJ5.js} +2 -2
  30. package/dist/{chunk-XSNERQSV.js → chunk-TJUGCRWY.js} +2 -2
  31. package/dist/{chunk-MLQTLKNQ.js → chunk-UGX6DGR4.js} +2 -2
  32. package/dist/{chunk-C3Q6M5C3.js → chunk-VE4ESNRH.js} +3 -3
  33. package/dist/{chunk-35A3HBTL.js → chunk-WWOE2EFZ.js} +3 -3
  34. package/dist/{chunk-UDNM674J.js → chunk-ZJ2IPVO4.js} +3 -3
  35. package/dist/cli/commands/auth/logout.js +11 -11
  36. package/dist/cli/commands/auth/logout.test.js +12 -12
  37. package/dist/cli/commands/cache/clear.js +10 -10
  38. package/dist/cli/commands/debug/command-flags.js +10 -10
  39. package/dist/cli/commands/docs/generate.js +10 -10
  40. package/dist/cli/commands/docs/generate.test.js +10 -10
  41. package/dist/cli/commands/help.js +10 -10
  42. package/dist/cli/commands/kitchen-sink/async.js +11 -11
  43. package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
  44. package/dist/cli/commands/kitchen-sink/index.js +13 -13
  45. package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
  46. package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
  47. package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
  48. package/dist/cli/commands/kitchen-sink/static.js +11 -11
  49. package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
  50. package/dist/cli/commands/notifications/generate.js +11 -11
  51. package/dist/cli/commands/notifications/list.js +11 -11
  52. package/dist/cli/commands/search.js +11 -11
  53. package/dist/cli/commands/upgrade.js +11 -11
  54. package/dist/cli/commands/version.js +11 -11
  55. package/dist/cli/commands/version.test.js +11 -11
  56. package/dist/cli/services/commands/notifications.js +6 -6
  57. package/dist/cli/services/commands/search.js +2 -2
  58. package/dist/cli/services/commands/search.test.js +2 -2
  59. package/dist/cli/services/commands/version.js +3 -3
  60. package/dist/cli/services/commands/version.test.js +4 -4
  61. package/dist/cli/services/kitchen-sink/async.js +2 -2
  62. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  63. package/dist/cli/services/kitchen-sink/static.js +2 -2
  64. package/dist/cli/services/upgrade.js +3 -3
  65. package/dist/cli/services/upgrade.test.js +4 -4
  66. package/dist/{custom-oclif-loader-URFPN7T5.js → custom-oclif-loader-BGXT6N23.js} +2 -2
  67. package/dist/{error-handler-JMG43AG2.js → error-handler-HVEM4RKZ.js} +8 -8
  68. package/dist/hooks/postrun.js +6 -6
  69. package/dist/hooks/prerun.js +7 -7
  70. package/dist/index.js +78 -74
  71. package/dist/{local-VNB4TMEI.js → local-UX2FKODS.js} +2 -2
  72. package/dist/{node-4XPDXMES.js → node-RJ5OAO2M.js} +12 -12
  73. package/dist/{node-package-manager-GL4PGGZJ.js → node-package-manager-NS6MYGUI.js} +3 -3
  74. package/dist/tsconfig.tsbuildinfo +1 -1
  75. package/dist/{ui-LKIZMLKP.js → ui-FQHY2OWD.js} +2 -2
  76. package/dist/{workerd-RCIF7HOL.js → workerd-KUHMQGDX.js} +12 -12
  77. package/oclif.manifest.json +1 -1
  78. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -136,7 +136,7 @@ import {
136
136
  supressNodeExperimentalWarnings,
137
137
  unsetStorefront,
138
138
  waitForJob
139
- } from "./chunk-NCYK3NPS.js";
139
+ } from "./chunk-H73PDGHM.js";
140
140
  import {
141
141
  require_ms,
142
142
  require_src
@@ -155,69 +155,69 @@ import {
155
155
  } from "./chunk-MW7RWHY5.js";
156
156
  import {
157
157
  List
158
- } from "./chunk-TQMZLUGH.js";
158
+ } from "./chunk-AV64MUSE.js";
159
159
  import {
160
160
  Search
161
- } from "./chunk-35A3HBTL.js";
161
+ } from "./chunk-WWOE2EFZ.js";
162
162
  import {
163
163
  Upgrade
164
- } from "./chunk-VAMD3FV3.js";
165
- import "./chunk-2YVR2YAE.js";
164
+ } from "./chunk-3COQLGRL.js";
165
+ import "./chunk-HRT2J6AZ.js";
166
166
  import {
167
167
  Version
168
- } from "./chunk-QVDCZMPL.js";
169
- import "./chunk-WM4XS6OG.js";
170
- import "./chunk-35XDICNP.js";
168
+ } from "./chunk-F23MB6TB.js";
169
+ import "./chunk-FHYKRLSA.js";
170
+ import "./chunk-GA5Q2G7N.js";
171
171
  import {
172
172
  KitchenSinkAll
173
- } from "./chunk-HLFLQFAO.js";
173
+ } from "./chunk-O6JLOWUE.js";
174
174
  import {
175
175
  KitchenSinkPrompts
176
- } from "./chunk-K6OZPDRE.js";
177
- import "./chunk-XSNERQSV.js";
176
+ } from "./chunk-F3SJ7GH2.js";
177
+ import "./chunk-TJUGCRWY.js";
178
178
  import {
179
179
  KitchenSinkStatic
180
- } from "./chunk-KKK42SBP.js";
181
- import "./chunk-IJLYOQTB.js";
180
+ } from "./chunk-6GQF27II.js";
181
+ import "./chunk-FZI742QM.js";
182
182
  import {
183
183
  Generate
184
- } from "./chunk-UDNM674J.js";
185
- import "./chunk-VNCW4T6F.js";
184
+ } from "./chunk-ZJ2IPVO4.js";
185
+ import "./chunk-LE26CN2H.js";
186
186
  import {
187
187
  Logout
188
- } from "./chunk-GEAXCEGF.js";
188
+ } from "./chunk-QYA3TD2H.js";
189
189
  import {
190
190
  ensureAuthenticatedAdmin,
191
191
  ensureAuthenticatedAppManagementAndBusinessPlatform,
192
192
  ensureAuthenticatedPartners,
193
193
  ensureAuthenticatedStorefront,
194
194
  ensureAuthenticatedThemes
195
- } from "./chunk-VTV2W43J.js";
195
+ } from "./chunk-FEYZLXHI.js";
196
196
  import {
197
197
  ClearCache,
198
198
  globalFlags,
199
199
  jsonFlag,
200
200
  runCLI
201
- } from "./chunk-S6ZWGAX6.js";
201
+ } from "./chunk-TFCMG5O2.js";
202
202
  import {
203
203
  CommandFlags
204
- } from "./chunk-FIH2SHBE.js";
204
+ } from "./chunk-RH2XRA3A.js";
205
205
  import {
206
206
  DocsGenerate
207
- } from "./chunk-C3Q6M5C3.js";
207
+ } from "./chunk-VE4ESNRH.js";
208
208
  import {
209
209
  HelpCommand
210
- } from "./chunk-A5LK333I.js";
210
+ } from "./chunk-TIMWAEJ5.js";
211
211
  import {
212
212
  KitchenSinkAsync
213
- } from "./chunk-RYZBD47F.js";
214
- import "./chunk-WVISX7R6.js";
213
+ } from "./chunk-QTRXKFCW.js";
214
+ import "./chunk-6IPFYNHW.js";
215
215
  import {
216
216
  base_command_default,
217
217
  decodeToml,
218
218
  encodeToml,
219
219
  loadEnvironment
220
- } from "./chunk-VNKMVUTV.js";
220
+ } from "./chunk-PT5BDLIN.js";
221
221
  import {
222
222
  require_byline,
223
223
  require_end_of_stream,
@@ -225,7 +225,7 @@ import {
225
225
  require_iserror,
226
226
  require_pump,
227
227
  require_stack_generator
228
- } from "./chunk-5LKOKELK.js";
228
+ } from "./chunk-EBRJEUGC.js";
229
229
  import {
230
230
  require_once
231
231
  } from "./chunk-SHWOPMLQ.js";
@@ -233,7 +233,7 @@ import {
233
233
  fanoutHooks,
234
234
  getListOfTunnelPlugins,
235
235
  reportAnalyticsEvent
236
- } from "./chunk-D2R3AM3S.js";
236
+ } from "./chunk-HO5XX2LU.js";
237
237
  import {
238
238
  appDevFqdn,
239
239
  appManagementFqdn,
@@ -243,10 +243,10 @@ import {
243
243
  normalizeStoreFqdn,
244
244
  ok,
245
245
  partnersFqdn
246
- } from "./chunk-N2GQBM45.js";
246
+ } from "./chunk-HGD26EDV.js";
247
247
  import {
248
248
  showNotificationsIfNeeded
249
- } from "./chunk-HQF3OQCV.js";
249
+ } from "./chunk-DNGCAQBF.js";
250
250
  import {
251
251
  ClientError,
252
252
  FetchError,
@@ -259,11 +259,11 @@ import {
259
259
  require_mime_types,
260
260
  shopifyFetch,
261
261
  z
262
- } from "./chunk-KJNPOPZU.js";
262
+ } from "./chunk-HE3BDMSQ.js";
263
263
  import "./chunk-25IMI7TH.js";
264
264
  import {
265
265
  CLI_KIT_VERSION
266
- } from "./chunk-MLQTLKNQ.js";
266
+ } from "./chunk-UGX6DGR4.js";
267
267
  import {
268
268
  LocalStorage,
269
269
  UnknownPackageManagerError,
@@ -286,7 +286,7 @@ import {
286
286
  usesWorkspaces,
287
287
  versionSatisfies,
288
288
  writePackageJSON
289
- } from "./chunk-ICGAJSRH.js";
289
+ } from "./chunk-5DXEBIVF.js";
290
290
  import {
291
291
  require_semver
292
292
  } from "./chunk-HMDWNGIV.js";
@@ -404,6 +404,7 @@ import {
404
404
  readFile,
405
405
  readFileSync,
406
406
  removeFile,
407
+ removeFileSync,
407
408
  renameFile,
408
409
  render,
409
410
  renderAutocompletePrompt,
@@ -503,7 +504,7 @@ import {
503
504
  username,
504
505
  writeFile,
505
506
  writeFileSync
506
- } from "./chunk-R2JN4S25.js";
507
+ } from "./chunk-OAZABGFS.js";
507
508
  import {
508
509
  require_lib as require_lib2
509
510
  } from "./chunk-B5EXYCV3.js";
@@ -214537,10 +214538,10 @@ async function buildAssetsUrl(port, root) {
214537
214538
  async function startMiniOxygen(options, useNodeRuntime = !1) {
214538
214539
  if (useNodeRuntime) {
214539
214540
  process.env.MINIFLARE_SUBREQUEST_LIMIT = 100;
214540
- let { startNodeServer } = await import("./node-4XPDXMES.js");
214541
+ let { startNodeServer } = await import("./node-RJ5OAO2M.js");
214541
214542
  return startNodeServer(options);
214542
214543
  }
214543
- let { startWorkerdServer } = await import("./workerd-RCIF7HOL.js");
214544
+ let { startWorkerdServer } = await import("./workerd-KUHMQGDX.js");
214544
214545
  return startWorkerdServer(options);
214545
214546
  }
214546
214547
 
@@ -218428,17 +218429,18 @@ var WebConfigurationAuthCallbackPathSchema = z.preprocess(ensurePathStartsWithSl
218428
218429
  this.realExtensions = this.realExtensions.filter((ext) => ext.uid !== extensionUid);
218429
218430
  }
218430
218431
  async generateExtensionTypes() {
218431
- let typeFilePath = joinPath(this.directory, "shopify.d.ts"), firstImport = "", sharedTypes = await Promise.all(this.allExtensions.map((extension) => extension.contributeToSharedTypeFile(typeFilePath))), combinedDefinitions = /* @__PURE__ */ new Set();
218432
- if (sharedTypes.forEach((shared) => {
218433
- shared.forEach(({ libraryRoot, definition }) => {
218434
- firstImport || (firstImport = `import './${relativePath(this.directory, libraryRoot)}';
218435
- `), combinedDefinitions.add(definition);
218436
- });
218437
- }), combinedDefinitions.size === 0)
218438
- return;
218439
- let originalContent = fileExistsSync(typeFilePath) ? readFileSync(typeFilePath).toString() : "", typeContent = [firstImport, ...Array.from(combinedDefinitions)].join(`
218432
+ let typeDefinitionsByFile = /* @__PURE__ */ new Map();
218433
+ await Promise.all(this.allExtensions.map((extension) => extension.contributeToSharedTypeFile(typeDefinitionsByFile))), typeDefinitionsByFile.forEach((types, typeFilePath) => {
218434
+ let exists = fileExistsSync(typeFilePath);
218435
+ if (types.size === 0) {
218436
+ exists && removeFileSync(typeFilePath);
218437
+ return;
218438
+ }
218439
+ let originalContent = exists ? readFileSync(typeFilePath).toString() : "", typeContent = [`import '@shopify/ui-extension';
218440
+ `, ...Array.from(types)].join(`
218440
218441
  `);
218441
- originalContent !== typeContent && writeFileSync(typeFilePath, typeContent);
218442
+ originalContent !== typeContent && writeFileSync(typeFilePath, typeContent);
218443
+ });
218442
218444
  }
218443
218445
  get includeConfigOnDeploy() {
218444
218446
  return isLegacyAppSchema(this.configuration) ? !1 : this.appManagementApiEnabled ? !0 : this.configuration.build?.include_config_on_deploy;
@@ -219301,8 +219303,8 @@ var CONFIG_EXTENSION_IDS = [
219301
219303
  patchWithAppDevURLs(urls) {
219302
219304
  this.specification.patchWithAppDevURLs && this.specification.patchWithAppDevURLs(this.configuration, urls);
219303
219305
  }
219304
- async contributeToSharedTypeFile(typeFilePath) {
219305
- return this.specification.contributeToSharedTypeFile?.(this, typeFilePath) ?? [];
219306
+ async contributeToSharedTypeFile(typeDefinitionsByFile) {
219307
+ await this.specification.contributeToSharedTypeFile?.(this, typeDefinitionsByFile);
219306
219308
  }
219307
219309
  buildHandle() {
219308
219310
  switch (this.specification.uidStrategy) {
@@ -220601,22 +220603,33 @@ var require2 = createRequire4(import.meta.url), dependency5 = "@shopify/checkout
220601
220603
  };
220602
220604
  },
220603
220605
  hasExtensionPointTarget: (config2, requestedTarget) => config2.extension_points.find((extensionPoint) => extensionPoint.target === requestedTarget) !== void 0,
220604
- contributeToSharedTypeFile: async (extension, typeFilePath) => {
220605
- let sharedTypes = [];
220606
+ contributeToSharedTypeFile: async (extension, typeDefinitionsByFile) => {
220606
220607
  if (!isRemoteDomExtension(extension.configuration))
220607
- return sharedTypes;
220608
+ return;
220608
220609
  let { configuration } = extension;
220609
220610
  for await (let extensionPoint of configuration.extension_points) {
220610
- let fullPath = joinPath(extension.directory, extensionPoint.module), fileExtension = fullPath.split(".").pop(), exists = await fileExists(fullPath);
220611
- if (!fileExtension || !exists)
220611
+ let fullPath = joinPath(extension.directory, extensionPoint.module);
220612
+ if (!await fileExists(fullPath))
220613
+ continue;
220614
+ let mainTsConfigDir = await findNearestTsConfigDir(fullPath, extension.directory);
220615
+ if (!mainTsConfigDir)
220612
220616
  continue;
220613
- let mainTypes = getSharedTypeDefinition(fullPath, typeFilePath, extensionPoint.target, configuration.api_version);
220614
- if (mainTypes && sharedTypes.push(mainTypes), extensionPoint.build_manifest.assets[AssetIdentifier.ShouldRender]?.module) {
220615
- let shouldRenderTypes = getSharedTypeDefinition(joinPath(extension.directory, extensionPoint.build_manifest.assets[AssetIdentifier.ShouldRender].module), typeFilePath, getShouldRenderTarget(extensionPoint.target), configuration.api_version);
220616
- shouldRenderTypes && sharedTypes.push(shouldRenderTypes);
220617
+ let mainTypeFilePath = joinPath(mainTsConfigDir, "shopify.d.ts"), mainTypes = getSharedTypeDefinition(fullPath, mainTypeFilePath, extensionPoint.target, configuration.api_version);
220618
+ if (mainTypes) {
220619
+ let currentTypes = typeDefinitionsByFile.get(mainTypeFilePath) ?? /* @__PURE__ */ new Set();
220620
+ currentTypes.add(mainTypes), typeDefinitionsByFile.set(mainTypeFilePath, currentTypes);
220621
+ }
220622
+ if (extensionPoint.build_manifest.assets[AssetIdentifier.ShouldRender]?.module) {
220623
+ let shouldRenderTsConfigDir = await findNearestTsConfigDir(joinPath(extension.directory, extensionPoint.build_manifest.assets[AssetIdentifier.ShouldRender].module), extension.directory);
220624
+ if (!shouldRenderTsConfigDir)
220625
+ continue;
220626
+ let shouldRenderTypeFilePath = joinPath(shouldRenderTsConfigDir, "shopify.d.ts"), shouldRenderTypes = getSharedTypeDefinition(joinPath(extension.directory, extensionPoint.build_manifest.assets[AssetIdentifier.ShouldRender].module), shouldRenderTypeFilePath, getShouldRenderTarget(extensionPoint.target), configuration.api_version);
220627
+ if (shouldRenderTypes) {
220628
+ let currentTypes = typeDefinitionsByFile.get(shouldRenderTypeFilePath) ?? /* @__PURE__ */ new Set();
220629
+ currentTypes.add(shouldRenderTypes), typeDefinitionsByFile.set(shouldRenderTypeFilePath, currentTypes);
220630
+ }
220617
220631
  }
220618
220632
  }
220619
- return sharedTypes;
220620
220633
  }
220621
220634
  });
220622
220635
  function addDistPathToAssets(extP) {
@@ -220656,34 +220669,25 @@ function isRemoteDomExtension(config2) {
220656
220669
  let apiVersion = config2.api_version, [year, month] = apiVersion?.split("-").map((part) => parseInt(part, 10)) ?? [];
220657
220670
  return !year || !month ? !1 : year > 2025 || year === 2025 && month >= 7;
220658
220671
  }
220659
- var TYPE_REF_REGEX = /^\/\/\/ <reference types="(?:[.\/]*)shopify\.d\.ts" \/>\n/;
220660
- function updateTypeReference({ fullPath, template, shouldAddTypeReference }) {
220661
- let originalContent = readFileSync(fullPath).toString(), fileContent = originalContent, match2;
220662
- for (; match2 = TYPE_REF_REGEX.exec(fileContent); )
220663
- fileContent = fileContent.replace(match2[0], "");
220664
- shouldAddTypeReference && (fileContent = template.concat(fileContent)), originalContent !== fileContent && writeFileSync(fullPath, fileContent);
220665
- }
220666
220672
  function getShouldRenderTarget(target) {
220667
220673
  return target.replace(/\.render$/, ".should-render");
220668
220674
  }
220669
220675
  function getSharedTypeDefinition(fullPath, typeFilePath, target, apiVersion) {
220670
- let template = `/// <reference types="${relativePath(dirname(fullPath), typeFilePath)}" />
220671
- `, types;
220672
220676
  try {
220673
- let fullTypePath = require2.resolve(`@shopify/ui-extensions/${target}`, { paths: [fullPath, typeFilePath] }), libraryRoot = require2.resolve("@shopify/ui-extensions", { paths: [fullPath, typeFilePath] }), importPath = `./${relativizePath(fullTypePath, dirname(typeFilePath))}`;
220674
- types = {
220675
- libraryRoot,
220676
- definition: `//@ts-ignore
220677
+ return require2.resolve(`@shopify/ui-extensions/${target}`, { paths: [fullPath, typeFilePath] }), `//@ts-ignore
220677
220678
  declare module './${relativizePath(fullPath, dirname(typeFilePath))}' {
220678
- const shopify: import('${importPath}').Api;
220679
+ const shopify: import('@shopify/ui-extensions/${target}').Api;
220679
220680
  const globalThis: { shopify: typeof shopify };
220680
220681
  }
220681
- `
220682
- };
220682
+ `;
220683
220683
  } catch {
220684
- throw updateTypeReference({ fullPath, template, shouldAddTypeReference: !1 }), new Error(`Type reference for ${target} could not be found. You might be using the wrong @shopify/ui-extensions version. Fix the error by ensuring you install @shopify/ui-extensions@${apiVersion} in your dependencies.`);
220684
+ throw new Error(`Type reference for ${target} could not be found. You might be using the wrong @shopify/ui-extensions version. Fix the error by ensuring you install @shopify/ui-extensions@${apiVersion} in your dependencies.`);
220685
220685
  }
220686
- return updateTypeReference({ fullPath, template, shouldAddTypeReference: !0 }), types;
220686
+ }
220687
+ async function findNearestTsConfigDir(fromFile, extensionDirectory) {
220688
+ let fromDirectory = dirname(fromFile), tsconfigPath = await findPathUp("tsconfig.json", { cwd: fromDirectory, type: "file", stopAt: extensionDirectory });
220689
+ if (tsconfigPath)
220690
+ return dirname(tsconfigPath);
220687
220691
  }
220688
220692
  var ui_extension_default = uiExtensionSpec;
220689
220693
 
@@ -23,7 +23,7 @@ import {
23
23
  themeToken,
24
24
  useEmbeddedThemeCLI,
25
25
  useThemebundling
26
- } from "./chunk-R2JN4S25.js";
26
+ } from "./chunk-OAZABGFS.js";
27
27
  import "./chunk-B5EXYCV3.js";
28
28
  import "./chunk-75LV6AQS.js";
29
29
  import "./chunk-57Q6OQG4.js";
@@ -63,4 +63,4 @@ export {
63
63
  useEmbeddedThemeCLI,
64
64
  useThemebundling
65
65
  };
66
- //# sourceMappingURL=local-VNB4TMEI.js.map
66
+ //# sourceMappingURL=local-UX2FKODS.js.map
@@ -12,20 +12,20 @@ import {
12
12
  importLocal,
13
13
  logRequestLine,
14
14
  setConstructors
15
- } from "./chunk-NCYK3NPS.js";
15
+ } from "./chunk-H73PDGHM.js";
16
16
  import "./chunk-LQ2ZKVR6.js";
17
17
  import "./chunk-CP3BRHWK.js";
18
- import "./chunk-VTV2W43J.js";
19
- import "./chunk-VNKMVUTV.js";
20
- import "./chunk-5LKOKELK.js";
18
+ import "./chunk-FEYZLXHI.js";
19
+ import "./chunk-PT5BDLIN.js";
20
+ import "./chunk-EBRJEUGC.js";
21
21
  import "./chunk-SHWOPMLQ.js";
22
- import "./chunk-D2R3AM3S.js";
23
- import "./chunk-N2GQBM45.js";
24
- import "./chunk-HQF3OQCV.js";
25
- import "./chunk-KJNPOPZU.js";
22
+ import "./chunk-HO5XX2LU.js";
23
+ import "./chunk-HGD26EDV.js";
24
+ import "./chunk-DNGCAQBF.js";
25
+ import "./chunk-HE3BDMSQ.js";
26
26
  import "./chunk-25IMI7TH.js";
27
- import "./chunk-MLQTLKNQ.js";
28
- import "./chunk-ICGAJSRH.js";
27
+ import "./chunk-UGX6DGR4.js";
28
+ import "./chunk-5DXEBIVF.js";
29
29
  import "./chunk-HMDWNGIV.js";
30
30
  import {
31
31
  AbortError,
@@ -33,7 +33,7 @@ import {
33
33
  readFile,
34
34
  renderSuccess,
35
35
  source_default
36
- } from "./chunk-R2JN4S25.js";
36
+ } from "./chunk-OAZABGFS.js";
37
37
  import "./chunk-B5EXYCV3.js";
38
38
  import "./chunk-75LV6AQS.js";
39
39
  import "./chunk-57Q6OQG4.js";
@@ -163,4 +163,4 @@ async function startNodeServer({
163
163
  export {
164
164
  startNodeServer
165
165
  };
166
- //# sourceMappingURL=node-4XPDXMES.js.map
166
+ //# sourceMappingURL=node-RJ5OAO2M.js.map
@@ -29,9 +29,9 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-ICGAJSRH.js";
32
+ } from "./chunk-5DXEBIVF.js";
33
33
  import "./chunk-HMDWNGIV.js";
34
- import "./chunk-R2JN4S25.js";
34
+ import "./chunk-OAZABGFS.js";
35
35
  import "./chunk-B5EXYCV3.js";
36
36
  import "./chunk-75LV6AQS.js";
37
37
  import "./chunk-57Q6OQG4.js";
@@ -77,4 +77,4 @@ export {
77
77
  writePackageJSON,
78
78
  yarnLockfile
79
79
  };
80
- //# sourceMappingURL=node-package-manager-GL4PGGZJ.js.map
80
+ //# sourceMappingURL=node-package-manager-NS6MYGUI.js.map