@xylabs/ts-scripts-yarn3 6.2.1 → 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.
- package/dist/actions/build.mjs +12 -1
- package/dist/actions/build.mjs.map +1 -1
- package/dist/actions/cycle.mjs +164 -21
- package/dist/actions/cycle.mjs.map +1 -1
- package/dist/actions/index.mjs +185 -85
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/package/compile/compile.mjs +0 -1
- package/dist/actions/package/compile/compile.mjs.map +1 -1
- package/dist/actions/package/compile/compileTypes.mjs +0 -1
- package/dist/actions/package/compile/compileTypes.mjs.map +1 -1
- package/dist/actions/package/compile/index.mjs +0 -1
- package/dist/actions/package/compile/index.mjs.map +1 -1
- package/dist/actions/package/compile/packageCompileTsup.mjs +0 -1
- package/dist/actions/package/compile/packageCompileTsup.mjs.map +1 -1
- package/dist/actions/package/cycle.mjs +47 -0
- package/dist/actions/package/cycle.mjs.map +1 -0
- package/dist/actions/package/index.mjs +42 -1
- package/dist/actions/package/index.mjs.map +1 -1
- package/dist/actions/package/recompile.mjs +0 -1
- package/dist/actions/package/recompile.mjs.map +1 -1
- package/dist/bin/package/build-only.mjs +0 -1
- package/dist/bin/package/build-only.mjs.map +1 -1
- package/dist/bin/package/build.mjs +0 -1
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/compile-only.mjs +0 -1
- package/dist/bin/package/compile-only.mjs.map +1 -1
- package/dist/bin/package/compile-tsup.mjs +0 -1
- package/dist/bin/package/compile-tsup.mjs.map +1 -1
- package/dist/bin/package/compile-types.mjs +0 -1
- package/dist/bin/package/compile-types.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +0 -1
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/cycle.mjs +60 -0
- package/dist/bin/package/cycle.mjs.map +1 -0
- package/dist/bin/package/recompile.mjs +0 -1
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/bin/xy.mjs +125 -68
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.d.ts +18 -2
- package/dist/index.mjs +198 -98
- package/dist/index.mjs.map +1 -1
- package/dist/xy/index.mjs +125 -68
- package/dist/xy/index.mjs.map +1 -1
- package/dist/xy/xy.mjs +125 -68
- package/dist/xy/xy.mjs.map +1 -1
- package/dist/xy/xyBuildCommands.mjs +12 -1
- package/dist/xy/xyBuildCommands.mjs.map +1 -1
- package/dist/xy/xyLintCommands.mjs +88 -42
- package/dist/xy/xyLintCommands.mjs.map +1 -1
- package/package.json +16 -14
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
|
-
|
|
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 };
|