@xylabs/ts-scripts-yarn3 6.2.0 → 6.3.0

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 (50) hide show
  1. package/dist/actions/build.mjs +12 -1
  2. package/dist/actions/build.mjs.map +1 -1
  3. package/dist/actions/cycle.mjs +164 -21
  4. package/dist/actions/cycle.mjs.map +1 -1
  5. package/dist/actions/index.mjs +185 -85
  6. package/dist/actions/index.mjs.map +1 -1
  7. package/dist/actions/package/compile/compile.mjs +0 -1
  8. package/dist/actions/package/compile/compile.mjs.map +1 -1
  9. package/dist/actions/package/compile/compileTypes.mjs +0 -1
  10. package/dist/actions/package/compile/compileTypes.mjs.map +1 -1
  11. package/dist/actions/package/compile/index.mjs +0 -1
  12. package/dist/actions/package/compile/index.mjs.map +1 -1
  13. package/dist/actions/package/compile/packageCompileTsup.mjs +0 -1
  14. package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
  15. package/dist/actions/package/cycle.mjs +47 -0
  16. package/dist/actions/package/cycle.mjs.map +1 -0
  17. package/dist/actions/package/index.mjs +42 -1
  18. package/dist/actions/package/index.mjs.map +1 -1
  19. package/dist/actions/package/recompile.mjs +0 -1
  20. package/dist/actions/package/recompile.mjs.map +1 -1
  21. package/dist/bin/package/build-only.mjs +0 -1
  22. package/dist/bin/package/build-only.mjs.map +1 -1
  23. package/dist/bin/package/build.mjs +0 -1
  24. package/dist/bin/package/build.mjs.map +1 -1
  25. package/dist/bin/package/compile-only.mjs +0 -1
  26. package/dist/bin/package/compile-only.mjs.map +1 -1
  27. package/dist/bin/package/compile-tsup.mjs +0 -1
  28. package/dist/bin/package/compile-tsup.mjs.map +1 -1
  29. package/dist/bin/package/compile-types.mjs +0 -1
  30. package/dist/bin/package/compile-types.mjs.map +1 -1
  31. package/dist/bin/package/compile.mjs +0 -1
  32. package/dist/bin/package/compile.mjs.map +1 -1
  33. package/dist/bin/package/cycle.mjs +60 -0
  34. package/dist/bin/package/cycle.mjs.map +1 -0
  35. package/dist/bin/package/recompile.mjs +0 -1
  36. package/dist/bin/package/recompile.mjs.map +1 -1
  37. package/dist/bin/xy.mjs +125 -68
  38. package/dist/bin/xy.mjs.map +1 -1
  39. package/dist/index.d.ts +18 -2
  40. package/dist/index.mjs +198 -98
  41. package/dist/index.mjs.map +1 -1
  42. package/dist/xy/index.mjs +125 -68
  43. package/dist/xy/index.mjs.map +1 -1
  44. package/dist/xy/xy.mjs +125 -68
  45. package/dist/xy/xy.mjs.map +1 -1
  46. package/dist/xy/xyBuildCommands.mjs +12 -1
  47. package/dist/xy/xyBuildCommands.mjs.map +1 -1
  48. package/dist/xy/xyLintCommands.mjs +88 -42
  49. package/dist/xy/xyLintCommands.mjs.map +1 -1
  50. package/package.json +17 -15
package/dist/index.d.ts CHANGED
@@ -67,7 +67,19 @@ interface CopyAssetsParams {
67
67
  }
68
68
  declare const copyAssets: ({ target, pkg }: CopyAssetsParams) => Promise<0 | 1>;
69
69
 
70
- declare const cycle: () => Promise<number>;
70
+ interface CycleParams {
71
+ incremental?: boolean;
72
+ jobs?: number;
73
+ pkg?: string;
74
+ verbose?: boolean;
75
+ }
76
+ interface CyclePackageParams {
77
+ pkg: string;
78
+ verbose?: boolean;
79
+ }
80
+ declare const cycle: ({ verbose, pkg, incremental, jobs, }?: CycleParams) => number;
81
+ declare const cyclePackage: ({ pkg, verbose }: CyclePackageParams) => number;
82
+ declare const cycleAll: ({ jobs, verbose, incremental, }: CycleParams) => number;
71
83
 
72
84
  declare const dead: () => number;
73
85
 
@@ -182,6 +194,10 @@ interface PackageCopyAssetsParams {
182
194
  }
183
195
  declare const packageCopyAssets: ({ target }: PackageCopyAssetsParams) => Promise<1 | 0>;
184
196
 
197
+ declare const packageCycle: ({ verbose }: {
198
+ verbose: boolean;
199
+ }) => Promise<number>;
200
+
185
201
  declare const packageGenDocs: () => Promise<number | undefined>;
186
202
 
187
203
  declare const packageLint: (fix?: boolean, verbose?: boolean, cache?: boolean) => Promise<number>;
@@ -373,4 +389,4 @@ declare const xyLintCommands: (args: Argv) => Argv<{}>;
373
389
 
374
390
  declare const xyParseOptions: () => Argv;
375
391
 
376
- export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileParams, type CompileTypesParams, type CopyAssetsParams, 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, detectDuplicateDependencies, dupdeps, empty, fix, genDocs, genDocsAll, genDocsPackage, generateIgnoreFiles, gitignoreGen, gitlint, gitlintFix, isYarnVersionOrGreater, knip, license, lint, lintAllPackages, lintPackage, loadConfig, loadPackageConfig, multiLineToJSONArray, notEmpty, npmignoreGen, packageClean, packageCleanOutputs, packageCleanTypescript, packageCompile, packageCompileTsc, packageCompileTscTypes, packageCompileTsup, packageCompileTypes, packageCopyAssets, 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 };
392
+ export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileParams, type CompileTypesParams, type CopyAssetsParams, type CycleParams, 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, cycleAll, cyclePackage, dead, defaultBuildConfig, defaultReadFileSyncOptions, deleteGlob, deploy, deployMajor, deployMinor, deployNext, detectDuplicateDependencies, dupdeps, empty, fix, genDocs, genDocsAll, genDocsPackage, generateIgnoreFiles, gitignoreGen, gitlint, gitlintFix, isYarnVersionOrGreater, knip, license, lint, lintAllPackages, lintPackage, loadConfig, loadPackageConfig, multiLineToJSONArray, notEmpty, npmignoreGen, packageClean, packageCleanOutputs, packageCleanTypescript, packageCompile, packageCompileTsc, packageCompileTscTypes, packageCompileTsup, packageCompileTypes, packageCopyAssets, packageCycle, 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 };