@xylabs/ts-scripts-yarn3 6.0.4 → 6.0.6

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 (329) hide show
  1. package/dist/actions/build.mjs +10 -0
  2. package/dist/actions/build.mjs.map +1 -1
  3. package/dist/actions/compile-types.mjs +2 -2
  4. package/dist/actions/compile-types.mjs.map +1 -1
  5. package/dist/actions/compile.mjs +7 -9
  6. package/dist/actions/compile.mjs.map +1 -1
  7. package/dist/actions/fix.mjs +1 -7
  8. package/dist/actions/fix.mjs.map +1 -1
  9. package/dist/actions/index.mjs +204 -235
  10. package/dist/actions/index.mjs.map +1 -1
  11. package/dist/actions/lint.mjs +1 -7
  12. package/dist/actions/lint.mjs.map +1 -1
  13. package/dist/actions/package/compile/compile.mjs +101 -169
  14. package/dist/actions/package/compile/compile.mjs.map +1 -1
  15. package/dist/actions/package/compile/compileTypes.mjs +16 -31
  16. package/dist/actions/package/compile/compileTypes.mjs.map +1 -1
  17. package/dist/actions/package/compile/index.mjs +156 -177
  18. package/dist/actions/package/compile/index.mjs.map +1 -1
  19. package/dist/actions/package/compile/packageCompileTscTypes.mjs +14 -29
  20. package/dist/actions/package/compile/packageCompileTscTypes.mjs.map +1 -1
  21. package/dist/actions/package/compile/packageCompileTsup.mjs +94 -82
  22. package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
  23. package/dist/actions/package/index.mjs +172 -193
  24. package/dist/actions/package/index.mjs.map +1 -1
  25. package/dist/actions/package/recompile.mjs +101 -169
  26. package/dist/actions/package/recompile.mjs.map +1 -1
  27. package/dist/actions/recompile.mjs +1 -7
  28. package/dist/actions/recompile.mjs.map +1 -1
  29. package/dist/actions/relint.mjs +1 -7
  30. package/dist/actions/relint.mjs.map +1 -1
  31. package/dist/bin/package/build-only.mjs +104 -172
  32. package/dist/bin/package/build-only.mjs.map +1 -1
  33. package/dist/bin/package/build.mjs +104 -172
  34. package/dist/bin/package/build.mjs.map +1 -1
  35. package/dist/bin/package/clean-outputs.mjs +1 -6
  36. package/dist/bin/package/clean-outputs.mjs.map +1 -1
  37. package/dist/bin/package/clean-typescript.mjs +1 -6
  38. package/dist/bin/package/clean-typescript.mjs.map +1 -1
  39. package/dist/bin/package/compile-only.mjs +103 -171
  40. package/dist/bin/package/compile-only.mjs.map +1 -1
  41. package/dist/bin/package/compile-tsup.mjs +113 -99
  42. package/dist/bin/package/compile-tsup.mjs.map +1 -1
  43. package/dist/bin/package/compile-types.mjs +45 -56
  44. package/dist/bin/package/compile-types.mjs.map +1 -1
  45. package/dist/bin/package/compile.mjs +103 -171
  46. package/dist/bin/package/compile.mjs.map +1 -1
  47. package/dist/bin/package/recompile.mjs +103 -171
  48. package/dist/bin/package/recompile.mjs.map +1 -1
  49. package/dist/bin/xy.mjs +22 -33
  50. package/dist/bin/xy.mjs.map +1 -1
  51. package/dist/index.d.ts +9 -14
  52. package/dist/index.mjs +214 -246
  53. package/dist/index.mjs.map +1 -1
  54. package/dist/types/actions/build.d.ts +9 -0
  55. package/dist/types/actions/build.d.ts.map +1 -0
  56. package/dist/types/actions/clean-docs.d.ts +2 -0
  57. package/dist/types/actions/clean-docs.d.ts.map +1 -0
  58. package/dist/types/actions/clean-eslint.d.ts +2 -0
  59. package/dist/types/actions/clean-eslint.d.ts.map +1 -0
  60. package/dist/types/actions/clean-jest.d.ts +2 -0
  61. package/dist/types/actions/clean-jest.d.ts.map +1 -0
  62. package/dist/types/actions/clean.d.ts +12 -0
  63. package/dist/types/actions/clean.d.ts.map +1 -0
  64. package/dist/types/actions/compile-types.d.ts +16 -0
  65. package/dist/types/actions/compile-types.d.ts.map +1 -0
  66. package/dist/types/actions/compile.d.ts +19 -0
  67. package/dist/types/actions/compile.d.ts.map +1 -0
  68. package/dist/types/actions/copy-assets.d.ts +6 -0
  69. package/dist/types/actions/copy-assets.d.ts.map +1 -0
  70. package/dist/types/actions/cycle.d.ts +2 -0
  71. package/dist/types/actions/cycle.d.ts.map +1 -0
  72. package/dist/types/actions/dead.d.ts +2 -0
  73. package/dist/types/actions/dead.d.ts.map +1 -0
  74. package/dist/types/actions/deploy-major.d.ts +2 -0
  75. package/dist/types/actions/deploy-major.d.ts.map +1 -0
  76. package/dist/types/actions/deploy-minor.d.ts +2 -0
  77. package/dist/types/actions/deploy-minor.d.ts.map +1 -0
  78. package/dist/types/actions/deploy-next.d.ts +2 -0
  79. package/dist/types/actions/deploy-next.d.ts.map +1 -0
  80. package/dist/types/actions/deploy.d.ts +2 -0
  81. package/dist/types/actions/deploy.d.ts.map +1 -0
  82. package/dist/types/actions/deps.d.ts +13 -0
  83. package/dist/types/actions/deps.d.ts.map +1 -0
  84. package/dist/types/actions/dupdeps.d.ts +2 -0
  85. package/dist/types/actions/dupdeps.d.ts.map +1 -0
  86. package/dist/types/actions/fix.d.ts +3 -0
  87. package/dist/types/actions/fix.d.ts.map +1 -0
  88. package/dist/types/actions/gen-docs.d.ts +11 -0
  89. package/dist/types/actions/gen-docs.d.ts.map +1 -0
  90. package/dist/types/actions/gitignore-gen.d.ts +2 -0
  91. package/dist/types/actions/gitignore-gen.d.ts.map +1 -0
  92. package/dist/types/actions/gitlint-fix.d.ts +2 -0
  93. package/dist/types/actions/gitlint-fix.d.ts.map +1 -0
  94. package/dist/types/actions/gitlint.d.ts +2 -0
  95. package/dist/types/actions/gitlint.d.ts.map +1 -0
  96. package/dist/types/actions/index.d.ts +38 -0
  97. package/dist/types/actions/index.d.ts.map +1 -0
  98. package/dist/types/actions/license.d.ts +2 -0
  99. package/dist/types/actions/license.d.ts.map +1 -0
  100. package/dist/types/actions/lint.d.ts +14 -0
  101. package/dist/types/actions/lint.d.ts.map +1 -0
  102. package/dist/types/actions/npmignore-gen.d.ts +2 -0
  103. package/dist/types/actions/npmignore-gen.d.ts.map +1 -0
  104. package/dist/types/actions/package/clean-outputs.d.ts +2 -0
  105. package/dist/types/actions/package/clean-outputs.d.ts.map +1 -0
  106. package/dist/types/actions/package/clean-typescript.d.ts +2 -0
  107. package/dist/types/actions/package/clean-typescript.d.ts.map +1 -0
  108. package/dist/types/actions/package/clean.d.ts +2 -0
  109. package/dist/types/actions/package/clean.d.ts.map +1 -0
  110. package/dist/types/actions/package/compile/XyConfig.d.ts +58 -0
  111. package/dist/types/actions/package/compile/XyConfig.d.ts.map +1 -0
  112. package/dist/types/actions/package/compile/buildEntries.d.ts +3 -0
  113. package/dist/types/actions/package/compile/buildEntries.d.ts.map +1 -0
  114. package/dist/types/actions/package/compile/compile.d.ts +3 -0
  115. package/dist/types/actions/package/compile/compile.d.ts.map +1 -0
  116. package/dist/types/actions/package/compile/compileTypes.d.ts +3 -0
  117. package/dist/types/actions/package/compile/compileTypes.d.ts.map +1 -0
  118. package/dist/types/actions/package/compile/copyTypeFiles.d.ts +3 -0
  119. package/dist/types/actions/package/compile/copyTypeFiles.d.ts.map +1 -0
  120. package/dist/types/actions/package/compile/deepMerge.d.ts +4 -0
  121. package/dist/types/actions/package/compile/deepMerge.d.ts.map +1 -0
  122. package/dist/types/actions/package/compile/getCompilerOptions.d.ts +3 -0
  123. package/dist/types/actions/package/compile/getCompilerOptions.d.ts.map +1 -0
  124. package/dist/types/actions/package/compile/index.d.ts +7 -0
  125. package/dist/types/actions/package/compile/index.d.ts.map +1 -0
  126. package/dist/types/actions/package/compile/inputs.d.ts +2 -0
  127. package/dist/types/actions/package/compile/inputs.d.ts.map +1 -0
  128. package/dist/types/actions/package/compile/packageCompileTsc.d.ts +4 -0
  129. package/dist/types/actions/package/compile/packageCompileTsc.d.ts.map +1 -0
  130. package/dist/types/actions/package/compile/packageCompileTscTypes.d.ts +4 -0
  131. package/dist/types/actions/package/compile/packageCompileTscTypes.d.ts.map +1 -0
  132. package/dist/types/actions/package/compile/packageCompileTsup.d.ts +5 -0
  133. package/dist/types/actions/package/compile/packageCompileTsup.d.ts.map +1 -0
  134. package/dist/types/actions/package/copy-assets.d.ts +5 -0
  135. package/dist/types/actions/package/copy-assets.d.ts.map +1 -0
  136. package/dist/types/actions/package/deps.d.ts +2 -0
  137. package/dist/types/actions/package/deps.d.ts.map +1 -0
  138. package/dist/types/actions/package/gen-docs.d.ts +2 -0
  139. package/dist/types/actions/package/gen-docs.d.ts.map +1 -0
  140. package/dist/types/actions/package/index.d.ts +11 -0
  141. package/dist/types/actions/package/index.d.ts.map +1 -0
  142. package/dist/types/actions/package/lint.d.ts +2 -0
  143. package/dist/types/actions/package/lint.d.ts.map +1 -0
  144. package/dist/types/actions/package/publint.d.ts +5 -0
  145. package/dist/types/actions/package/publint.d.ts.map +1 -0
  146. package/dist/types/actions/package/recompile.d.ts +2 -0
  147. package/dist/types/actions/package/recompile.d.ts.map +1 -0
  148. package/dist/types/actions/publint.d.ts +12 -0
  149. package/dist/types/actions/publint.d.ts.map +1 -0
  150. package/dist/types/actions/rebuild.d.ts +6 -0
  151. package/dist/types/actions/rebuild.d.ts.map +1 -0
  152. package/dist/types/actions/recompile.d.ts +16 -0
  153. package/dist/types/actions/recompile.d.ts.map +1 -0
  154. package/dist/types/actions/reinstall.d.ts +2 -0
  155. package/dist/types/actions/reinstall.d.ts.map +1 -0
  156. package/dist/types/actions/relint.d.ts +13 -0
  157. package/dist/types/actions/relint.d.ts.map +1 -0
  158. package/dist/types/actions/retest.d.ts +2 -0
  159. package/dist/types/actions/retest.d.ts.map +1 -0
  160. package/dist/types/actions/sonar.d.ts +2 -0
  161. package/dist/types/actions/sonar.d.ts.map +1 -0
  162. package/dist/types/actions/statics.d.ts +2 -0
  163. package/dist/types/actions/statics.d.ts.map +1 -0
  164. package/dist/types/actions/test.d.ts +2 -0
  165. package/dist/types/actions/test.d.ts.map +1 -0
  166. package/dist/types/actions/up.d.ts +2 -0
  167. package/dist/types/actions/up.d.ts.map +1 -0
  168. package/dist/types/actions/updo.d.ts +2 -0
  169. package/dist/types/actions/updo.d.ts.map +1 -0
  170. package/dist/types/actions/upplug.d.ts +2 -0
  171. package/dist/types/actions/upplug.d.ts.map +1 -0
  172. package/dist/types/actions/upyarn.d.ts +2 -0
  173. package/dist/types/actions/upyarn.d.ts.map +1 -0
  174. package/dist/types/actions/yarn3only.d.ts +2 -0
  175. package/dist/types/actions/yarn3only.d.ts.map +1 -0
  176. package/dist/types/bin/package/build-only.d.ts +3 -0
  177. package/dist/types/bin/package/build-only.d.ts.map +1 -0
  178. package/dist/types/bin/package/build.d.ts +3 -0
  179. package/dist/types/bin/package/build.d.ts.map +1 -0
  180. package/dist/types/bin/package/clean-outputs.d.ts +3 -0
  181. package/dist/types/bin/package/clean-outputs.d.ts.map +1 -0
  182. package/dist/types/bin/package/clean-typescript.d.ts +3 -0
  183. package/dist/types/bin/package/clean-typescript.d.ts.map +1 -0
  184. package/dist/types/bin/package/clean.d.ts +3 -0
  185. package/dist/types/bin/package/clean.d.ts.map +1 -0
  186. package/dist/types/bin/package/compile-only.d.ts +3 -0
  187. package/dist/types/bin/package/compile-only.d.ts.map +1 -0
  188. package/dist/types/bin/package/compile-tsup.d.ts +3 -0
  189. package/dist/types/bin/package/compile-tsup.d.ts.map +1 -0
  190. package/dist/types/bin/package/compile-types.d.ts +3 -0
  191. package/dist/types/bin/package/compile-types.d.ts.map +1 -0
  192. package/dist/types/bin/package/compile.d.ts +3 -0
  193. package/dist/types/bin/package/compile.d.ts.map +1 -0
  194. package/dist/types/bin/package/copy-assets-cjs.d.ts +3 -0
  195. package/dist/types/bin/package/copy-assets-cjs.d.ts.map +1 -0
  196. package/dist/types/bin/package/copy-assets-esm.d.ts +3 -0
  197. package/dist/types/bin/package/copy-assets-esm.d.ts.map +1 -0
  198. package/dist/types/bin/package/deps.d.ts +3 -0
  199. package/dist/types/bin/package/deps.d.ts.map +1 -0
  200. package/dist/types/bin/package/fix.d.ts +3 -0
  201. package/dist/types/bin/package/fix.d.ts.map +1 -0
  202. package/dist/types/bin/package/gen-docs.d.ts +3 -0
  203. package/dist/types/bin/package/gen-docs.d.ts.map +1 -0
  204. package/dist/types/bin/package/lint.d.ts +3 -0
  205. package/dist/types/bin/package/lint.d.ts.map +1 -0
  206. package/dist/types/bin/package/publint.d.ts +3 -0
  207. package/dist/types/bin/package/publint.d.ts.map +1 -0
  208. package/dist/types/bin/package/recompile.d.ts +3 -0
  209. package/dist/types/bin/package/recompile.d.ts.map +1 -0
  210. package/dist/types/bin/package/relint.d.ts +3 -0
  211. package/dist/types/bin/package/relint.d.ts.map +1 -0
  212. package/dist/types/bin/xy.d.ts +3 -0
  213. package/dist/types/bin/xy.d.ts.map +1 -0
  214. package/dist/types/index.d.ts +5 -0
  215. package/dist/types/index.d.ts.map +1 -0
  216. package/dist/types/lib/checkResult.d.ts +2 -0
  217. package/dist/types/lib/checkResult.d.ts.map +1 -0
  218. package/dist/types/lib/createBuildConfig.d.ts +2 -0
  219. package/dist/types/lib/createBuildConfig.d.ts.map +1 -0
  220. package/dist/types/lib/defaultBuildConfig.d.ts +9 -0
  221. package/dist/types/lib/defaultBuildConfig.d.ts.map +1 -0
  222. package/dist/types/lib/deleteGlob.d.ts +2 -0
  223. package/dist/types/lib/deleteGlob.d.ts.map +1 -0
  224. package/dist/types/lib/dependencies/DuplicateDetector.d.ts +9 -0
  225. package/dist/types/lib/dependencies/DuplicateDetector.d.ts.map +1 -0
  226. package/dist/types/lib/dependencies/detectDuplicateDependencies.d.ts +2 -0
  227. package/dist/types/lib/dependencies/detectDuplicateDependencies.d.ts.map +1 -0
  228. package/dist/types/lib/dependencies/index.d.ts +3 -0
  229. package/dist/types/lib/dependencies/index.d.ts.map +1 -0
  230. package/dist/types/lib/file/ReadFileSyncOptions.d.ts +6 -0
  231. package/dist/types/lib/file/ReadFileSyncOptions.d.ts.map +1 -0
  232. package/dist/types/lib/file/constants.d.ts +3 -0
  233. package/dist/types/lib/file/constants.d.ts.map +1 -0
  234. package/dist/types/lib/file/fileLines.d.ts +6 -0
  235. package/dist/types/lib/file/fileLines.d.ts.map +1 -0
  236. package/dist/types/lib/file/index.d.ts +5 -0
  237. package/dist/types/lib/file/index.d.ts.map +1 -0
  238. package/dist/types/lib/file/tryReadFileSync.d.ts +4 -0
  239. package/dist/types/lib/file/tryReadFileSync.d.ts.map +1 -0
  240. package/dist/types/lib/generateIgnoreFiles.d.ts +2 -0
  241. package/dist/types/lib/generateIgnoreFiles.d.ts.map +1 -0
  242. package/dist/types/lib/index.d.ts +21 -0
  243. package/dist/types/lib/index.d.ts.map +1 -0
  244. package/dist/types/lib/jsonFormatters.d.ts +2 -0
  245. package/dist/types/lib/jsonFormatters.d.ts.map +1 -0
  246. package/dist/types/lib/loadConfig.d.ts +2 -0
  247. package/dist/types/lib/loadConfig.d.ts.map +1 -0
  248. package/dist/types/lib/parsedPackageJSON.d.ts +2 -0
  249. package/dist/types/lib/parsedPackageJSON.d.ts.map +1 -0
  250. package/dist/types/lib/processEx.d.ts +2 -0
  251. package/dist/types/lib/processEx.d.ts.map +1 -0
  252. package/dist/types/lib/runSteps.d.ts +4 -0
  253. package/dist/types/lib/runSteps.d.ts.map +1 -0
  254. package/dist/types/lib/runStepsAsync.d.ts +4 -0
  255. package/dist/types/lib/runStepsAsync.d.ts.map +1 -0
  256. package/dist/types/lib/runXy.d.ts +2 -0
  257. package/dist/types/lib/runXy.d.ts.map +1 -0
  258. package/dist/types/lib/runXyWithWarning.d.ts +2 -0
  259. package/dist/types/lib/runXyWithWarning.d.ts.map +1 -0
  260. package/dist/types/lib/safeExit.d.ts +5 -0
  261. package/dist/types/lib/safeExit.d.ts.map +1 -0
  262. package/dist/types/lib/string/empty.d.ts +3 -0
  263. package/dist/types/lib/string/empty.d.ts.map +1 -0
  264. package/dist/types/lib/string/index.d.ts +3 -0
  265. package/dist/types/lib/string/index.d.ts.map +1 -0
  266. package/dist/types/lib/string/union.d.ts +2 -0
  267. package/dist/types/lib/string/union.d.ts.map +1 -0
  268. package/dist/types/lib/withErrnoException.d.ts +2 -0
  269. package/dist/types/lib/withErrnoException.d.ts.map +1 -0
  270. package/dist/types/lib/withError.d.ts +2 -0
  271. package/dist/types/lib/withError.d.ts.map +1 -0
  272. package/dist/types/lib/yarn/index.d.ts +4 -0
  273. package/dist/types/lib/yarn/index.d.ts.map +1 -0
  274. package/dist/types/lib/yarn/isYarnVersionOrGreater.d.ts +2 -0
  275. package/dist/types/lib/yarn/isYarnVersionOrGreater.d.ts.map +1 -0
  276. package/dist/types/lib/yarn/workspace/Workspace.d.ts +5 -0
  277. package/dist/types/lib/yarn/workspace/Workspace.d.ts.map +1 -0
  278. package/dist/types/lib/yarn/workspace/index.d.ts +4 -0
  279. package/dist/types/lib/yarn/workspace/index.d.ts.map +1 -0
  280. package/dist/types/lib/yarn/workspace/yarnWorkspace.d.ts +3 -0
  281. package/dist/types/lib/yarn/workspace/yarnWorkspace.d.ts.map +1 -0
  282. package/dist/types/lib/yarn/workspace/yarnWorkspaces.d.ts +3 -0
  283. package/dist/types/lib/yarn/workspace/yarnWorkspaces.d.ts.map +1 -0
  284. package/dist/types/lib/yarn/yarnInitCwd.d.ts +2 -0
  285. package/dist/types/lib/yarn/yarnInitCwd.d.ts.map +1 -0
  286. package/dist/types/loadPackageConfig.d.ts +6 -0
  287. package/dist/types/loadPackageConfig.d.ts.map +1 -0
  288. package/dist/types/xy/index.d.ts +8 -0
  289. package/dist/types/xy/index.d.ts.map +1 -0
  290. package/dist/types/xy/param.d.ts +5 -0
  291. package/dist/types/xy/param.d.ts.map +1 -0
  292. package/dist/types/xy/xy.d.ts +10 -0
  293. package/dist/types/xy/xy.d.ts.map +1 -0
  294. package/dist/types/xy/xyBuildCommands.d.ts +3 -0
  295. package/dist/types/xy/xyBuildCommands.d.ts.map +1 -0
  296. package/dist/types/xy/xyCommonCommands.d.ts +3 -0
  297. package/dist/types/xy/xyCommonCommands.d.ts.map +1 -0
  298. package/dist/types/xy/xyDeployCommands.d.ts +3 -0
  299. package/dist/types/xy/xyDeployCommands.d.ts.map +1 -0
  300. package/dist/types/xy/xyInstallCommands.d.ts +3 -0
  301. package/dist/types/xy/xyInstallCommands.d.ts.map +1 -0
  302. package/dist/types/xy/xyLintCommands.d.ts +3 -0
  303. package/dist/types/xy/xyLintCommands.d.ts.map +1 -0
  304. package/dist/types/xy/xyParseOptions.d.ts +3 -0
  305. package/dist/types/xy/xyParseOptions.d.ts.map +1 -0
  306. package/dist/xy/index.mjs +22 -33
  307. package/dist/xy/index.mjs.map +1 -1
  308. package/dist/xy/xy.mjs +22 -33
  309. package/dist/xy/xy.mjs.map +1 -1
  310. package/dist/xy/xyBuildCommands.mjs +20 -19
  311. package/dist/xy/xyBuildCommands.mjs.map +1 -1
  312. package/dist/xy/xyLintCommands.mjs +2 -14
  313. package/dist/xy/xyLintCommands.mjs.map +1 -1
  314. package/package.json +4 -4
  315. package/src/actions/build.ts +1 -0
  316. package/src/actions/compile-types.ts +1 -1
  317. package/src/actions/compile.ts +7 -11
  318. package/src/actions/lint.ts +1 -5
  319. package/src/actions/package/compile/XyConfig.ts +0 -4
  320. package/src/actions/package/compile/compile.ts +15 -17
  321. package/src/actions/package/compile/packageCompileTscTypes.ts +21 -29
  322. package/src/actions/package/compile/packageCompileTsup.ts +12 -19
  323. package/src/actions/recompile.ts +2 -5
  324. package/src/actions/relint.ts +1 -3
  325. package/src/bin/package/build-only.ts +1 -1
  326. package/src/bin/package/build.ts +1 -1
  327. package/src/bin/package/clean-outputs.ts +1 -8
  328. package/src/bin/package/clean-typescript.ts +1 -8
  329. package/src/xy/xyBuildCommands.ts +0 -1
package/dist/index.d.ts CHANGED
@@ -34,19 +34,17 @@ interface CompileParams {
34
34
  pkg?: string;
35
35
  publint?: boolean;
36
36
  target?: 'esm' | 'cjs';
37
- types?: 'tsc' | 'tsup';
38
37
  verbose?: boolean;
39
38
  }
40
39
  interface CompilePackageParams {
41
40
  pkg: string;
42
41
  publint?: boolean;
43
42
  target?: 'esm' | 'cjs';
44
- types?: 'tsc' | 'tsup';
45
43
  verbose?: boolean;
46
44
  }
47
- declare const compile: ({ verbose, target, pkg, incremental, publint, jobs, types, }: CompileParams) => number;
48
- declare const compilePackage: ({ target, pkg, types, }: CompilePackageParams) => number;
49
- declare const compileAll: ({ jobs, verbose, target, incremental, types, }: CompileParams) => number;
45
+ declare const compile: ({ verbose, target, pkg, incremental, publint, jobs, }: CompileParams) => number;
46
+ declare const compilePackage: ({ target, pkg }: CompilePackageParams) => number;
47
+ declare const compileAll: ({ jobs, verbose, target, incremental, }: CompileParams) => number;
50
48
 
51
49
  interface CompileTypesParams {
52
50
  incremental?: boolean;
@@ -106,7 +104,7 @@ interface LintPackageParams {
106
104
  pkg: string;
107
105
  verbose?: boolean;
108
106
  }
109
- declare const lintPackage: ({ pkg, fix, verbose, }: LintParams & Required<Pick<LintParams, "pkg">>) => number;
107
+ declare const lintPackage: ({ pkg, fix }: LintParams & Required<Pick<LintParams, "pkg">>) => number;
110
108
  declare const lint: ({ pkg, verbose, incremental, fix, }?: LintParams) => number;
111
109
  declare const lintAllPackages: ({ fix, verbose, incremental, }?: LintParams) => number;
112
110
 
@@ -140,7 +138,6 @@ declare const packageCleanOutputs: () => number;
140
138
  declare const packageCleanTypescript: () => number;
141
139
 
142
140
  type EntryMode = 'all' | 'single' | 'auto' | 'platform';
143
- type CompileMode = 'tsup' | 'tsc';
144
141
  interface PathConfig {
145
142
  exclude?: string[];
146
143
  include?: string[];
@@ -153,11 +150,9 @@ interface CompileConfig {
153
150
  depth?: number;
154
151
  entryMode?: EntryMode;
155
152
  files?: string[];
156
- mode?: CompileMode;
157
153
  }
158
154
  type PackageCompileTsupConfig = CompileConfig & {
159
155
  browser?: Record<string, Options | boolean>;
160
- mode?: 'tsup';
161
156
  neutral?: Record<string, Options | boolean>;
162
157
  node?: Record<string, Options | boolean>;
163
158
  tsup?: {
@@ -182,7 +177,7 @@ interface XyTscConfig extends XyConfigBase {
182
177
  }
183
178
  type XyConfig = XyTsupConfig | XyTscConfig;
184
179
 
185
- declare const packageCompile: (inConfig?: XyConfig, types?: "tsc" | "tsup") => Promise<number>;
180
+ declare const packageCompile: (inConfig?: XyConfig) => Promise<number>;
186
181
 
187
182
  declare const packageCompileTypes: (inConfig?: XyConfig) => Promise<number>;
188
183
 
@@ -191,7 +186,7 @@ declare const packageCompileTsc: (noEmit?: boolean, config?: XyTscConfig, compil
191
186
  declare const packageCompileTscTypes: (folder?: string, config?: XyConfig, compilerOptionsParam?: CompilerOptions) => number;
192
187
 
193
188
  declare const tsupOptions: (options?: Options[]) => Options;
194
- declare const packageCompileTsup: (config?: XyTsupConfig, types?: "tsc" | "tsup") => Promise<number>;
189
+ declare const packageCompileTsup: (config?: XyTsupConfig) => Promise<number>;
195
190
 
196
191
  interface PackageCopyAssetsParams {
197
192
  target?: 'esm' | 'cjs';
@@ -242,7 +237,7 @@ interface RecompilePackageParams {
242
237
  verbose?: boolean;
243
238
  }
244
239
  declare const recompile: ({ verbose, target, pkg, incremental, }: RecompileParams) => Promise<number>;
245
- declare const recompilePackage: ({ verbose, target, pkg, }: RecompilePackageParams) => Promise<number>;
240
+ declare const recompilePackage: ({ target, pkg }: RecompilePackageParams) => Promise<number>;
246
241
  declare const recompileAll: ({ jobs, verbose, target, incremental, }: RecompileParams) => Promise<number>;
247
242
 
248
243
  declare const reinstall: () => number;
@@ -256,7 +251,7 @@ interface RelintPackageParams {
256
251
  pkg: string;
257
252
  verbose?: boolean;
258
253
  }
259
- declare const relintPackage: ({ pkg, verbose }: RelintParams & Required<Pick<RelintParams, "pkg">>) => number;
254
+ declare const relintPackage: ({ pkg }: RelintParams & Required<Pick<RelintParams, "pkg">>) => number;
260
255
  declare const relint: ({ pkg, verbose, incremental, }?: RelintParams) => number;
261
256
  declare const relintAllPackages: ({ verbose, incremental }?: RelintParams) => number;
262
257
 
@@ -391,4 +386,4 @@ declare const xyLintCommands: (args: Argv) => Argv<{}>;
391
386
 
392
387
  declare const xyParseOptions: () => Argv;
393
388
 
394
- export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileMode, type CompileParams, type CompileTypesParams, type CopyAssetsParams, type DepsPackageParams, type DepsParams, DuplicateDetector, type DynamicShareConfig, type EntryMode, type GenDocsPackageParams, type GenDocsParams, INIT_CWD, type LintPackageParams, type LintParams, type LiveShareConfig, type PackageCompileTscConfig, type PackageCompileTsupConfig, type PackageCopyAssetsParams, type PackageJsonEx, type PackagePublintParams, type PathConfig, type PublintPackageParams, type PublintParams, type ReadFileSyncOptions, type RebuildParams, type RecompilePackageParams, type RecompileParams, type RelintPackageParams, type RelintParams, type ScriptStep, WINDOWS_NEWLINE_REGEX, type Workspace, type XyConfig, type XyConfigBase, type XyTscConfig, type XyTsupConfig, build, checkResult, clean, cleanAll, cleanDocs, cleanPackage, compile, compileAll, compilePackage, compileTypes, compileTypesAll, compileTypesPackage, copyAssets, createBuildConfig, cycle, dead, defaultBuildConfig, defaultReadFileSyncOptions, deleteGlob, deploy, deployMajor, deployMinor, deployNext, deps, depsAll, depsPackage, detectDuplicateDependencies, dupdeps, empty, fix, genDocs, genDocsAll, genDocsPackage, generateIgnoreFiles, gitignoreGen, gitlint, gitlintFix, isYarnVersionOrGreater, license, lint, lintAllPackages, lintPackage, loadConfig, loadPackageConfig, multiLineToJSONArray, notEmpty, npmignoreGen, packageClean, packageCleanOutputs, packageCleanTypescript, packageCompile, packageCompileTsc, packageCompileTscTypes, packageCompileTsup, packageCompileTypes, packageCopyAssets, packageDeps, packageGenDocs, packageLint, packagePublint, packageRecompile, parsedPackageJSON, processEx, publint, publintAll, publintPackage, readLines, readNonEmptyLines, rebuild, recompile, recompileAll, recompilePackage, reinstall, relint, relintAllPackages, relintPackage, retest, runStepAsync, runSteps, runStepsAsync, runXy, runXyWithWarning, safeExit, safeExitAsync, sonar, statics, test, tryReadFileSync, tsupOptions, union, up, updateYarnPlugins, updateYarnVersion, updo, withErrnoException, withError, writeLines, xy, xyBuildCommands, xyCommonCommands, xyDeployCommands, xyInstallCommands, xyLintCommands, xyParseOptions, yarn3Only, yarnWorkspace, yarnWorkspaces };
389
+ export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileParams, type CompileTypesParams, type CopyAssetsParams, type DepsPackageParams, type DepsParams, DuplicateDetector, type DynamicShareConfig, type EntryMode, type GenDocsPackageParams, type GenDocsParams, INIT_CWD, type LintPackageParams, type LintParams, type LiveShareConfig, type PackageCompileTscConfig, type PackageCompileTsupConfig, type PackageCopyAssetsParams, type PackageJsonEx, type PackagePublintParams, type PathConfig, type PublintPackageParams, type PublintParams, type ReadFileSyncOptions, type RebuildParams, type RecompilePackageParams, type RecompileParams, type RelintPackageParams, type RelintParams, type ScriptStep, WINDOWS_NEWLINE_REGEX, type Workspace, type XyConfig, type XyConfigBase, type XyTscConfig, type XyTsupConfig, build, checkResult, clean, cleanAll, cleanDocs, cleanPackage, compile, compileAll, compilePackage, compileTypes, compileTypesAll, compileTypesPackage, copyAssets, createBuildConfig, cycle, dead, defaultBuildConfig, defaultReadFileSyncOptions, deleteGlob, deploy, deployMajor, deployMinor, deployNext, deps, depsAll, depsPackage, detectDuplicateDependencies, dupdeps, empty, fix, genDocs, genDocsAll, genDocsPackage, generateIgnoreFiles, gitignoreGen, gitlint, gitlintFix, isYarnVersionOrGreater, license, lint, lintAllPackages, lintPackage, loadConfig, loadPackageConfig, multiLineToJSONArray, notEmpty, npmignoreGen, packageClean, packageCleanOutputs, packageCleanTypescript, packageCompile, packageCompileTsc, packageCompileTscTypes, packageCompileTsup, packageCompileTypes, packageCopyAssets, packageDeps, packageGenDocs, packageLint, packagePublint, packageRecompile, parsedPackageJSON, processEx, publint, publintAll, publintPackage, readLines, readNonEmptyLines, rebuild, recompile, recompileAll, recompilePackage, reinstall, relint, relintAllPackages, relintPackage, retest, runStepAsync, runSteps, runStepsAsync, runXy, runXyWithWarning, safeExit, safeExitAsync, sonar, statics, test, tryReadFileSync, tsupOptions, union, up, updateYarnPlugins, updateYarnVersion, updo, withErrnoException, withError, writeLines, xy, xyBuildCommands, xyCommonCommands, xyDeployCommands, xyInstallCommands, xyLintCommands, xyParseOptions, yarn3Only, yarnWorkspace, yarnWorkspaces };