@ariestools/toolchain 8.6.11

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 (1693) hide show
  1. package/README.md +65 -0
  2. package/dist/actions/analyze.d.ts +2 -0
  3. package/dist/actions/analyze.d.ts.map +1 -0
  4. package/dist/actions/api-exposure/analyzer/analyzePackage.d.ts +28 -0
  5. package/dist/actions/api-exposure/analyzer/analyzePackage.d.ts.map +1 -0
  6. package/dist/actions/api-exposure/analyzer/couplingWalk.d.ts +11 -0
  7. package/dist/actions/api-exposure/analyzer/couplingWalk.d.ts.map +1 -0
  8. package/dist/actions/api-exposure/analyzer/depSignals.d.ts +19 -0
  9. package/dist/actions/api-exposure/analyzer/depSignals.d.ts.map +1 -0
  10. package/dist/actions/api-exposure/analyzer/entryPoints.d.ts +7 -0
  11. package/dist/actions/api-exposure/analyzer/entryPoints.d.ts.map +1 -0
  12. package/dist/actions/api-exposure/analyzer/exposureWalk.d.ts +21 -0
  13. package/dist/actions/api-exposure/analyzer/exposureWalk.d.ts.map +1 -0
  14. package/dist/actions/api-exposure/analyzer/program.d.ts +21 -0
  15. package/dist/actions/api-exposure/analyzer/program.d.ts.map +1 -0
  16. package/dist/actions/api-exposure/apiExposure.d.ts +17 -0
  17. package/dist/actions/api-exposure/apiExposure.d.ts.map +1 -0
  18. package/dist/actions/api-exposure/config.d.ts +21 -0
  19. package/dist/actions/api-exposure/config.d.ts.map +1 -0
  20. package/dist/actions/api-exposure/index.d.ts +9 -0
  21. package/dist/actions/api-exposure/index.d.ts.map +1 -0
  22. package/dist/actions/api-exposure/reporters.d.ts +16 -0
  23. package/dist/actions/api-exposure/reporters.d.ts.map +1 -0
  24. package/dist/actions/api-exposure/rules.d.ts +10 -0
  25. package/dist/actions/api-exposure/rules.d.ts.map +1 -0
  26. package/dist/actions/api-exposure/scoring.d.ts +28 -0
  27. package/dist/actions/api-exposure/scoring.d.ts.map +1 -0
  28. package/dist/actions/api-exposure/types.d.ts +86 -0
  29. package/dist/actions/api-exposure/types.d.ts.map +1 -0
  30. package/dist/actions/barrel/analyzeBarrel.d.ts +22 -0
  31. package/dist/actions/barrel/analyzeBarrel.d.ts.map +1 -0
  32. package/dist/actions/barrel/checkBarrelImportRestrictions.d.ts +12 -0
  33. package/dist/actions/barrel/checkBarrelImportRestrictions.d.ts.map +1 -0
  34. package/dist/actions/barrel/getReExportSpecs.d.ts +11 -0
  35. package/dist/actions/barrel/getReExportSpecs.d.ts.map +1 -0
  36. package/dist/actions/barrel/index.d.ts +6 -0
  37. package/dist/actions/barrel/index.d.ts.map +1 -0
  38. package/dist/actions/barrel/resolveBarrel.d.ts +9 -0
  39. package/dist/actions/barrel/resolveBarrel.d.ts.map +1 -0
  40. package/dist/actions/barrel/restrictionHelpers.d.ts +30 -0
  41. package/dist/actions/barrel/restrictionHelpers.d.ts.map +1 -0
  42. package/dist/actions/build.d.ts +9 -0
  43. package/dist/actions/build.d.ts.map +1 -0
  44. package/dist/actions/claude-check.d.ts +2 -0
  45. package/dist/actions/claude-check.d.ts.map +1 -0
  46. package/dist/actions/claude-clean.d.ts +2 -0
  47. package/dist/actions/claude-clean.d.ts.map +1 -0
  48. package/dist/actions/claude-commands.d.ts +2 -0
  49. package/dist/actions/claude-commands.d.ts.map +1 -0
  50. package/dist/actions/claude-rules.d.ts +4 -0
  51. package/dist/actions/claude-rules.d.ts.map +1 -0
  52. package/dist/actions/claude-settings.d.ts +5 -0
  53. package/dist/actions/claude-settings.d.ts.map +1 -0
  54. package/dist/actions/claude-skills.d.ts +2 -0
  55. package/dist/actions/claude-skills.d.ts.map +1 -0
  56. package/dist/actions/clean-eslint.d.ts +3 -0
  57. package/dist/actions/clean-eslint.d.ts.map +1 -0
  58. package/dist/actions/clean.d.ts +14 -0
  59. package/dist/actions/clean.d.ts.map +1 -0
  60. package/dist/actions/compile.d.ts +45 -0
  61. package/dist/actions/compile.d.ts.map +1 -0
  62. package/dist/actions/copy-assets.d.ts +6 -0
  63. package/dist/actions/copy-assets.d.ts.map +1 -0
  64. package/dist/actions/dead/analyzePackage.d.ts +43 -0
  65. package/dist/actions/dead/analyzePackage.d.ts.map +1 -0
  66. package/dist/actions/dead/classifyPackageVisibility.d.ts +4 -0
  67. package/dist/actions/dead/classifyPackageVisibility.d.ts.map +1 -0
  68. package/dist/actions/dead/collectExternalUsage.d.ts +38 -0
  69. package/dist/actions/dead/collectExternalUsage.d.ts.map +1 -0
  70. package/dist/actions/dead/collectSymbols.d.ts +40 -0
  71. package/dist/actions/dead/collectSymbols.d.ts.map +1 -0
  72. package/dist/actions/dead/dead.d.ts +4 -0
  73. package/dist/actions/dead/dead.d.ts.map +1 -0
  74. package/dist/actions/dead/deprecation.d.ts +3 -0
  75. package/dist/actions/dead/deprecation.d.ts.map +1 -0
  76. package/dist/actions/dead/detectActiveCodeWorkspace.d.ts +7 -0
  77. package/dist/actions/dead/detectActiveCodeWorkspace.d.ts.map +1 -0
  78. package/dist/actions/dead/evaluateRules.d.ts +8 -0
  79. package/dist/actions/dead/evaluateRules.d.ts.map +1 -0
  80. package/dist/actions/dead/findWorkspaceFile.d.ts +13 -0
  81. package/dist/actions/dead/findWorkspaceFile.d.ts.map +1 -0
  82. package/dist/actions/dead/fixDeadCode.d.ts +12 -0
  83. package/dist/actions/dead/fixDeadCode.d.ts.map +1 -0
  84. package/dist/actions/dead/index.d.ts +10 -0
  85. package/dist/actions/dead/index.d.ts.map +1 -0
  86. package/dist/actions/dead/parseCodeWorkspace.d.ts +7 -0
  87. package/dist/actions/dead/parseCodeWorkspace.d.ts.map +1 -0
  88. package/dist/actions/dead/propagateExternalUsage.d.ts +4 -0
  89. package/dist/actions/dead/propagateExternalUsage.d.ts.map +1 -0
  90. package/dist/actions/dead/pruneDeadFiles.d.ts +7 -0
  91. package/dist/actions/dead/pruneDeadFiles.d.ts.map +1 -0
  92. package/dist/actions/dead/reporters.d.ts +6 -0
  93. package/dist/actions/dead/reporters.d.ts.map +1 -0
  94. package/dist/actions/dead/ruleConfig.d.ts +5 -0
  95. package/dist/actions/dead/ruleConfig.d.ts.map +1 -0
  96. package/dist/actions/dead/ruleNames.d.ts +4 -0
  97. package/dist/actions/dead/ruleNames.d.ts.map +1 -0
  98. package/dist/actions/dead/rules.d.ts +7 -0
  99. package/dist/actions/dead/rules.d.ts.map +1 -0
  100. package/dist/actions/dead/runDeadAnalysis.d.ts +25 -0
  101. package/dist/actions/dead/runDeadAnalysis.d.ts.map +1 -0
  102. package/dist/actions/dead/runtimeEntries.d.ts +23 -0
  103. package/dist/actions/dead/runtimeEntries.d.ts.map +1 -0
  104. package/dist/actions/dead/sourceEdits.d.ts +7 -0
  105. package/dist/actions/dead/sourceEdits.d.ts.map +1 -0
  106. package/dist/actions/dead/storybookConventions.d.ts +6 -0
  107. package/dist/actions/dead/storybookConventions.d.ts.map +1 -0
  108. package/dist/actions/dead/types.d.ts +68 -0
  109. package/dist/actions/dead/types.d.ts.map +1 -0
  110. package/dist/actions/deplint/checkPackage/checkPackage.d.ts +17 -0
  111. package/dist/actions/deplint/checkPackage/checkPackage.d.ts.map +1 -0
  112. package/dist/actions/deplint/checkPackage/checkPackageTypes.d.ts +19 -0
  113. package/dist/actions/deplint/checkPackage/checkPackageTypes.d.ts.map +1 -0
  114. package/dist/actions/deplint/checkPackage/getMismatchedPeerDevVersions.d.ts +11 -0
  115. package/dist/actions/deplint/checkPackage/getMismatchedPeerDevVersions.d.ts.map +1 -0
  116. package/dist/actions/deplint/checkPackage/getUnlistedDependencies.d.ts +21 -0
  117. package/dist/actions/deplint/checkPackage/getUnlistedDependencies.d.ts.map +1 -0
  118. package/dist/actions/deplint/checkPackage/getUnlistedDevDependencies.d.ts +6 -0
  119. package/dist/actions/deplint/checkPackage/getUnlistedDevDependencies.d.ts.map +1 -0
  120. package/dist/actions/deplint/checkPackage/getUnnecessaryPeerDependencies.d.ts +24 -0
  121. package/dist/actions/deplint/checkPackage/getUnnecessaryPeerDependencies.d.ts.map +1 -0
  122. package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts +74 -0
  123. package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts.map +1 -0
  124. package/dist/actions/deplint/checkPackage/getUnusedDependencies.d.ts +12 -0
  125. package/dist/actions/deplint/checkPackage/getUnusedDependencies.d.ts.map +1 -0
  126. package/dist/actions/deplint/checkPackage/getUnusedDevDependencies.d.ts +7 -0
  127. package/dist/actions/deplint/checkPackage/getUnusedDevDependencies.d.ts.map +1 -0
  128. package/dist/actions/deplint/checkPackage/getUnusedPeerDependencies.d.ts +6 -0
  129. package/dist/actions/deplint/checkPackage/getUnusedPeerDependencies.d.ts.map +1 -0
  130. package/dist/actions/deplint/checkPackage/getWorkspaceVersionProblems.d.ts +21 -0
  131. package/dist/actions/deplint/checkPackage/getWorkspaceVersionProblems.d.ts.map +1 -0
  132. package/dist/actions/deplint/checkPackage/index.d.ts +13 -0
  133. package/dist/actions/deplint/checkPackage/index.d.ts.map +1 -0
  134. package/dist/actions/deplint/checkPackage/legacyPeerCheck.d.ts +13 -0
  135. package/dist/actions/deplint/checkPackage/legacyPeerCheck.d.ts.map +1 -0
  136. package/dist/actions/deplint/deplint.d.ts +20 -0
  137. package/dist/actions/deplint/deplint.d.ts.map +1 -0
  138. package/dist/actions/deplint/engine.d.ts +15 -0
  139. package/dist/actions/deplint/engine.d.ts.map +1 -0
  140. package/dist/actions/deplint/fetchPackageManifest.d.ts +25 -0
  141. package/dist/actions/deplint/fetchPackageManifest.d.ts.map +1 -0
  142. package/dist/actions/deplint/findFiles.d.ts +6 -0
  143. package/dist/actions/deplint/findFiles.d.ts.map +1 -0
  144. package/dist/actions/deplint/findFilesByGlob.d.ts +2 -0
  145. package/dist/actions/deplint/findFilesByGlob.d.ts.map +1 -0
  146. package/dist/actions/deplint/fixer.d.ts +3 -0
  147. package/dist/actions/deplint/fixer.d.ts.map +1 -0
  148. package/dist/actions/deplint/getBasePackageName.d.ts +2 -0
  149. package/dist/actions/deplint/getBasePackageName.d.ts.map +1 -0
  150. package/dist/actions/deplint/getCliReferencedPackagesFromFiles.d.ts +12 -0
  151. package/dist/actions/deplint/getCliReferencedPackagesFromFiles.d.ts.map +1 -0
  152. package/dist/actions/deplint/getDependenciesFromPackageJson.d.ts +9 -0
  153. package/dist/actions/deplint/getDependenciesFromPackageJson.d.ts.map +1 -0
  154. package/dist/actions/deplint/getExtendsFromTsconfigs.d.ts +10 -0
  155. package/dist/actions/deplint/getExtendsFromTsconfigs.d.ts.map +1 -0
  156. package/dist/actions/deplint/getExternalImportsFromFiles.d.ts +12 -0
  157. package/dist/actions/deplint/getExternalImportsFromFiles.d.ts.map +1 -0
  158. package/dist/actions/deplint/getImportsFromFile.d.ts +4 -0
  159. package/dist/actions/deplint/getImportsFromFile.d.ts.map +1 -0
  160. package/dist/actions/deplint/getRequiredPeerDependencies.d.ts +10 -0
  161. package/dist/actions/deplint/getRequiredPeerDependencies.d.ts.map +1 -0
  162. package/dist/actions/deplint/getScriptReferencedPackages.d.ts +8 -0
  163. package/dist/actions/deplint/getScriptReferencedPackages.d.ts.map +1 -0
  164. package/dist/actions/deplint/getStorybookConfigImports.d.ts +3 -0
  165. package/dist/actions/deplint/getStorybookConfigImports.d.ts.map +1 -0
  166. package/dist/actions/deplint/implicitDevDependencies.d.ts +15 -0
  167. package/dist/actions/deplint/implicitDevDependencies.d.ts.map +1 -0
  168. package/dist/actions/deplint/index.d.ts +11 -0
  169. package/dist/actions/deplint/index.d.ts.map +1 -0
  170. package/dist/actions/deplint/isTerminalPackage.d.ts +25 -0
  171. package/dist/actions/deplint/isTerminalPackage.d.ts.map +1 -0
  172. package/dist/actions/deplint/loader.d.ts +4 -0
  173. package/dist/actions/deplint/loader.d.ts.map +1 -0
  174. package/dist/actions/deplint/packageEditor.d.ts +11 -0
  175. package/dist/actions/deplint/packageEditor.d.ts.map +1 -0
  176. package/dist/actions/deplint/packageJsonEditor.d.ts +97 -0
  177. package/dist/actions/deplint/packageJsonEditor.d.ts.map +1 -0
  178. package/dist/actions/deplint/peerRangeOptions.d.ts +10 -0
  179. package/dist/actions/deplint/peerRangeOptions.d.ts.map +1 -0
  180. package/dist/actions/deplint/reporters.d.ts +8 -0
  181. package/dist/actions/deplint/reporters.d.ts.map +1 -0
  182. package/dist/actions/deplint/resolvePeerBumpFixes.d.ts +24 -0
  183. package/dist/actions/deplint/resolvePeerBumpFixes.d.ts.map +1 -0
  184. package/dist/actions/deplint/ruleConfig.d.ts +5 -0
  185. package/dist/actions/deplint/ruleConfig.d.ts.map +1 -0
  186. package/dist/actions/deplint/rules.d.ts +4 -0
  187. package/dist/actions/deplint/rules.d.ts.map +1 -0
  188. package/dist/actions/deplint/rulesDiagnostic.d.ts +4 -0
  189. package/dist/actions/deplint/rulesDiagnostic.d.ts.map +1 -0
  190. package/dist/actions/deplint/rulesMisplaced.d.ts +4 -0
  191. package/dist/actions/deplint/rulesMisplaced.d.ts.map +1 -0
  192. package/dist/actions/deplint/snapshot.d.ts +22 -0
  193. package/dist/actions/deplint/snapshot.d.ts.map +1 -0
  194. package/dist/actions/deplint/tsScriptsAliases.d.ts +11 -0
  195. package/dist/actions/deplint/tsScriptsAliases.d.ts.map +1 -0
  196. package/dist/actions/deplint/types.d.ts +295 -0
  197. package/dist/actions/deplint/types.d.ts.map +1 -0
  198. package/dist/actions/deplint/versionMismatchFixes.d.ts +4 -0
  199. package/dist/actions/deplint/versionMismatchFixes.d.ts.map +1 -0
  200. package/dist/actions/deploy.d.ts +3 -0
  201. package/dist/actions/deploy.d.ts.map +1 -0
  202. package/dist/actions/eject.d.ts +2 -0
  203. package/dist/actions/eject.d.ts.map +1 -0
  204. package/dist/actions/fix.d.ts +7 -0
  205. package/dist/actions/fix.d.ts.map +1 -0
  206. package/dist/actions/gitignore.d.ts +4 -0
  207. package/dist/actions/gitignore.d.ts.map +1 -0
  208. package/dist/actions/gitlint-fix.d.ts +2 -0
  209. package/dist/actions/gitlint-fix.d.ts.map +1 -0
  210. package/dist/actions/gitlint.d.ts +2 -0
  211. package/dist/actions/gitlint.d.ts.map +1 -0
  212. package/dist/actions/incremental.d.ts +46 -0
  213. package/dist/actions/incremental.d.ts.map +1 -0
  214. package/dist/actions/index.d.ts +54 -0
  215. package/dist/actions/index.d.ts.map +1 -0
  216. package/dist/actions/install.d.ts +2 -0
  217. package/dist/actions/install.d.ts.map +1 -0
  218. package/dist/actions/license.d.ts +2 -0
  219. package/dist/actions/license.d.ts.map +1 -0
  220. package/dist/actions/lint-config.d.ts +16 -0
  221. package/dist/actions/lint-config.d.ts.map +1 -0
  222. package/dist/actions/lint-init.d.ts +16 -0
  223. package/dist/actions/lint-init.d.ts.map +1 -0
  224. package/dist/actions/lint.d.ts +36 -0
  225. package/dist/actions/lint.d.ts.map +1 -0
  226. package/dist/actions/lintNext.d.ts +14 -0
  227. package/dist/actions/lintNext.d.ts.map +1 -0
  228. package/dist/actions/lintNextWorker.d.ts +21 -0
  229. package/dist/actions/lintNextWorker.d.ts.map +1 -0
  230. package/dist/actions/lintTierAnalysis.d.ts +61 -0
  231. package/dist/actions/lintTierAnalysis.d.ts.map +1 -0
  232. package/dist/actions/lintlint.d.ts +12 -0
  233. package/dist/actions/lintlint.d.ts.map +1 -0
  234. package/dist/actions/node-lint.d.ts +19 -0
  235. package/dist/actions/node-lint.d.ts.map +1 -0
  236. package/dist/actions/npmignore-gen.d.ts +2 -0
  237. package/dist/actions/npmignore-gen.d.ts.map +1 -0
  238. package/dist/actions/orphan.d.ts +6 -0
  239. package/dist/actions/orphan.d.ts.map +1 -0
  240. package/dist/actions/package/clean-outputs.d.ts +6 -0
  241. package/dist/actions/package/clean-outputs.d.ts.map +1 -0
  242. package/dist/actions/package/clean-typescript.d.ts +3 -0
  243. package/dist/actions/package/clean-typescript.d.ts.map +1 -0
  244. package/dist/actions/package/clean.d.ts +3 -0
  245. package/dist/actions/package/clean.d.ts.map +1 -0
  246. package/dist/actions/package/compile/ApiExposureConfig.d.ts +58 -0
  247. package/dist/actions/package/compile/ApiExposureConfig.d.ts.map +1 -0
  248. package/dist/actions/package/compile/MonolithConfig.d.ts +105 -0
  249. package/dist/actions/package/compile/MonolithConfig.d.ts.map +1 -0
  250. package/dist/actions/package/compile/XyConfig.d.ts +462 -0
  251. package/dist/actions/package/compile/XyConfig.d.ts.map +1 -0
  252. package/dist/actions/package/compile/buildEntries.d.ts +3 -0
  253. package/dist/actions/package/compile/buildEntries.d.ts.map +1 -0
  254. package/dist/actions/package/compile/compile.d.ts +7 -0
  255. package/dist/actions/package/compile/compile.d.ts.map +1 -0
  256. package/dist/actions/package/compile/copyTypeFiles.d.ts +2 -0
  257. package/dist/actions/package/compile/copyTypeFiles.d.ts.map +1 -0
  258. package/dist/actions/package/compile/createProgramFromConfig.d.ts +25 -0
  259. package/dist/actions/package/compile/createProgramFromConfig.d.ts.map +1 -0
  260. package/dist/actions/package/compile/createTypescriptConfig.d.ts +29 -0
  261. package/dist/actions/package/compile/createTypescriptConfig.d.ts.map +1 -0
  262. package/dist/actions/package/compile/deepMerge.d.ts +4 -0
  263. package/dist/actions/package/compile/deepMerge.d.ts.map +1 -0
  264. package/dist/actions/package/compile/entryOutputName.d.ts +5 -0
  265. package/dist/actions/package/compile/entryOutputName.d.ts.map +1 -0
  266. package/dist/actions/package/compile/findWorkspaceRoot.d.ts +5 -0
  267. package/dist/actions/package/compile/findWorkspaceRoot.d.ts.map +1 -0
  268. package/dist/actions/package/compile/getCompilerOptions.d.ts +3 -0
  269. package/dist/actions/package/compile/getCompilerOptions.d.ts.map +1 -0
  270. package/dist/actions/package/compile/index.d.ts +16 -0
  271. package/dist/actions/package/compile/index.d.ts.map +1 -0
  272. package/dist/actions/package/compile/inputs.d.ts +2 -0
  273. package/dist/actions/package/compile/inputs.d.ts.map +1 -0
  274. package/dist/actions/package/compile/monolithCompileDeclarations.d.ts +14 -0
  275. package/dist/actions/package/compile/monolithCompileDeclarations.d.ts.map +1 -0
  276. package/dist/actions/package/compile/monolithCompileEntries.d.ts +20 -0
  277. package/dist/actions/package/compile/monolithCompileEntries.d.ts.map +1 -0
  278. package/dist/actions/package/compile/monolithCompileLayout.d.ts +43 -0
  279. package/dist/actions/package/compile/monolithCompileLayout.d.ts.map +1 -0
  280. package/dist/actions/package/compile/packageCompileEsbuild.d.ts +18 -0
  281. package/dist/actions/package/compile/packageCompileEsbuild.d.ts.map +1 -0
  282. package/dist/actions/package/compile/packageCompileMonolith.d.ts +10 -0
  283. package/dist/actions/package/compile/packageCompileMonolith.d.ts.map +1 -0
  284. package/dist/actions/package/compile/packageCompileTsc.d.ts +3 -0
  285. package/dist/actions/package/compile/packageCompileTsc.d.ts.map +1 -0
  286. package/dist/actions/package/compile/packageCompileTsup.d.ts +6 -0
  287. package/dist/actions/package/compile/packageCompileTsup.d.ts.map +1 -0
  288. package/dist/actions/package/compile/packageCompileVendor.d.ts +4 -0
  289. package/dist/actions/package/compile/packageCompileVendor.d.ts.map +1 -0
  290. package/dist/actions/package/compile/resolveCompileBundleOptions.d.ts +13 -0
  291. package/dist/actions/package/compile/resolveCompileBundleOptions.d.ts.map +1 -0
  292. package/dist/actions/package/compile/resolveCompilePlatforms.d.ts +23 -0
  293. package/dist/actions/package/compile/resolveCompilePlatforms.d.ts.map +1 -0
  294. package/dist/actions/package/compile/resolvePlatformTypes.d.ts +5 -0
  295. package/dist/actions/package/compile/resolvePlatformTypes.d.ts.map +1 -0
  296. package/dist/actions/package/compile/runTsc.d.ts +2 -0
  297. package/dist/actions/package/compile/runTsc.d.ts.map +1 -0
  298. package/dist/actions/package/compile/validateFullPackage.d.ts +2 -0
  299. package/dist/actions/package/compile/validateFullPackage.d.ts.map +1 -0
  300. package/dist/actions/package/compile/vendorCompile.d.ts +6 -0
  301. package/dist/actions/package/compile/vendorCompile.d.ts.map +1 -0
  302. package/dist/actions/package/compile/vendorCompileEmit.d.ts +8 -0
  303. package/dist/actions/package/compile/vendorCompileEmit.d.ts.map +1 -0
  304. package/dist/actions/package/compile/vendorCompileInternals.d.ts +31 -0
  305. package/dist/actions/package/compile/vendorCompileInternals.d.ts.map +1 -0
  306. package/dist/actions/package/compile/vendorCompileRewrite.d.ts +3 -0
  307. package/dist/actions/package/compile/vendorCompileRewrite.d.ts.map +1 -0
  308. package/dist/actions/package/compile/vendorCompileTypes.d.ts +31 -0
  309. package/dist/actions/package/compile/vendorCompileTypes.d.ts.map +1 -0
  310. package/dist/actions/package/compileTargetsPublint.d.ts +13 -0
  311. package/dist/actions/package/compileTargetsPublint.d.ts.map +1 -0
  312. package/dist/actions/package/copy-assets.d.ts +5 -0
  313. package/dist/actions/package/copy-assets.d.ts.map +1 -0
  314. package/dist/actions/package/expectedCompileOutputs.d.ts +11 -0
  315. package/dist/actions/package/expectedCompileOutputs.d.ts.map +1 -0
  316. package/dist/actions/package/exportConditionPublint.d.ts +9 -0
  317. package/dist/actions/package/exportConditionPublint.d.ts.map +1 -0
  318. package/dist/actions/package/exportMapPublint.d.ts +7 -0
  319. package/dist/actions/package/exportMapPublint.d.ts.map +1 -0
  320. package/dist/actions/package/index.d.ts +9 -0
  321. package/dist/actions/package/index.d.ts.map +1 -0
  322. package/dist/actions/package/lint.d.ts +2 -0
  323. package/dist/actions/package/lint.d.ts.map +1 -0
  324. package/dist/actions/package/platformPublint.d.ts +7 -0
  325. package/dist/actions/package/platformPublint.d.ts.map +1 -0
  326. package/dist/actions/package/publint.d.ts +16 -0
  327. package/dist/actions/package/publint.d.ts.map +1 -0
  328. package/dist/actions/package/recompile.d.ts +3 -0
  329. package/dist/actions/package/recompile.d.ts.map +1 -0
  330. package/dist/actions/package-lint-deps.d.ts +47 -0
  331. package/dist/actions/package-lint-deps.d.ts.map +1 -0
  332. package/dist/actions/package-lint-engines.d.ts +22 -0
  333. package/dist/actions/package-lint-engines.d.ts.map +1 -0
  334. package/dist/actions/package-lint-pnpm.d.ts +11 -0
  335. package/dist/actions/package-lint-pnpm.d.ts.map +1 -0
  336. package/dist/actions/package-lint-specs.d.ts +9 -0
  337. package/dist/actions/package-lint-specs.d.ts.map +1 -0
  338. package/dist/actions/package-lint.d.ts +7 -0
  339. package/dist/actions/package-lint.d.ts.map +1 -0
  340. package/dist/actions/packman/clean.d.ts +5 -0
  341. package/dist/actions/packman/clean.d.ts.map +1 -0
  342. package/dist/actions/packman/convert.d.ts +10 -0
  343. package/dist/actions/packman/convert.d.ts.map +1 -0
  344. package/dist/actions/packman/convertToBun.d.ts +2 -0
  345. package/dist/actions/packman/convertToBun.d.ts.map +1 -0
  346. package/dist/actions/packman/convertToNpm.d.ts +2 -0
  347. package/dist/actions/packman/convertToNpm.d.ts.map +1 -0
  348. package/dist/actions/packman/convertToPnpm.d.ts +2 -0
  349. package/dist/actions/packman/convertToPnpm.d.ts.map +1 -0
  350. package/dist/actions/packman/convertToYarn.d.ts +2 -0
  351. package/dist/actions/packman/convertToYarn.d.ts.map +1 -0
  352. package/dist/actions/packman/index.d.ts +5 -0
  353. package/dist/actions/packman/index.d.ts.map +1 -0
  354. package/dist/actions/packman/lint.d.ts +6 -0
  355. package/dist/actions/packman/lint.d.ts.map +1 -0
  356. package/dist/actions/packman/rewriteScripts.d.ts +5 -0
  357. package/dist/actions/packman/rewriteScripts.d.ts.map +1 -0
  358. package/dist/actions/packman/rewriteSourceImports.d.ts +2 -0
  359. package/dist/actions/packman/rewriteSourceImports.d.ts.map +1 -0
  360. package/dist/actions/packman/swapTsScriptsDependency.d.ts +2 -0
  361. package/dist/actions/packman/swapTsScriptsDependency.d.ts.map +1 -0
  362. package/dist/actions/publint.d.ts +48 -0
  363. package/dist/actions/publint.d.ts.map +1 -0
  364. package/dist/actions/publish.d.ts +22 -0
  365. package/dist/actions/publish.d.ts.map +1 -0
  366. package/dist/actions/reactTest.d.ts +2 -0
  367. package/dist/actions/reactTest.d.ts.map +1 -0
  368. package/dist/actions/rebuild.d.ts +7 -0
  369. package/dist/actions/rebuild.d.ts.map +1 -0
  370. package/dist/actions/recompile.d.ts +16 -0
  371. package/dist/actions/recompile.d.ts.map +1 -0
  372. package/dist/actions/reinstall.d.ts +2 -0
  373. package/dist/actions/reinstall.d.ts.map +1 -0
  374. package/dist/actions/releaseAgeExcludeScopes.d.ts +13 -0
  375. package/dist/actions/releaseAgeExcludeScopes.d.ts.map +1 -0
  376. package/dist/actions/relint.d.ts +24 -0
  377. package/dist/actions/relint.d.ts.map +1 -0
  378. package/dist/actions/repo-init.d.ts +14 -0
  379. package/dist/actions/repo-init.d.ts.map +1 -0
  380. package/dist/actions/republint.d.ts +13 -0
  381. package/dist/actions/republint.d.ts.map +1 -0
  382. package/dist/actions/result.d.ts +44 -0
  383. package/dist/actions/result.d.ts.map +1 -0
  384. package/dist/actions/retest.d.ts +5 -0
  385. package/dist/actions/retest.d.ts.map +1 -0
  386. package/dist/actions/secure.d.ts +7 -0
  387. package/dist/actions/secure.d.ts.map +1 -0
  388. package/dist/actions/sitemap.d.ts +2 -0
  389. package/dist/actions/sitemap.d.ts.map +1 -0
  390. package/dist/actions/skills/defaults.d.ts +6 -0
  391. package/dist/actions/skills/defaults.d.ts.map +1 -0
  392. package/dist/actions/skills/detectProfile.d.ts +10 -0
  393. package/dist/actions/skills/detectProfile.d.ts.map +1 -0
  394. package/dist/actions/skills/index.d.ts +9 -0
  395. package/dist/actions/skills/index.d.ts.map +1 -0
  396. package/dist/actions/skills/installed.d.ts +10 -0
  397. package/dist/actions/skills/installed.d.ts.map +1 -0
  398. package/dist/actions/skills/lint.d.ts +26 -0
  399. package/dist/actions/skills/lint.d.ts.map +1 -0
  400. package/dist/actions/skills/passthrough.d.ts +26 -0
  401. package/dist/actions/skills/passthrough.d.ts.map +1 -0
  402. package/dist/actions/skills/remove.d.ts +9 -0
  403. package/dist/actions/skills/remove.d.ts.map +1 -0
  404. package/dist/actions/skills/skillRules.d.ts +9 -0
  405. package/dist/actions/skills/skillRules.d.ts.map +1 -0
  406. package/dist/actions/skills/updo.d.ts +4 -0
  407. package/dist/actions/skills/updo.d.ts.map +1 -0
  408. package/dist/actions/skills/versions.d.ts +10 -0
  409. package/dist/actions/skills/versions.d.ts.map +1 -0
  410. package/dist/actions/sonar.d.ts +2 -0
  411. package/dist/actions/sonar.d.ts.map +1 -0
  412. package/dist/actions/start.d.ts +2 -0
  413. package/dist/actions/start.d.ts.map +1 -0
  414. package/dist/actions/statics.d.ts +2 -0
  415. package/dist/actions/statics.d.ts.map +1 -0
  416. package/dist/actions/test.d.ts +5 -0
  417. package/dist/actions/test.d.ts.map +1 -0
  418. package/dist/actions/tsc-validate/index.d.ts +3 -0
  419. package/dist/actions/tsc-validate/index.d.ts.map +1 -0
  420. package/dist/actions/tsc-validate/sharedValidate.d.ts +34 -0
  421. package/dist/actions/tsc-validate/sharedValidate.d.ts.map +1 -0
  422. package/dist/actions/tsc-validate/tscValidate.d.ts +35 -0
  423. package/dist/actions/tsc-validate/tscValidate.d.ts.map +1 -0
  424. package/dist/actions/up.d.ts +2 -0
  425. package/dist/actions/up.d.ts.map +1 -0
  426. package/dist/actions/updo.d.ts +9 -0
  427. package/dist/actions/updo.d.ts.map +1 -0
  428. package/dist/actions/work/id.d.ts +8 -0
  429. package/dist/actions/work/id.d.ts.map +1 -0
  430. package/dist/actions/work/index.d.ts +131 -0
  431. package/dist/actions/work/index.d.ts.map +1 -0
  432. package/dist/actions/work/inline.d.ts +8 -0
  433. package/dist/actions/work/inline.d.ts.map +1 -0
  434. package/dist/actions/work/priority.d.ts +5 -0
  435. package/dist/actions/work/priority.d.ts.map +1 -0
  436. package/dist/actions/work/schema.d.ts +81 -0
  437. package/dist/actions/work/schema.d.ts.map +1 -0
  438. package/dist/actions/work/store.d.ts +23 -0
  439. package/dist/actions/work/store.d.ts.map +1 -0
  440. package/dist/bin/cli.mjs +2 -0
  441. package/dist/bin/package/build.d.ts +3 -0
  442. package/dist/bin/package/build.d.ts.map +1 -0
  443. package/dist/bin/package/build.mjs +18220 -0
  444. package/dist/bin/package/build.mjs.map +1 -0
  445. package/dist/bin/package/clean-outputs.d.ts +3 -0
  446. package/dist/bin/package/clean-outputs.d.ts.map +1 -0
  447. package/dist/bin/package/clean-typescript.d.ts +3 -0
  448. package/dist/bin/package/clean-typescript.d.ts.map +1 -0
  449. package/dist/bin/package/clean.d.ts +3 -0
  450. package/dist/bin/package/clean.d.ts.map +1 -0
  451. package/dist/bin/package/clean.mjs +3632 -0
  452. package/dist/bin/package/clean.mjs.map +1 -0
  453. package/dist/bin/package/compile-tsup.d.ts +3 -0
  454. package/dist/bin/package/compile-tsup.d.ts.map +1 -0
  455. package/dist/bin/package/compile.d.ts +3 -0
  456. package/dist/bin/package/compile.d.ts.map +1 -0
  457. package/dist/bin/package/compile.mjs +13159 -0
  458. package/dist/bin/package/compile.mjs.map +1 -0
  459. package/dist/bin/package/copy-assets-cjs.d.ts +3 -0
  460. package/dist/bin/package/copy-assets-cjs.d.ts.map +1 -0
  461. package/dist/bin/package/copy-assets-cjs.mjs +3634 -0
  462. package/dist/bin/package/copy-assets-cjs.mjs.map +1 -0
  463. package/dist/bin/package/copy-assets-esm.d.ts +3 -0
  464. package/dist/bin/package/copy-assets-esm.d.ts.map +1 -0
  465. package/dist/bin/package/copy-assets-esm.mjs +3634 -0
  466. package/dist/bin/package/copy-assets-esm.mjs.map +1 -0
  467. package/dist/bin/package/fix.d.ts +3 -0
  468. package/dist/bin/package/fix.d.ts.map +1 -0
  469. package/dist/bin/package/fix.mjs +2184 -0
  470. package/dist/bin/package/fix.mjs.map +1 -0
  471. package/dist/bin/package/lint-verbose.d.ts +3 -0
  472. package/dist/bin/package/lint-verbose.d.ts.map +1 -0
  473. package/dist/bin/package/lint-verbose.mjs +2184 -0
  474. package/dist/bin/package/lint-verbose.mjs.map +1 -0
  475. package/dist/bin/package/lint.d.ts +3 -0
  476. package/dist/bin/package/lint.d.ts.map +1 -0
  477. package/dist/bin/package/lint.mjs +2184 -0
  478. package/dist/bin/package/lint.mjs.map +1 -0
  479. package/dist/bin/package/publint.d.ts +3 -0
  480. package/dist/bin/package/publint.d.ts.map +1 -0
  481. package/dist/bin/package/publint.mjs +13676 -0
  482. package/dist/bin/package/publint.mjs.map +1 -0
  483. package/dist/bin/package/recompile.d.ts +3 -0
  484. package/dist/bin/package/recompile.d.ts.map +1 -0
  485. package/dist/bin/package/recompile.mjs +13230 -0
  486. package/dist/bin/package/recompile.mjs.map +1 -0
  487. package/dist/bin/package/relint.d.ts +3 -0
  488. package/dist/bin/package/relint.d.ts.map +1 -0
  489. package/dist/bin/package/relint.mjs +2184 -0
  490. package/dist/bin/package/relint.mjs.map +1 -0
  491. package/dist/bin/package/sync-layout.d.ts +3 -0
  492. package/dist/bin/package/sync-layout.d.ts.map +1 -0
  493. package/dist/bin/package/sync-layout.mjs +5504 -0
  494. package/dist/bin/package/sync-layout.mjs.map +1 -0
  495. package/dist/bin/run-or-exec.d.ts +3 -0
  496. package/dist/bin/run-or-exec.d.ts.map +1 -0
  497. package/dist/bin/run-or-exec.mjs +975 -0
  498. package/dist/bin/run-or-exec.mjs.map +1 -0
  499. package/dist/bin/skills.mjs +18533 -0
  500. package/dist/bin/skills.mjs.map +1 -0
  501. package/dist/bin/source-map-explorer.mjs +27263 -0
  502. package/dist/bin/source-map-explorer.mjs.map +1 -0
  503. package/dist/bin/xy.d.ts +3 -0
  504. package/dist/bin/xy.d.ts.map +1 -0
  505. package/dist/bin/xy.mjs +47963 -0
  506. package/dist/bin/xy.mjs.map +1 -0
  507. package/dist/index.d.ts +6 -0
  508. package/dist/index.d.ts.map +1 -0
  509. package/dist/lib/bundledCliPath.d.ts +4 -0
  510. package/dist/lib/bundledCliPath.d.ts.map +1 -0
  511. package/dist/lib/checkResult.d.ts +2 -0
  512. package/dist/lib/checkResult.d.ts.map +1 -0
  513. package/dist/lib/claudeMdTemplate.d.ts +12 -0
  514. package/dist/lib/claudeMdTemplate.d.ts.map +1 -0
  515. package/dist/lib/concurrency.d.ts +5 -0
  516. package/dist/lib/concurrency.d.ts.map +1 -0
  517. package/dist/lib/copyAssetFiles.d.ts +10 -0
  518. package/dist/lib/copyAssetFiles.d.ts.map +1 -0
  519. package/dist/lib/createBuildConfig.d.ts +2 -0
  520. package/dist/lib/createBuildConfig.d.ts.map +1 -0
  521. package/dist/lib/crossSpawn.d.ts +6 -0
  522. package/dist/lib/crossSpawn.d.ts.map +1 -0
  523. package/dist/lib/deepMerge.d.ts +24 -0
  524. package/dist/lib/deepMerge.d.ts.map +1 -0
  525. package/dist/lib/defaultBuildConfig.d.ts +9 -0
  526. package/dist/lib/defaultBuildConfig.d.ts.map +1 -0
  527. package/dist/lib/deleteGlob.d.ts +2 -0
  528. package/dist/lib/deleteGlob.d.ts.map +1 -0
  529. package/dist/lib/dependencies/DuplicateDetector.d.ts +7 -0
  530. package/dist/lib/dependencies/DuplicateDetector.d.ts.map +1 -0
  531. package/dist/lib/dependencies/detectDuplicateDependencies.d.ts +2 -0
  532. package/dist/lib/dependencies/detectDuplicateDependencies.d.ts.map +1 -0
  533. package/dist/lib/dependencies/index.d.ts +4 -0
  534. package/dist/lib/dependencies/index.d.ts.map +1 -0
  535. package/dist/lib/dependencies/workspaceCycles.d.ts +15 -0
  536. package/dist/lib/dependencies/workspaceCycles.d.ts.map +1 -0
  537. package/dist/lib/deprecationMigrate.d.ts +2 -0
  538. package/dist/lib/deprecationMigrate.d.ts.map +1 -0
  539. package/dist/lib/eslintCache.d.ts +4 -0
  540. package/dist/lib/eslintCache.d.ts.map +1 -0
  541. package/dist/lib/file/ReadFileSyncOptions.d.ts +6 -0
  542. package/dist/lib/file/ReadFileSyncOptions.d.ts.map +1 -0
  543. package/dist/lib/file/constants.d.ts +3 -0
  544. package/dist/lib/file/constants.d.ts.map +1 -0
  545. package/dist/lib/file/fileLines.d.ts +6 -0
  546. package/dist/lib/file/fileLines.d.ts.map +1 -0
  547. package/dist/lib/file/index.d.ts +5 -0
  548. package/dist/lib/file/index.d.ts.map +1 -0
  549. package/dist/lib/file/tryReadFileSync.d.ts +4 -0
  550. package/dist/lib/file/tryReadFileSync.d.ts.map +1 -0
  551. package/dist/lib/fillTemplate.d.ts +2 -0
  552. package/dist/lib/fillTemplate.d.ts.map +1 -0
  553. package/dist/lib/generateIgnoreFiles.d.ts +2 -0
  554. package/dist/lib/generateIgnoreFiles.d.ts.map +1 -0
  555. package/dist/lib/gitConfig.d.ts +25 -0
  556. package/dist/lib/gitConfig.d.ts.map +1 -0
  557. package/dist/lib/gitignoreTemplate.d.ts +2 -0
  558. package/dist/lib/gitignoreTemplate.d.ts.map +1 -0
  559. package/dist/lib/index.d.ts +45 -0
  560. package/dist/lib/index.d.ts.map +1 -0
  561. package/dist/lib/initCwd.d.ts +2 -0
  562. package/dist/lib/initCwd.d.ts.map +1 -0
  563. package/dist/lib/jsonFormatters.d.ts +2 -0
  564. package/dist/lib/jsonFormatters.d.ts.map +1 -0
  565. package/dist/lib/latestVersions.d.ts +8 -0
  566. package/dist/lib/latestVersions.d.ts.map +1 -0
  567. package/dist/lib/loadConfig.d.ts +10 -0
  568. package/dist/lib/loadConfig.d.ts.map +1 -0
  569. package/dist/lib/match.d.ts +21 -0
  570. package/dist/lib/match.d.ts.map +1 -0
  571. package/dist/lib/npmLatestVersion.d.ts +3 -0
  572. package/dist/lib/npmLatestVersion.d.ts.map +1 -0
  573. package/dist/lib/packageManagerRuntime.d.ts +25 -0
  574. package/dist/lib/packageManagerRuntime.d.ts.map +1 -0
  575. package/dist/lib/packageName.d.ts +2 -0
  576. package/dist/lib/packageName.d.ts.map +1 -0
  577. package/dist/lib/parsedPackageJSON.d.ts +2 -0
  578. package/dist/lib/parsedPackageJSON.d.ts.map +1 -0
  579. package/dist/lib/parsedPackageJson.d.ts +2 -0
  580. package/dist/lib/parsedPackageJson.d.ts.map +1 -0
  581. package/dist/lib/pnpmConfig/index.d.ts +2 -0
  582. package/dist/lib/pnpmConfig/index.d.ts.map +1 -0
  583. package/dist/lib/pnpmConfig/readMinReleaseAge.d.ts +18 -0
  584. package/dist/lib/pnpmConfig/readMinReleaseAge.d.ts.map +1 -0
  585. package/dist/lib/processEx.d.ts +2 -0
  586. package/dist/lib/processEx.d.ts.map +1 -0
  587. package/dist/lib/repoTemplates.d.ts +7 -0
  588. package/dist/lib/repoTemplates.d.ts.map +1 -0
  589. package/dist/lib/reporting/index.d.ts +3 -0
  590. package/dist/lib/reporting/index.d.ts.map +1 -0
  591. package/dist/lib/reporting/runWithEnvelope.d.ts +15 -0
  592. package/dist/lib/reporting/runWithEnvelope.d.ts.map +1 -0
  593. package/dist/lib/reporting/xyReporter.d.ts +27 -0
  594. package/dist/lib/reporting/xyReporter.d.ts.map +1 -0
  595. package/dist/lib/runInstall.d.ts +2 -0
  596. package/dist/lib/runInstall.d.ts.map +1 -0
  597. package/dist/lib/runSteps.d.ts +3 -0
  598. package/dist/lib/runSteps.d.ts.map +1 -0
  599. package/dist/lib/runStepsAsync.d.ts +4 -0
  600. package/dist/lib/runStepsAsync.d.ts.map +1 -0
  601. package/dist/lib/runXy.d.ts +2 -0
  602. package/dist/lib/runXy.d.ts.map +1 -0
  603. package/dist/lib/runXyWithWarning.d.ts +2 -0
  604. package/dist/lib/runXyWithWarning.d.ts.map +1 -0
  605. package/dist/lib/safeExit.d.ts +8 -0
  606. package/dist/lib/safeExit.d.ts.map +1 -0
  607. package/dist/lib/secure/classify.d.ts +8 -0
  608. package/dist/lib/secure/classify.d.ts.map +1 -0
  609. package/dist/lib/secure/collectDeclaredDependencies.d.ts +6 -0
  610. package/dist/lib/secure/collectDeclaredDependencies.d.ts.map +1 -0
  611. package/dist/lib/secure/fetchPackageSecurityMetadata.d.ts +8 -0
  612. package/dist/lib/secure/fetchPackageSecurityMetadata.d.ts.map +1 -0
  613. package/dist/lib/secure/index.d.ts +7 -0
  614. package/dist/lib/secure/index.d.ts.map +1 -0
  615. package/dist/lib/secure/interfaces.d.ts +35 -0
  616. package/dist/lib/secure/interfaces.d.ts.map +1 -0
  617. package/dist/lib/secure/renderSecurityAudit.d.ts +4 -0
  618. package/dist/lib/secure/renderSecurityAudit.d.ts.map +1 -0
  619. package/dist/lib/secure/runSecurityAudit.d.ts +15 -0
  620. package/dist/lib/secure/runSecurityAudit.d.ts.map +1 -0
  621. package/dist/lib/shouldRunInstall.d.ts +2 -0
  622. package/dist/lib/shouldRunInstall.d.ts.map +1 -0
  623. package/dist/lib/string/empty.d.ts +3 -0
  624. package/dist/lib/string/empty.d.ts.map +1 -0
  625. package/dist/lib/string/index.d.ts +4 -0
  626. package/dist/lib/string/index.d.ts.map +1 -0
  627. package/dist/lib/string/localeCompare.d.ts +2 -0
  628. package/dist/lib/string/localeCompare.d.ts.map +1 -0
  629. package/dist/lib/string/union.d.ts +2 -0
  630. package/dist/lib/string/union.d.ts.map +1 -0
  631. package/dist/lib/toolchainVersion.d.ts +3 -0
  632. package/dist/lib/toolchainVersion.d.ts.map +1 -0
  633. package/dist/lib/tryRunLocalScript.d.ts +10 -0
  634. package/dist/lib/tryRunLocalScript.d.ts.map +1 -0
  635. package/dist/lib/updo/applyUpdates.d.ts +4 -0
  636. package/dist/lib/updo/applyUpdates.d.ts.map +1 -0
  637. package/dist/lib/updo/collectWorkspaceDeps.d.ts +4 -0
  638. package/dist/lib/updo/collectWorkspaceDeps.d.ts.map +1 -0
  639. package/dist/lib/updo/fetchRegistryInfo.d.ts +37 -0
  640. package/dist/lib/updo/fetchRegistryInfo.d.ts.map +1 -0
  641. package/dist/lib/updo/index.d.ts +9 -0
  642. package/dist/lib/updo/index.d.ts.map +1 -0
  643. package/dist/lib/updo/interactiveSelect.d.ts +31 -0
  644. package/dist/lib/updo/interactiveSelect.d.ts.map +1 -0
  645. package/dist/lib/updo/interfaces.d.ts +50 -0
  646. package/dist/lib/updo/interfaces.d.ts.map +1 -0
  647. package/dist/lib/updo/renderTable.d.ts +3 -0
  648. package/dist/lib/updo/renderTable.d.ts.map +1 -0
  649. package/dist/lib/updo/resolveVersions.d.ts +19 -0
  650. package/dist/lib/updo/resolveVersions.d.ts.map +1 -0
  651. package/dist/lib/updo/runUpdo.d.ts +27 -0
  652. package/dist/lib/updo/runUpdo.d.ts.map +1 -0
  653. package/dist/lib/withErrnoException.d.ts +2 -0
  654. package/dist/lib/withErrnoException.d.ts.map +1 -0
  655. package/dist/lib/withError.d.ts +2 -0
  656. package/dist/lib/withError.d.ts.map +1 -0
  657. package/dist/lib/yarn/index.d.ts +3 -0
  658. package/dist/lib/yarn/index.d.ts.map +1 -0
  659. package/dist/lib/yarn/isYarnVersionOrGreater.d.ts +2 -0
  660. package/dist/lib/yarn/isYarnVersionOrGreater.d.ts.map +1 -0
  661. package/dist/lib/yarn/workspace/Workspace.d.ts +2 -0
  662. package/dist/lib/yarn/workspace/Workspace.d.ts.map +1 -0
  663. package/dist/lib/yarn/workspace/index.d.ts +3 -0
  664. package/dist/lib/yarn/workspace/index.d.ts.map +1 -0
  665. package/dist/lib/yarn/workspace/yarnWorkspace.d.ts +3 -0
  666. package/dist/lib/yarn/workspace/yarnWorkspace.d.ts.map +1 -0
  667. package/dist/lib/yarn/workspace/yarnWorkspaces.d.ts +3 -0
  668. package/dist/lib/yarn/workspace/yarnWorkspaces.d.ts.map +1 -0
  669. package/dist/lib/yarn/yarnInitCwd.d.ts +2 -0
  670. package/dist/lib/yarn/yarnInitCwd.d.ts.map +1 -0
  671. package/dist/loadPackageConfig.d.ts +40 -0
  672. package/dist/loadPackageConfig.d.ts.map +1 -0
  673. package/dist/node/actions/analyze.d.ts +2 -0
  674. package/dist/node/actions/analyze.d.ts.map +1 -0
  675. package/dist/node/actions/api-exposure/analyzer/analyzePackage.d.ts +28 -0
  676. package/dist/node/actions/api-exposure/analyzer/analyzePackage.d.ts.map +1 -0
  677. package/dist/node/actions/api-exposure/analyzer/couplingWalk.d.ts +11 -0
  678. package/dist/node/actions/api-exposure/analyzer/couplingWalk.d.ts.map +1 -0
  679. package/dist/node/actions/api-exposure/analyzer/depSignals.d.ts +19 -0
  680. package/dist/node/actions/api-exposure/analyzer/depSignals.d.ts.map +1 -0
  681. package/dist/node/actions/api-exposure/analyzer/entryPoints.d.ts +7 -0
  682. package/dist/node/actions/api-exposure/analyzer/entryPoints.d.ts.map +1 -0
  683. package/dist/node/actions/api-exposure/analyzer/exposureWalk.d.ts +21 -0
  684. package/dist/node/actions/api-exposure/analyzer/exposureWalk.d.ts.map +1 -0
  685. package/dist/node/actions/api-exposure/analyzer/program.d.ts +21 -0
  686. package/dist/node/actions/api-exposure/analyzer/program.d.ts.map +1 -0
  687. package/dist/node/actions/api-exposure/apiExposure.d.ts +17 -0
  688. package/dist/node/actions/api-exposure/apiExposure.d.ts.map +1 -0
  689. package/dist/node/actions/api-exposure/config.d.ts +21 -0
  690. package/dist/node/actions/api-exposure/config.d.ts.map +1 -0
  691. package/dist/node/actions/api-exposure/index.d.ts +9 -0
  692. package/dist/node/actions/api-exposure/index.d.ts.map +1 -0
  693. package/dist/node/actions/api-exposure/reporters.d.ts +16 -0
  694. package/dist/node/actions/api-exposure/reporters.d.ts.map +1 -0
  695. package/dist/node/actions/api-exposure/rules.d.ts +10 -0
  696. package/dist/node/actions/api-exposure/rules.d.ts.map +1 -0
  697. package/dist/node/actions/api-exposure/scoring.d.ts +28 -0
  698. package/dist/node/actions/api-exposure/scoring.d.ts.map +1 -0
  699. package/dist/node/actions/api-exposure/types.d.ts +86 -0
  700. package/dist/node/actions/api-exposure/types.d.ts.map +1 -0
  701. package/dist/node/actions/barrel/analyzeBarrel.d.ts +22 -0
  702. package/dist/node/actions/barrel/analyzeBarrel.d.ts.map +1 -0
  703. package/dist/node/actions/barrel/checkBarrelImportRestrictions.d.ts +12 -0
  704. package/dist/node/actions/barrel/checkBarrelImportRestrictions.d.ts.map +1 -0
  705. package/dist/node/actions/barrel/getReExportSpecs.d.ts +11 -0
  706. package/dist/node/actions/barrel/getReExportSpecs.d.ts.map +1 -0
  707. package/dist/node/actions/barrel/index.d.ts +6 -0
  708. package/dist/node/actions/barrel/index.d.ts.map +1 -0
  709. package/dist/node/actions/barrel/resolveBarrel.d.ts +9 -0
  710. package/dist/node/actions/barrel/resolveBarrel.d.ts.map +1 -0
  711. package/dist/node/actions/barrel/restrictionHelpers.d.ts +30 -0
  712. package/dist/node/actions/barrel/restrictionHelpers.d.ts.map +1 -0
  713. package/dist/node/actions/build.d.ts +9 -0
  714. package/dist/node/actions/build.d.ts.map +1 -0
  715. package/dist/node/actions/clean-eslint.d.ts +3 -0
  716. package/dist/node/actions/clean-eslint.d.ts.map +1 -0
  717. package/dist/node/actions/clean.d.ts +14 -0
  718. package/dist/node/actions/clean.d.ts.map +1 -0
  719. package/dist/node/actions/compile.d.ts +45 -0
  720. package/dist/node/actions/compile.d.ts.map +1 -0
  721. package/dist/node/actions/copy-assets.d.ts +6 -0
  722. package/dist/node/actions/copy-assets.d.ts.map +1 -0
  723. package/dist/node/actions/dead/analyzePackage.d.ts +43 -0
  724. package/dist/node/actions/dead/analyzePackage.d.ts.map +1 -0
  725. package/dist/node/actions/dead/classifyPackageVisibility.d.ts +4 -0
  726. package/dist/node/actions/dead/classifyPackageVisibility.d.ts.map +1 -0
  727. package/dist/node/actions/dead/collectExternalUsage.d.ts +38 -0
  728. package/dist/node/actions/dead/collectExternalUsage.d.ts.map +1 -0
  729. package/dist/node/actions/dead/collectSymbols.d.ts +40 -0
  730. package/dist/node/actions/dead/collectSymbols.d.ts.map +1 -0
  731. package/dist/node/actions/dead/dead.d.ts +4 -0
  732. package/dist/node/actions/dead/dead.d.ts.map +1 -0
  733. package/dist/node/actions/dead/deprecation.d.ts +3 -0
  734. package/dist/node/actions/dead/deprecation.d.ts.map +1 -0
  735. package/dist/node/actions/dead/detectActiveCodeWorkspace.d.ts +7 -0
  736. package/dist/node/actions/dead/detectActiveCodeWorkspace.d.ts.map +1 -0
  737. package/dist/node/actions/dead/evaluateRules.d.ts +8 -0
  738. package/dist/node/actions/dead/evaluateRules.d.ts.map +1 -0
  739. package/dist/node/actions/dead/findWorkspaceFile.d.ts +13 -0
  740. package/dist/node/actions/dead/findWorkspaceFile.d.ts.map +1 -0
  741. package/dist/node/actions/dead/fixDeadCode.d.ts +12 -0
  742. package/dist/node/actions/dead/fixDeadCode.d.ts.map +1 -0
  743. package/dist/node/actions/dead/index.d.ts +10 -0
  744. package/dist/node/actions/dead/index.d.ts.map +1 -0
  745. package/dist/node/actions/dead/parseCodeWorkspace.d.ts +7 -0
  746. package/dist/node/actions/dead/parseCodeWorkspace.d.ts.map +1 -0
  747. package/dist/node/actions/dead/propagateExternalUsage.d.ts +4 -0
  748. package/dist/node/actions/dead/propagateExternalUsage.d.ts.map +1 -0
  749. package/dist/node/actions/dead/pruneDeadFiles.d.ts +7 -0
  750. package/dist/node/actions/dead/pruneDeadFiles.d.ts.map +1 -0
  751. package/dist/node/actions/dead/reporters.d.ts +6 -0
  752. package/dist/node/actions/dead/reporters.d.ts.map +1 -0
  753. package/dist/node/actions/dead/ruleConfig.d.ts +5 -0
  754. package/dist/node/actions/dead/ruleConfig.d.ts.map +1 -0
  755. package/dist/node/actions/dead/ruleNames.d.ts +4 -0
  756. package/dist/node/actions/dead/ruleNames.d.ts.map +1 -0
  757. package/dist/node/actions/dead/rules.d.ts +7 -0
  758. package/dist/node/actions/dead/rules.d.ts.map +1 -0
  759. package/dist/node/actions/dead/runDeadAnalysis.d.ts +25 -0
  760. package/dist/node/actions/dead/runDeadAnalysis.d.ts.map +1 -0
  761. package/dist/node/actions/dead/runtimeEntries.d.ts +23 -0
  762. package/dist/node/actions/dead/runtimeEntries.d.ts.map +1 -0
  763. package/dist/node/actions/dead/sourceEdits.d.ts +7 -0
  764. package/dist/node/actions/dead/sourceEdits.d.ts.map +1 -0
  765. package/dist/node/actions/dead/storybookConventions.d.ts +6 -0
  766. package/dist/node/actions/dead/storybookConventions.d.ts.map +1 -0
  767. package/dist/node/actions/dead/types.d.ts +68 -0
  768. package/dist/node/actions/dead/types.d.ts.map +1 -0
  769. package/dist/node/actions/deplint/checkPackage/checkPackage.d.ts +17 -0
  770. package/dist/node/actions/deplint/checkPackage/checkPackage.d.ts.map +1 -0
  771. package/dist/node/actions/deplint/checkPackage/checkPackageTypes.d.ts +19 -0
  772. package/dist/node/actions/deplint/checkPackage/checkPackageTypes.d.ts.map +1 -0
  773. package/dist/node/actions/deplint/checkPackage/getMismatchedPeerDevVersions.d.ts +11 -0
  774. package/dist/node/actions/deplint/checkPackage/getMismatchedPeerDevVersions.d.ts.map +1 -0
  775. package/dist/node/actions/deplint/checkPackage/getUnlistedDependencies.d.ts +21 -0
  776. package/dist/node/actions/deplint/checkPackage/getUnlistedDependencies.d.ts.map +1 -0
  777. package/dist/node/actions/deplint/checkPackage/getUnlistedDevDependencies.d.ts +6 -0
  778. package/dist/node/actions/deplint/checkPackage/getUnlistedDevDependencies.d.ts.map +1 -0
  779. package/dist/node/actions/deplint/checkPackage/getUnnecessaryPeerDependencies.d.ts +24 -0
  780. package/dist/node/actions/deplint/checkPackage/getUnnecessaryPeerDependencies.d.ts.map +1 -0
  781. package/dist/node/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts +74 -0
  782. package/dist/node/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts.map +1 -0
  783. package/dist/node/actions/deplint/checkPackage/getUnusedDependencies.d.ts +12 -0
  784. package/dist/node/actions/deplint/checkPackage/getUnusedDependencies.d.ts.map +1 -0
  785. package/dist/node/actions/deplint/checkPackage/getUnusedDevDependencies.d.ts +7 -0
  786. package/dist/node/actions/deplint/checkPackage/getUnusedDevDependencies.d.ts.map +1 -0
  787. package/dist/node/actions/deplint/checkPackage/getUnusedPeerDependencies.d.ts +6 -0
  788. package/dist/node/actions/deplint/checkPackage/getUnusedPeerDependencies.d.ts.map +1 -0
  789. package/dist/node/actions/deplint/checkPackage/getWorkspaceVersionProblems.d.ts +21 -0
  790. package/dist/node/actions/deplint/checkPackage/getWorkspaceVersionProblems.d.ts.map +1 -0
  791. package/dist/node/actions/deplint/checkPackage/index.d.ts +13 -0
  792. package/dist/node/actions/deplint/checkPackage/index.d.ts.map +1 -0
  793. package/dist/node/actions/deplint/checkPackage/legacyPeerCheck.d.ts +13 -0
  794. package/dist/node/actions/deplint/checkPackage/legacyPeerCheck.d.ts.map +1 -0
  795. package/dist/node/actions/deplint/deplint.d.ts +20 -0
  796. package/dist/node/actions/deplint/deplint.d.ts.map +1 -0
  797. package/dist/node/actions/deplint/engine.d.ts +15 -0
  798. package/dist/node/actions/deplint/engine.d.ts.map +1 -0
  799. package/dist/node/actions/deplint/fetchPackageManifest.d.ts +25 -0
  800. package/dist/node/actions/deplint/fetchPackageManifest.d.ts.map +1 -0
  801. package/dist/node/actions/deplint/findFiles.d.ts +6 -0
  802. package/dist/node/actions/deplint/findFiles.d.ts.map +1 -0
  803. package/dist/node/actions/deplint/findFilesByGlob.d.ts +2 -0
  804. package/dist/node/actions/deplint/findFilesByGlob.d.ts.map +1 -0
  805. package/dist/node/actions/deplint/fixer.d.ts +3 -0
  806. package/dist/node/actions/deplint/fixer.d.ts.map +1 -0
  807. package/dist/node/actions/deplint/getBasePackageName.d.ts +2 -0
  808. package/dist/node/actions/deplint/getBasePackageName.d.ts.map +1 -0
  809. package/dist/node/actions/deplint/getCliReferencedPackagesFromFiles.d.ts +12 -0
  810. package/dist/node/actions/deplint/getCliReferencedPackagesFromFiles.d.ts.map +1 -0
  811. package/dist/node/actions/deplint/getDependenciesFromPackageJson.d.ts +9 -0
  812. package/dist/node/actions/deplint/getDependenciesFromPackageJson.d.ts.map +1 -0
  813. package/dist/node/actions/deplint/getExtendsFromTsconfigs.d.ts +10 -0
  814. package/dist/node/actions/deplint/getExtendsFromTsconfigs.d.ts.map +1 -0
  815. package/dist/node/actions/deplint/getExternalImportsFromFiles.d.ts +12 -0
  816. package/dist/node/actions/deplint/getExternalImportsFromFiles.d.ts.map +1 -0
  817. package/dist/node/actions/deplint/getImportsFromFile.d.ts +4 -0
  818. package/dist/node/actions/deplint/getImportsFromFile.d.ts.map +1 -0
  819. package/dist/node/actions/deplint/getRequiredPeerDependencies.d.ts +10 -0
  820. package/dist/node/actions/deplint/getRequiredPeerDependencies.d.ts.map +1 -0
  821. package/dist/node/actions/deplint/getScriptReferencedPackages.d.ts +8 -0
  822. package/dist/node/actions/deplint/getScriptReferencedPackages.d.ts.map +1 -0
  823. package/dist/node/actions/deplint/getStorybookConfigImports.d.ts +3 -0
  824. package/dist/node/actions/deplint/getStorybookConfigImports.d.ts.map +1 -0
  825. package/dist/node/actions/deplint/implicitDevDependencies.d.ts +15 -0
  826. package/dist/node/actions/deplint/implicitDevDependencies.d.ts.map +1 -0
  827. package/dist/node/actions/deplint/index.d.ts +11 -0
  828. package/dist/node/actions/deplint/index.d.ts.map +1 -0
  829. package/dist/node/actions/deplint/isTerminalPackage.d.ts +25 -0
  830. package/dist/node/actions/deplint/isTerminalPackage.d.ts.map +1 -0
  831. package/dist/node/actions/deplint/loader.d.ts +4 -0
  832. package/dist/node/actions/deplint/loader.d.ts.map +1 -0
  833. package/dist/node/actions/deplint/packageEditor.d.ts +11 -0
  834. package/dist/node/actions/deplint/packageEditor.d.ts.map +1 -0
  835. package/dist/node/actions/deplint/packageJsonEditor.d.ts +97 -0
  836. package/dist/node/actions/deplint/packageJsonEditor.d.ts.map +1 -0
  837. package/dist/node/actions/deplint/peerRangeOptions.d.ts +10 -0
  838. package/dist/node/actions/deplint/peerRangeOptions.d.ts.map +1 -0
  839. package/dist/node/actions/deplint/reporters.d.ts +8 -0
  840. package/dist/node/actions/deplint/reporters.d.ts.map +1 -0
  841. package/dist/node/actions/deplint/resolvePeerBumpFixes.d.ts +24 -0
  842. package/dist/node/actions/deplint/resolvePeerBumpFixes.d.ts.map +1 -0
  843. package/dist/node/actions/deplint/ruleConfig.d.ts +5 -0
  844. package/dist/node/actions/deplint/ruleConfig.d.ts.map +1 -0
  845. package/dist/node/actions/deplint/rules.d.ts +4 -0
  846. package/dist/node/actions/deplint/rules.d.ts.map +1 -0
  847. package/dist/node/actions/deplint/rulesDiagnostic.d.ts +4 -0
  848. package/dist/node/actions/deplint/rulesDiagnostic.d.ts.map +1 -0
  849. package/dist/node/actions/deplint/rulesMisplaced.d.ts +4 -0
  850. package/dist/node/actions/deplint/rulesMisplaced.d.ts.map +1 -0
  851. package/dist/node/actions/deplint/snapshot.d.ts +22 -0
  852. package/dist/node/actions/deplint/snapshot.d.ts.map +1 -0
  853. package/dist/node/actions/deplint/tsScriptsAliases.d.ts +11 -0
  854. package/dist/node/actions/deplint/tsScriptsAliases.d.ts.map +1 -0
  855. package/dist/node/actions/deplint/types.d.ts +295 -0
  856. package/dist/node/actions/deplint/types.d.ts.map +1 -0
  857. package/dist/node/actions/deplint/versionMismatchFixes.d.ts +4 -0
  858. package/dist/node/actions/deplint/versionMismatchFixes.d.ts.map +1 -0
  859. package/dist/node/actions/deploy.d.ts +3 -0
  860. package/dist/node/actions/deploy.d.ts.map +1 -0
  861. package/dist/node/actions/eject.d.ts +2 -0
  862. package/dist/node/actions/eject.d.ts.map +1 -0
  863. package/dist/node/actions/fix.d.ts +7 -0
  864. package/dist/node/actions/fix.d.ts.map +1 -0
  865. package/dist/node/actions/gitignore.d.ts +4 -0
  866. package/dist/node/actions/gitignore.d.ts.map +1 -0
  867. package/dist/node/actions/gitlint-fix.d.ts +2 -0
  868. package/dist/node/actions/gitlint-fix.d.ts.map +1 -0
  869. package/dist/node/actions/gitlint.d.ts +2 -0
  870. package/dist/node/actions/gitlint.d.ts.map +1 -0
  871. package/dist/node/actions/incremental.d.ts +46 -0
  872. package/dist/node/actions/incremental.d.ts.map +1 -0
  873. package/dist/node/actions/index.d.ts +54 -0
  874. package/dist/node/actions/index.d.ts.map +1 -0
  875. package/dist/node/actions/install.d.ts +2 -0
  876. package/dist/node/actions/install.d.ts.map +1 -0
  877. package/dist/node/actions/license.d.ts +2 -0
  878. package/dist/node/actions/license.d.ts.map +1 -0
  879. package/dist/node/actions/lint-config.d.ts +16 -0
  880. package/dist/node/actions/lint-config.d.ts.map +1 -0
  881. package/dist/node/actions/lint-init.d.ts +16 -0
  882. package/dist/node/actions/lint-init.d.ts.map +1 -0
  883. package/dist/node/actions/lint.d.ts +36 -0
  884. package/dist/node/actions/lint.d.ts.map +1 -0
  885. package/dist/node/actions/lintNext.d.ts +14 -0
  886. package/dist/node/actions/lintNext.d.ts.map +1 -0
  887. package/dist/node/actions/lintNextWorker.d.ts +21 -0
  888. package/dist/node/actions/lintNextWorker.d.ts.map +1 -0
  889. package/dist/node/actions/lintTierAnalysis.d.ts +59 -0
  890. package/dist/node/actions/lintTierAnalysis.d.ts.map +1 -0
  891. package/dist/node/actions/lintlint.d.ts +13 -0
  892. package/dist/node/actions/lintlint.d.ts.map +1 -0
  893. package/dist/node/actions/node-lint.d.ts +19 -0
  894. package/dist/node/actions/node-lint.d.ts.map +1 -0
  895. package/dist/node/actions/npmignore-gen.d.ts +2 -0
  896. package/dist/node/actions/npmignore-gen.d.ts.map +1 -0
  897. package/dist/node/actions/orphan.d.ts +6 -0
  898. package/dist/node/actions/orphan.d.ts.map +1 -0
  899. package/dist/node/actions/package/clean-outputs.d.ts +6 -0
  900. package/dist/node/actions/package/clean-outputs.d.ts.map +1 -0
  901. package/dist/node/actions/package/clean-typescript.d.ts +3 -0
  902. package/dist/node/actions/package/clean-typescript.d.ts.map +1 -0
  903. package/dist/node/actions/package/clean.d.ts +3 -0
  904. package/dist/node/actions/package/clean.d.ts.map +1 -0
  905. package/dist/node/actions/package/compile/ApiExposureConfig.d.ts +58 -0
  906. package/dist/node/actions/package/compile/ApiExposureConfig.d.ts.map +1 -0
  907. package/dist/node/actions/package/compile/MonolithConfig.d.ts +85 -0
  908. package/dist/node/actions/package/compile/MonolithConfig.d.ts.map +1 -0
  909. package/dist/node/actions/package/compile/XyConfig.d.ts +462 -0
  910. package/dist/node/actions/package/compile/XyConfig.d.ts.map +1 -0
  911. package/dist/node/actions/package/compile/buildEntries.d.ts +3 -0
  912. package/dist/node/actions/package/compile/buildEntries.d.ts.map +1 -0
  913. package/dist/node/actions/package/compile/compile.d.ts +7 -0
  914. package/dist/node/actions/package/compile/compile.d.ts.map +1 -0
  915. package/dist/node/actions/package/compile/createProgramFromConfig.d.ts +25 -0
  916. package/dist/node/actions/package/compile/createProgramFromConfig.d.ts.map +1 -0
  917. package/dist/node/actions/package/compile/createTypescriptConfig.d.ts +29 -0
  918. package/dist/node/actions/package/compile/createTypescriptConfig.d.ts.map +1 -0
  919. package/dist/node/actions/package/compile/deepMerge.d.ts +4 -0
  920. package/dist/node/actions/package/compile/deepMerge.d.ts.map +1 -0
  921. package/dist/node/actions/package/compile/entryOutputName.d.ts +5 -0
  922. package/dist/node/actions/package/compile/entryOutputName.d.ts.map +1 -0
  923. package/dist/node/actions/package/compile/findWorkspaceRoot.d.ts +5 -0
  924. package/dist/node/actions/package/compile/findWorkspaceRoot.d.ts.map +1 -0
  925. package/dist/node/actions/package/compile/getCompilerOptions.d.ts +3 -0
  926. package/dist/node/actions/package/compile/getCompilerOptions.d.ts.map +1 -0
  927. package/dist/node/actions/package/compile/index.d.ts +16 -0
  928. package/dist/node/actions/package/compile/index.d.ts.map +1 -0
  929. package/dist/node/actions/package/compile/inputs.d.ts +2 -0
  930. package/dist/node/actions/package/compile/inputs.d.ts.map +1 -0
  931. package/dist/node/actions/package/compile/monolithCompileDeclarations.d.ts +14 -0
  932. package/dist/node/actions/package/compile/monolithCompileDeclarations.d.ts.map +1 -0
  933. package/dist/node/actions/package/compile/monolithCompileEntries.d.ts +20 -0
  934. package/dist/node/actions/package/compile/monolithCompileEntries.d.ts.map +1 -0
  935. package/dist/node/actions/package/compile/monolithCompileLayout.d.ts +42 -0
  936. package/dist/node/actions/package/compile/monolithCompileLayout.d.ts.map +1 -0
  937. package/dist/node/actions/package/compile/packageCompileEsbuild.d.ts +18 -0
  938. package/dist/node/actions/package/compile/packageCompileEsbuild.d.ts.map +1 -0
  939. package/dist/node/actions/package/compile/packageCompileMonolith.d.ts +10 -0
  940. package/dist/node/actions/package/compile/packageCompileMonolith.d.ts.map +1 -0
  941. package/dist/node/actions/package/compile/packageCompileTsc.d.ts +3 -0
  942. package/dist/node/actions/package/compile/packageCompileTsc.d.ts.map +1 -0
  943. package/dist/node/actions/package/compile/packageCompileTsup.d.ts +6 -0
  944. package/dist/node/actions/package/compile/packageCompileTsup.d.ts.map +1 -0
  945. package/dist/node/actions/package/compile/packageCompileVendor.d.ts +4 -0
  946. package/dist/node/actions/package/compile/packageCompileVendor.d.ts.map +1 -0
  947. package/dist/node/actions/package/compile/resolveCompileBundleOptions.d.ts +13 -0
  948. package/dist/node/actions/package/compile/resolveCompileBundleOptions.d.ts.map +1 -0
  949. package/dist/node/actions/package/compile/resolveCompilePlatforms.d.ts +23 -0
  950. package/dist/node/actions/package/compile/resolveCompilePlatforms.d.ts.map +1 -0
  951. package/dist/node/actions/package/compile/resolvePlatformTypes.d.ts +5 -0
  952. package/dist/node/actions/package/compile/resolvePlatformTypes.d.ts.map +1 -0
  953. package/dist/node/actions/package/compile/runTsc.d.ts +2 -0
  954. package/dist/node/actions/package/compile/runTsc.d.ts.map +1 -0
  955. package/dist/node/actions/package/compile/validateFullPackage.d.ts +2 -0
  956. package/dist/node/actions/package/compile/validateFullPackage.d.ts.map +1 -0
  957. package/dist/node/actions/package/compile/vendorCompile.d.ts +6 -0
  958. package/dist/node/actions/package/compile/vendorCompile.d.ts.map +1 -0
  959. package/dist/node/actions/package/compile/vendorCompileEmit.d.ts +8 -0
  960. package/dist/node/actions/package/compile/vendorCompileEmit.d.ts.map +1 -0
  961. package/dist/node/actions/package/compile/vendorCompileInternals.d.ts +31 -0
  962. package/dist/node/actions/package/compile/vendorCompileInternals.d.ts.map +1 -0
  963. package/dist/node/actions/package/compile/vendorCompileRewrite.d.ts +3 -0
  964. package/dist/node/actions/package/compile/vendorCompileRewrite.d.ts.map +1 -0
  965. package/dist/node/actions/package/compile/vendorCompileTypes.d.ts +31 -0
  966. package/dist/node/actions/package/compile/vendorCompileTypes.d.ts.map +1 -0
  967. package/dist/node/actions/package/compileTargetsPublint.d.ts +13 -0
  968. package/dist/node/actions/package/compileTargetsPublint.d.ts.map +1 -0
  969. package/dist/node/actions/package/copy-assets.d.ts +5 -0
  970. package/dist/node/actions/package/copy-assets.d.ts.map +1 -0
  971. package/dist/node/actions/package/expectedCompileOutputs.d.ts +11 -0
  972. package/dist/node/actions/package/expectedCompileOutputs.d.ts.map +1 -0
  973. package/dist/node/actions/package/exportConditionPublint.d.ts +9 -0
  974. package/dist/node/actions/package/exportConditionPublint.d.ts.map +1 -0
  975. package/dist/node/actions/package/exportMapPublint.d.ts +7 -0
  976. package/dist/node/actions/package/exportMapPublint.d.ts.map +1 -0
  977. package/dist/node/actions/package/index.d.ts +9 -0
  978. package/dist/node/actions/package/index.d.ts.map +1 -0
  979. package/dist/node/actions/package/lint.d.ts +2 -0
  980. package/dist/node/actions/package/lint.d.ts.map +1 -0
  981. package/dist/node/actions/package/platformPublint.d.ts +7 -0
  982. package/dist/node/actions/package/platformPublint.d.ts.map +1 -0
  983. package/dist/node/actions/package/publint.d.ts +16 -0
  984. package/dist/node/actions/package/publint.d.ts.map +1 -0
  985. package/dist/node/actions/package/recompile.d.ts +3 -0
  986. package/dist/node/actions/package/recompile.d.ts.map +1 -0
  987. package/dist/node/actions/package-lint-deps.d.ts +47 -0
  988. package/dist/node/actions/package-lint-deps.d.ts.map +1 -0
  989. package/dist/node/actions/package-lint-engines.d.ts +22 -0
  990. package/dist/node/actions/package-lint-engines.d.ts.map +1 -0
  991. package/dist/node/actions/package-lint-pnpm.d.ts +11 -0
  992. package/dist/node/actions/package-lint-pnpm.d.ts.map +1 -0
  993. package/dist/node/actions/package-lint-specs.d.ts +9 -0
  994. package/dist/node/actions/package-lint-specs.d.ts.map +1 -0
  995. package/dist/node/actions/package-lint.d.ts +7 -0
  996. package/dist/node/actions/package-lint.d.ts.map +1 -0
  997. package/dist/node/actions/packman/clean.d.ts +5 -0
  998. package/dist/node/actions/packman/clean.d.ts.map +1 -0
  999. package/dist/node/actions/packman/convert.d.ts +10 -0
  1000. package/dist/node/actions/packman/convert.d.ts.map +1 -0
  1001. package/dist/node/actions/packman/convertToBun.d.ts +2 -0
  1002. package/dist/node/actions/packman/convertToBun.d.ts.map +1 -0
  1003. package/dist/node/actions/packman/convertToNpm.d.ts +2 -0
  1004. package/dist/node/actions/packman/convertToNpm.d.ts.map +1 -0
  1005. package/dist/node/actions/packman/convertToPnpm.d.ts +2 -0
  1006. package/dist/node/actions/packman/convertToPnpm.d.ts.map +1 -0
  1007. package/dist/node/actions/packman/convertToYarn.d.ts +2 -0
  1008. package/dist/node/actions/packman/convertToYarn.d.ts.map +1 -0
  1009. package/dist/node/actions/packman/index.d.ts +5 -0
  1010. package/dist/node/actions/packman/index.d.ts.map +1 -0
  1011. package/dist/node/actions/packman/lint.d.ts +6 -0
  1012. package/dist/node/actions/packman/lint.d.ts.map +1 -0
  1013. package/dist/node/actions/packman/rewriteScripts.d.ts +5 -0
  1014. package/dist/node/actions/packman/rewriteScripts.d.ts.map +1 -0
  1015. package/dist/node/actions/packman/rewriteSourceImports.d.ts +2 -0
  1016. package/dist/node/actions/packman/rewriteSourceImports.d.ts.map +1 -0
  1017. package/dist/node/actions/packman/swapTsScriptsDependency.d.ts +2 -0
  1018. package/dist/node/actions/packman/swapTsScriptsDependency.d.ts.map +1 -0
  1019. package/dist/node/actions/publint.d.ts +48 -0
  1020. package/dist/node/actions/publint.d.ts.map +1 -0
  1021. package/dist/node/actions/publish.d.ts +22 -0
  1022. package/dist/node/actions/publish.d.ts.map +1 -0
  1023. package/dist/node/actions/reactTest.d.ts +2 -0
  1024. package/dist/node/actions/reactTest.d.ts.map +1 -0
  1025. package/dist/node/actions/rebuild.d.ts +7 -0
  1026. package/dist/node/actions/rebuild.d.ts.map +1 -0
  1027. package/dist/node/actions/recompile.d.ts +16 -0
  1028. package/dist/node/actions/recompile.d.ts.map +1 -0
  1029. package/dist/node/actions/reinstall.d.ts +2 -0
  1030. package/dist/node/actions/reinstall.d.ts.map +1 -0
  1031. package/dist/node/actions/releaseAgeExcludeScopes.d.ts +13 -0
  1032. package/dist/node/actions/releaseAgeExcludeScopes.d.ts.map +1 -0
  1033. package/dist/node/actions/relint.d.ts +24 -0
  1034. package/dist/node/actions/relint.d.ts.map +1 -0
  1035. package/dist/node/actions/repo-init.d.ts +14 -0
  1036. package/dist/node/actions/repo-init.d.ts.map +1 -0
  1037. package/dist/node/actions/republint.d.ts +13 -0
  1038. package/dist/node/actions/republint.d.ts.map +1 -0
  1039. package/dist/node/actions/result.d.ts +44 -0
  1040. package/dist/node/actions/result.d.ts.map +1 -0
  1041. package/dist/node/actions/retest.d.ts +5 -0
  1042. package/dist/node/actions/retest.d.ts.map +1 -0
  1043. package/dist/node/actions/secure.d.ts +7 -0
  1044. package/dist/node/actions/secure.d.ts.map +1 -0
  1045. package/dist/node/actions/sitemap.d.ts +2 -0
  1046. package/dist/node/actions/sitemap.d.ts.map +1 -0
  1047. package/dist/node/actions/skills/defaults.d.ts +6 -0
  1048. package/dist/node/actions/skills/defaults.d.ts.map +1 -0
  1049. package/dist/node/actions/skills/detectProfile.d.ts +10 -0
  1050. package/dist/node/actions/skills/detectProfile.d.ts.map +1 -0
  1051. package/dist/node/actions/skills/index.d.ts +9 -0
  1052. package/dist/node/actions/skills/index.d.ts.map +1 -0
  1053. package/dist/node/actions/skills/installed.d.ts +10 -0
  1054. package/dist/node/actions/skills/installed.d.ts.map +1 -0
  1055. package/dist/node/actions/skills/lint.d.ts +26 -0
  1056. package/dist/node/actions/skills/lint.d.ts.map +1 -0
  1057. package/dist/node/actions/skills/passthrough.d.ts +25 -0
  1058. package/dist/node/actions/skills/passthrough.d.ts.map +1 -0
  1059. package/dist/node/actions/skills/skillRules.d.ts +9 -0
  1060. package/dist/node/actions/skills/skillRules.d.ts.map +1 -0
  1061. package/dist/node/actions/skills/updo.d.ts +4 -0
  1062. package/dist/node/actions/skills/updo.d.ts.map +1 -0
  1063. package/dist/node/actions/skills/versions.d.ts +10 -0
  1064. package/dist/node/actions/skills/versions.d.ts.map +1 -0
  1065. package/dist/node/actions/sonar.d.ts +2 -0
  1066. package/dist/node/actions/sonar.d.ts.map +1 -0
  1067. package/dist/node/actions/start.d.ts +2 -0
  1068. package/dist/node/actions/start.d.ts.map +1 -0
  1069. package/dist/node/actions/statics.d.ts +2 -0
  1070. package/dist/node/actions/statics.d.ts.map +1 -0
  1071. package/dist/node/actions/test.d.ts +5 -0
  1072. package/dist/node/actions/test.d.ts.map +1 -0
  1073. package/dist/node/actions/tsc-validate/index.d.ts +3 -0
  1074. package/dist/node/actions/tsc-validate/index.d.ts.map +1 -0
  1075. package/dist/node/actions/tsc-validate/sharedValidate.d.ts +34 -0
  1076. package/dist/node/actions/tsc-validate/sharedValidate.d.ts.map +1 -0
  1077. package/dist/node/actions/tsc-validate/tscValidate.d.ts +35 -0
  1078. package/dist/node/actions/tsc-validate/tscValidate.d.ts.map +1 -0
  1079. package/dist/node/actions/up.d.ts +2 -0
  1080. package/dist/node/actions/up.d.ts.map +1 -0
  1081. package/dist/node/actions/updo.d.ts +9 -0
  1082. package/dist/node/actions/updo.d.ts.map +1 -0
  1083. package/dist/node/actions/work/id.d.ts +8 -0
  1084. package/dist/node/actions/work/id.d.ts.map +1 -0
  1085. package/dist/node/actions/work/index.d.ts +131 -0
  1086. package/dist/node/actions/work/index.d.ts.map +1 -0
  1087. package/dist/node/actions/work/inline.d.ts +8 -0
  1088. package/dist/node/actions/work/inline.d.ts.map +1 -0
  1089. package/dist/node/actions/work/priority.d.ts +5 -0
  1090. package/dist/node/actions/work/priority.d.ts.map +1 -0
  1091. package/dist/node/actions/work/schema.d.ts +81 -0
  1092. package/dist/node/actions/work/schema.d.ts.map +1 -0
  1093. package/dist/node/actions/work/store.d.ts +23 -0
  1094. package/dist/node/actions/work/store.d.ts.map +1 -0
  1095. package/dist/node/bin/package/build.d.ts +3 -0
  1096. package/dist/node/bin/package/build.d.ts.map +1 -0
  1097. package/dist/node/bin/package/clean-outputs.d.ts +3 -0
  1098. package/dist/node/bin/package/clean-outputs.d.ts.map +1 -0
  1099. package/dist/node/bin/package/clean-typescript.d.ts +3 -0
  1100. package/dist/node/bin/package/clean-typescript.d.ts.map +1 -0
  1101. package/dist/node/bin/package/clean.d.ts +3 -0
  1102. package/dist/node/bin/package/clean.d.ts.map +1 -0
  1103. package/dist/node/bin/package/compile-tsup.d.ts +3 -0
  1104. package/dist/node/bin/package/compile-tsup.d.ts.map +1 -0
  1105. package/dist/node/bin/package/compile.d.ts +3 -0
  1106. package/dist/node/bin/package/compile.d.ts.map +1 -0
  1107. package/dist/node/bin/package/copy-assets-cjs.d.ts +3 -0
  1108. package/dist/node/bin/package/copy-assets-cjs.d.ts.map +1 -0
  1109. package/dist/node/bin/package/copy-assets-esm.d.ts +3 -0
  1110. package/dist/node/bin/package/copy-assets-esm.d.ts.map +1 -0
  1111. package/dist/node/bin/package/fix.d.ts +3 -0
  1112. package/dist/node/bin/package/fix.d.ts.map +1 -0
  1113. package/dist/node/bin/package/lint-verbose.d.ts +3 -0
  1114. package/dist/node/bin/package/lint-verbose.d.ts.map +1 -0
  1115. package/dist/node/bin/package/lint.d.ts +3 -0
  1116. package/dist/node/bin/package/lint.d.ts.map +1 -0
  1117. package/dist/node/bin/package/publint.d.ts +3 -0
  1118. package/dist/node/bin/package/publint.d.ts.map +1 -0
  1119. package/dist/node/bin/package/recompile.d.ts +3 -0
  1120. package/dist/node/bin/package/recompile.d.ts.map +1 -0
  1121. package/dist/node/bin/package/relint.d.ts +3 -0
  1122. package/dist/node/bin/package/relint.d.ts.map +1 -0
  1123. package/dist/node/bin/package/sync-layout.d.ts +3 -0
  1124. package/dist/node/bin/package/sync-layout.d.ts.map +1 -0
  1125. package/dist/node/bin/run-or-exec.d.ts +3 -0
  1126. package/dist/node/bin/run-or-exec.d.ts.map +1 -0
  1127. package/dist/node/bin/xy.d.ts +3 -0
  1128. package/dist/node/bin/xy.d.ts.map +1 -0
  1129. package/dist/node/index.d.ts +6 -0
  1130. package/dist/node/index.d.ts.map +1 -0
  1131. package/dist/node/lib/bundledCliPath.d.ts +4 -0
  1132. package/dist/node/lib/bundledCliPath.d.ts.map +1 -0
  1133. package/dist/node/lib/checkResult.d.ts +2 -0
  1134. package/dist/node/lib/checkResult.d.ts.map +1 -0
  1135. package/dist/node/lib/concurrency.d.ts +5 -0
  1136. package/dist/node/lib/concurrency.d.ts.map +1 -0
  1137. package/dist/node/lib/copyAssetFiles.d.ts +10 -0
  1138. package/dist/node/lib/copyAssetFiles.d.ts.map +1 -0
  1139. package/dist/node/lib/createBuildConfig.d.ts +2 -0
  1140. package/dist/node/lib/createBuildConfig.d.ts.map +1 -0
  1141. package/dist/node/lib/crossSpawn.d.ts +6 -0
  1142. package/dist/node/lib/crossSpawn.d.ts.map +1 -0
  1143. package/dist/node/lib/deepMerge.d.ts +24 -0
  1144. package/dist/node/lib/deepMerge.d.ts.map +1 -0
  1145. package/dist/node/lib/defaultBuildConfig.d.ts +9 -0
  1146. package/dist/node/lib/defaultBuildConfig.d.ts.map +1 -0
  1147. package/dist/node/lib/deleteGlob.d.ts +2 -0
  1148. package/dist/node/lib/deleteGlob.d.ts.map +1 -0
  1149. package/dist/node/lib/dependencies/DuplicateDetector.d.ts +7 -0
  1150. package/dist/node/lib/dependencies/DuplicateDetector.d.ts.map +1 -0
  1151. package/dist/node/lib/dependencies/detectDuplicateDependencies.d.ts +2 -0
  1152. package/dist/node/lib/dependencies/detectDuplicateDependencies.d.ts.map +1 -0
  1153. package/dist/node/lib/dependencies/index.d.ts +4 -0
  1154. package/dist/node/lib/dependencies/index.d.ts.map +1 -0
  1155. package/dist/node/lib/dependencies/workspaceCycles.d.ts +15 -0
  1156. package/dist/node/lib/dependencies/workspaceCycles.d.ts.map +1 -0
  1157. package/dist/node/lib/deprecationMigrate.d.ts +2 -0
  1158. package/dist/node/lib/deprecationMigrate.d.ts.map +1 -0
  1159. package/dist/node/lib/eslintCache.d.ts +4 -0
  1160. package/dist/node/lib/eslintCache.d.ts.map +1 -0
  1161. package/dist/node/lib/file/ReadFileSyncOptions.d.ts +6 -0
  1162. package/dist/node/lib/file/ReadFileSyncOptions.d.ts.map +1 -0
  1163. package/dist/node/lib/file/constants.d.ts +3 -0
  1164. package/dist/node/lib/file/constants.d.ts.map +1 -0
  1165. package/dist/node/lib/file/fileLines.d.ts +6 -0
  1166. package/dist/node/lib/file/fileLines.d.ts.map +1 -0
  1167. package/dist/node/lib/file/index.d.ts +5 -0
  1168. package/dist/node/lib/file/index.d.ts.map +1 -0
  1169. package/dist/node/lib/file/tryReadFileSync.d.ts +4 -0
  1170. package/dist/node/lib/file/tryReadFileSync.d.ts.map +1 -0
  1171. package/dist/node/lib/fillTemplate.d.ts +2 -0
  1172. package/dist/node/lib/fillTemplate.d.ts.map +1 -0
  1173. package/dist/node/lib/generateIgnoreFiles.d.ts +2 -0
  1174. package/dist/node/lib/generateIgnoreFiles.d.ts.map +1 -0
  1175. package/dist/node/lib/gitConfig.d.ts +25 -0
  1176. package/dist/node/lib/gitConfig.d.ts.map +1 -0
  1177. package/dist/node/lib/gitignoreTemplate.d.ts +2 -0
  1178. package/dist/node/lib/gitignoreTemplate.d.ts.map +1 -0
  1179. package/dist/node/lib/index.d.ts +45 -0
  1180. package/dist/node/lib/index.d.ts.map +1 -0
  1181. package/dist/node/lib/initCwd.d.ts +2 -0
  1182. package/dist/node/lib/initCwd.d.ts.map +1 -0
  1183. package/dist/node/lib/jsonFormatters.d.ts +2 -0
  1184. package/dist/node/lib/jsonFormatters.d.ts.map +1 -0
  1185. package/dist/node/lib/latestVersions.d.ts +8 -0
  1186. package/dist/node/lib/latestVersions.d.ts.map +1 -0
  1187. package/dist/node/lib/loadConfig.d.ts +10 -0
  1188. package/dist/node/lib/loadConfig.d.ts.map +1 -0
  1189. package/dist/node/lib/match.d.ts +21 -0
  1190. package/dist/node/lib/match.d.ts.map +1 -0
  1191. package/dist/node/lib/npmLatestVersion.d.ts +3 -0
  1192. package/dist/node/lib/npmLatestVersion.d.ts.map +1 -0
  1193. package/dist/node/lib/packageManagerRuntime.d.ts +25 -0
  1194. package/dist/node/lib/packageManagerRuntime.d.ts.map +1 -0
  1195. package/dist/node/lib/packageName.d.ts +2 -0
  1196. package/dist/node/lib/packageName.d.ts.map +1 -0
  1197. package/dist/node/lib/parsedPackageJson.d.ts +2 -0
  1198. package/dist/node/lib/parsedPackageJson.d.ts.map +1 -0
  1199. package/dist/node/lib/pnpmConfig/index.d.ts +2 -0
  1200. package/dist/node/lib/pnpmConfig/index.d.ts.map +1 -0
  1201. package/dist/node/lib/pnpmConfig/readMinReleaseAge.d.ts +18 -0
  1202. package/dist/node/lib/pnpmConfig/readMinReleaseAge.d.ts.map +1 -0
  1203. package/dist/node/lib/processEx.d.ts +2 -0
  1204. package/dist/node/lib/processEx.d.ts.map +1 -0
  1205. package/dist/node/lib/repoTemplates.d.ts +7 -0
  1206. package/dist/node/lib/repoTemplates.d.ts.map +1 -0
  1207. package/dist/node/lib/reporting/index.d.ts +3 -0
  1208. package/dist/node/lib/reporting/index.d.ts.map +1 -0
  1209. package/dist/node/lib/reporting/runWithEnvelope.d.ts +15 -0
  1210. package/dist/node/lib/reporting/runWithEnvelope.d.ts.map +1 -0
  1211. package/dist/node/lib/reporting/xyReporter.d.ts +27 -0
  1212. package/dist/node/lib/reporting/xyReporter.d.ts.map +1 -0
  1213. package/dist/node/lib/runSteps.d.ts +3 -0
  1214. package/dist/node/lib/runSteps.d.ts.map +1 -0
  1215. package/dist/node/lib/runStepsAsync.d.ts +4 -0
  1216. package/dist/node/lib/runStepsAsync.d.ts.map +1 -0
  1217. package/dist/node/lib/runXy.d.ts +2 -0
  1218. package/dist/node/lib/runXy.d.ts.map +1 -0
  1219. package/dist/node/lib/runXyWithWarning.d.ts +2 -0
  1220. package/dist/node/lib/runXyWithWarning.d.ts.map +1 -0
  1221. package/dist/node/lib/safeExit.d.ts +8 -0
  1222. package/dist/node/lib/safeExit.d.ts.map +1 -0
  1223. package/dist/node/lib/secure/classify.d.ts +8 -0
  1224. package/dist/node/lib/secure/classify.d.ts.map +1 -0
  1225. package/dist/node/lib/secure/collectDeclaredDependencies.d.ts +6 -0
  1226. package/dist/node/lib/secure/collectDeclaredDependencies.d.ts.map +1 -0
  1227. package/dist/node/lib/secure/fetchPackageSecurityMetadata.d.ts +8 -0
  1228. package/dist/node/lib/secure/fetchPackageSecurityMetadata.d.ts.map +1 -0
  1229. package/dist/node/lib/secure/index.d.ts +7 -0
  1230. package/dist/node/lib/secure/index.d.ts.map +1 -0
  1231. package/dist/node/lib/secure/interfaces.d.ts +35 -0
  1232. package/dist/node/lib/secure/interfaces.d.ts.map +1 -0
  1233. package/dist/node/lib/secure/renderSecurityAudit.d.ts +4 -0
  1234. package/dist/node/lib/secure/renderSecurityAudit.d.ts.map +1 -0
  1235. package/dist/node/lib/secure/runSecurityAudit.d.ts +15 -0
  1236. package/dist/node/lib/secure/runSecurityAudit.d.ts.map +1 -0
  1237. package/dist/node/lib/shouldRunInstall.d.ts +2 -0
  1238. package/dist/node/lib/shouldRunInstall.d.ts.map +1 -0
  1239. package/dist/node/lib/string/empty.d.ts +3 -0
  1240. package/dist/node/lib/string/empty.d.ts.map +1 -0
  1241. package/dist/node/lib/string/index.d.ts +4 -0
  1242. package/dist/node/lib/string/index.d.ts.map +1 -0
  1243. package/dist/node/lib/string/localeCompare.d.ts +2 -0
  1244. package/dist/node/lib/string/localeCompare.d.ts.map +1 -0
  1245. package/dist/node/lib/string/union.d.ts +2 -0
  1246. package/dist/node/lib/string/union.d.ts.map +1 -0
  1247. package/dist/node/lib/toolchainVersion.d.ts +3 -0
  1248. package/dist/node/lib/toolchainVersion.d.ts.map +1 -0
  1249. package/dist/node/lib/tryRunLocalScript.d.ts +10 -0
  1250. package/dist/node/lib/tryRunLocalScript.d.ts.map +1 -0
  1251. package/dist/node/lib/updo/applyUpdates.d.ts +4 -0
  1252. package/dist/node/lib/updo/applyUpdates.d.ts.map +1 -0
  1253. package/dist/node/lib/updo/collectWorkspaceDeps.d.ts +4 -0
  1254. package/dist/node/lib/updo/collectWorkspaceDeps.d.ts.map +1 -0
  1255. package/dist/node/lib/updo/fetchRegistryInfo.d.ts +37 -0
  1256. package/dist/node/lib/updo/fetchRegistryInfo.d.ts.map +1 -0
  1257. package/dist/node/lib/updo/index.d.ts +9 -0
  1258. package/dist/node/lib/updo/index.d.ts.map +1 -0
  1259. package/dist/node/lib/updo/interactiveSelect.d.ts +31 -0
  1260. package/dist/node/lib/updo/interactiveSelect.d.ts.map +1 -0
  1261. package/dist/node/lib/updo/interfaces.d.ts +50 -0
  1262. package/dist/node/lib/updo/interfaces.d.ts.map +1 -0
  1263. package/dist/node/lib/updo/renderTable.d.ts +3 -0
  1264. package/dist/node/lib/updo/renderTable.d.ts.map +1 -0
  1265. package/dist/node/lib/updo/resolveVersions.d.ts +19 -0
  1266. package/dist/node/lib/updo/resolveVersions.d.ts.map +1 -0
  1267. package/dist/node/lib/updo/runUpdo.d.ts +27 -0
  1268. package/dist/node/lib/updo/runUpdo.d.ts.map +1 -0
  1269. package/dist/node/lib/withErrnoException.d.ts +2 -0
  1270. package/dist/node/lib/withErrnoException.d.ts.map +1 -0
  1271. package/dist/node/lib/withError.d.ts +2 -0
  1272. package/dist/node/lib/withError.d.ts.map +1 -0
  1273. package/dist/node/lib/yarn/index.d.ts +3 -0
  1274. package/dist/node/lib/yarn/index.d.ts.map +1 -0
  1275. package/dist/node/lib/yarn/isYarnVersionOrGreater.d.ts +2 -0
  1276. package/dist/node/lib/yarn/isYarnVersionOrGreater.d.ts.map +1 -0
  1277. package/dist/node/lib/yarn/workspace/Workspace.d.ts +2 -0
  1278. package/dist/node/lib/yarn/workspace/Workspace.d.ts.map +1 -0
  1279. package/dist/node/lib/yarn/workspace/index.d.ts +3 -0
  1280. package/dist/node/lib/yarn/workspace/index.d.ts.map +1 -0
  1281. package/dist/node/lib/yarn/workspace/yarnWorkspace.d.ts +3 -0
  1282. package/dist/node/lib/yarn/workspace/yarnWorkspace.d.ts.map +1 -0
  1283. package/dist/node/lib/yarn/workspace/yarnWorkspaces.d.ts +3 -0
  1284. package/dist/node/lib/yarn/workspace/yarnWorkspaces.d.ts.map +1 -0
  1285. package/dist/node/loadPackageConfig.d.ts +40 -0
  1286. package/dist/node/loadPackageConfig.d.ts.map +1 -0
  1287. package/dist/node/pm/PackageManager.d.ts +85 -0
  1288. package/dist/node/pm/PackageManager.d.ts.map +1 -0
  1289. package/dist/node/pm/bunPackageManager.d.ts +20 -0
  1290. package/dist/node/pm/bunPackageManager.d.ts.map +1 -0
  1291. package/dist/node/pm/detectPackageManager.d.ts +3 -0
  1292. package/dist/node/pm/detectPackageManager.d.ts.map +1 -0
  1293. package/dist/node/pm/index.d.ts +11 -0
  1294. package/dist/node/pm/index.d.ts.map +1 -0
  1295. package/dist/node/pm/isReactProject.d.ts +3 -0
  1296. package/dist/node/pm/isReactProject.d.ts.map +1 -0
  1297. package/dist/node/pm/npmPackageManager.d.ts +20 -0
  1298. package/dist/node/pm/npmPackageManager.d.ts.map +1 -0
  1299. package/dist/node/pm/pnpmPackageManager.d.ts +20 -0
  1300. package/dist/node/pm/pnpmPackageManager.d.ts.map +1 -0
  1301. package/dist/node/pm/registry.d.ts +5 -0
  1302. package/dist/node/pm/registry.d.ts.map +1 -0
  1303. package/dist/node/pm/resolveWorkspace.d.ts +3 -0
  1304. package/dist/node/pm/resolveWorkspace.d.ts.map +1 -0
  1305. package/dist/node/pm/runtime.d.ts +2 -0
  1306. package/dist/node/pm/runtime.d.ts.map +1 -0
  1307. package/dist/node/pm/workspaces.d.ts +15 -0
  1308. package/dist/node/pm/workspaces.d.ts.map +1 -0
  1309. package/dist/node/pm/yarnPackageManager.d.ts +20 -0
  1310. package/dist/node/pm/yarnPackageManager.d.ts.map +1 -0
  1311. package/dist/node/xy/build/buildCommand.d.ts +3 -0
  1312. package/dist/node/xy/build/buildCommand.d.ts.map +1 -0
  1313. package/dist/node/xy/build/compileCommand.d.ts +3 -0
  1314. package/dist/node/xy/build/compileCommand.d.ts.map +1 -0
  1315. package/dist/node/xy/build/copyAssetsCommand.d.ts +3 -0
  1316. package/dist/node/xy/build/copyAssetsCommand.d.ts.map +1 -0
  1317. package/dist/node/xy/build/index.d.ts +3 -0
  1318. package/dist/node/xy/build/index.d.ts.map +1 -0
  1319. package/dist/node/xy/build/rebuildCommand.d.ts +3 -0
  1320. package/dist/node/xy/build/rebuildCommand.d.ts.map +1 -0
  1321. package/dist/node/xy/build/recompileCommand.d.ts +3 -0
  1322. package/dist/node/xy/build/recompileCommand.d.ts.map +1 -0
  1323. package/dist/node/xy/build/tscValidateCommand.d.ts +3 -0
  1324. package/dist/node/xy/build/tscValidateCommand.d.ts.map +1 -0
  1325. package/dist/node/xy/common/checkCommand.d.ts +3 -0
  1326. package/dist/node/xy/common/checkCommand.d.ts.map +1 -0
  1327. package/dist/node/xy/common/deadCommand.d.ts +3 -0
  1328. package/dist/node/xy/common/deadCommand.d.ts.map +1 -0
  1329. package/dist/node/xy/common/gitignoreCommand.d.ts +3 -0
  1330. package/dist/node/xy/common/gitignoreCommand.d.ts.map +1 -0
  1331. package/dist/node/xy/common/gitlintCommand.d.ts +3 -0
  1332. package/dist/node/xy/common/gitlintCommand.d.ts.map +1 -0
  1333. package/dist/node/xy/common/index.d.ts +3 -0
  1334. package/dist/node/xy/common/index.d.ts.map +1 -0
  1335. package/dist/node/xy/common/licenseCommand.d.ts +3 -0
  1336. package/dist/node/xy/common/licenseCommand.d.ts.map +1 -0
  1337. package/dist/node/xy/common/npmignoreGenCommand.d.ts +3 -0
  1338. package/dist/node/xy/common/npmignoreGenCommand.d.ts.map +1 -0
  1339. package/dist/node/xy/common/orphan/cleanCommand.d.ts +3 -0
  1340. package/dist/node/xy/common/orphan/cleanCommand.d.ts.map +1 -0
  1341. package/dist/node/xy/common/orphan/index.d.ts +3 -0
  1342. package/dist/node/xy/common/orphan/index.d.ts.map +1 -0
  1343. package/dist/node/xy/common/orphan/listCommand.d.ts +3 -0
  1344. package/dist/node/xy/common/orphan/listCommand.d.ts.map +1 -0
  1345. package/dist/node/xy/common/packmanCommand.d.ts +3 -0
  1346. package/dist/node/xy/common/packmanCommand.d.ts.map +1 -0
  1347. package/dist/node/xy/common/repo/index.d.ts +3 -0
  1348. package/dist/node/xy/common/repo/index.d.ts.map +1 -0
  1349. package/dist/node/xy/common/repo/initCommand.d.ts +3 -0
  1350. package/dist/node/xy/common/repo/initCommand.d.ts.map +1 -0
  1351. package/dist/node/xy/common/repo/lintCommand.d.ts +3 -0
  1352. package/dist/node/xy/common/repo/lintCommand.d.ts.map +1 -0
  1353. package/dist/node/xy/common/retestCommand.d.ts +3 -0
  1354. package/dist/node/xy/common/retestCommand.d.ts.map +1 -0
  1355. package/dist/node/xy/common/secureCommand.d.ts +3 -0
  1356. package/dist/node/xy/common/secureCommand.d.ts.map +1 -0
  1357. package/dist/node/xy/common/skills/index.d.ts +3 -0
  1358. package/dist/node/xy/common/skills/index.d.ts.map +1 -0
  1359. package/dist/node/xy/common/testCommand.d.ts +3 -0
  1360. package/dist/node/xy/common/testCommand.d.ts.map +1 -0
  1361. package/dist/node/xy/common/work/addCommand.d.ts +3 -0
  1362. package/dist/node/xy/common/work/addCommand.d.ts.map +1 -0
  1363. package/dist/node/xy/common/work/claimCommand.d.ts +3 -0
  1364. package/dist/node/xy/common/work/claimCommand.d.ts.map +1 -0
  1365. package/dist/node/xy/common/work/doneCommand.d.ts +3 -0
  1366. package/dist/node/xy/common/work/doneCommand.d.ts.map +1 -0
  1367. package/dist/node/xy/common/work/index.d.ts +3 -0
  1368. package/dist/node/xy/common/work/index.d.ts.map +1 -0
  1369. package/dist/node/xy/common/work/initCommand.d.ts +3 -0
  1370. package/dist/node/xy/common/work/initCommand.d.ts.map +1 -0
  1371. package/dist/node/xy/common/work/listCommand.d.ts +3 -0
  1372. package/dist/node/xy/common/work/listCommand.d.ts.map +1 -0
  1373. package/dist/node/xy/common/work/nextCommand.d.ts +3 -0
  1374. package/dist/node/xy/common/work/nextCommand.d.ts.map +1 -0
  1375. package/dist/node/xy/common/work/options.d.ts +5 -0
  1376. package/dist/node/xy/common/work/options.d.ts.map +1 -0
  1377. package/dist/node/xy/common/work/queueCommand.d.ts +3 -0
  1378. package/dist/node/xy/common/work/queueCommand.d.ts.map +1 -0
  1379. package/dist/node/xy/common/work/showCommand.d.ts +3 -0
  1380. package/dist/node/xy/common/work/showCommand.d.ts.map +1 -0
  1381. package/dist/node/xy/common/work/triageCommand.d.ts +3 -0
  1382. package/dist/node/xy/common/work/triageCommand.d.ts.map +1 -0
  1383. package/dist/node/xy/common/work/updateCommand.d.ts +3 -0
  1384. package/dist/node/xy/common/work/updateCommand.d.ts.map +1 -0
  1385. package/dist/node/xy/deploy/deployCommand.d.ts +3 -0
  1386. package/dist/node/xy/deploy/deployCommand.d.ts.map +1 -0
  1387. package/dist/node/xy/deploy/index.d.ts +3 -0
  1388. package/dist/node/xy/deploy/index.d.ts.map +1 -0
  1389. package/dist/node/xy/deploy/publishCommand.d.ts +3 -0
  1390. package/dist/node/xy/deploy/publishCommand.d.ts.map +1 -0
  1391. package/dist/node/xy/index.d.ts +9 -0
  1392. package/dist/node/xy/index.d.ts.map +1 -0
  1393. package/dist/node/xy/install/cleanCommand.d.ts +3 -0
  1394. package/dist/node/xy/install/cleanCommand.d.ts.map +1 -0
  1395. package/dist/node/xy/install/index.d.ts +3 -0
  1396. package/dist/node/xy/install/index.d.ts.map +1 -0
  1397. package/dist/node/xy/install/installCommand.d.ts +3 -0
  1398. package/dist/node/xy/install/installCommand.d.ts.map +1 -0
  1399. package/dist/node/xy/install/reinstallCommand.d.ts +3 -0
  1400. package/dist/node/xy/install/reinstallCommand.d.ts.map +1 -0
  1401. package/dist/node/xy/install/staticsCommand.d.ts +3 -0
  1402. package/dist/node/xy/install/staticsCommand.d.ts.map +1 -0
  1403. package/dist/node/xy/install/upCommand.d.ts +3 -0
  1404. package/dist/node/xy/install/upCommand.d.ts.map +1 -0
  1405. package/dist/node/xy/install/updoCommand.d.ts +3 -0
  1406. package/dist/node/xy/install/updoCommand.d.ts.map +1 -0
  1407. package/dist/node/xy/lint/apiExposureCommand.d.ts +3 -0
  1408. package/dist/node/xy/lint/apiExposureCommand.d.ts.map +1 -0
  1409. package/dist/node/xy/lint/cycleCommand.d.ts +3 -0
  1410. package/dist/node/xy/lint/cycleCommand.d.ts.map +1 -0
  1411. package/dist/node/xy/lint/deplintCommand.d.ts +3 -0
  1412. package/dist/node/xy/lint/deplintCommand.d.ts.map +1 -0
  1413. package/dist/node/xy/lint/fixCommand.d.ts +3 -0
  1414. package/dist/node/xy/lint/fixCommand.d.ts.map +1 -0
  1415. package/dist/node/xy/lint/index.d.ts +3 -0
  1416. package/dist/node/xy/lint/index.d.ts.map +1 -0
  1417. package/dist/node/xy/lint/lint/configCommand.d.ts +5 -0
  1418. package/dist/node/xy/lint/lint/configCommand.d.ts.map +1 -0
  1419. package/dist/node/xy/lint/lint/index.d.ts +3 -0
  1420. package/dist/node/xy/lint/lint/index.d.ts.map +1 -0
  1421. package/dist/node/xy/lint/lint/initCommand.d.ts +3 -0
  1422. package/dist/node/xy/lint/lint/initCommand.d.ts.map +1 -0
  1423. package/dist/node/xy/lint/lint/runCommand.d.ts +3 -0
  1424. package/dist/node/xy/lint/lint/runCommand.d.ts.map +1 -0
  1425. package/dist/node/xy/lint/lintCommand.d.ts +2 -0
  1426. package/dist/node/xy/lint/lintCommand.d.ts.map +1 -0
  1427. package/dist/node/xy/lint/lintlintCommand.d.ts +3 -0
  1428. package/dist/node/xy/lint/lintlintCommand.d.ts.map +1 -0
  1429. package/dist/node/xy/lint/nodeLintCommand.d.ts +3 -0
  1430. package/dist/node/xy/lint/nodeLintCommand.d.ts.map +1 -0
  1431. package/dist/node/xy/lint/publintCommand.d.ts +3 -0
  1432. package/dist/node/xy/lint/publintCommand.d.ts.map +1 -0
  1433. package/dist/node/xy/lint/relintCommand.d.ts +3 -0
  1434. package/dist/node/xy/lint/relintCommand.d.ts.map +1 -0
  1435. package/dist/node/xy/lint/republintCommand.d.ts +3 -0
  1436. package/dist/node/xy/lint/republintCommand.d.ts.map +1 -0
  1437. package/dist/node/xy/lint/sonarCommand.d.ts +3 -0
  1438. package/dist/node/xy/lint/sonarCommand.d.ts.map +1 -0
  1439. package/dist/node/xy/packageManagerWarning.d.ts +4 -0
  1440. package/dist/node/xy/packageManagerWarning.d.ts.map +1 -0
  1441. package/dist/node/xy/param.d.ts +5 -0
  1442. package/dist/node/xy/param.d.ts.map +1 -0
  1443. package/dist/node/xy/react/analyzeCommand.d.ts +3 -0
  1444. package/dist/node/xy/react/analyzeCommand.d.ts.map +1 -0
  1445. package/dist/node/xy/react/ejectCommand.d.ts +3 -0
  1446. package/dist/node/xy/react/ejectCommand.d.ts.map +1 -0
  1447. package/dist/node/xy/react/index.d.ts +3 -0
  1448. package/dist/node/xy/react/index.d.ts.map +1 -0
  1449. package/dist/node/xy/react/sitemapCommand.d.ts +3 -0
  1450. package/dist/node/xy/react/sitemapCommand.d.ts.map +1 -0
  1451. package/dist/node/xy/react/startCommand.d.ts +3 -0
  1452. package/dist/node/xy/react/startCommand.d.ts.map +1 -0
  1453. package/dist/node/xy/xy.d.ts +20 -0
  1454. package/dist/node/xy/xy.d.ts.map +1 -0
  1455. package/dist/node/xy/xyParseOptions.d.ts +3 -0
  1456. package/dist/node/xy/xyParseOptions.d.ts.map +1 -0
  1457. package/dist/pm/PackageManager.d.ts +85 -0
  1458. package/dist/pm/PackageManager.d.ts.map +1 -0
  1459. package/dist/pm/bunPackageManager.d.ts +20 -0
  1460. package/dist/pm/bunPackageManager.d.ts.map +1 -0
  1461. package/dist/pm/detectPackageManager.d.ts +3 -0
  1462. package/dist/pm/detectPackageManager.d.ts.map +1 -0
  1463. package/dist/pm/detectReact.d.ts +3 -0
  1464. package/dist/pm/detectReact.d.ts.map +1 -0
  1465. package/dist/pm/index.d.ts +11 -0
  1466. package/dist/pm/index.d.ts.map +1 -0
  1467. package/dist/pm/isReactProject.d.ts +3 -0
  1468. package/dist/pm/isReactProject.d.ts.map +1 -0
  1469. package/dist/pm/npmPackageManager.d.ts +20 -0
  1470. package/dist/pm/npmPackageManager.d.ts.map +1 -0
  1471. package/dist/pm/pnpmPackageManager.d.ts +20 -0
  1472. package/dist/pm/pnpmPackageManager.d.ts.map +1 -0
  1473. package/dist/pm/registry.d.ts +5 -0
  1474. package/dist/pm/registry.d.ts.map +1 -0
  1475. package/dist/pm/resolveWorkspace.d.ts +3 -0
  1476. package/dist/pm/resolveWorkspace.d.ts.map +1 -0
  1477. package/dist/pm/runtime.d.ts +2 -0
  1478. package/dist/pm/runtime.d.ts.map +1 -0
  1479. package/dist/pm/workspaces.d.ts +15 -0
  1480. package/dist/pm/workspaces.d.ts.map +1 -0
  1481. package/dist/pm/yarnPackageManager.d.ts +20 -0
  1482. package/dist/pm/yarnPackageManager.d.ts.map +1 -0
  1483. package/dist/xy/build/buildCommand.d.ts +3 -0
  1484. package/dist/xy/build/buildCommand.d.ts.map +1 -0
  1485. package/dist/xy/build/compileCommand.d.ts +3 -0
  1486. package/dist/xy/build/compileCommand.d.ts.map +1 -0
  1487. package/dist/xy/build/copyAssetsCommand.d.ts +3 -0
  1488. package/dist/xy/build/copyAssetsCommand.d.ts.map +1 -0
  1489. package/dist/xy/build/index.d.ts +3 -0
  1490. package/dist/xy/build/index.d.ts.map +1 -0
  1491. package/dist/xy/build/rebuildCommand.d.ts +3 -0
  1492. package/dist/xy/build/rebuildCommand.d.ts.map +1 -0
  1493. package/dist/xy/build/recompileCommand.d.ts +3 -0
  1494. package/dist/xy/build/recompileCommand.d.ts.map +1 -0
  1495. package/dist/xy/build/tscValidateCommand.d.ts +3 -0
  1496. package/dist/xy/build/tscValidateCommand.d.ts.map +1 -0
  1497. package/dist/xy/common/checkCommand.d.ts +3 -0
  1498. package/dist/xy/common/checkCommand.d.ts.map +1 -0
  1499. package/dist/xy/common/claude/checkCommand.d.ts +3 -0
  1500. package/dist/xy/common/claude/checkCommand.d.ts.map +1 -0
  1501. package/dist/xy/common/claude/cleanCommand.d.ts +3 -0
  1502. package/dist/xy/common/claude/cleanCommand.d.ts.map +1 -0
  1503. package/dist/xy/common/claude/commandsCommand.d.ts +3 -0
  1504. package/dist/xy/common/claude/commandsCommand.d.ts.map +1 -0
  1505. package/dist/xy/common/claude/index.d.ts +3 -0
  1506. package/dist/xy/common/claude/index.d.ts.map +1 -0
  1507. package/dist/xy/common/claude/initCommand.d.ts +3 -0
  1508. package/dist/xy/common/claude/initCommand.d.ts.map +1 -0
  1509. package/dist/xy/common/claude/rulesCommand.d.ts +3 -0
  1510. package/dist/xy/common/claude/rulesCommand.d.ts.map +1 -0
  1511. package/dist/xy/common/claude/settingsCommand.d.ts +3 -0
  1512. package/dist/xy/common/claude/settingsCommand.d.ts.map +1 -0
  1513. package/dist/xy/common/claude/skillsCommand.d.ts +3 -0
  1514. package/dist/xy/common/claude/skillsCommand.d.ts.map +1 -0
  1515. package/dist/xy/common/deadCommand.d.ts +3 -0
  1516. package/dist/xy/common/deadCommand.d.ts.map +1 -0
  1517. package/dist/xy/common/gitignoreCommand.d.ts +3 -0
  1518. package/dist/xy/common/gitignoreCommand.d.ts.map +1 -0
  1519. package/dist/xy/common/gitlintCommand.d.ts +3 -0
  1520. package/dist/xy/common/gitlintCommand.d.ts.map +1 -0
  1521. package/dist/xy/common/index.d.ts +3 -0
  1522. package/dist/xy/common/index.d.ts.map +1 -0
  1523. package/dist/xy/common/licenseCommand.d.ts +3 -0
  1524. package/dist/xy/common/licenseCommand.d.ts.map +1 -0
  1525. package/dist/xy/common/npmignoreGenCommand.d.ts +3 -0
  1526. package/dist/xy/common/npmignoreGenCommand.d.ts.map +1 -0
  1527. package/dist/xy/common/orphan/cleanCommand.d.ts +3 -0
  1528. package/dist/xy/common/orphan/cleanCommand.d.ts.map +1 -0
  1529. package/dist/xy/common/orphan/index.d.ts +3 -0
  1530. package/dist/xy/common/orphan/index.d.ts.map +1 -0
  1531. package/dist/xy/common/orphan/listCommand.d.ts +3 -0
  1532. package/dist/xy/common/orphan/listCommand.d.ts.map +1 -0
  1533. package/dist/xy/common/packmanCommand.d.ts +3 -0
  1534. package/dist/xy/common/packmanCommand.d.ts.map +1 -0
  1535. package/dist/xy/common/repo/index.d.ts +3 -0
  1536. package/dist/xy/common/repo/index.d.ts.map +1 -0
  1537. package/dist/xy/common/repo/initCommand.d.ts +3 -0
  1538. package/dist/xy/common/repo/initCommand.d.ts.map +1 -0
  1539. package/dist/xy/common/repo/lintCommand.d.ts +3 -0
  1540. package/dist/xy/common/repo/lintCommand.d.ts.map +1 -0
  1541. package/dist/xy/common/retestCommand.d.ts +3 -0
  1542. package/dist/xy/common/retestCommand.d.ts.map +1 -0
  1543. package/dist/xy/common/secureCommand.d.ts +3 -0
  1544. package/dist/xy/common/secureCommand.d.ts.map +1 -0
  1545. package/dist/xy/common/skills/addCommand.d.ts +3 -0
  1546. package/dist/xy/common/skills/addCommand.d.ts.map +1 -0
  1547. package/dist/xy/common/skills/experimentalInstallCommand.d.ts +3 -0
  1548. package/dist/xy/common/skills/experimentalInstallCommand.d.ts.map +1 -0
  1549. package/dist/xy/common/skills/experimentalSyncCommand.d.ts +3 -0
  1550. package/dist/xy/common/skills/experimentalSyncCommand.d.ts.map +1 -0
  1551. package/dist/xy/common/skills/findCommand.d.ts +3 -0
  1552. package/dist/xy/common/skills/findCommand.d.ts.map +1 -0
  1553. package/dist/xy/common/skills/index.d.ts +3 -0
  1554. package/dist/xy/common/skills/index.d.ts.map +1 -0
  1555. package/dist/xy/common/skills/initCommand.d.ts +3 -0
  1556. package/dist/xy/common/skills/initCommand.d.ts.map +1 -0
  1557. package/dist/xy/common/skills/lintCommand.d.ts +3 -0
  1558. package/dist/xy/common/skills/lintCommand.d.ts.map +1 -0
  1559. package/dist/xy/common/skills/listCommand.d.ts +3 -0
  1560. package/dist/xy/common/skills/listCommand.d.ts.map +1 -0
  1561. package/dist/xy/common/skills/removeCommand.d.ts +3 -0
  1562. package/dist/xy/common/skills/removeCommand.d.ts.map +1 -0
  1563. package/dist/xy/common/skills/updateCommand.d.ts +3 -0
  1564. package/dist/xy/common/skills/updateCommand.d.ts.map +1 -0
  1565. package/dist/xy/common/skills/updoCommand.d.ts +3 -0
  1566. package/dist/xy/common/skills/updoCommand.d.ts.map +1 -0
  1567. package/dist/xy/common/testCommand.d.ts +3 -0
  1568. package/dist/xy/common/testCommand.d.ts.map +1 -0
  1569. package/dist/xy/common/work/addCommand.d.ts +3 -0
  1570. package/dist/xy/common/work/addCommand.d.ts.map +1 -0
  1571. package/dist/xy/common/work/claimCommand.d.ts +3 -0
  1572. package/dist/xy/common/work/claimCommand.d.ts.map +1 -0
  1573. package/dist/xy/common/work/doneCommand.d.ts +3 -0
  1574. package/dist/xy/common/work/doneCommand.d.ts.map +1 -0
  1575. package/dist/xy/common/work/index.d.ts +3 -0
  1576. package/dist/xy/common/work/index.d.ts.map +1 -0
  1577. package/dist/xy/common/work/initCommand.d.ts +3 -0
  1578. package/dist/xy/common/work/initCommand.d.ts.map +1 -0
  1579. package/dist/xy/common/work/listCommand.d.ts +3 -0
  1580. package/dist/xy/common/work/listCommand.d.ts.map +1 -0
  1581. package/dist/xy/common/work/nextCommand.d.ts +3 -0
  1582. package/dist/xy/common/work/nextCommand.d.ts.map +1 -0
  1583. package/dist/xy/common/work/options.d.ts +5 -0
  1584. package/dist/xy/common/work/options.d.ts.map +1 -0
  1585. package/dist/xy/common/work/queueCommand.d.ts +3 -0
  1586. package/dist/xy/common/work/queueCommand.d.ts.map +1 -0
  1587. package/dist/xy/common/work/showCommand.d.ts +3 -0
  1588. package/dist/xy/common/work/showCommand.d.ts.map +1 -0
  1589. package/dist/xy/common/work/triageCommand.d.ts +3 -0
  1590. package/dist/xy/common/work/triageCommand.d.ts.map +1 -0
  1591. package/dist/xy/common/work/updateCommand.d.ts +3 -0
  1592. package/dist/xy/common/work/updateCommand.d.ts.map +1 -0
  1593. package/dist/xy/deploy/deployCommand.d.ts +3 -0
  1594. package/dist/xy/deploy/deployCommand.d.ts.map +1 -0
  1595. package/dist/xy/deploy/index.d.ts +3 -0
  1596. package/dist/xy/deploy/index.d.ts.map +1 -0
  1597. package/dist/xy/deploy/publishCommand.d.ts +3 -0
  1598. package/dist/xy/deploy/publishCommand.d.ts.map +1 -0
  1599. package/dist/xy/index.d.ts +9 -0
  1600. package/dist/xy/index.d.ts.map +1 -0
  1601. package/dist/xy/install/cleanCommand.d.ts +3 -0
  1602. package/dist/xy/install/cleanCommand.d.ts.map +1 -0
  1603. package/dist/xy/install/index.d.ts +3 -0
  1604. package/dist/xy/install/index.d.ts.map +1 -0
  1605. package/dist/xy/install/installCommand.d.ts +3 -0
  1606. package/dist/xy/install/installCommand.d.ts.map +1 -0
  1607. package/dist/xy/install/reinstallCommand.d.ts +3 -0
  1608. package/dist/xy/install/reinstallCommand.d.ts.map +1 -0
  1609. package/dist/xy/install/staticsCommand.d.ts +3 -0
  1610. package/dist/xy/install/staticsCommand.d.ts.map +1 -0
  1611. package/dist/xy/install/upCommand.d.ts +3 -0
  1612. package/dist/xy/install/upCommand.d.ts.map +1 -0
  1613. package/dist/xy/install/updoCommand.d.ts +3 -0
  1614. package/dist/xy/install/updoCommand.d.ts.map +1 -0
  1615. package/dist/xy/install/upskillsCommand.d.ts +3 -0
  1616. package/dist/xy/install/upskillsCommand.d.ts.map +1 -0
  1617. package/dist/xy/lint/apiExposureCommand.d.ts +3 -0
  1618. package/dist/xy/lint/apiExposureCommand.d.ts.map +1 -0
  1619. package/dist/xy/lint/cycleCommand.d.ts +3 -0
  1620. package/dist/xy/lint/cycleCommand.d.ts.map +1 -0
  1621. package/dist/xy/lint/deplintCommand.d.ts +3 -0
  1622. package/dist/xy/lint/deplintCommand.d.ts.map +1 -0
  1623. package/dist/xy/lint/fixCommand.d.ts +3 -0
  1624. package/dist/xy/lint/fixCommand.d.ts.map +1 -0
  1625. package/dist/xy/lint/index.d.ts +3 -0
  1626. package/dist/xy/lint/index.d.ts.map +1 -0
  1627. package/dist/xy/lint/lint/configCommand.d.ts +5 -0
  1628. package/dist/xy/lint/lint/configCommand.d.ts.map +1 -0
  1629. package/dist/xy/lint/lint/index.d.ts +3 -0
  1630. package/dist/xy/lint/lint/index.d.ts.map +1 -0
  1631. package/dist/xy/lint/lint/initCommand.d.ts +3 -0
  1632. package/dist/xy/lint/lint/initCommand.d.ts.map +1 -0
  1633. package/dist/xy/lint/lint/runCommand.d.ts +3 -0
  1634. package/dist/xy/lint/lint/runCommand.d.ts.map +1 -0
  1635. package/dist/xy/lint/lintCommand.d.ts +2 -0
  1636. package/dist/xy/lint/lintCommand.d.ts.map +1 -0
  1637. package/dist/xy/lint/lintlintCommand.d.ts +3 -0
  1638. package/dist/xy/lint/lintlintCommand.d.ts.map +1 -0
  1639. package/dist/xy/lint/nodeLintCommand.d.ts +3 -0
  1640. package/dist/xy/lint/nodeLintCommand.d.ts.map +1 -0
  1641. package/dist/xy/lint/publintCommand.d.ts +3 -0
  1642. package/dist/xy/lint/publintCommand.d.ts.map +1 -0
  1643. package/dist/xy/lint/relintCommand.d.ts +3 -0
  1644. package/dist/xy/lint/relintCommand.d.ts.map +1 -0
  1645. package/dist/xy/lint/republintCommand.d.ts +3 -0
  1646. package/dist/xy/lint/republintCommand.d.ts.map +1 -0
  1647. package/dist/xy/lint/sonarCommand.d.ts +3 -0
  1648. package/dist/xy/lint/sonarCommand.d.ts.map +1 -0
  1649. package/dist/xy/packageManagerWarning.d.ts +4 -0
  1650. package/dist/xy/packageManagerWarning.d.ts.map +1 -0
  1651. package/dist/xy/param.d.ts +5 -0
  1652. package/dist/xy/param.d.ts.map +1 -0
  1653. package/dist/xy/react/analyzeCommand.d.ts +3 -0
  1654. package/dist/xy/react/analyzeCommand.d.ts.map +1 -0
  1655. package/dist/xy/react/ejectCommand.d.ts +3 -0
  1656. package/dist/xy/react/ejectCommand.d.ts.map +1 -0
  1657. package/dist/xy/react/index.d.ts +3 -0
  1658. package/dist/xy/react/index.d.ts.map +1 -0
  1659. package/dist/xy/react/sitemapCommand.d.ts +3 -0
  1660. package/dist/xy/react/sitemapCommand.d.ts.map +1 -0
  1661. package/dist/xy/react/startCommand.d.ts +3 -0
  1662. package/dist/xy/react/startCommand.d.ts.map +1 -0
  1663. package/dist/xy/xy.d.ts +20 -0
  1664. package/dist/xy/xy.d.ts.map +1 -0
  1665. package/dist/xy/xyParseOptions.d.ts +3 -0
  1666. package/dist/xy/xyParseOptions.d.ts.map +1 -0
  1667. package/package.json +108 -0
  1668. package/templates/gitignore/gitignore/template.gitignore +51 -0
  1669. package/templates/gitignore/template.gitignore +51 -0
  1670. package/templates/repo/cli/package/package.json.tmpl +62 -0
  1671. package/templates/repo/cli/package/src/__packageName__.ts.tmpl +21 -0
  1672. package/templates/repo/cli/package/src/actions/index.ts +1 -0
  1673. package/templates/repo/cli/package/src/actions/printVersion.ts.tmpl +8 -0
  1674. package/templates/repo/cli/package/src/bin/__packageName__.ts.tmpl +12 -0
  1675. package/templates/repo/cli/package/src/commands/index.ts +1 -0
  1676. package/templates/repo/cli/package/src/commands/versionCommand.ts.tmpl +11 -0
  1677. package/templates/repo/cli/package/src/index.ts.tmpl +1 -0
  1678. package/templates/repo/cli/package/tsconfig.build.json +25 -0
  1679. package/templates/repo/cli/package/tsconfig.json +4 -0
  1680. package/templates/repo/cli/package/xy.config.ts +3 -0
  1681. package/templates/repo/cli/root/CLAUDE.md.tmpl +36 -0
  1682. package/templates/repo/cli/root/cspell.json.tmpl +13 -0
  1683. package/templates/repo/cli/root/eslint.config.ts +20 -0
  1684. package/templates/repo/cli/root/github/workflows/build-bun.yml.tmpl +30 -0
  1685. package/templates/repo/cli/root/github/workflows/build-npm.yml.tmpl +32 -0
  1686. package/templates/repo/cli/root/github/workflows/build-pnpm.yml.tmpl +34 -0
  1687. package/templates/repo/cli/root/github/workflows/build-yarn.yml.tmpl +32 -0
  1688. package/templates/repo/cli/root/gitignore.tmpl +47 -0
  1689. package/templates/repo/cli/root/package.json.tmpl +54 -0
  1690. package/templates/repo/cli/root/pnpm-workspace.yaml +2 -0
  1691. package/templates/repo/cli/root/tsconfig.json +4 -0
  1692. package/templates/repo/cli/root/vitest.config.ts +31 -0
  1693. package/templates/repo/cli/root/xy.config.ts.tmpl +5 -0
@@ -0,0 +1,2184 @@
1
+ #!/usr/bin/env node
2
+ import process$1, { cwd } from "node:process";
3
+ import os from "node:os";
4
+ import tty from "node:tty";
5
+ import { promises, readdirSync } from "node:fs";
6
+ import PATH from "node:path";
7
+ import { fileURLToPath, pathToFileURL } from "node:url";
8
+ import { execFile } from "node:child_process";
9
+ import { promisify } from "node:util";
10
+ import { ESLint } from "eslint";
11
+ //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
12
+ const ANSI_BACKGROUND_OFFSET = 10;
13
+ const wrapAnsi16 = (offset = 0) => (code) => `\u001B[${code + offset}m`;
14
+ const wrapAnsi256 = (offset = 0) => (code) => `\u001B[${38 + offset};5;${code}m`;
15
+ const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`;
16
+ const styles$1 = {
17
+ modifier: {
18
+ reset: [0, 0],
19
+ bold: [1, 22],
20
+ dim: [2, 22],
21
+ italic: [3, 23],
22
+ underline: [4, 24],
23
+ overline: [53, 55],
24
+ inverse: [7, 27],
25
+ hidden: [8, 28],
26
+ strikethrough: [9, 29]
27
+ },
28
+ color: {
29
+ black: [30, 39],
30
+ red: [31, 39],
31
+ green: [32, 39],
32
+ yellow: [33, 39],
33
+ blue: [34, 39],
34
+ magenta: [35, 39],
35
+ cyan: [36, 39],
36
+ white: [37, 39],
37
+ blackBright: [90, 39],
38
+ gray: [90, 39],
39
+ grey: [90, 39],
40
+ redBright: [91, 39],
41
+ greenBright: [92, 39],
42
+ yellowBright: [93, 39],
43
+ blueBright: [94, 39],
44
+ magentaBright: [95, 39],
45
+ cyanBright: [96, 39],
46
+ whiteBright: [97, 39]
47
+ },
48
+ bgColor: {
49
+ bgBlack: [40, 49],
50
+ bgRed: [41, 49],
51
+ bgGreen: [42, 49],
52
+ bgYellow: [43, 49],
53
+ bgBlue: [44, 49],
54
+ bgMagenta: [45, 49],
55
+ bgCyan: [46, 49],
56
+ bgWhite: [47, 49],
57
+ bgBlackBright: [100, 49],
58
+ bgGray: [100, 49],
59
+ bgGrey: [100, 49],
60
+ bgRedBright: [101, 49],
61
+ bgGreenBright: [102, 49],
62
+ bgYellowBright: [103, 49],
63
+ bgBlueBright: [104, 49],
64
+ bgMagentaBright: [105, 49],
65
+ bgCyanBright: [106, 49],
66
+ bgWhiteBright: [107, 49]
67
+ }
68
+ };
69
+ Object.keys(styles$1.modifier);
70
+ const foregroundColorNames = Object.keys(styles$1.color);
71
+ const backgroundColorNames = Object.keys(styles$1.bgColor);
72
+ [...foregroundColorNames, ...backgroundColorNames];
73
+ function assembleStyles() {
74
+ const codes = /* @__PURE__ */ new Map();
75
+ for (const [groupName, group] of Object.entries(styles$1)) {
76
+ for (const [styleName, style] of Object.entries(group)) {
77
+ styles$1[styleName] = {
78
+ open: `\u001B[${style[0]}m`,
79
+ close: `\u001B[${style[1]}m`
80
+ };
81
+ group[styleName] = styles$1[styleName];
82
+ codes.set(style[0], style[1]);
83
+ }
84
+ Object.defineProperty(styles$1, groupName, {
85
+ value: group,
86
+ enumerable: false
87
+ });
88
+ }
89
+ Object.defineProperty(styles$1, "codes", {
90
+ value: codes,
91
+ enumerable: false
92
+ });
93
+ styles$1.color.close = "\x1B[39m";
94
+ styles$1.bgColor.close = "\x1B[49m";
95
+ styles$1.color.ansi = wrapAnsi16();
96
+ styles$1.color.ansi256 = wrapAnsi256();
97
+ styles$1.color.ansi16m = wrapAnsi16m();
98
+ styles$1.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
99
+ styles$1.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
100
+ styles$1.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
101
+ Object.defineProperties(styles$1, {
102
+ rgbToAnsi256: {
103
+ value(red, green, blue) {
104
+ if (red === green && green === blue) {
105
+ if (red < 8) return 16;
106
+ if (red > 248) return 231;
107
+ return Math.round((red - 8) / 247 * 24) + 232;
108
+ }
109
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
110
+ },
111
+ enumerable: false
112
+ },
113
+ hexToRgb: {
114
+ value(hex) {
115
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
116
+ if (!matches) return [
117
+ 0,
118
+ 0,
119
+ 0
120
+ ];
121
+ let [colorString] = matches;
122
+ if (colorString.length === 3) colorString = [...colorString].map((character) => character + character).join("");
123
+ const integer = Number.parseInt(colorString, 16);
124
+ return [
125
+ integer >> 16 & 255,
126
+ integer >> 8 & 255,
127
+ integer & 255
128
+ ];
129
+ },
130
+ enumerable: false
131
+ },
132
+ hexToAnsi256: {
133
+ value: (hex) => styles$1.rgbToAnsi256(...styles$1.hexToRgb(hex)),
134
+ enumerable: false
135
+ },
136
+ ansi256ToAnsi: {
137
+ value(code) {
138
+ if (code < 8) return 30 + code;
139
+ if (code < 16) return 90 + (code - 8);
140
+ let red;
141
+ let green;
142
+ let blue;
143
+ if (code >= 232) {
144
+ red = ((code - 232) * 10 + 8) / 255;
145
+ green = red;
146
+ blue = red;
147
+ } else {
148
+ code -= 16;
149
+ const remainder = code % 36;
150
+ red = Math.floor(code / 36) / 5;
151
+ green = Math.floor(remainder / 6) / 5;
152
+ blue = remainder % 6 / 5;
153
+ }
154
+ const value = Math.max(red, green, blue) * 2;
155
+ if (value === 0) return 30;
156
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
157
+ if (value === 2) result += 60;
158
+ return result;
159
+ },
160
+ enumerable: false
161
+ },
162
+ rgbToAnsi: {
163
+ value: (red, green, blue) => styles$1.ansi256ToAnsi(styles$1.rgbToAnsi256(red, green, blue)),
164
+ enumerable: false
165
+ },
166
+ hexToAnsi: {
167
+ value: (hex) => styles$1.ansi256ToAnsi(styles$1.hexToAnsi256(hex)),
168
+ enumerable: false
169
+ }
170
+ });
171
+ return styles$1;
172
+ }
173
+ const ansiStyles = assembleStyles();
174
+ //#endregion
175
+ //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
176
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process$1.argv) {
177
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
178
+ const position = argv.indexOf(prefix + flag);
179
+ const terminatorPosition = argv.indexOf("--");
180
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
181
+ }
182
+ const { env } = process$1;
183
+ let flagForceColor;
184
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) flagForceColor = 0;
185
+ else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) flagForceColor = 1;
186
+ function envForceColor() {
187
+ if ("FORCE_COLOR" in env) {
188
+ if (env.FORCE_COLOR === "true") return 1;
189
+ if (env.FORCE_COLOR === "false") return 0;
190
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
191
+ }
192
+ }
193
+ function translateLevel(level) {
194
+ if (level === 0) return false;
195
+ return {
196
+ level,
197
+ hasBasic: true,
198
+ has256: level >= 2,
199
+ has16m: level >= 3
200
+ };
201
+ }
202
+ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
203
+ const noFlagForceColor = envForceColor();
204
+ if (noFlagForceColor !== void 0) flagForceColor = noFlagForceColor;
205
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
206
+ if (forceColor === 0) return 0;
207
+ if (sniffFlags) {
208
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) return 3;
209
+ if (hasFlag("color=256")) return 2;
210
+ }
211
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) return 1;
212
+ if (haveStream && !streamIsTTY && forceColor === void 0) return 0;
213
+ const min = forceColor || 0;
214
+ if (env.TERM === "dumb") return min;
215
+ if (process$1.platform === "win32") {
216
+ const osRelease = os.release().split(".");
217
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
218
+ return 1;
219
+ }
220
+ if ("CI" in env) {
221
+ if ([
222
+ "GITHUB_ACTIONS",
223
+ "GITEA_ACTIONS",
224
+ "CIRCLECI"
225
+ ].some((key) => key in env)) return 3;
226
+ if ([
227
+ "TRAVIS",
228
+ "APPVEYOR",
229
+ "GITLAB_CI",
230
+ "BUILDKITE",
231
+ "DRONE"
232
+ ].some((sign) => sign in env) || env.CI_NAME === "codeship") return 1;
233
+ return min;
234
+ }
235
+ if ("TEAMCITY_VERSION" in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
236
+ if (env.COLORTERM === "truecolor") return 3;
237
+ if (env.TERM === "xterm-kitty") return 3;
238
+ if (env.TERM === "xterm-ghostty") return 3;
239
+ if (env.TERM === "wezterm") return 3;
240
+ if ("TERM_PROGRAM" in env) {
241
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
242
+ switch (env.TERM_PROGRAM) {
243
+ case "iTerm.app": return version >= 3 ? 3 : 2;
244
+ case "Apple_Terminal": return 2;
245
+ }
246
+ }
247
+ if (/-256(color)?$/i.test(env.TERM)) return 2;
248
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
249
+ if ("COLORTERM" in env) return 1;
250
+ return min;
251
+ }
252
+ function createSupportsColor(stream, options = {}) {
253
+ return translateLevel(_supportsColor(stream, {
254
+ streamIsTTY: stream && stream.isTTY,
255
+ ...options
256
+ }));
257
+ }
258
+ const supportsColor = {
259
+ stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
260
+ stderr: createSupportsColor({ isTTY: tty.isatty(2) })
261
+ };
262
+ //#endregion
263
+ //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.js
264
+ function stringReplaceAll(string, substring, replacer) {
265
+ let index = string.indexOf(substring);
266
+ if (index === -1) return string;
267
+ const substringLength = substring.length;
268
+ let endIndex = 0;
269
+ let returnValue = "";
270
+ do {
271
+ returnValue += string.slice(endIndex, index) + substring + replacer;
272
+ endIndex = index + substringLength;
273
+ index = string.indexOf(substring, endIndex);
274
+ } while (index !== -1);
275
+ returnValue += string.slice(endIndex);
276
+ return returnValue;
277
+ }
278
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
279
+ let endIndex = 0;
280
+ let returnValue = "";
281
+ do {
282
+ const gotCR = string[index - 1] === "\r";
283
+ returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
284
+ endIndex = index + 1;
285
+ index = string.indexOf("\n", endIndex);
286
+ } while (index !== -1);
287
+ returnValue += string.slice(endIndex);
288
+ return returnValue;
289
+ }
290
+ //#endregion
291
+ //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
292
+ const { stdout: stdoutColor, stderr: stderrColor } = supportsColor;
293
+ const GENERATOR = Symbol("GENERATOR");
294
+ const STYLER = Symbol("STYLER");
295
+ const IS_EMPTY = Symbol("IS_EMPTY");
296
+ const levelMapping = [
297
+ "ansi",
298
+ "ansi",
299
+ "ansi256",
300
+ "ansi16m"
301
+ ];
302
+ const styles = Object.create(null);
303
+ const applyOptions = (object, options = {}) => {
304
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error("The `level` option should be an integer from 0 to 3");
305
+ const colorLevel = stdoutColor ? stdoutColor.level : 0;
306
+ object.level = options.level === void 0 ? colorLevel : options.level;
307
+ };
308
+ const chalkFactory = (options) => {
309
+ const chalk = (...strings) => strings.join(" ");
310
+ applyOptions(chalk, options);
311
+ Object.setPrototypeOf(chalk, createChalk.prototype);
312
+ return chalk;
313
+ };
314
+ function createChalk(options) {
315
+ return chalkFactory(options);
316
+ }
317
+ Object.setPrototypeOf(createChalk.prototype, Function.prototype);
318
+ for (const [styleName, style] of Object.entries(ansiStyles)) styles[styleName] = { get() {
319
+ const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
320
+ Object.defineProperty(this, styleName, { value: builder });
321
+ return builder;
322
+ } };
323
+ styles.visible = { get() {
324
+ const builder = createBuilder(this, this[STYLER], true);
325
+ Object.defineProperty(this, "visible", { value: builder });
326
+ return builder;
327
+ } };
328
+ const getModelAnsi = (model, level, type, ...arguments_) => {
329
+ if (model === "rgb") {
330
+ if (level === "ansi16m") return ansiStyles[type].ansi16m(...arguments_);
331
+ if (level === "ansi256") return ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));
332
+ return ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));
333
+ }
334
+ if (model === "hex") return getModelAnsi("rgb", level, type, ...ansiStyles.hexToRgb(...arguments_));
335
+ return ansiStyles[type][model](...arguments_);
336
+ };
337
+ for (const model of [
338
+ "rgb",
339
+ "hex",
340
+ "ansi256"
341
+ ]) {
342
+ styles[model] = { get() {
343
+ const { level } = this;
344
+ return function(...arguments_) {
345
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansiStyles.color.close, this[STYLER]);
346
+ return createBuilder(this, styler, this[IS_EMPTY]);
347
+ };
348
+ } };
349
+ const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
350
+ styles[bgModel] = { get() {
351
+ const { level } = this;
352
+ return function(...arguments_) {
353
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansiStyles.bgColor.close, this[STYLER]);
354
+ return createBuilder(this, styler, this[IS_EMPTY]);
355
+ };
356
+ } };
357
+ }
358
+ const proto = Object.defineProperties(() => {}, {
359
+ ...styles,
360
+ level: {
361
+ enumerable: true,
362
+ get() {
363
+ return this[GENERATOR].level;
364
+ },
365
+ set(level) {
366
+ this[GENERATOR].level = level;
367
+ }
368
+ }
369
+ });
370
+ const createStyler = (open, close, parent) => {
371
+ let openAll;
372
+ let closeAll;
373
+ if (parent === void 0) {
374
+ openAll = open;
375
+ closeAll = close;
376
+ } else {
377
+ openAll = parent.openAll + open;
378
+ closeAll = close + parent.closeAll;
379
+ }
380
+ return {
381
+ open,
382
+ close,
383
+ openAll,
384
+ closeAll,
385
+ parent
386
+ };
387
+ };
388
+ const createBuilder = (self, _styler, _isEmpty) => {
389
+ const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
390
+ Object.setPrototypeOf(builder, proto);
391
+ builder[GENERATOR] = self;
392
+ builder[STYLER] = _styler;
393
+ builder[IS_EMPTY] = _isEmpty;
394
+ return builder;
395
+ };
396
+ const applyStyle = (self, string) => {
397
+ if (self.level <= 0 || !string) return self[IS_EMPTY] ? "" : string;
398
+ let styler = self[STYLER];
399
+ if (styler === void 0) return string;
400
+ const { openAll, closeAll } = styler;
401
+ if (string.includes("\x1B")) while (styler !== void 0) {
402
+ string = stringReplaceAll(string, styler.close, styler.open);
403
+ styler = styler.parent;
404
+ }
405
+ const lfIndex = string.indexOf("\n");
406
+ if (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
407
+ return openAll + string + closeAll;
408
+ };
409
+ Object.defineProperties(createChalk.prototype, styles);
410
+ const chalk = createChalk();
411
+ createChalk({ level: stderrColor ? stderrColor.level : 0 });
412
+ //#endregion
413
+ //#region src/lib/initCwd.ts
414
+ function INIT_CWD() {
415
+ return process.env.INIT_CWD ?? process.cwd();
416
+ }
417
+ //#endregion
418
+ //#region ../../node_modules/.pnpm/balanced-match@4.0.4/node_modules/balanced-match/dist/esm/index.js
419
+ const balanced = (a, b, str) => {
420
+ const ma = a instanceof RegExp ? maybeMatch(a, str) : a;
421
+ const mb = b instanceof RegExp ? maybeMatch(b, str) : b;
422
+ const r = ma !== null && mb != null && range(ma, mb, str);
423
+ return r && {
424
+ start: r[0],
425
+ end: r[1],
426
+ pre: str.slice(0, r[0]),
427
+ body: str.slice(r[0] + ma.length, r[1]),
428
+ post: str.slice(r[1] + mb.length)
429
+ };
430
+ };
431
+ const maybeMatch = (reg, str) => {
432
+ const m = str.match(reg);
433
+ return m ? m[0] : null;
434
+ };
435
+ const range = (a, b, str) => {
436
+ let begs, beg, left, right = void 0, result;
437
+ let ai = str.indexOf(a);
438
+ let bi = str.indexOf(b, ai + 1);
439
+ let i = ai;
440
+ if (ai >= 0 && bi > 0) {
441
+ if (a === b) return [ai, bi];
442
+ begs = [];
443
+ left = str.length;
444
+ while (i >= 0 && !result) {
445
+ if (i === ai) {
446
+ begs.push(i);
447
+ ai = str.indexOf(a, i + 1);
448
+ } else if (begs.length === 1) {
449
+ const r = begs.pop();
450
+ if (r !== void 0) result = [r, bi];
451
+ } else {
452
+ beg = begs.pop();
453
+ if (beg !== void 0 && beg < left) {
454
+ left = beg;
455
+ right = bi;
456
+ }
457
+ bi = str.indexOf(b, i + 1);
458
+ }
459
+ i = ai < bi && ai >= 0 ? ai : bi;
460
+ }
461
+ if (begs.length && right !== void 0) result = [left, right];
462
+ }
463
+ return result;
464
+ };
465
+ //#endregion
466
+ //#region ../../node_modules/.pnpm/brace-expansion@5.0.6/node_modules/brace-expansion/dist/esm/index.js
467
+ const escSlash = "\0SLASH" + Math.random() + "\0";
468
+ const escOpen = "\0OPEN" + Math.random() + "\0";
469
+ const escClose = "\0CLOSE" + Math.random() + "\0";
470
+ const escComma = "\0COMMA" + Math.random() + "\0";
471
+ const escPeriod = "\0PERIOD" + Math.random() + "\0";
472
+ const escSlashPattern = new RegExp(escSlash, "g");
473
+ const escOpenPattern = new RegExp(escOpen, "g");
474
+ const escClosePattern = new RegExp(escClose, "g");
475
+ const escCommaPattern = new RegExp(escComma, "g");
476
+ const escPeriodPattern = new RegExp(escPeriod, "g");
477
+ const slashPattern = /\\\\/g;
478
+ const openPattern = /\\{/g;
479
+ const closePattern = /\\}/g;
480
+ const commaPattern = /\\,/g;
481
+ const periodPattern = /\\\./g;
482
+ const EXPANSION_MAX = 1e5;
483
+ function numeric(str) {
484
+ return !isNaN(str) ? parseInt(str, 10) : str.charCodeAt(0);
485
+ }
486
+ function escapeBraces(str) {
487
+ return str.replace(slashPattern, escSlash).replace(openPattern, escOpen).replace(closePattern, escClose).replace(commaPattern, escComma).replace(periodPattern, escPeriod);
488
+ }
489
+ function unescapeBraces(str) {
490
+ return str.replace(escSlashPattern, "\\").replace(escOpenPattern, "{").replace(escClosePattern, "}").replace(escCommaPattern, ",").replace(escPeriodPattern, ".");
491
+ }
492
+ /**
493
+ * Basically just str.split(","), but handling cases
494
+ * where we have nested braced sections, which should be
495
+ * treated as individual members, like {a,{b,c},d}
496
+ */
497
+ function parseCommaParts(str) {
498
+ if (!str) return [""];
499
+ const parts = [];
500
+ const m = balanced("{", "}", str);
501
+ if (!m) return str.split(",");
502
+ const { pre, body, post } = m;
503
+ const p = pre.split(",");
504
+ p[p.length - 1] += "{" + body + "}";
505
+ const postParts = parseCommaParts(post);
506
+ if (post.length) {
507
+ p[p.length - 1] += postParts.shift();
508
+ p.push.apply(p, postParts);
509
+ }
510
+ parts.push.apply(parts, p);
511
+ return parts;
512
+ }
513
+ function expand(str, options = {}) {
514
+ if (!str) return [];
515
+ const { max = EXPANSION_MAX } = options;
516
+ if (str.slice(0, 2) === "{}") str = "\\{\\}" + str.slice(2);
517
+ return expand_(escapeBraces(str), max, true).map(unescapeBraces);
518
+ }
519
+ function embrace(str) {
520
+ return "{" + str + "}";
521
+ }
522
+ function isPadded(el) {
523
+ return /^-?0\d/.test(el);
524
+ }
525
+ function lte(i, y) {
526
+ return i <= y;
527
+ }
528
+ function gte(i, y) {
529
+ return i >= y;
530
+ }
531
+ function expand_(str, max, isTop) {
532
+ /** @type {string[]} */
533
+ const expansions = [];
534
+ const m = balanced("{", "}", str);
535
+ if (!m) return [str];
536
+ const pre = m.pre;
537
+ const post = m.post.length ? expand_(m.post, max, false) : [""];
538
+ if (/\$$/.test(m.pre)) for (let k = 0; k < post.length && k < max; k++) {
539
+ const expansion = pre + "{" + m.body + "}" + post[k];
540
+ expansions.push(expansion);
541
+ }
542
+ else {
543
+ const isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
544
+ const isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
545
+ const isSequence = isNumericSequence || isAlphaSequence;
546
+ const isOptions = m.body.indexOf(",") >= 0;
547
+ if (!isSequence && !isOptions) {
548
+ if (m.post.match(/,(?!,).*\}/)) {
549
+ str = m.pre + "{" + m.body + escClose + m.post;
550
+ return expand_(str, max, true);
551
+ }
552
+ return [str];
553
+ }
554
+ let n;
555
+ if (isSequence) n = m.body.split(/\.\./);
556
+ else {
557
+ n = parseCommaParts(m.body);
558
+ if (n.length === 1 && n[0] !== void 0) {
559
+ n = expand_(n[0], max, false).map(embrace);
560
+ /* c8 ignore start */
561
+ if (n.length === 1) return post.map((p) => m.pre + n[0] + p);
562
+ }
563
+ }
564
+ let N;
565
+ if (isSequence && n[0] !== void 0 && n[1] !== void 0) {
566
+ const x = numeric(n[0]);
567
+ const y = numeric(n[1]);
568
+ const width = Math.max(n[0].length, n[1].length);
569
+ let incr = n.length === 3 && n[2] !== void 0 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
570
+ let test = lte;
571
+ if (y < x) {
572
+ incr *= -1;
573
+ test = gte;
574
+ }
575
+ const pad = n.some(isPadded);
576
+ N = [];
577
+ for (let i = x; test(i, y) && N.length < max; i += incr) {
578
+ let c;
579
+ if (isAlphaSequence) {
580
+ c = String.fromCharCode(i);
581
+ if (c === "\\") c = "";
582
+ } else {
583
+ c = String(i);
584
+ if (pad) {
585
+ const need = width - c.length;
586
+ if (need > 0) {
587
+ const z = new Array(need + 1).join("0");
588
+ if (i < 0) c = "-" + z + c.slice(1);
589
+ else c = z + c;
590
+ }
591
+ }
592
+ }
593
+ N.push(c);
594
+ }
595
+ } else {
596
+ N = [];
597
+ for (let j = 0; j < n.length; j++) N.push.apply(N, expand_(n[j], max, false));
598
+ }
599
+ for (let j = 0; j < N.length; j++) for (let k = 0; k < post.length && expansions.length < max; k++) {
600
+ const expansion = pre + N[j] + post[k];
601
+ if (!isTop || isSequence || expansion) expansions.push(expansion);
602
+ }
603
+ }
604
+ return expansions;
605
+ }
606
+ //#endregion
607
+ //#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/assert-valid-pattern.js
608
+ const MAX_PATTERN_LENGTH = 1024 * 64;
609
+ const assertValidPattern = (pattern) => {
610
+ if (typeof pattern !== "string") throw new TypeError("invalid pattern");
611
+ if (pattern.length > MAX_PATTERN_LENGTH) throw new TypeError("pattern is too long");
612
+ };
613
+ //#endregion
614
+ //#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/brace-expressions.js
615
+ const posixClasses = {
616
+ "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
617
+ "[:alpha:]": ["\\p{L}\\p{Nl}", true],
618
+ "[:ascii:]": ["\\x00-\\x7f", false],
619
+ "[:blank:]": ["\\p{Zs}\\t", true],
620
+ "[:cntrl:]": ["\\p{Cc}", true],
621
+ "[:digit:]": ["\\p{Nd}", true],
622
+ "[:graph:]": [
623
+ "\\p{Z}\\p{C}",
624
+ true,
625
+ true
626
+ ],
627
+ "[:lower:]": ["\\p{Ll}", true],
628
+ "[:print:]": ["\\p{C}", true],
629
+ "[:punct:]": ["\\p{P}", true],
630
+ "[:space:]": ["\\p{Z}\\t\\r\\n\\v\\f", true],
631
+ "[:upper:]": ["\\p{Lu}", true],
632
+ "[:word:]": ["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", true],
633
+ "[:xdigit:]": ["A-Fa-f0-9", false]
634
+ };
635
+ const braceEscape = (s) => s.replace(/[[\]\\-]/g, "\\$&");
636
+ const regexpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
637
+ const rangesToString = (ranges) => ranges.join("");
638
+ const parseClass = (glob, position) => {
639
+ const pos = position;
640
+ /* c8 ignore start */
641
+ if (glob.charAt(pos) !== "[") throw new Error("not in a brace expression");
642
+ /* c8 ignore stop */
643
+ const ranges = [];
644
+ const negs = [];
645
+ let i = pos + 1;
646
+ let sawStart = false;
647
+ let uflag = false;
648
+ let escaping = false;
649
+ let negate = false;
650
+ let endPos = pos;
651
+ let rangeStart = "";
652
+ WHILE: while (i < glob.length) {
653
+ const c = glob.charAt(i);
654
+ if ((c === "!" || c === "^") && i === pos + 1) {
655
+ negate = true;
656
+ i++;
657
+ continue;
658
+ }
659
+ if (c === "]" && sawStart && !escaping) {
660
+ endPos = i + 1;
661
+ break;
662
+ }
663
+ sawStart = true;
664
+ if (c === "\\") {
665
+ if (!escaping) {
666
+ escaping = true;
667
+ i++;
668
+ continue;
669
+ }
670
+ }
671
+ if (c === "[" && !escaping) {
672
+ for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) if (glob.startsWith(cls, i)) {
673
+ if (rangeStart) return [
674
+ "$.",
675
+ false,
676
+ glob.length - pos,
677
+ true
678
+ ];
679
+ i += cls.length;
680
+ if (neg) negs.push(unip);
681
+ else ranges.push(unip);
682
+ uflag = uflag || u;
683
+ continue WHILE;
684
+ }
685
+ }
686
+ escaping = false;
687
+ if (rangeStart) {
688
+ if (c > rangeStart) ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c));
689
+ else if (c === rangeStart) ranges.push(braceEscape(c));
690
+ rangeStart = "";
691
+ i++;
692
+ continue;
693
+ }
694
+ if (glob.startsWith("-]", i + 1)) {
695
+ ranges.push(braceEscape(c + "-"));
696
+ i += 2;
697
+ continue;
698
+ }
699
+ if (glob.startsWith("-", i + 1)) {
700
+ rangeStart = c;
701
+ i += 2;
702
+ continue;
703
+ }
704
+ ranges.push(braceEscape(c));
705
+ i++;
706
+ }
707
+ if (endPos < i) return [
708
+ "",
709
+ false,
710
+ 0,
711
+ false
712
+ ];
713
+ if (!ranges.length && !negs.length) return [
714
+ "$.",
715
+ false,
716
+ glob.length - pos,
717
+ true
718
+ ];
719
+ if (negs.length === 0 && ranges.length === 1 && /^\\?.$/.test(ranges[0]) && !negate) {
720
+ const r = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
721
+ return [
722
+ regexpEscape(r),
723
+ false,
724
+ endPos - pos,
725
+ false
726
+ ];
727
+ }
728
+ const sranges = "[" + (negate ? "^" : "") + rangesToString(ranges) + "]";
729
+ const snegs = "[" + (negate ? "" : "^") + rangesToString(negs) + "]";
730
+ return [
731
+ ranges.length && negs.length ? "(" + sranges + "|" + snegs + ")" : ranges.length ? sranges : snegs,
732
+ uflag,
733
+ endPos - pos,
734
+ true
735
+ ];
736
+ };
737
+ //#endregion
738
+ //#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/unescape.js
739
+ /**
740
+ * Un-escape a string that has been escaped with {@link escape}.
741
+ *
742
+ * If the {@link MinimatchOptions.windowsPathsNoEscape} option is used, then
743
+ * square-bracket escapes are removed, but not backslash escapes.
744
+ *
745
+ * For example, it will turn the string `'[*]'` into `*`, but it will not
746
+ * turn `'\\*'` into `'*'`, because `\` is a path separator in
747
+ * `windowsPathsNoEscape` mode.
748
+ *
749
+ * When `windowsPathsNoEscape` is not set, then both square-bracket escapes and
750
+ * backslash escapes are removed.
751
+ *
752
+ * Slashes (and backslashes in `windowsPathsNoEscape` mode) cannot be escaped
753
+ * or unescaped.
754
+ *
755
+ * When `magicalBraces` is not set, escapes of braces (`{` and `}`) will not be
756
+ * unescaped.
757
+ */
758
+ const unescape = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}) => {
759
+ if (magicalBraces) return windowsPathsNoEscape ? s.replace(/\[([^/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\])\]/g, "$1$2").replace(/\\([^/])/g, "$1");
760
+ return windowsPathsNoEscape ? s.replace(/\[([^/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^/\\{}])\]/g, "$1$2").replace(/\\([^/{}])/g, "$1");
761
+ };
762
+ //#endregion
763
+ //#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/ast.js
764
+ var _a;
765
+ const types = /* @__PURE__ */ new Set([
766
+ "!",
767
+ "?",
768
+ "+",
769
+ "*",
770
+ "@"
771
+ ]);
772
+ const isExtglobType = (c) => types.has(c);
773
+ const isExtglobAST = (c) => isExtglobType(c.type);
774
+ const adoptionMap = /* @__PURE__ */ new Map([
775
+ ["!", ["@"]],
776
+ ["?", ["?", "@"]],
777
+ ["@", ["@"]],
778
+ ["*", [
779
+ "*",
780
+ "+",
781
+ "?",
782
+ "@"
783
+ ]],
784
+ ["+", ["+", "@"]]
785
+ ]);
786
+ const adoptionWithSpaceMap = /* @__PURE__ */ new Map([
787
+ ["!", ["?"]],
788
+ ["@", ["?"]],
789
+ ["+", ["?", "*"]]
790
+ ]);
791
+ const adoptionAnyMap = /* @__PURE__ */ new Map([
792
+ ["!", ["?", "@"]],
793
+ ["?", ["?", "@"]],
794
+ ["@", ["?", "@"]],
795
+ ["*", [
796
+ "*",
797
+ "+",
798
+ "?",
799
+ "@"
800
+ ]],
801
+ ["+", [
802
+ "+",
803
+ "@",
804
+ "?",
805
+ "*"
806
+ ]]
807
+ ]);
808
+ const usurpMap = /* @__PURE__ */ new Map([
809
+ ["!", /* @__PURE__ */ new Map([["!", "@"]])],
810
+ ["?", /* @__PURE__ */ new Map([["*", "*"], ["+", "*"]])],
811
+ ["@", /* @__PURE__ */ new Map([
812
+ ["!", "!"],
813
+ ["?", "?"],
814
+ ["@", "@"],
815
+ ["*", "*"],
816
+ ["+", "+"]
817
+ ])],
818
+ ["+", /* @__PURE__ */ new Map([["?", "*"], ["*", "*"]])]
819
+ ]);
820
+ const startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
821
+ const startNoDot = "(?!\\.)";
822
+ const addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
823
+ const justDots = /* @__PURE__ */ new Set(["..", "."]);
824
+ const reSpecials = /* @__PURE__ */ new Set("().*{}+?[]^$\\!");
825
+ const regExpEscape$1 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
826
+ const qmark = "[^/]";
827
+ const star$1 = "[^/]*?";
828
+ const starNoEmpty = "[^/]+?";
829
+ let ID = 0;
830
+ var AST = class {
831
+ type;
832
+ #root;
833
+ #hasMagic;
834
+ #uflag = false;
835
+ #parts = [];
836
+ #parent;
837
+ #parentIndex;
838
+ #negs;
839
+ #filledNegs = false;
840
+ #options;
841
+ #toString;
842
+ #emptyExt = false;
843
+ id = ++ID;
844
+ get depth() {
845
+ return (this.#parent?.depth ?? -1) + 1;
846
+ }
847
+ [Symbol.for("nodejs.util.inspect.custom")]() {
848
+ return {
849
+ "@@type": "AST",
850
+ id: this.id,
851
+ type: this.type,
852
+ root: this.#root.id,
853
+ parent: this.#parent?.id,
854
+ depth: this.depth,
855
+ partsLength: this.#parts.length,
856
+ parts: this.#parts
857
+ };
858
+ }
859
+ constructor(type, parent, options = {}) {
860
+ this.type = type;
861
+ if (type) this.#hasMagic = true;
862
+ this.#parent = parent;
863
+ this.#root = this.#parent ? this.#parent.#root : this;
864
+ this.#options = this.#root === this ? options : this.#root.#options;
865
+ this.#negs = this.#root === this ? [] : this.#root.#negs;
866
+ if (type === "!" && !this.#root.#filledNegs) this.#negs.push(this);
867
+ this.#parentIndex = this.#parent ? this.#parent.#parts.length : 0;
868
+ }
869
+ get hasMagic() {
870
+ /* c8 ignore start */
871
+ if (this.#hasMagic !== void 0) return this.#hasMagic;
872
+ /* c8 ignore stop */
873
+ for (const p of this.#parts) {
874
+ if (typeof p === "string") continue;
875
+ if (p.type || p.hasMagic) return this.#hasMagic = true;
876
+ }
877
+ return this.#hasMagic;
878
+ }
879
+ toString() {
880
+ return this.#toString !== void 0 ? this.#toString : !this.type ? this.#toString = this.#parts.map((p) => String(p)).join("") : this.#toString = this.type + "(" + this.#parts.map((p) => String(p)).join("|") + ")";
881
+ }
882
+ #fillNegs() {
883
+ /* c8 ignore start */
884
+ if (this !== this.#root) throw new Error("should only call on root");
885
+ if (this.#filledNegs) return this;
886
+ /* c8 ignore stop */
887
+ this.toString();
888
+ this.#filledNegs = true;
889
+ let n;
890
+ while (n = this.#negs.pop()) {
891
+ if (n.type !== "!") continue;
892
+ let p = n;
893
+ let pp = p.#parent;
894
+ while (pp) {
895
+ for (let i = p.#parentIndex + 1; !pp.type && i < pp.#parts.length; i++) for (const part of n.#parts) {
896
+ /* c8 ignore start */
897
+ if (typeof part === "string") throw new Error("string part in extglob AST??");
898
+ /* c8 ignore stop */
899
+ part.copyIn(pp.#parts[i]);
900
+ }
901
+ p = pp;
902
+ pp = p.#parent;
903
+ }
904
+ }
905
+ return this;
906
+ }
907
+ push(...parts) {
908
+ for (const p of parts) {
909
+ if (p === "") continue;
910
+ /* c8 ignore start */
911
+ if (typeof p !== "string" && !(p instanceof _a && p.#parent === this)) throw new Error("invalid part: " + p);
912
+ /* c8 ignore stop */
913
+ this.#parts.push(p);
914
+ }
915
+ }
916
+ toJSON() {
917
+ const ret = this.type === null ? this.#parts.slice().map((p) => typeof p === "string" ? p : p.toJSON()) : [this.type, ...this.#parts.map((p) => p.toJSON())];
918
+ if (this.isStart() && !this.type) ret.unshift([]);
919
+ if (this.isEnd() && (this === this.#root || this.#root.#filledNegs && this.#parent?.type === "!")) ret.push({});
920
+ return ret;
921
+ }
922
+ isStart() {
923
+ if (this.#root === this) return true;
924
+ if (!this.#parent?.isStart()) return false;
925
+ if (this.#parentIndex === 0) return true;
926
+ const p = this.#parent;
927
+ for (let i = 0; i < this.#parentIndex; i++) {
928
+ const pp = p.#parts[i];
929
+ if (!(pp instanceof _a && pp.type === "!")) return false;
930
+ }
931
+ return true;
932
+ }
933
+ isEnd() {
934
+ if (this.#root === this) return true;
935
+ if (this.#parent?.type === "!") return true;
936
+ if (!this.#parent?.isEnd()) return false;
937
+ if (!this.type) return this.#parent?.isEnd();
938
+ /* c8 ignore start */
939
+ const pl = this.#parent ? this.#parent.#parts.length : 0;
940
+ /* c8 ignore stop */
941
+ return this.#parentIndex === pl - 1;
942
+ }
943
+ copyIn(part) {
944
+ if (typeof part === "string") this.push(part);
945
+ else this.push(part.clone(this));
946
+ }
947
+ clone(parent) {
948
+ const c = new _a(this.type, parent);
949
+ for (const p of this.#parts) c.copyIn(p);
950
+ return c;
951
+ }
952
+ static #parseAST(str, ast, pos, opt, extDepth) {
953
+ const maxDepth = opt.maxExtglobRecursion ?? 2;
954
+ let escaping = false;
955
+ let inBrace = false;
956
+ let braceStart = -1;
957
+ let braceNeg = false;
958
+ if (ast.type === null) {
959
+ let i = pos;
960
+ let acc = "";
961
+ while (i < str.length) {
962
+ const c = str.charAt(i++);
963
+ if (escaping || c === "\\") {
964
+ escaping = !escaping;
965
+ acc += c;
966
+ continue;
967
+ }
968
+ if (inBrace) {
969
+ if (i === braceStart + 1) {
970
+ if (c === "^" || c === "!") braceNeg = true;
971
+ } else if (c === "]" && !(i === braceStart + 2 && braceNeg)) inBrace = false;
972
+ acc += c;
973
+ continue;
974
+ } else if (c === "[") {
975
+ inBrace = true;
976
+ braceStart = i;
977
+ braceNeg = false;
978
+ acc += c;
979
+ continue;
980
+ }
981
+ if (!opt.noext && isExtglobType(c) && str.charAt(i) === "(" && extDepth <= maxDepth) {
982
+ ast.push(acc);
983
+ acc = "";
984
+ const ext = new _a(c, ast);
985
+ i = _a.#parseAST(str, ext, i, opt, extDepth + 1);
986
+ ast.push(ext);
987
+ continue;
988
+ }
989
+ acc += c;
990
+ }
991
+ ast.push(acc);
992
+ return i;
993
+ }
994
+ let i = pos + 1;
995
+ let part = new _a(null, ast);
996
+ const parts = [];
997
+ let acc = "";
998
+ while (i < str.length) {
999
+ const c = str.charAt(i++);
1000
+ if (escaping || c === "\\") {
1001
+ escaping = !escaping;
1002
+ acc += c;
1003
+ continue;
1004
+ }
1005
+ if (inBrace) {
1006
+ if (i === braceStart + 1) {
1007
+ if (c === "^" || c === "!") braceNeg = true;
1008
+ } else if (c === "]" && !(i === braceStart + 2 && braceNeg)) inBrace = false;
1009
+ acc += c;
1010
+ continue;
1011
+ } else if (c === "[") {
1012
+ inBrace = true;
1013
+ braceStart = i;
1014
+ braceNeg = false;
1015
+ acc += c;
1016
+ continue;
1017
+ }
1018
+ /* c8 ignore stop */
1019
+ if (!opt.noext && isExtglobType(c) && str.charAt(i) === "(" && (extDepth <= maxDepth || ast && ast.#canAdoptType(c))) {
1020
+ const depthAdd = ast && ast.#canAdoptType(c) ? 0 : 1;
1021
+ part.push(acc);
1022
+ acc = "";
1023
+ const ext = new _a(c, part);
1024
+ part.push(ext);
1025
+ i = _a.#parseAST(str, ext, i, opt, extDepth + depthAdd);
1026
+ continue;
1027
+ }
1028
+ if (c === "|") {
1029
+ part.push(acc);
1030
+ acc = "";
1031
+ parts.push(part);
1032
+ part = new _a(null, ast);
1033
+ continue;
1034
+ }
1035
+ if (c === ")") {
1036
+ if (acc === "" && ast.#parts.length === 0) ast.#emptyExt = true;
1037
+ part.push(acc);
1038
+ acc = "";
1039
+ ast.push(...parts, part);
1040
+ return i;
1041
+ }
1042
+ acc += c;
1043
+ }
1044
+ ast.type = null;
1045
+ ast.#hasMagic = void 0;
1046
+ ast.#parts = [str.substring(pos - 1)];
1047
+ return i;
1048
+ }
1049
+ #canAdoptWithSpace(child) {
1050
+ return this.#canAdopt(child, adoptionWithSpaceMap);
1051
+ }
1052
+ #canAdopt(child, map = adoptionMap) {
1053
+ if (!child || typeof child !== "object" || child.type !== null || child.#parts.length !== 1 || this.type === null) return false;
1054
+ const gc = child.#parts[0];
1055
+ if (!gc || typeof gc !== "object" || gc.type === null) return false;
1056
+ return this.#canAdoptType(gc.type, map);
1057
+ }
1058
+ #canAdoptType(c, map = adoptionAnyMap) {
1059
+ return !!map.get(this.type)?.includes(c);
1060
+ }
1061
+ #adoptWithSpace(child, index) {
1062
+ const gc = child.#parts[0];
1063
+ const blank = new _a(null, gc, this.options);
1064
+ blank.#parts.push("");
1065
+ gc.push(blank);
1066
+ this.#adopt(child, index);
1067
+ }
1068
+ #adopt(child, index) {
1069
+ const gc = child.#parts[0];
1070
+ this.#parts.splice(index, 1, ...gc.#parts);
1071
+ for (const p of gc.#parts) if (typeof p === "object") p.#parent = this;
1072
+ this.#toString = void 0;
1073
+ }
1074
+ #canUsurpType(c) {
1075
+ return !!usurpMap.get(this.type)?.has(c);
1076
+ }
1077
+ #canUsurp(child) {
1078
+ if (!child || typeof child !== "object" || child.type !== null || child.#parts.length !== 1 || this.type === null || this.#parts.length !== 1) return false;
1079
+ const gc = child.#parts[0];
1080
+ if (!gc || typeof gc !== "object" || gc.type === null) return false;
1081
+ return this.#canUsurpType(gc.type);
1082
+ }
1083
+ #usurp(child) {
1084
+ const m = usurpMap.get(this.type);
1085
+ const gc = child.#parts[0];
1086
+ const nt = m?.get(gc.type);
1087
+ /* c8 ignore start - impossible */
1088
+ if (!nt) return false;
1089
+ /* c8 ignore stop */
1090
+ this.#parts = gc.#parts;
1091
+ for (const p of this.#parts) if (typeof p === "object") p.#parent = this;
1092
+ this.type = nt;
1093
+ this.#toString = void 0;
1094
+ this.#emptyExt = false;
1095
+ }
1096
+ static fromGlob(pattern, options = {}) {
1097
+ const ast = new _a(null, void 0, options);
1098
+ _a.#parseAST(pattern, ast, 0, options, 0);
1099
+ return ast;
1100
+ }
1101
+ toMMPattern() {
1102
+ /* c8 ignore start */
1103
+ if (this !== this.#root) return this.#root.toMMPattern();
1104
+ /* c8 ignore stop */
1105
+ const glob = this.toString();
1106
+ const [re, body, hasMagic, uflag] = this.toRegExpSource();
1107
+ if (!(hasMagic || this.#hasMagic || this.#options.nocase && !this.#options.nocaseMagicOnly && glob.toUpperCase() !== glob.toLowerCase())) return body;
1108
+ const flags = (this.#options.nocase ? "i" : "") + (uflag ? "u" : "");
1109
+ return Object.assign(new RegExp(`^${re}$`, flags), {
1110
+ _src: re,
1111
+ _glob: glob
1112
+ });
1113
+ }
1114
+ get options() {
1115
+ return this.#options;
1116
+ }
1117
+ toRegExpSource(allowDot) {
1118
+ const dot = allowDot ?? !!this.#options.dot;
1119
+ if (this.#root === this) {
1120
+ this.#flatten();
1121
+ this.#fillNegs();
1122
+ }
1123
+ if (!isExtglobAST(this)) {
1124
+ const noEmpty = this.isStart() && this.isEnd() && !this.#parts.some((s) => typeof s !== "string");
1125
+ const src = this.#parts.map((p) => {
1126
+ const [re, _, hasMagic, uflag] = typeof p === "string" ? _a.#parseGlob(p, this.#hasMagic, noEmpty) : p.toRegExpSource(allowDot);
1127
+ this.#hasMagic = this.#hasMagic || hasMagic;
1128
+ this.#uflag = this.#uflag || uflag;
1129
+ return re;
1130
+ }).join("");
1131
+ let start = "";
1132
+ if (this.isStart()) {
1133
+ if (typeof this.#parts[0] === "string") {
1134
+ if (!(this.#parts.length === 1 && justDots.has(this.#parts[0]))) {
1135
+ const aps = addPatternStart;
1136
+ const needNoTrav = dot && aps.has(src.charAt(0)) || src.startsWith("\\.") && aps.has(src.charAt(2)) || src.startsWith("\\.\\.") && aps.has(src.charAt(4));
1137
+ const needNoDot = !dot && !allowDot && aps.has(src.charAt(0));
1138
+ start = needNoTrav ? startNoTraversal : needNoDot ? startNoDot : "";
1139
+ }
1140
+ }
1141
+ }
1142
+ let end = "";
1143
+ if (this.isEnd() && this.#root.#filledNegs && this.#parent?.type === "!") end = "(?:$|\\/)";
1144
+ return [
1145
+ start + src + end,
1146
+ unescape(src),
1147
+ this.#hasMagic = !!this.#hasMagic,
1148
+ this.#uflag
1149
+ ];
1150
+ }
1151
+ const repeated = this.type === "*" || this.type === "+";
1152
+ const start = this.type === "!" ? "(?:(?!(?:" : "(?:";
1153
+ let body = this.#partsToRegExp(dot);
1154
+ if (this.isStart() && this.isEnd() && !body && this.type !== "!") {
1155
+ const s = this.toString();
1156
+ const me = this;
1157
+ me.#parts = [s];
1158
+ me.type = null;
1159
+ me.#hasMagic = void 0;
1160
+ return [
1161
+ s,
1162
+ unescape(this.toString()),
1163
+ false,
1164
+ false
1165
+ ];
1166
+ }
1167
+ let bodyDotAllowed = !repeated || allowDot || dot || false ? "" : this.#partsToRegExp(true);
1168
+ if (bodyDotAllowed === body) bodyDotAllowed = "";
1169
+ if (bodyDotAllowed) body = `(?:${body})(?:${bodyDotAllowed})*?`;
1170
+ let final = "";
1171
+ if (this.type === "!" && this.#emptyExt) final = (this.isStart() && !dot ? startNoDot : "") + starNoEmpty;
1172
+ else {
1173
+ const close = this.type === "!" ? "))" + (this.isStart() && !dot && !allowDot ? startNoDot : "") + "[^/]*?)" : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && bodyDotAllowed ? ")" : this.type === "*" && bodyDotAllowed ? `)?` : `)${this.type}`;
1174
+ final = start + body + close;
1175
+ }
1176
+ return [
1177
+ final,
1178
+ unescape(body),
1179
+ this.#hasMagic = !!this.#hasMagic,
1180
+ this.#uflag
1181
+ ];
1182
+ }
1183
+ #flatten() {
1184
+ if (!isExtglobAST(this)) {
1185
+ for (const p of this.#parts) if (typeof p === "object") p.#flatten();
1186
+ } else {
1187
+ let iterations = 0;
1188
+ let done = false;
1189
+ do {
1190
+ done = true;
1191
+ for (let i = 0; i < this.#parts.length; i++) {
1192
+ const c = this.#parts[i];
1193
+ if (typeof c === "object") {
1194
+ c.#flatten();
1195
+ if (this.#canAdopt(c)) {
1196
+ done = false;
1197
+ this.#adopt(c, i);
1198
+ } else if (this.#canAdoptWithSpace(c)) {
1199
+ done = false;
1200
+ this.#adoptWithSpace(c, i);
1201
+ } else if (this.#canUsurp(c)) {
1202
+ done = false;
1203
+ this.#usurp(c);
1204
+ }
1205
+ }
1206
+ }
1207
+ } while (!done && ++iterations < 10);
1208
+ }
1209
+ this.#toString = void 0;
1210
+ }
1211
+ #partsToRegExp(dot) {
1212
+ return this.#parts.map((p) => {
1213
+ /* c8 ignore start */
1214
+ if (typeof p === "string") throw new Error("string type in extglob ast??");
1215
+ /* c8 ignore stop */
1216
+ const [re, _, _hasMagic, uflag] = p.toRegExpSource(dot);
1217
+ this.#uflag = this.#uflag || uflag;
1218
+ return re;
1219
+ }).filter((p) => !(this.isStart() && this.isEnd()) || !!p).join("|");
1220
+ }
1221
+ static #parseGlob(glob, hasMagic, noEmpty = false) {
1222
+ let escaping = false;
1223
+ let re = "";
1224
+ let uflag = false;
1225
+ let inStar = false;
1226
+ for (let i = 0; i < glob.length; i++) {
1227
+ const c = glob.charAt(i);
1228
+ if (escaping) {
1229
+ escaping = false;
1230
+ re += (reSpecials.has(c) ? "\\" : "") + c;
1231
+ continue;
1232
+ }
1233
+ if (c === "*") {
1234
+ if (inStar) continue;
1235
+ inStar = true;
1236
+ re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star$1;
1237
+ hasMagic = true;
1238
+ continue;
1239
+ } else inStar = false;
1240
+ if (c === "\\") {
1241
+ if (i === glob.length - 1) re += "\\\\";
1242
+ else escaping = true;
1243
+ continue;
1244
+ }
1245
+ if (c === "[") {
1246
+ const [src, needUflag, consumed, magic] = parseClass(glob, i);
1247
+ if (consumed) {
1248
+ re += src;
1249
+ uflag = uflag || needUflag;
1250
+ i += consumed - 1;
1251
+ hasMagic = hasMagic || magic;
1252
+ continue;
1253
+ }
1254
+ }
1255
+ if (c === "?") {
1256
+ re += qmark;
1257
+ hasMagic = true;
1258
+ continue;
1259
+ }
1260
+ re += regExpEscape$1(c);
1261
+ }
1262
+ return [
1263
+ re,
1264
+ unescape(glob),
1265
+ !!hasMagic,
1266
+ uflag
1267
+ ];
1268
+ }
1269
+ };
1270
+ _a = AST;
1271
+ //#endregion
1272
+ //#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/escape.js
1273
+ /**
1274
+ * Escape all magic characters in a glob pattern.
1275
+ *
1276
+ * If the {@link MinimatchOptions.windowsPathsNoEscape}
1277
+ * option is used, then characters are escaped by wrapping in `[]`, because
1278
+ * a magic character wrapped in a character class can only be satisfied by
1279
+ * that exact character. In this mode, `\` is _not_ escaped, because it is
1280
+ * not interpreted as a magic character, but instead as a path separator.
1281
+ *
1282
+ * If the {@link MinimatchOptions.magicalBraces} option is used,
1283
+ * then braces (`{` and `}`) will be escaped.
1284
+ */
1285
+ const escape = (s, { windowsPathsNoEscape = false, magicalBraces = false } = {}) => {
1286
+ if (magicalBraces) return windowsPathsNoEscape ? s.replace(/[?*()[\]{}]/g, "[$&]") : s.replace(/[?*()[\]\\{}]/g, "\\$&");
1287
+ return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
1288
+ };
1289
+ //#endregion
1290
+ //#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js
1291
+ const minimatch = (p, pattern, options = {}) => {
1292
+ assertValidPattern(pattern);
1293
+ if (!options.nocomment && pattern.charAt(0) === "#") return false;
1294
+ return new Minimatch(pattern, options).match(p);
1295
+ };
1296
+ const starDotExtRE = /^\*+([^+@!?*[(]*)$/;
1297
+ const starDotExtTest = (ext) => (f) => !f.startsWith(".") && f.endsWith(ext);
1298
+ const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
1299
+ const starDotExtTestNocase = (ext) => {
1300
+ ext = ext.toLowerCase();
1301
+ return (f) => !f.startsWith(".") && f.toLowerCase().endsWith(ext);
1302
+ };
1303
+ const starDotExtTestNocaseDot = (ext) => {
1304
+ ext = ext.toLowerCase();
1305
+ return (f) => f.toLowerCase().endsWith(ext);
1306
+ };
1307
+ const starDotStarRE = /^\*+\.\*+$/;
1308
+ const starDotStarTest = (f) => !f.startsWith(".") && f.includes(".");
1309
+ const starDotStarTestDot = (f) => f !== "." && f !== ".." && f.includes(".");
1310
+ const dotStarRE = /^\.\*+$/;
1311
+ const dotStarTest = (f) => f !== "." && f !== ".." && f.startsWith(".");
1312
+ const starRE = /^\*+$/;
1313
+ const starTest = (f) => f.length !== 0 && !f.startsWith(".");
1314
+ const starTestDot = (f) => f.length !== 0 && f !== "." && f !== "..";
1315
+ const qmarksRE = /^\?+([^+@!?*[(]*)?$/;
1316
+ const qmarksTestNocase = ([$0, ext = ""]) => {
1317
+ const noext = qmarksTestNoExt([$0]);
1318
+ if (!ext) return noext;
1319
+ ext = ext.toLowerCase();
1320
+ return (f) => noext(f) && f.toLowerCase().endsWith(ext);
1321
+ };
1322
+ const qmarksTestNocaseDot = ([$0, ext = ""]) => {
1323
+ const noext = qmarksTestNoExtDot([$0]);
1324
+ if (!ext) return noext;
1325
+ ext = ext.toLowerCase();
1326
+ return (f) => noext(f) && f.toLowerCase().endsWith(ext);
1327
+ };
1328
+ const qmarksTestDot = ([$0, ext = ""]) => {
1329
+ const noext = qmarksTestNoExtDot([$0]);
1330
+ return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
1331
+ };
1332
+ const qmarksTest = ([$0, ext = ""]) => {
1333
+ const noext = qmarksTestNoExt([$0]);
1334
+ return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
1335
+ };
1336
+ const qmarksTestNoExt = ([$0]) => {
1337
+ const len = $0.length;
1338
+ return (f) => f.length === len && !f.startsWith(".");
1339
+ };
1340
+ const qmarksTestNoExtDot = ([$0]) => {
1341
+ const len = $0.length;
1342
+ return (f) => f.length === len && f !== "." && f !== "..";
1343
+ };
1344
+ /* c8 ignore start */
1345
+ const defaultPlatform = typeof process === "object" && process ? typeof process.env === "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
1346
+ const path = {
1347
+ win32: { sep: "\\" },
1348
+ posix: { sep: "/" }
1349
+ };
1350
+ minimatch.sep = defaultPlatform === "win32" ? path.win32.sep : path.posix.sep;
1351
+ const GLOBSTAR = Symbol("globstar **");
1352
+ minimatch.GLOBSTAR = GLOBSTAR;
1353
+ const star = "[^/]*?";
1354
+ const twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
1355
+ const twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
1356
+ const filter = (pattern, options = {}) => (p) => minimatch(p, pattern, options);
1357
+ minimatch.filter = filter;
1358
+ const ext = (a, b = {}) => Object.assign({}, a, b);
1359
+ const defaults = (def) => {
1360
+ if (!def || typeof def !== "object" || !Object.keys(def).length) return minimatch;
1361
+ const orig = minimatch;
1362
+ const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options));
1363
+ return Object.assign(m, {
1364
+ Minimatch: class Minimatch extends orig.Minimatch {
1365
+ constructor(pattern, options = {}) {
1366
+ super(pattern, ext(def, options));
1367
+ }
1368
+ static defaults(options) {
1369
+ return orig.defaults(ext(def, options)).Minimatch;
1370
+ }
1371
+ },
1372
+ AST: class AST extends orig.AST {
1373
+ /* c8 ignore start */
1374
+ constructor(type, parent, options = {}) {
1375
+ super(type, parent, ext(def, options));
1376
+ }
1377
+ /* c8 ignore stop */
1378
+ static fromGlob(pattern, options = {}) {
1379
+ return orig.AST.fromGlob(pattern, ext(def, options));
1380
+ }
1381
+ },
1382
+ unescape: (s, options = {}) => orig.unescape(s, ext(def, options)),
1383
+ escape: (s, options = {}) => orig.escape(s, ext(def, options)),
1384
+ filter: (pattern, options = {}) => orig.filter(pattern, ext(def, options)),
1385
+ defaults: (options) => orig.defaults(ext(def, options)),
1386
+ makeRe: (pattern, options = {}) => orig.makeRe(pattern, ext(def, options)),
1387
+ braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)),
1388
+ match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)),
1389
+ sep: orig.sep,
1390
+ GLOBSTAR
1391
+ });
1392
+ };
1393
+ minimatch.defaults = defaults;
1394
+ const braceExpand = (pattern, options = {}) => {
1395
+ assertValidPattern(pattern);
1396
+ if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) return [pattern];
1397
+ return expand(pattern, { max: options.braceExpandMax });
1398
+ };
1399
+ minimatch.braceExpand = braceExpand;
1400
+ const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
1401
+ minimatch.makeRe = makeRe;
1402
+ const match = (list, pattern, options = {}) => {
1403
+ const mm = new Minimatch(pattern, options);
1404
+ list = list.filter((f) => mm.match(f));
1405
+ if (mm.options.nonull && !list.length) list.push(pattern);
1406
+ return list;
1407
+ };
1408
+ minimatch.match = match;
1409
+ const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
1410
+ const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
1411
+ var Minimatch = class {
1412
+ options;
1413
+ set;
1414
+ pattern;
1415
+ windowsPathsNoEscape;
1416
+ nonegate;
1417
+ negate;
1418
+ comment;
1419
+ empty;
1420
+ preserveMultipleSlashes;
1421
+ partial;
1422
+ globSet;
1423
+ globParts;
1424
+ nocase;
1425
+ isWindows;
1426
+ platform;
1427
+ windowsNoMagicRoot;
1428
+ maxGlobstarRecursion;
1429
+ regexp;
1430
+ constructor(pattern, options = {}) {
1431
+ assertValidPattern(pattern);
1432
+ options = options || {};
1433
+ this.options = options;
1434
+ this.maxGlobstarRecursion = options.maxGlobstarRecursion ?? 200;
1435
+ this.pattern = pattern;
1436
+ this.platform = options.platform || defaultPlatform;
1437
+ this.isWindows = this.platform === "win32";
1438
+ const awe = "allowWindowsEscape";
1439
+ this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options[awe] === false;
1440
+ if (this.windowsPathsNoEscape) this.pattern = this.pattern.replace(/\\/g, "/");
1441
+ this.preserveMultipleSlashes = !!options.preserveMultipleSlashes;
1442
+ this.regexp = null;
1443
+ this.negate = false;
1444
+ this.nonegate = !!options.nonegate;
1445
+ this.comment = false;
1446
+ this.empty = false;
1447
+ this.partial = !!options.partial;
1448
+ this.nocase = !!this.options.nocase;
1449
+ this.windowsNoMagicRoot = options.windowsNoMagicRoot !== void 0 ? options.windowsNoMagicRoot : !!(this.isWindows && this.nocase);
1450
+ this.globSet = [];
1451
+ this.globParts = [];
1452
+ this.set = [];
1453
+ this.make();
1454
+ }
1455
+ hasMagic() {
1456
+ if (this.options.magicalBraces && this.set.length > 1) return true;
1457
+ for (const pattern of this.set) for (const part of pattern) if (typeof part !== "string") return true;
1458
+ return false;
1459
+ }
1460
+ debug(..._) {}
1461
+ make() {
1462
+ const pattern = this.pattern;
1463
+ const options = this.options;
1464
+ if (!options.nocomment && pattern.charAt(0) === "#") {
1465
+ this.comment = true;
1466
+ return;
1467
+ }
1468
+ if (!pattern) {
1469
+ this.empty = true;
1470
+ return;
1471
+ }
1472
+ this.parseNegate();
1473
+ this.globSet = [...new Set(this.braceExpand())];
1474
+ if (options.debug) this.debug = (...args) => console.error(...args);
1475
+ this.debug(this.pattern, this.globSet);
1476
+ const rawGlobParts = this.globSet.map((s) => this.slashSplit(s));
1477
+ this.globParts = this.preprocess(rawGlobParts);
1478
+ this.debug(this.pattern, this.globParts);
1479
+ let set = this.globParts.map((s, _, __) => {
1480
+ if (this.isWindows && this.windowsNoMagicRoot) {
1481
+ const isUNC = s[0] === "" && s[1] === "" && (s[2] === "?" || !globMagic.test(s[2])) && !globMagic.test(s[3]);
1482
+ const isDrive = /^[a-z]:/i.test(s[0]);
1483
+ if (isUNC) return [...s.slice(0, 4), ...s.slice(4).map((ss) => this.parse(ss))];
1484
+ else if (isDrive) return [s[0], ...s.slice(1).map((ss) => this.parse(ss))];
1485
+ }
1486
+ return s.map((ss) => this.parse(ss));
1487
+ });
1488
+ this.debug(this.pattern, set);
1489
+ this.set = set.filter((s) => s.indexOf(false) === -1);
1490
+ if (this.isWindows) for (let i = 0; i < this.set.length; i++) {
1491
+ const p = this.set[i];
1492
+ if (p[0] === "" && p[1] === "" && this.globParts[i][2] === "?" && typeof p[3] === "string" && /^[a-z]:$/i.test(p[3])) p[2] = "?";
1493
+ }
1494
+ this.debug(this.pattern, this.set);
1495
+ }
1496
+ preprocess(globParts) {
1497
+ if (this.options.noglobstar) {
1498
+ for (const partset of globParts) for (let j = 0; j < partset.length; j++) if (partset[j] === "**") partset[j] = "*";
1499
+ }
1500
+ const { optimizationLevel = 1 } = this.options;
1501
+ if (optimizationLevel >= 2) {
1502
+ globParts = this.firstPhasePreProcess(globParts);
1503
+ globParts = this.secondPhasePreProcess(globParts);
1504
+ } else if (optimizationLevel >= 1) globParts = this.levelOneOptimize(globParts);
1505
+ else globParts = this.adjascentGlobstarOptimize(globParts);
1506
+ return globParts;
1507
+ }
1508
+ adjascentGlobstarOptimize(globParts) {
1509
+ return globParts.map((parts) => {
1510
+ let gs = -1;
1511
+ while (-1 !== (gs = parts.indexOf("**", gs + 1))) {
1512
+ let i = gs;
1513
+ while (parts[i + 1] === "**") i++;
1514
+ if (i !== gs) parts.splice(gs, i - gs);
1515
+ }
1516
+ return parts;
1517
+ });
1518
+ }
1519
+ levelOneOptimize(globParts) {
1520
+ return globParts.map((parts) => {
1521
+ parts = parts.reduce((set, part) => {
1522
+ const prev = set[set.length - 1];
1523
+ if (part === "**" && prev === "**") return set;
1524
+ if (part === "..") {
1525
+ if (prev && prev !== ".." && prev !== "." && prev !== "**") {
1526
+ set.pop();
1527
+ return set;
1528
+ }
1529
+ }
1530
+ set.push(part);
1531
+ return set;
1532
+ }, []);
1533
+ return parts.length === 0 ? [""] : parts;
1534
+ });
1535
+ }
1536
+ levelTwoFileOptimize(parts) {
1537
+ if (!Array.isArray(parts)) parts = this.slashSplit(parts);
1538
+ let didSomething = false;
1539
+ do {
1540
+ didSomething = false;
1541
+ if (!this.preserveMultipleSlashes) {
1542
+ for (let i = 1; i < parts.length - 1; i++) {
1543
+ const p = parts[i];
1544
+ if (i === 1 && p === "" && parts[0] === "") continue;
1545
+ if (p === "." || p === "") {
1546
+ didSomething = true;
1547
+ parts.splice(i, 1);
1548
+ i--;
1549
+ }
1550
+ }
1551
+ if (parts[0] === "." && parts.length === 2 && (parts[1] === "." || parts[1] === "")) {
1552
+ didSomething = true;
1553
+ parts.pop();
1554
+ }
1555
+ }
1556
+ let dd = 0;
1557
+ while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
1558
+ const p = parts[dd - 1];
1559
+ if (p && p !== "." && p !== ".." && p !== "**" && !(this.isWindows && /^[a-z]:$/i.test(p))) {
1560
+ didSomething = true;
1561
+ parts.splice(dd - 1, 2);
1562
+ dd -= 2;
1563
+ }
1564
+ }
1565
+ } while (didSomething);
1566
+ return parts.length === 0 ? [""] : parts;
1567
+ }
1568
+ firstPhasePreProcess(globParts) {
1569
+ let didSomething = false;
1570
+ do {
1571
+ didSomething = false;
1572
+ for (let parts of globParts) {
1573
+ let gs = -1;
1574
+ while (-1 !== (gs = parts.indexOf("**", gs + 1))) {
1575
+ let gss = gs;
1576
+ while (parts[gss + 1] === "**") gss++;
1577
+ if (gss > gs) parts.splice(gs + 1, gss - gs);
1578
+ let next = parts[gs + 1];
1579
+ const p = parts[gs + 2];
1580
+ const p2 = parts[gs + 3];
1581
+ if (next !== "..") continue;
1582
+ if (!p || p === "." || p === ".." || !p2 || p2 === "." || p2 === "..") continue;
1583
+ didSomething = true;
1584
+ parts.splice(gs, 1);
1585
+ const other = parts.slice(0);
1586
+ other[gs] = "**";
1587
+ globParts.push(other);
1588
+ gs--;
1589
+ }
1590
+ if (!this.preserveMultipleSlashes) {
1591
+ for (let i = 1; i < parts.length - 1; i++) {
1592
+ const p = parts[i];
1593
+ if (i === 1 && p === "" && parts[0] === "") continue;
1594
+ if (p === "." || p === "") {
1595
+ didSomething = true;
1596
+ parts.splice(i, 1);
1597
+ i--;
1598
+ }
1599
+ }
1600
+ if (parts[0] === "." && parts.length === 2 && (parts[1] === "." || parts[1] === "")) {
1601
+ didSomething = true;
1602
+ parts.pop();
1603
+ }
1604
+ }
1605
+ let dd = 0;
1606
+ while (-1 !== (dd = parts.indexOf("..", dd + 1))) {
1607
+ const p = parts[dd - 1];
1608
+ if (p && p !== "." && p !== ".." && p !== "**") {
1609
+ didSomething = true;
1610
+ const splin = dd === 1 && parts[dd + 1] === "**" ? ["."] : [];
1611
+ parts.splice(dd - 1, 2, ...splin);
1612
+ if (parts.length === 0) parts.push("");
1613
+ dd -= 2;
1614
+ }
1615
+ }
1616
+ }
1617
+ } while (didSomething);
1618
+ return globParts;
1619
+ }
1620
+ secondPhasePreProcess(globParts) {
1621
+ for (let i = 0; i < globParts.length - 1; i++) for (let j = i + 1; j < globParts.length; j++) {
1622
+ const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
1623
+ if (matched) {
1624
+ globParts[i] = [];
1625
+ globParts[j] = matched;
1626
+ break;
1627
+ }
1628
+ }
1629
+ return globParts.filter((gs) => gs.length);
1630
+ }
1631
+ partsMatch(a, b, emptyGSMatch = false) {
1632
+ let ai = 0;
1633
+ let bi = 0;
1634
+ let result = [];
1635
+ let which = "";
1636
+ while (ai < a.length && bi < b.length) if (a[ai] === b[bi]) {
1637
+ result.push(which === "b" ? b[bi] : a[ai]);
1638
+ ai++;
1639
+ bi++;
1640
+ } else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1]) {
1641
+ result.push(a[ai]);
1642
+ ai++;
1643
+ } else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1]) {
1644
+ result.push(b[bi]);
1645
+ bi++;
1646
+ } else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
1647
+ if (which === "b") return false;
1648
+ which = "a";
1649
+ result.push(a[ai]);
1650
+ ai++;
1651
+ bi++;
1652
+ } else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
1653
+ if (which === "a") return false;
1654
+ which = "b";
1655
+ result.push(b[bi]);
1656
+ ai++;
1657
+ bi++;
1658
+ } else return false;
1659
+ return a.length === b.length && result;
1660
+ }
1661
+ parseNegate() {
1662
+ if (this.nonegate) return;
1663
+ const pattern = this.pattern;
1664
+ let negate = false;
1665
+ let negateOffset = 0;
1666
+ for (let i = 0; i < pattern.length && pattern.charAt(i) === "!"; i++) {
1667
+ negate = !negate;
1668
+ negateOffset++;
1669
+ }
1670
+ if (negateOffset) this.pattern = pattern.slice(negateOffset);
1671
+ this.negate = negate;
1672
+ }
1673
+ matchOne(file, pattern, partial = false) {
1674
+ let fileStartIndex = 0;
1675
+ let patternStartIndex = 0;
1676
+ if (this.isWindows) {
1677
+ const fileDrive = typeof file[0] === "string" && /^[a-z]:$/i.test(file[0]);
1678
+ const fileUNC = !fileDrive && file[0] === "" && file[1] === "" && file[2] === "?" && /^[a-z]:$/i.test(file[3]);
1679
+ const patternDrive = typeof pattern[0] === "string" && /^[a-z]:$/i.test(pattern[0]);
1680
+ const patternUNC = !patternDrive && pattern[0] === "" && pattern[1] === "" && pattern[2] === "?" && typeof pattern[3] === "string" && /^[a-z]:$/i.test(pattern[3]);
1681
+ const fdi = fileUNC ? 3 : fileDrive ? 0 : void 0;
1682
+ const pdi = patternUNC ? 3 : patternDrive ? 0 : void 0;
1683
+ if (typeof fdi === "number" && typeof pdi === "number") {
1684
+ const [fd, pd] = [file[fdi], pattern[pdi]];
1685
+ if (fd.toLowerCase() === pd.toLowerCase()) {
1686
+ pattern[pdi] = fd;
1687
+ patternStartIndex = pdi;
1688
+ fileStartIndex = fdi;
1689
+ }
1690
+ }
1691
+ }
1692
+ const { optimizationLevel = 1 } = this.options;
1693
+ if (optimizationLevel >= 2) file = this.levelTwoFileOptimize(file);
1694
+ if (pattern.includes(GLOBSTAR)) return this.#matchGlobstar(file, pattern, partial, fileStartIndex, patternStartIndex);
1695
+ return this.#matchOne(file, pattern, partial, fileStartIndex, patternStartIndex);
1696
+ }
1697
+ #matchGlobstar(file, pattern, partial, fileIndex, patternIndex) {
1698
+ const firstgs = pattern.indexOf(GLOBSTAR, patternIndex);
1699
+ const lastgs = pattern.lastIndexOf(GLOBSTAR);
1700
+ const [head, body, tail] = partial ? [
1701
+ pattern.slice(patternIndex, firstgs),
1702
+ pattern.slice(firstgs + 1),
1703
+ []
1704
+ ] : [
1705
+ pattern.slice(patternIndex, firstgs),
1706
+ pattern.slice(firstgs + 1, lastgs),
1707
+ pattern.slice(lastgs + 1)
1708
+ ];
1709
+ if (head.length) {
1710
+ const fileHead = file.slice(fileIndex, fileIndex + head.length);
1711
+ if (!this.#matchOne(fileHead, head, partial, 0, 0)) return false;
1712
+ fileIndex += head.length;
1713
+ patternIndex += head.length;
1714
+ }
1715
+ let fileTailMatch = 0;
1716
+ if (tail.length) {
1717
+ if (tail.length + fileIndex > file.length) return false;
1718
+ let tailStart = file.length - tail.length;
1719
+ if (this.#matchOne(file, tail, partial, tailStart, 0)) fileTailMatch = tail.length;
1720
+ else {
1721
+ if (file[file.length - 1] !== "" || fileIndex + tail.length === file.length) return false;
1722
+ tailStart--;
1723
+ if (!this.#matchOne(file, tail, partial, tailStart, 0)) return false;
1724
+ fileTailMatch = tail.length + 1;
1725
+ }
1726
+ }
1727
+ if (!body.length) {
1728
+ let sawSome = !!fileTailMatch;
1729
+ for (let i = fileIndex; i < file.length - fileTailMatch; i++) {
1730
+ const f = String(file[i]);
1731
+ sawSome = true;
1732
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) return false;
1733
+ }
1734
+ return partial || sawSome;
1735
+ }
1736
+ const bodySegments = [[[], 0]];
1737
+ let currentBody = bodySegments[0];
1738
+ let nonGsParts = 0;
1739
+ const nonGsPartsSums = [0];
1740
+ for (const b of body) if (b === GLOBSTAR) {
1741
+ nonGsPartsSums.push(nonGsParts);
1742
+ currentBody = [[], 0];
1743
+ bodySegments.push(currentBody);
1744
+ } else {
1745
+ currentBody[0].push(b);
1746
+ nonGsParts++;
1747
+ }
1748
+ let i = bodySegments.length - 1;
1749
+ const fileLength = file.length - fileTailMatch;
1750
+ for (const b of bodySegments) b[1] = fileLength - (nonGsPartsSums[i--] + b[0].length);
1751
+ return !!this.#matchGlobStarBodySections(file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
1752
+ }
1753
+ #matchGlobStarBodySections(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
1754
+ const bs = bodySegments[bodyIndex];
1755
+ if (!bs) {
1756
+ for (let i = fileIndex; i < file.length; i++) {
1757
+ sawTail = true;
1758
+ const f = file[i];
1759
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) return false;
1760
+ }
1761
+ return sawTail;
1762
+ }
1763
+ const [body, after] = bs;
1764
+ while (fileIndex <= after) {
1765
+ if (this.#matchOne(file.slice(0, fileIndex + body.length), body, partial, fileIndex, 0) && globStarDepth < this.maxGlobstarRecursion) {
1766
+ const sub = this.#matchGlobStarBodySections(file, bodySegments, fileIndex + body.length, bodyIndex + 1, partial, globStarDepth + 1, sawTail);
1767
+ if (sub !== false) return sub;
1768
+ }
1769
+ const f = file[fileIndex];
1770
+ if (f === "." || f === ".." || !this.options.dot && f.startsWith(".")) return false;
1771
+ fileIndex++;
1772
+ }
1773
+ return partial || null;
1774
+ }
1775
+ #matchOne(file, pattern, partial, fileIndex, patternIndex) {
1776
+ let fi;
1777
+ let pi;
1778
+ let pl;
1779
+ let fl;
1780
+ for (fi = fileIndex, pi = patternIndex, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
1781
+ this.debug("matchOne loop");
1782
+ let p = pattern[pi];
1783
+ let f = file[fi];
1784
+ this.debug(pattern, p, f);
1785
+ /* c8 ignore start */
1786
+ if (p === false || p === GLOBSTAR) return false;
1787
+ /* c8 ignore stop */
1788
+ let hit;
1789
+ if (typeof p === "string") {
1790
+ hit = f === p;
1791
+ this.debug("string match", p, f, hit);
1792
+ } else {
1793
+ hit = p.test(f);
1794
+ this.debug("pattern match", p, f, hit);
1795
+ }
1796
+ if (!hit) return false;
1797
+ }
1798
+ if (fi === fl && pi === pl) return true;
1799
+ else if (fi === fl) return partial;
1800
+ else if (pi === pl) return fi === fl - 1 && file[fi] === "";
1801
+ else throw new Error("wtf?");
1802
+ /* c8 ignore stop */
1803
+ }
1804
+ braceExpand() {
1805
+ return braceExpand(this.pattern, this.options);
1806
+ }
1807
+ parse(pattern) {
1808
+ assertValidPattern(pattern);
1809
+ const options = this.options;
1810
+ if (pattern === "**") return GLOBSTAR;
1811
+ if (pattern === "") return "";
1812
+ let m;
1813
+ let fastTest = null;
1814
+ if (m = pattern.match(starRE)) fastTest = options.dot ? starTestDot : starTest;
1815
+ else if (m = pattern.match(starDotExtRE)) fastTest = (options.nocase ? options.dot ? starDotExtTestNocaseDot : starDotExtTestNocase : options.dot ? starDotExtTestDot : starDotExtTest)(m[1]);
1816
+ else if (m = pattern.match(qmarksRE)) fastTest = (options.nocase ? options.dot ? qmarksTestNocaseDot : qmarksTestNocase : options.dot ? qmarksTestDot : qmarksTest)(m);
1817
+ else if (m = pattern.match(starDotStarRE)) fastTest = options.dot ? starDotStarTestDot : starDotStarTest;
1818
+ else if (m = pattern.match(dotStarRE)) fastTest = dotStarTest;
1819
+ const re = AST.fromGlob(pattern, this.options).toMMPattern();
1820
+ if (fastTest && typeof re === "object") Reflect.defineProperty(re, "test", { value: fastTest });
1821
+ return re;
1822
+ }
1823
+ makeRe() {
1824
+ if (this.regexp || this.regexp === false) return this.regexp;
1825
+ const set = this.set;
1826
+ if (!set.length) {
1827
+ this.regexp = false;
1828
+ return this.regexp;
1829
+ }
1830
+ const options = this.options;
1831
+ const twoStar = options.noglobstar ? star : options.dot ? twoStarDot : twoStarNoDot;
1832
+ const flags = new Set(options.nocase ? ["i"] : []);
1833
+ let re = set.map((pattern) => {
1834
+ const pp = pattern.map((p) => {
1835
+ if (p instanceof RegExp) for (const f of p.flags.split("")) flags.add(f);
1836
+ return typeof p === "string" ? regExpEscape(p) : p === GLOBSTAR ? GLOBSTAR : p._src;
1837
+ });
1838
+ pp.forEach((p, i) => {
1839
+ const next = pp[i + 1];
1840
+ const prev = pp[i - 1];
1841
+ if (p !== GLOBSTAR || prev === GLOBSTAR) return;
1842
+ if (prev === void 0) if (next !== void 0 && next !== GLOBSTAR) pp[i + 1] = "(?:\\/|" + twoStar + "\\/)?" + next;
1843
+ else pp[i] = twoStar;
1844
+ else if (next === void 0) pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + ")?";
1845
+ else if (next !== GLOBSTAR) {
1846
+ pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next;
1847
+ pp[i + 1] = GLOBSTAR;
1848
+ }
1849
+ });
1850
+ const filtered = pp.filter((p) => p !== GLOBSTAR);
1851
+ if (this.partial && filtered.length >= 1) {
1852
+ const prefixes = [];
1853
+ for (let i = 1; i <= filtered.length; i++) prefixes.push(filtered.slice(0, i).join("/"));
1854
+ return "(?:" + prefixes.join("|") + ")";
1855
+ }
1856
+ return filtered.join("/");
1857
+ }).join("|");
1858
+ const [open, close] = set.length > 1 ? ["(?:", ")"] : ["", ""];
1859
+ re = "^" + open + re + close + "$";
1860
+ if (this.partial) re = "^(?:\\/|" + open + re.slice(1, -1) + close + ")$";
1861
+ if (this.negate) re = "^(?!" + re + ").+$";
1862
+ try {
1863
+ this.regexp = new RegExp(re, [...flags].join(""));
1864
+ } catch {
1865
+ this.regexp = false;
1866
+ }
1867
+ /* c8 ignore stop */
1868
+ return this.regexp;
1869
+ }
1870
+ slashSplit(p) {
1871
+ if (this.preserveMultipleSlashes) return p.split("/");
1872
+ else if (this.isWindows && /^\/\/[^/]+/.test(p)) return ["", ...p.split(/\/+/)];
1873
+ else return p.split(/\/+/);
1874
+ }
1875
+ match(f, partial = this.partial) {
1876
+ this.debug("match", f, this.pattern);
1877
+ if (this.comment) return false;
1878
+ if (this.empty) return f === "";
1879
+ if (f === "/" && partial) return true;
1880
+ const options = this.options;
1881
+ if (this.isWindows) f = f.split("\\").join("/");
1882
+ const ff = this.slashSplit(f);
1883
+ this.debug(this.pattern, "split", ff);
1884
+ const set = this.set;
1885
+ this.debug(this.pattern, "set", set);
1886
+ let filename = ff[ff.length - 1];
1887
+ if (!filename) for (let i = ff.length - 2; !filename && i >= 0; i--) filename = ff[i];
1888
+ for (const pattern of set) {
1889
+ let file = ff;
1890
+ if (options.matchBase && pattern.length === 1) file = [filename];
1891
+ if (this.matchOne(file, pattern, partial)) {
1892
+ if (options.flipNegate) return true;
1893
+ return !this.negate;
1894
+ }
1895
+ }
1896
+ if (options.flipNegate) return false;
1897
+ return this.negate;
1898
+ }
1899
+ static defaults(def) {
1900
+ return minimatch.defaults(def).Minimatch;
1901
+ }
1902
+ };
1903
+ /* c8 ignore stop */
1904
+ minimatch.AST = AST;
1905
+ minimatch.Minimatch = Minimatch;
1906
+ minimatch.escape = escape;
1907
+ minimatch.unescape = unescape;
1908
+ //#endregion
1909
+ //#region src/lib/match.ts
1910
+ /**
1911
+ * Builds a matcher that returns `true` when the input matches the pattern (or
1912
+ * any of the patterns, when an array is given). Mirrors `picomatch(pattern)`.
1913
+ */
1914
+ function makeMatcher(pattern, options = {}) {
1915
+ const patterns = Array.isArray(pattern) ? pattern : [pattern];
1916
+ return (input) => patterns.some((p) => minimatch(input, p, options));
1917
+ }
1918
+ //#endregion
1919
+ //#region ../../node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.js
1920
+ var Node = class {
1921
+ value;
1922
+ next;
1923
+ constructor(value) {
1924
+ this.value = value;
1925
+ }
1926
+ };
1927
+ var Queue = class {
1928
+ #head;
1929
+ #tail;
1930
+ #size;
1931
+ constructor() {
1932
+ this.clear();
1933
+ }
1934
+ enqueue(value) {
1935
+ const node = new Node(value);
1936
+ if (this.#head) {
1937
+ this.#tail.next = node;
1938
+ this.#tail = node;
1939
+ } else {
1940
+ this.#head = node;
1941
+ this.#tail = node;
1942
+ }
1943
+ this.#size++;
1944
+ }
1945
+ dequeue() {
1946
+ const current = this.#head;
1947
+ if (!current) return;
1948
+ this.#head = this.#head.next;
1949
+ this.#size--;
1950
+ if (!this.#head) this.#tail = void 0;
1951
+ return current.value;
1952
+ }
1953
+ peek() {
1954
+ if (!this.#head) return;
1955
+ return this.#head.value;
1956
+ }
1957
+ clear() {
1958
+ this.#head = void 0;
1959
+ this.#tail = void 0;
1960
+ this.#size = 0;
1961
+ }
1962
+ get size() {
1963
+ return this.#size;
1964
+ }
1965
+ *[Symbol.iterator]() {
1966
+ let current = this.#head;
1967
+ while (current) {
1968
+ yield current.value;
1969
+ current = current.next;
1970
+ }
1971
+ }
1972
+ *drain() {
1973
+ while (this.#head) yield this.dequeue();
1974
+ }
1975
+ };
1976
+ //#endregion
1977
+ //#region ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
1978
+ function pLimit(concurrency) {
1979
+ if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) throw new TypeError("Expected `concurrency` to be a number from 1 and up");
1980
+ const queue = new Queue();
1981
+ let activeCount = 0;
1982
+ const next = () => {
1983
+ activeCount--;
1984
+ if (queue.size > 0) queue.dequeue()();
1985
+ };
1986
+ const run = async (fn, resolve, args) => {
1987
+ activeCount++;
1988
+ const result = (async () => fn(...args))();
1989
+ resolve(result);
1990
+ try {
1991
+ await result;
1992
+ } catch {}
1993
+ next();
1994
+ };
1995
+ const enqueue = (fn, resolve, args) => {
1996
+ queue.enqueue(run.bind(void 0, fn, resolve, args));
1997
+ (async () => {
1998
+ await Promise.resolve();
1999
+ if (activeCount < concurrency && queue.size > 0) queue.dequeue()();
2000
+ })();
2001
+ };
2002
+ const generator = (fn, ...args) => new Promise((resolve) => {
2003
+ enqueue(fn, resolve, args);
2004
+ });
2005
+ Object.defineProperties(generator, {
2006
+ activeCount: { get: () => activeCount },
2007
+ pendingCount: { get: () => queue.size },
2008
+ clearQueue: { value: () => {
2009
+ queue.clear();
2010
+ } }
2011
+ });
2012
+ return generator;
2013
+ }
2014
+ //#endregion
2015
+ //#region ../../node_modules/.pnpm/p-locate@6.0.0/node_modules/p-locate/index.js
2016
+ var EndError = class extends Error {
2017
+ constructor(value) {
2018
+ super();
2019
+ this.value = value;
2020
+ }
2021
+ };
2022
+ const testElement = async (element, tester) => tester(await element);
2023
+ const finder = async (element) => {
2024
+ const values = await Promise.all(element);
2025
+ if (values[1] === true) throw new EndError(values[0]);
2026
+ return false;
2027
+ };
2028
+ async function pLocate(iterable, tester, { concurrency = Number.POSITIVE_INFINITY, preserveOrder = true } = {}) {
2029
+ const limit = pLimit(concurrency);
2030
+ const items = [...iterable].map((element) => [element, limit(testElement, element, tester)]);
2031
+ const checkLimit = pLimit(preserveOrder ? 1 : Number.POSITIVE_INFINITY);
2032
+ try {
2033
+ await Promise.all(items.map((element) => checkLimit(finder, element)));
2034
+ } catch (error) {
2035
+ if (error instanceof EndError) return error.value;
2036
+ throw error;
2037
+ }
2038
+ }
2039
+ //#endregion
2040
+ //#region ../../node_modules/.pnpm/locate-path@8.0.0/node_modules/locate-path/index.js
2041
+ const typeMappings = {
2042
+ directory: "isDirectory",
2043
+ file: "isFile"
2044
+ };
2045
+ function checkType(type) {
2046
+ if (type === "both" || Object.hasOwn(typeMappings, type)) return;
2047
+ throw new Error(`Invalid type specified: ${type}`);
2048
+ }
2049
+ const matchType = (type, stat) => type === "both" ? stat.isFile() || stat.isDirectory() : stat[typeMappings[type]]();
2050
+ const toPath$1 = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
2051
+ async function locatePath(paths, { cwd = process$1.cwd(), type = "file", allowSymlinks = true, concurrency, preserveOrder } = {}) {
2052
+ checkType(type);
2053
+ cwd = toPath$1(cwd);
2054
+ const statFunction = allowSymlinks ? promises.stat : promises.lstat;
2055
+ return pLocate(paths, async (path_) => {
2056
+ try {
2057
+ const stat = await statFunction(PATH.resolve(cwd, path_));
2058
+ return matchType(type, stat);
2059
+ } catch {
2060
+ return false;
2061
+ }
2062
+ }, {
2063
+ concurrency,
2064
+ preserveOrder
2065
+ });
2066
+ }
2067
+ promisify(execFile);
2068
+ function toPath(urlOrPath) {
2069
+ return urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;
2070
+ }
2071
+ //#endregion
2072
+ //#region ../../node_modules/.pnpm/find-up@8.0.0/node_modules/find-up/index.js
2073
+ const findUpStop = Symbol("findUpStop");
2074
+ async function findUpMultiple(name, options = {}) {
2075
+ let directory = PATH.resolve(toPath(options.cwd) ?? "");
2076
+ const { root } = PATH.parse(directory);
2077
+ const stopAt = PATH.resolve(directory, toPath(options.stopAt) ?? root);
2078
+ const limit = options.limit ?? Number.POSITIVE_INFINITY;
2079
+ const paths = [name].flat();
2080
+ const runMatcher = async (locateOptions) => {
2081
+ if (typeof name !== "function") return locatePath(paths, locateOptions);
2082
+ const foundPath = await name(locateOptions.cwd);
2083
+ if (typeof foundPath === "string") return locatePath([foundPath], locateOptions);
2084
+ return foundPath;
2085
+ };
2086
+ const matches = [];
2087
+ while (true) {
2088
+ const foundPath = await runMatcher({
2089
+ ...options,
2090
+ cwd: directory
2091
+ });
2092
+ if (foundPath === findUpStop) break;
2093
+ if (foundPath) matches.push(PATH.resolve(directory, foundPath));
2094
+ if (directory === stopAt || matches.length >= limit) break;
2095
+ directory = PATH.dirname(directory);
2096
+ }
2097
+ return matches;
2098
+ }
2099
+ async function findUp(name, options = {}) {
2100
+ return (await findUpMultiple(name, {
2101
+ ...options,
2102
+ limit: 1
2103
+ }))[0];
2104
+ }
2105
+ //#endregion
2106
+ //#region src/actions/package/lint.ts
2107
+ const dumpMessages = (lintResults) => {
2108
+ const colors = [
2109
+ "white",
2110
+ "yellow",
2111
+ "red"
2112
+ ];
2113
+ const severity = [
2114
+ "none",
2115
+ "warning",
2116
+ "error"
2117
+ ];
2118
+ for (const lintResult of lintResults) {
2119
+ if (lintResult.messages.length === 0) continue;
2120
+ console.log(chalk.gray(`\n${lintResult.filePath}`));
2121
+ for (const message of lintResult.messages) console.log(chalk.gray(`\t${message.line}:${message.column}`), chalk[colors[message.severity]](`\t${severity[message.severity]}`), chalk.white(`\t${message.message}`), chalk.gray(`\t${message.ruleId}`));
2122
+ }
2123
+ };
2124
+ async function getRootESLintConfig() {
2125
+ const configPath = await findUp(["eslint.config.ts", "eslint.config.mjs"]);
2126
+ if (configPath === void 0) throw new Error("eslint.config.ts not found in the monorepo");
2127
+ return pathToFileURL(configPath);
2128
+ }
2129
+ function getFiles(dir, ignoreFolders) {
2130
+ const currentDirectory = cwd();
2131
+ const subdirectory = dir.split(currentDirectory)[1]?.split("/", 2)[1];
2132
+ if (ignoreFolders.includes(subdirectory)) return [];
2133
+ return readdirSync(dir, { withFileTypes: true }).flatMap((dirent) => {
2134
+ const res = PATH.resolve(dir, dirent.name);
2135
+ const relativePath = subdirectory === void 0 ? dirent.name : `${subdirectory}/${dirent.name}`;
2136
+ if (makeMatcher(ignoreFolders)(relativePath)) return [];
2137
+ return dirent.isDirectory() ? getFiles(res, ignoreFolders) : [res];
2138
+ });
2139
+ }
2140
+ const packageLint = async (shouldFix = false, isVerbose = false, shouldUseCache = true) => {
2141
+ const pkg = INIT_CWD();
2142
+ const { default: eslintConfig } = await import((await getRootESLintConfig()).href);
2143
+ const start = Date.now();
2144
+ const ignoreFolders = [
2145
+ "node_modules",
2146
+ "dist",
2147
+ "packages",
2148
+ ".git",
2149
+ "build",
2150
+ ".yarn",
2151
+ ".vscode",
2152
+ ".github"
2153
+ ];
2154
+ const engine = new ESLint({
2155
+ baseConfig: [...eslintConfig],
2156
+ cache: shouldUseCache,
2157
+ fix: shouldFix,
2158
+ warnIgnored: false
2159
+ });
2160
+ const files = getFiles(cwd(), ignoreFolders);
2161
+ console.log(chalk.green(`Linting ${pkg} [files = ${files.length}]`));
2162
+ if (isVerbose) for (const file of files) console.log(chalk.gray(`\t${file}`));
2163
+ const lintResults = await engine.lintFiles(files);
2164
+ dumpMessages(lintResults);
2165
+ if (shouldFix) await ESLint.outputFixes(lintResults);
2166
+ const filesCountColor = files.length < 100 ? "green" : files.length < 1e3 ? "yellow" : "red";
2167
+ const lintTime = Date.now() - start;
2168
+ const lintTimeColor = lintTime < 1e3 ? "green" : lintTime < 3e3 ? "yellow" : "red";
2169
+ console.log(chalk.white(`Linted ${chalk[filesCountColor](files.length)} files in ${chalk[lintTimeColor](lintTime)}ms`));
2170
+ return lintResults.reduce((prev, lintResult) => prev + lintResult.errorCount, 0);
2171
+ };
2172
+ //#endregion
2173
+ //#region src/bin/package/relint.ts
2174
+ try {
2175
+ const value = await packageLint(false, false, true);
2176
+ if (value) process.exit(value);
2177
+ } catch (reason) {
2178
+ console.error(chalk.red(reason));
2179
+ process.exit(-1);
2180
+ }
2181
+ //#endregion
2182
+ export {};
2183
+
2184
+ //# sourceMappingURL=relint.mjs.map