@xylabs/ts-scripts-yarn3 3.0.0-rc.17 → 3.0.0-rc.19

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 (280) hide show
  1. package/dist/actions/package/compile.js +3 -2
  2. package/dist/actions/package/compile.js.map +1 -1
  3. package/dist/actions/package/compile.mjs +3 -2
  4. package/dist/actions/package/compile.mjs.map +1 -1
  5. package/package.json +4 -4
  6. package/src/actions/package/compile.ts +4 -2
  7. package/dist/actions/build.d.mts +0 -10
  8. package/dist/actions/build.d.ts +0 -10
  9. package/dist/actions/clean-docs.d.mts +0 -3
  10. package/dist/actions/clean-docs.d.ts +0 -3
  11. package/dist/actions/clean-eslint.d.mts +0 -3
  12. package/dist/actions/clean-eslint.d.ts +0 -3
  13. package/dist/actions/clean-jest.d.mts +0 -3
  14. package/dist/actions/clean-jest.d.ts +0 -3
  15. package/dist/actions/clean.d.mts +0 -13
  16. package/dist/actions/clean.d.ts +0 -13
  17. package/dist/actions/compile.d.mts +0 -19
  18. package/dist/actions/compile.d.ts +0 -19
  19. package/dist/actions/copy-assets.d.mts +0 -7
  20. package/dist/actions/copy-assets.d.ts +0 -7
  21. package/dist/actions/cycle.d.mts +0 -3
  22. package/dist/actions/cycle.d.ts +0 -3
  23. package/dist/actions/dead.d.mts +0 -3
  24. package/dist/actions/dead.d.ts +0 -3
  25. package/dist/actions/deploy-major.d.mts +0 -3
  26. package/dist/actions/deploy-major.d.ts +0 -3
  27. package/dist/actions/deploy-minor.d.mts +0 -3
  28. package/dist/actions/deploy-minor.d.ts +0 -3
  29. package/dist/actions/deploy-next.d.mts +0 -3
  30. package/dist/actions/deploy-next.d.ts +0 -3
  31. package/dist/actions/deploy.d.mts +0 -3
  32. package/dist/actions/deploy.d.ts +0 -3
  33. package/dist/actions/deps.d.mts +0 -13
  34. package/dist/actions/deps.d.ts +0 -13
  35. package/dist/actions/dupdeps.d.mts +0 -3
  36. package/dist/actions/dupdeps.d.ts +0 -3
  37. package/dist/actions/fix.d.mts +0 -3
  38. package/dist/actions/fix.d.ts +0 -3
  39. package/dist/actions/gen-docs.d.mts +0 -12
  40. package/dist/actions/gen-docs.d.ts +0 -12
  41. package/dist/actions/gitignore-gen.d.mts +0 -3
  42. package/dist/actions/gitignore-gen.d.ts +0 -3
  43. package/dist/actions/gitlint-fix.d.mts +0 -3
  44. package/dist/actions/gitlint-fix.d.ts +0 -3
  45. package/dist/actions/gitlint.d.mts +0 -3
  46. package/dist/actions/gitlint.d.ts +0 -3
  47. package/dist/actions/index.d.mts +0 -46
  48. package/dist/actions/index.d.ts +0 -46
  49. package/dist/actions/license.d.mts +0 -3
  50. package/dist/actions/license.d.ts +0 -3
  51. package/dist/actions/lint-clean.d.mts +0 -3
  52. package/dist/actions/lint-clean.d.ts +0 -3
  53. package/dist/actions/lint-profile.d.mts +0 -3
  54. package/dist/actions/lint-profile.d.ts +0 -3
  55. package/dist/actions/lint.d.mts +0 -13
  56. package/dist/actions/lint.d.ts +0 -13
  57. package/dist/actions/npmignore-gen.d.mts +0 -3
  58. package/dist/actions/npmignore-gen.d.ts +0 -3
  59. package/dist/actions/package/clean-outputs.d.mts +0 -3
  60. package/dist/actions/package/clean-outputs.d.ts +0 -3
  61. package/dist/actions/package/clean-typescript.d.mts +0 -3
  62. package/dist/actions/package/clean-typescript.d.ts +0 -3
  63. package/dist/actions/package/clean.d.mts +0 -3
  64. package/dist/actions/package/clean.d.ts +0 -3
  65. package/dist/actions/package/compile.d.mts +0 -7
  66. package/dist/actions/package/compile.d.ts +0 -7
  67. package/dist/actions/package/copy-assets.d.mts +0 -6
  68. package/dist/actions/package/copy-assets.d.ts +0 -6
  69. package/dist/actions/package/deps.d.mts +0 -3
  70. package/dist/actions/package/deps.d.ts +0 -3
  71. package/dist/actions/package/gen-docs.d.mts +0 -3
  72. package/dist/actions/package/gen-docs.d.ts +0 -3
  73. package/dist/actions/package/index.d.mts +0 -9
  74. package/dist/actions/package/index.d.ts +0 -9
  75. package/dist/actions/package/publint.d.mts +0 -3
  76. package/dist/actions/package/publint.d.ts +0 -3
  77. package/dist/actions/package/recompile.d.mts +0 -3
  78. package/dist/actions/package/recompile.d.ts +0 -3
  79. package/dist/actions/publint.d.mts +0 -13
  80. package/dist/actions/publint.d.ts +0 -13
  81. package/dist/actions/rebuild.d.mts +0 -7
  82. package/dist/actions/rebuild.d.ts +0 -7
  83. package/dist/actions/recompile.d.mts +0 -17
  84. package/dist/actions/recompile.d.ts +0 -17
  85. package/dist/actions/reinstall.d.mts +0 -3
  86. package/dist/actions/reinstall.d.ts +0 -3
  87. package/dist/actions/relint.d.mts +0 -3
  88. package/dist/actions/relint.d.ts +0 -3
  89. package/dist/actions/retest.d.mts +0 -3
  90. package/dist/actions/retest.d.ts +0 -3
  91. package/dist/actions/sonar.d.mts +0 -3
  92. package/dist/actions/sonar.d.ts +0 -3
  93. package/dist/actions/statics.d.mts +0 -3
  94. package/dist/actions/statics.d.ts +0 -3
  95. package/dist/actions/test.d.mts +0 -3
  96. package/dist/actions/test.d.ts +0 -3
  97. package/dist/actions/up.d.mts +0 -3
  98. package/dist/actions/up.d.ts +0 -3
  99. package/dist/actions/updo.d.mts +0 -3
  100. package/dist/actions/updo.d.ts +0 -3
  101. package/dist/actions/upplug.d.mts +0 -3
  102. package/dist/actions/upplug.d.ts +0 -3
  103. package/dist/actions/upyarn.d.mts +0 -3
  104. package/dist/actions/upyarn.d.ts +0 -3
  105. package/dist/actions/yarn3only.d.mts +0 -3
  106. package/dist/actions/yarn3only.d.ts +0 -3
  107. package/dist/bin/build.d.mts +0 -1
  108. package/dist/bin/build.d.ts +0 -1
  109. package/dist/bin/clean.d.mts +0 -1
  110. package/dist/bin/clean.d.ts +0 -1
  111. package/dist/bin/compile-only.d.mts +0 -1
  112. package/dist/bin/compile-only.d.ts +0 -1
  113. package/dist/bin/compile.d.mts +0 -1
  114. package/dist/bin/compile.d.ts +0 -1
  115. package/dist/bin/cycle.d.mts +0 -1
  116. package/dist/bin/cycle.d.ts +0 -1
  117. package/dist/bin/dead.d.mts +0 -1
  118. package/dist/bin/dead.d.ts +0 -1
  119. package/dist/bin/deploy-major.d.mts +0 -1
  120. package/dist/bin/deploy-major.d.ts +0 -1
  121. package/dist/bin/deploy-minor.d.mts +0 -1
  122. package/dist/bin/deploy-minor.d.ts +0 -1
  123. package/dist/bin/deploy-next.d.mts +0 -1
  124. package/dist/bin/deploy-next.d.ts +0 -1
  125. package/dist/bin/deploy.d.mts +0 -1
  126. package/dist/bin/deploy.d.ts +0 -1
  127. package/dist/bin/deps.d.mts +0 -1
  128. package/dist/bin/deps.d.ts +0 -1
  129. package/dist/bin/fix.d.mts +0 -1
  130. package/dist/bin/fix.d.ts +0 -1
  131. package/dist/bin/gen-docs.d.mts +0 -1
  132. package/dist/bin/gen-docs.d.ts +0 -1
  133. package/dist/bin/gitlint-fix.d.mts +0 -1
  134. package/dist/bin/gitlint-fix.d.ts +0 -1
  135. package/dist/bin/gitlint.d.mts +0 -1
  136. package/dist/bin/gitlint.d.ts +0 -1
  137. package/dist/bin/license.d.mts +0 -1
  138. package/dist/bin/license.d.ts +0 -1
  139. package/dist/bin/lint-clean.d.mts +0 -1
  140. package/dist/bin/lint-clean.d.ts +0 -1
  141. package/dist/bin/lint-fast.d.mts +0 -1
  142. package/dist/bin/lint-fast.d.ts +0 -1
  143. package/dist/bin/lint-profile.d.mts +0 -1
  144. package/dist/bin/lint-profile.d.ts +0 -1
  145. package/dist/bin/lint.d.mts +0 -1
  146. package/dist/bin/lint.d.ts +0 -1
  147. package/dist/bin/package/clean-outputs.d.mts +0 -1
  148. package/dist/bin/package/clean-outputs.d.ts +0 -1
  149. package/dist/bin/package/clean-typescript.d.mts +0 -1
  150. package/dist/bin/package/clean-typescript.d.ts +0 -1
  151. package/dist/bin/package/clean.d.mts +0 -1
  152. package/dist/bin/package/clean.d.ts +0 -1
  153. package/dist/bin/package/compile-only.d.mts +0 -1
  154. package/dist/bin/package/compile-only.d.ts +0 -1
  155. package/dist/bin/package/compile.d.mts +0 -1
  156. package/dist/bin/package/compile.d.ts +0 -1
  157. package/dist/bin/package/copy-assets-cjs.d.mts +0 -1
  158. package/dist/bin/package/copy-assets-cjs.d.ts +0 -1
  159. package/dist/bin/package/copy-assets-esm.d.mts +0 -1
  160. package/dist/bin/package/copy-assets-esm.d.ts +0 -1
  161. package/dist/bin/package/deps.d.mts +0 -1
  162. package/dist/bin/package/deps.d.ts +0 -1
  163. package/dist/bin/package/gen-docs.d.mts +0 -1
  164. package/dist/bin/package/gen-docs.d.ts +0 -1
  165. package/dist/bin/package/publint.d.mts +0 -1
  166. package/dist/bin/package/publint.d.ts +0 -1
  167. package/dist/bin/package/recompile.d.mts +0 -1
  168. package/dist/bin/package/recompile.d.ts +0 -1
  169. package/dist/bin/publint.d.mts +0 -1
  170. package/dist/bin/publint.d.ts +0 -1
  171. package/dist/bin/rebuild.d.mts +0 -1
  172. package/dist/bin/rebuild.d.ts +0 -1
  173. package/dist/bin/recompile.d.mts +0 -1
  174. package/dist/bin/recompile.d.ts +0 -1
  175. package/dist/bin/reinstall.d.mts +0 -1
  176. package/dist/bin/reinstall.d.ts +0 -1
  177. package/dist/bin/relint.d.mts +0 -1
  178. package/dist/bin/relint.d.ts +0 -1
  179. package/dist/bin/sonar.d.mts +0 -1
  180. package/dist/bin/sonar.d.ts +0 -1
  181. package/dist/bin/test.d.mts +0 -1
  182. package/dist/bin/test.d.ts +0 -1
  183. package/dist/bin/up.d.mts +0 -1
  184. package/dist/bin/up.d.ts +0 -1
  185. package/dist/bin/updo.d.mts +0 -1
  186. package/dist/bin/updo.d.ts +0 -1
  187. package/dist/bin/upplug.d.mts +0 -1
  188. package/dist/bin/upplug.d.ts +0 -1
  189. package/dist/bin/upyarn.d.mts +0 -1
  190. package/dist/bin/upyarn.d.ts +0 -1
  191. package/dist/bin/xy-ts.d.mts +0 -1
  192. package/dist/bin/xy-ts.d.ts +0 -1
  193. package/dist/bin/xy.d.mts +0 -1
  194. package/dist/bin/xy.d.ts +0 -1
  195. package/dist/bin/yarn3only.d.mts +0 -1
  196. package/dist/bin/yarn3only.d.ts +0 -1
  197. package/dist/lib/checkResult.d.mts +0 -3
  198. package/dist/lib/checkResult.d.ts +0 -3
  199. package/dist/lib/createBuildConfig.d.mts +0 -3
  200. package/dist/lib/createBuildConfig.d.ts +0 -3
  201. package/dist/lib/defaultBuildConfig.d.mts +0 -10
  202. package/dist/lib/defaultBuildConfig.d.ts +0 -10
  203. package/dist/lib/dependencies/DuplicateDetector.d.mts +0 -10
  204. package/dist/lib/dependencies/DuplicateDetector.d.ts +0 -10
  205. package/dist/lib/dependencies/detectDuplicateDependencies.d.mts +0 -3
  206. package/dist/lib/dependencies/detectDuplicateDependencies.d.ts +0 -3
  207. package/dist/lib/dependencies/index.d.mts +0 -2
  208. package/dist/lib/dependencies/index.d.ts +0 -2
  209. package/dist/lib/file/ReadFileSyncOptions.d.mts +0 -7
  210. package/dist/lib/file/ReadFileSyncOptions.d.ts +0 -7
  211. package/dist/lib/file/constants.d.mts +0 -4
  212. package/dist/lib/file/constants.d.ts +0 -4
  213. package/dist/lib/file/fileLines.d.mts +0 -8
  214. package/dist/lib/file/fileLines.d.ts +0 -8
  215. package/dist/lib/file/index.d.mts +0 -5
  216. package/dist/lib/file/index.d.ts +0 -5
  217. package/dist/lib/file/tryReadFileSync.d.mts +0 -6
  218. package/dist/lib/file/tryReadFileSync.d.ts +0 -6
  219. package/dist/lib/generateIgnoreFiles.d.mts +0 -3
  220. package/dist/lib/generateIgnoreFiles.d.ts +0 -3
  221. package/dist/lib/index.d.mts +0 -29
  222. package/dist/lib/index.d.ts +0 -29
  223. package/dist/lib/jsonFormatters.d.mts +0 -3
  224. package/dist/lib/jsonFormatters.d.ts +0 -3
  225. package/dist/lib/parsedPackageJSON.d.mts +0 -3
  226. package/dist/lib/parsedPackageJSON.d.ts +0 -3
  227. package/dist/lib/processEx.d.mts +0 -3
  228. package/dist/lib/processEx.d.ts +0 -3
  229. package/dist/lib/runSteps.d.mts +0 -6
  230. package/dist/lib/runSteps.d.ts +0 -6
  231. package/dist/lib/runStepsAsync.d.mts +0 -7
  232. package/dist/lib/runStepsAsync.d.ts +0 -7
  233. package/dist/lib/runXy.d.mts +0 -3
  234. package/dist/lib/runXy.d.ts +0 -3
  235. package/dist/lib/runXyWithWarning.d.mts +0 -3
  236. package/dist/lib/runXyWithWarning.d.ts +0 -3
  237. package/dist/lib/safeExit.d.mts +0 -5
  238. package/dist/lib/safeExit.d.ts +0 -5
  239. package/dist/lib/string/empty.d.mts +0 -4
  240. package/dist/lib/string/empty.d.ts +0 -4
  241. package/dist/lib/string/index.d.mts +0 -2
  242. package/dist/lib/string/index.d.ts +0 -2
  243. package/dist/lib/string/union.d.mts +0 -3
  244. package/dist/lib/string/union.d.ts +0 -3
  245. package/dist/lib/withErrnoException.d.mts +0 -3
  246. package/dist/lib/withErrnoException.d.ts +0 -3
  247. package/dist/lib/withError.d.mts +0 -3
  248. package/dist/lib/withError.d.ts +0 -3
  249. package/dist/lib/yarn/index.d.mts +0 -5
  250. package/dist/lib/yarn/index.d.ts +0 -5
  251. package/dist/lib/yarn/isYarnVersionOrGreater.d.mts +0 -3
  252. package/dist/lib/yarn/isYarnVersionOrGreater.d.ts +0 -3
  253. package/dist/lib/yarn/workspace/Workspace.d.mts +0 -6
  254. package/dist/lib/yarn/workspace/Workspace.d.ts +0 -6
  255. package/dist/lib/yarn/workspace/index.d.mts +0 -3
  256. package/dist/lib/yarn/workspace/index.d.ts +0 -3
  257. package/dist/lib/yarn/workspace/yarnWorkspace.d.mts +0 -5
  258. package/dist/lib/yarn/workspace/yarnWorkspace.d.ts +0 -5
  259. package/dist/lib/yarn/workspace/yarnWorkspaces.d.mts +0 -5
  260. package/dist/lib/yarn/workspace/yarnWorkspaces.d.ts +0 -5
  261. package/dist/lib/yarn/yarnInitCwd.d.mts +0 -3
  262. package/dist/lib/yarn/yarnInitCwd.d.ts +0 -3
  263. package/dist/loadPackageConfig.d.mts +0 -8
  264. package/dist/loadPackageConfig.d.ts +0 -8
  265. package/dist/xy/index.d.mts +0 -8
  266. package/dist/xy/index.d.ts +0 -8
  267. package/dist/xy/xy.d.mts +0 -11
  268. package/dist/xy/xy.d.ts +0 -11
  269. package/dist/xy/xyBuildCommands.d.mts +0 -5
  270. package/dist/xy/xyBuildCommands.d.ts +0 -5
  271. package/dist/xy/xyCommonCommands.d.mts +0 -5
  272. package/dist/xy/xyCommonCommands.d.ts +0 -5
  273. package/dist/xy/xyDeployCommands.d.mts +0 -5
  274. package/dist/xy/xyDeployCommands.d.ts +0 -5
  275. package/dist/xy/xyInstallCommands.d.mts +0 -5
  276. package/dist/xy/xyInstallCommands.d.ts +0 -5
  277. package/dist/xy/xyLintCommands.d.mts +0 -5
  278. package/dist/xy/xyLintCommands.d.ts +0 -5
  279. package/dist/xy/xyParseOptions.d.mts +0 -5
  280. package/dist/xy/xyParseOptions.d.ts +0 -5
@@ -1,3 +0,0 @@
1
- declare const checkResult: (name: string, result: number, level?: 'error' | 'warn', exitOnFail?: boolean) => void;
2
-
3
- export { checkResult };
@@ -1,3 +0,0 @@
1
- declare const checkResult: (name: string, result: number, level?: 'error' | 'warn', exitOnFail?: boolean) => void;
2
-
3
- export { checkResult };
@@ -1,3 +0,0 @@
1
- declare const createBuildConfig: (location: string, module: 'ESNext' | 'CommonJS', target: 'ESNext' | 'ES6', outDirSuffix: string) => Record<string, any> | undefined;
2
-
3
- export { createBuildConfig };
@@ -1,3 +0,0 @@
1
- declare const createBuildConfig: (location: string, module: 'ESNext' | 'CommonJS', target: 'ESNext' | 'ES6', outDirSuffix: string) => Record<string, any> | undefined;
2
-
3
- export { createBuildConfig };
@@ -1,10 +0,0 @@
1
- declare const defaultBuildConfig: {
2
- compilerOptions: {
3
- rootDir: string;
4
- rootDirs: string[];
5
- };
6
- exclude: string[];
7
- include: string[];
8
- };
9
-
10
- export { defaultBuildConfig };
@@ -1,10 +0,0 @@
1
- declare const defaultBuildConfig: {
2
- compilerOptions: {
3
- rootDir: string;
4
- rootDirs: string[];
5
- };
6
- exclude: string[];
7
- include: string[];
8
- };
9
-
10
- export { defaultBuildConfig };
@@ -1,10 +0,0 @@
1
- declare class DuplicateDetector {
2
- private dependency;
3
- private dependencyEntries;
4
- constructor(output: string, dependency: string);
5
- detect(): 1 | 0;
6
- private detectReducer;
7
- private resultsFactory;
8
- }
9
-
10
- export { DuplicateDetector };
@@ -1,10 +0,0 @@
1
- declare class DuplicateDetector {
2
- private dependency;
3
- private dependencyEntries;
4
- constructor(output: string, dependency: string);
5
- detect(): 1 | 0;
6
- private detectReducer;
7
- private resultsFactory;
8
- }
9
-
10
- export { DuplicateDetector };
@@ -1,3 +0,0 @@
1
- declare const detectDuplicateDependencies: (depsFromPackageJSON?: string[], DefaultDependencies?: string[]) => number;
2
-
3
- export { detectDuplicateDependencies };
@@ -1,3 +0,0 @@
1
- declare const detectDuplicateDependencies: (depsFromPackageJSON?: string[], DefaultDependencies?: string[]) => number;
2
-
3
- export { detectDuplicateDependencies };
@@ -1,2 +0,0 @@
1
- export { detectDuplicateDependencies } from './detectDuplicateDependencies.mjs';
2
- export { DuplicateDetector } from './DuplicateDetector.mjs';
@@ -1,2 +0,0 @@
1
- export { detectDuplicateDependencies } from './detectDuplicateDependencies.js';
2
- export { DuplicateDetector } from './DuplicateDetector.js';
@@ -1,7 +0,0 @@
1
- type ReadFileSyncOptions = BufferEncoding | {
2
- encoding: BufferEncoding;
3
- flags?: string;
4
- };
5
- declare const defaultReadFileSyncOptions: ReadFileSyncOptions;
6
-
7
- export { ReadFileSyncOptions, defaultReadFileSyncOptions };
@@ -1,7 +0,0 @@
1
- type ReadFileSyncOptions = BufferEncoding | {
2
- encoding: BufferEncoding;
3
- flags?: string;
4
- };
5
- declare const defaultReadFileSyncOptions: ReadFileSyncOptions;
6
-
7
- export { ReadFileSyncOptions, defaultReadFileSyncOptions };
@@ -1,4 +0,0 @@
1
- declare const WINDOWS_NEWLINE_REGEX: RegExp;
2
- declare const CROSS_PLATFORM_NEWLINE = "\n";
3
-
4
- export { CROSS_PLATFORM_NEWLINE, WINDOWS_NEWLINE_REGEX };
@@ -1,4 +0,0 @@
1
- declare const WINDOWS_NEWLINE_REGEX: RegExp;
2
- declare const CROSS_PLATFORM_NEWLINE = "\n";
3
-
4
- export { CROSS_PLATFORM_NEWLINE, WINDOWS_NEWLINE_REGEX };
@@ -1,8 +0,0 @@
1
- import { PathLike, WriteFileOptions } from 'node:fs';
2
- import { ReadFileSyncOptions } from './ReadFileSyncOptions.mjs';
3
-
4
- declare const readLines: (uri: PathLike, options?: ReadFileSyncOptions) => string[];
5
- declare const readNonEmptyLines: (uri: PathLike, options?: ReadFileSyncOptions) => string[];
6
- declare const writeLines: (uri: PathLike, lines: string[], options?: WriteFileOptions) => void;
7
-
8
- export { readLines, readNonEmptyLines, writeLines };
@@ -1,8 +0,0 @@
1
- import { PathLike, WriteFileOptions } from 'node:fs';
2
- import { ReadFileSyncOptions } from './ReadFileSyncOptions.js';
3
-
4
- declare const readLines: (uri: PathLike, options?: ReadFileSyncOptions) => string[];
5
- declare const readNonEmptyLines: (uri: PathLike, options?: ReadFileSyncOptions) => string[];
6
- declare const writeLines: (uri: PathLike, lines: string[], options?: WriteFileOptions) => void;
7
-
8
- export { readLines, readNonEmptyLines, writeLines };
@@ -1,5 +0,0 @@
1
- export { CROSS_PLATFORM_NEWLINE, WINDOWS_NEWLINE_REGEX } from './constants.mjs';
2
- export { readLines, readNonEmptyLines, writeLines } from './fileLines.mjs';
3
- export { ReadFileSyncOptions, defaultReadFileSyncOptions } from './ReadFileSyncOptions.mjs';
4
- export { tryReadFileSync } from './tryReadFileSync.mjs';
5
- import 'node:fs';
@@ -1,5 +0,0 @@
1
- export { CROSS_PLATFORM_NEWLINE, WINDOWS_NEWLINE_REGEX } from './constants.js';
2
- export { readLines, readNonEmptyLines, writeLines } from './fileLines.js';
3
- export { ReadFileSyncOptions, defaultReadFileSyncOptions } from './ReadFileSyncOptions.js';
4
- export { tryReadFileSync } from './tryReadFileSync.js';
5
- import 'node:fs';
@@ -1,6 +0,0 @@
1
- import { PathLike } from 'node:fs';
2
- import { ReadFileSyncOptions } from './ReadFileSyncOptions.mjs';
3
-
4
- declare const tryReadFileSync: (uri: PathLike, options?: ReadFileSyncOptions) => string | undefined;
5
-
6
- export { tryReadFileSync };
@@ -1,6 +0,0 @@
1
- import { PathLike } from 'node:fs';
2
- import { ReadFileSyncOptions } from './ReadFileSyncOptions.js';
3
-
4
- declare const tryReadFileSync: (uri: PathLike, options?: ReadFileSyncOptions) => string | undefined;
5
-
6
- export { tryReadFileSync };
@@ -1,3 +0,0 @@
1
- declare const generateIgnoreFiles: (filename: string, pkg?: string) => 1 | 0;
2
-
3
- export { generateIgnoreFiles };
@@ -1,3 +0,0 @@
1
- declare const generateIgnoreFiles: (filename: string, pkg?: string) => 1 | 0;
2
-
3
- export { generateIgnoreFiles };
@@ -1,29 +0,0 @@
1
- export { checkResult } from './checkResult.mjs';
2
- export { createBuildConfig } from './createBuildConfig.mjs';
3
- export { defaultBuildConfig } from './defaultBuildConfig.mjs';
4
- export { detectDuplicateDependencies } from './dependencies/detectDuplicateDependencies.mjs';
5
- export { DuplicateDetector } from './dependencies/DuplicateDetector.mjs';
6
- export { CROSS_PLATFORM_NEWLINE, WINDOWS_NEWLINE_REGEX } from './file/constants.mjs';
7
- export { readLines, readNonEmptyLines, writeLines } from './file/fileLines.mjs';
8
- export { ReadFileSyncOptions, defaultReadFileSyncOptions } from './file/ReadFileSyncOptions.mjs';
9
- export { tryReadFileSync } from './file/tryReadFileSync.mjs';
10
- export { generateIgnoreFiles } from './generateIgnoreFiles.mjs';
11
- export { multiLineToJSONArray } from './jsonFormatters.mjs';
12
- export { parsedPackageJSON } from './parsedPackageJSON.mjs';
13
- export { processEx } from './processEx.mjs';
14
- export { ScriptStep, runSteps } from './runSteps.mjs';
15
- export { runStepAsync, runStepsAsync } from './runStepsAsync.mjs';
16
- export { runXy } from './runXy.mjs';
17
- export { runXyWithWarning } from './runXyWithWarning.mjs';
18
- export { safeExit, safeExitAsync } from './safeExit.mjs';
19
- export { empty, notEmpty } from './string/empty.mjs';
20
- export { union } from './string/union.mjs';
21
- export { withErrnoException } from './withErrnoException.mjs';
22
- export { withError } from './withError.mjs';
23
- export { isYarnVersionOrGreater } from './yarn/isYarnVersionOrGreater.mjs';
24
- export { Workspace } from './yarn/workspace/Workspace.mjs';
25
- export { yarnWorkspace } from './yarn/workspace/yarnWorkspace.mjs';
26
- export { yarnWorkspaces } from './yarn/workspace/yarnWorkspaces.mjs';
27
- export { INIT_CWD } from './yarn/yarnInitCwd.mjs';
28
- import 'node:fs';
29
- import 'child_process';
@@ -1,29 +0,0 @@
1
- export { checkResult } from './checkResult.js';
2
- export { createBuildConfig } from './createBuildConfig.js';
3
- export { defaultBuildConfig } from './defaultBuildConfig.js';
4
- export { detectDuplicateDependencies } from './dependencies/detectDuplicateDependencies.js';
5
- export { DuplicateDetector } from './dependencies/DuplicateDetector.js';
6
- export { CROSS_PLATFORM_NEWLINE, WINDOWS_NEWLINE_REGEX } from './file/constants.js';
7
- export { readLines, readNonEmptyLines, writeLines } from './file/fileLines.js';
8
- export { ReadFileSyncOptions, defaultReadFileSyncOptions } from './file/ReadFileSyncOptions.js';
9
- export { tryReadFileSync } from './file/tryReadFileSync.js';
10
- export { generateIgnoreFiles } from './generateIgnoreFiles.js';
11
- export { multiLineToJSONArray } from './jsonFormatters.js';
12
- export { parsedPackageJSON } from './parsedPackageJSON.js';
13
- export { processEx } from './processEx.js';
14
- export { ScriptStep, runSteps } from './runSteps.js';
15
- export { runStepAsync, runStepsAsync } from './runStepsAsync.js';
16
- export { runXy } from './runXy.js';
17
- export { runXyWithWarning } from './runXyWithWarning.js';
18
- export { safeExit, safeExitAsync } from './safeExit.js';
19
- export { empty, notEmpty } from './string/empty.js';
20
- export { union } from './string/union.js';
21
- export { withErrnoException } from './withErrnoException.js';
22
- export { withError } from './withError.js';
23
- export { isYarnVersionOrGreater } from './yarn/isYarnVersionOrGreater.js';
24
- export { Workspace } from './yarn/workspace/Workspace.js';
25
- export { yarnWorkspace } from './yarn/workspace/yarnWorkspace.js';
26
- export { yarnWorkspaces } from './yarn/workspace/yarnWorkspaces.js';
27
- export { INIT_CWD } from './yarn/yarnInitCwd.js';
28
- import 'node:fs';
29
- import 'child_process';
@@ -1,3 +0,0 @@
1
- declare const multiLineToJSONArray: (output: string) => any;
2
-
3
- export { multiLineToJSONArray };
@@ -1,3 +0,0 @@
1
- declare const multiLineToJSONArray: (output: string) => any;
2
-
3
- export { multiLineToJSONArray };
@@ -1,3 +0,0 @@
1
- declare const parsedPackageJSON: (path?: string) => any;
2
-
3
- export { parsedPackageJSON };
@@ -1,3 +0,0 @@
1
- declare const parsedPackageJSON: (path?: string) => any;
2
-
3
- export { parsedPackageJSON };
@@ -1,3 +0,0 @@
1
- declare const processEx: (ex: any) => never;
2
-
3
- export { processEx };
@@ -1,3 +0,0 @@
1
- declare const processEx: (ex: any) => never;
2
-
3
- export { processEx };
@@ -1,6 +0,0 @@
1
- import { SpawnSyncOptionsWithBufferEncoding } from 'child_process';
2
-
3
- type ScriptStep = [/*command*/ /*command*/ 'yarn' | 'node' | 'ts-node-script' | 'tsc' | 'jest', /*arg*/ /*arg*/ string | string[]] | [/*command*/ string, /*arg*/ /*arg*/ string | string[], /*config*/ SpawnSyncOptionsWithBufferEncoding];
4
- declare const runSteps: (name: string, steps: ScriptStep[], exitOnFail?: boolean, messages?: string[]) => number;
5
-
6
- export { ScriptStep, runSteps };
@@ -1,6 +0,0 @@
1
- import { SpawnSyncOptionsWithBufferEncoding } from 'child_process';
2
-
3
- type ScriptStep = [/*command*/ /*command*/ 'yarn' | 'node' | 'ts-node-script' | 'tsc' | 'jest', /*arg*/ /*arg*/ string | string[]] | [/*command*/ string, /*arg*/ /*arg*/ string | string[], /*config*/ SpawnSyncOptionsWithBufferEncoding];
4
- declare const runSteps: (name: string, steps: ScriptStep[], exitOnFail?: boolean, messages?: string[]) => number;
5
-
6
- export { ScriptStep, runSteps };
@@ -1,7 +0,0 @@
1
- import { ScriptStep } from './runSteps.mjs';
2
- import 'child_process';
3
-
4
- declare const runStepAsync: (name: string, step: ScriptStep, exitOnFail?: boolean, message?: string) => Promise<number>;
5
- declare const runStepsAsync: (name: string, steps: ScriptStep[], exitOnFail?: boolean, messages?: string[]) => Promise<number>;
6
-
7
- export { runStepAsync, runStepsAsync };
@@ -1,7 +0,0 @@
1
- import { ScriptStep } from './runSteps.js';
2
- import 'child_process';
3
-
4
- declare const runStepAsync: (name: string, step: ScriptStep, exitOnFail?: boolean, message?: string) => Promise<number>;
5
- declare const runStepsAsync: (name: string, steps: ScriptStep[], exitOnFail?: boolean, messages?: string[]) => Promise<number>;
6
-
7
- export { runStepAsync, runStepsAsync };
@@ -1,3 +0,0 @@
1
- declare const runXy: (command: string) => number;
2
-
3
- export { runXy };
@@ -1,3 +0,0 @@
1
- declare const runXy: (command: string) => number;
2
-
3
- export { runXy };
@@ -1,3 +0,0 @@
1
- declare const runXyWithWarning: (command: string) => number;
2
-
3
- export { runXyWithWarning };
@@ -1,3 +0,0 @@
1
- declare const runXyWithWarning: (command: string) => number;
2
-
3
- export { runXyWithWarning };
@@ -1,5 +0,0 @@
1
- /** Catch child process a crash and returns the code */
2
- declare const safeExit: (func: () => number, exitOnFail?: boolean) => number;
3
- declare const safeExitAsync: (func: () => Promise<number>, exitOnFail?: boolean) => Promise<number>;
4
-
5
- export { safeExit, safeExitAsync };
@@ -1,5 +0,0 @@
1
- /** Catch child process a crash and returns the code */
2
- declare const safeExit: (func: () => number, exitOnFail?: boolean) => number;
3
- declare const safeExitAsync: (func: () => Promise<number>, exitOnFail?: boolean) => Promise<number>;
4
-
5
- export { safeExit, safeExitAsync };
@@ -1,4 +0,0 @@
1
- declare const empty: (value?: string | undefined) => boolean;
2
- declare const notEmpty: (value?: string | undefined) => boolean;
3
-
4
- export { empty, notEmpty };
@@ -1,4 +0,0 @@
1
- declare const empty: (value?: string | undefined) => boolean;
2
- declare const notEmpty: (value?: string | undefined) => boolean;
3
-
4
- export { empty, notEmpty };
@@ -1,2 +0,0 @@
1
- export { empty, notEmpty } from './empty.mjs';
2
- export { union } from './union.mjs';
@@ -1,2 +0,0 @@
1
- export { empty, notEmpty } from './empty.js';
2
- export { union } from './union.js';
@@ -1,3 +0,0 @@
1
- declare const union: (a: string[], b: string[]) => Set<string>;
2
-
3
- export { union };
@@ -1,3 +0,0 @@
1
- declare const union: (a: string[], b: string[]) => Set<string>;
2
-
3
- export { union };
@@ -1,3 +0,0 @@
1
- declare const withErrnoException: <T extends NodeJS.ErrnoException = NodeJS.ErrnoException>(ex: any, closure: (error: T) => number) => number | undefined;
2
-
3
- export { withErrnoException };
@@ -1,3 +0,0 @@
1
- declare const withErrnoException: <T extends NodeJS.ErrnoException = NodeJS.ErrnoException>(ex: any, closure: (error: T) => number) => number | undefined;
2
-
3
- export { withErrnoException };
@@ -1,3 +0,0 @@
1
- declare const withError: <T extends Error = Error>(ex: any, closure: (error: T) => number, predicate?: (ex: T) => boolean) => number | undefined;
2
-
3
- export { withError };
@@ -1,3 +0,0 @@
1
- declare const withError: <T extends Error = Error>(ex: any, closure: (error: T) => number, predicate?: (ex: T) => boolean) => number | undefined;
2
-
3
- export { withError };
@@ -1,5 +0,0 @@
1
- export { isYarnVersionOrGreater } from './isYarnVersionOrGreater.mjs';
2
- export { Workspace } from './workspace/Workspace.mjs';
3
- export { yarnWorkspace } from './workspace/yarnWorkspace.mjs';
4
- export { yarnWorkspaces } from './workspace/yarnWorkspaces.mjs';
5
- export { INIT_CWD } from './yarnInitCwd.mjs';
@@ -1,5 +0,0 @@
1
- export { isYarnVersionOrGreater } from './isYarnVersionOrGreater.js';
2
- export { Workspace } from './workspace/Workspace.js';
3
- export { yarnWorkspace } from './workspace/yarnWorkspace.js';
4
- export { yarnWorkspaces } from './workspace/yarnWorkspaces.js';
5
- export { INIT_CWD } from './yarnInitCwd.js';
@@ -1,3 +0,0 @@
1
- declare const isYarnVersionOrGreater: (major: number, minor?: number, patch?: number) => [boolean, string];
2
-
3
- export { isYarnVersionOrGreater };
@@ -1,3 +0,0 @@
1
- declare const isYarnVersionOrGreater: (major: number, minor?: number, patch?: number) => [boolean, string];
2
-
3
- export { isYarnVersionOrGreater };
@@ -1,6 +0,0 @@
1
- interface Workspace {
2
- location: string;
3
- name: string;
4
- }
5
-
6
- export { Workspace };
@@ -1,6 +0,0 @@
1
- interface Workspace {
2
- location: string;
3
- name: string;
4
- }
5
-
6
- export { Workspace };
@@ -1,3 +0,0 @@
1
- export { Workspace } from './Workspace.mjs';
2
- export { yarnWorkspace } from './yarnWorkspace.mjs';
3
- export { yarnWorkspaces } from './yarnWorkspaces.mjs';
@@ -1,3 +0,0 @@
1
- export { Workspace } from './Workspace.js';
2
- export { yarnWorkspace } from './yarnWorkspace.js';
3
- export { yarnWorkspaces } from './yarnWorkspaces.js';
@@ -1,5 +0,0 @@
1
- import { Workspace } from './Workspace.mjs';
2
-
3
- declare const yarnWorkspace: (pkg: string) => Workspace;
4
-
5
- export { yarnWorkspace };
@@ -1,5 +0,0 @@
1
- import { Workspace } from './Workspace.js';
2
-
3
- declare const yarnWorkspace: (pkg: string) => Workspace;
4
-
5
- export { yarnWorkspace };
@@ -1,5 +0,0 @@
1
- import { Workspace } from './Workspace.mjs';
2
-
3
- declare const yarnWorkspaces: () => Workspace[];
4
-
5
- export { yarnWorkspaces };
@@ -1,5 +0,0 @@
1
- import { Workspace } from './Workspace.js';
2
-
3
- declare const yarnWorkspaces: () => Workspace[];
4
-
5
- export { yarnWorkspaces };
@@ -1,3 +0,0 @@
1
- declare const INIT_CWD: () => string | undefined;
2
-
3
- export { INIT_CWD };
@@ -1,3 +0,0 @@
1
- declare const INIT_CWD: () => string | undefined;
2
-
3
- export { INIT_CWD };
@@ -1,8 +0,0 @@
1
- import { PackageJson } from 'types-package-json';
2
-
3
- type PackageJsonEx = PackageJson & {
4
- type: 'module' | 'commonjs';
5
- };
6
- declare const loadPackageConfig: () => Promise<PackageJsonEx>;
7
-
8
- export { PackageJsonEx, loadPackageConfig };
@@ -1,8 +0,0 @@
1
- import { PackageJson } from 'types-package-json';
2
-
3
- type PackageJsonEx = PackageJson & {
4
- type: 'module' | 'commonjs';
5
- };
6
- declare const loadPackageConfig: () => Promise<PackageJsonEx>;
7
-
8
- export { PackageJsonEx, loadPackageConfig };
@@ -1,8 +0,0 @@
1
- export { xy } from './xy.mjs';
2
- export { xyBuildCommands } from './xyBuildCommands.mjs';
3
- export { xyCommonCommands } from './xyCommonCommands.mjs';
4
- export { xyDeployCommands } from './xyDeployCommands.mjs';
5
- export { xyInstallCommands } from './xyInstallCommands.mjs';
6
- export { xyLintCommands } from './xyLintCommands.mjs';
7
- export { xyParseOptions } from './xyParseOptions.mjs';
8
- import 'yargs';
@@ -1,8 +0,0 @@
1
- export { xy } from './xy.js';
2
- export { xyBuildCommands } from './xyBuildCommands.js';
3
- export { xyCommonCommands } from './xyCommonCommands.js';
4
- export { xyDeployCommands } from './xyDeployCommands.js';
5
- export { xyInstallCommands } from './xyInstallCommands.js';
6
- export { xyLintCommands } from './xyLintCommands.js';
7
- export { xyParseOptions } from './xyParseOptions.js';
8
- import 'yargs';
package/dist/xy/xy.d.mts DELETED
@@ -1,11 +0,0 @@
1
- declare const xy: () => {
2
- [x: string]: unknown;
3
- _: (string | number)[];
4
- $0: string;
5
- } | Promise<{
6
- [x: string]: unknown;
7
- _: (string | number)[];
8
- $0: string;
9
- }>;
10
-
11
- export { xy };
package/dist/xy/xy.d.ts DELETED
@@ -1,11 +0,0 @@
1
- declare const xy: () => {
2
- [x: string]: unknown;
3
- _: (string | number)[];
4
- $0: string;
5
- } | Promise<{
6
- [x: string]: unknown;
7
- _: (string | number)[];
8
- $0: string;
9
- }>;
10
-
11
- export { xy };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyBuildCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyBuildCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyBuildCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyBuildCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyCommonCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyCommonCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyCommonCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyCommonCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyDeployCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyDeployCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyDeployCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyDeployCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyInstallCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyInstallCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyInstallCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyInstallCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyLintCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyLintCommands };
@@ -1,5 +0,0 @@
1
- import { Argv } from 'yargs';
2
-
3
- declare const xyLintCommands: (args: Argv) => Argv<{}>;
4
-
5
- export { xyLintCommands };