@xylabs/ts-scripts-yarn3 7.2.32 → 7.3.2
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/index.mjs +6 -0
- package/dist/actions/index.mjs.map +1 -1
- package/dist/actions/publish.mjs +98 -0
- package/dist/actions/publish.mjs.map +1 -0
- package/dist/bin/package/clean-outputs.mjs +0 -0
- package/dist/bin/package/clean-typescript.mjs +0 -0
- package/dist/bin/package/compile-tsup.mjs +0 -0
- package/dist/bin/xy.mjs +15 -0
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +16 -0
- package/dist/index.mjs.map +1 -1
- package/dist/xy/index.mjs +15 -0
- package/dist/xy/index.mjs.map +1 -1
- package/dist/xy/xy.mjs +15 -0
- package/dist/xy/xy.mjs.map +1 -1
- package/dist/xy/xyDeployCommands.mjs +15 -0
- package/dist/xy/xyDeployCommands.mjs.map +1 -1
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -346,6 +346,8 @@ declare const publint: ({ verbose, pkg }: PublintParams) => Promise<number>;
|
|
|
346
346
|
declare const publintPackage: ({ pkg }: PublintPackageParams) => Promise<number>;
|
|
347
347
|
declare const publintAll: ({ verbose }: PublintParams) => number;
|
|
348
348
|
|
|
349
|
+
declare const publish: () => number;
|
|
350
|
+
|
|
349
351
|
interface RebuildParams {
|
|
350
352
|
pkg?: string;
|
|
351
353
|
target?: 'esm' | 'cjs';
|
|
@@ -430,4 +432,4 @@ declare const xyLintCommands: (args: Argv) => Argv<{}>;
|
|
|
430
432
|
|
|
431
433
|
declare const xyParseOptions: () => Argv;
|
|
432
434
|
|
|
433
|
-
export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileParams, type CopyAssetsParams, type CycleParams, type DepLintOptions, 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 XyConfigLegacy, type XyTscConfig, type XyTsupConfig, build, bundleDts, checkResult, clean, cleanAll, cleanDocs, cleanPackage, compile, compileAll, compilePackage, copyAssets, createBuildConfig, cycle, cycleAll, cyclePackage, dead, defaultBuildConfig, defaultReadFileSyncOptions, deleteGlob, deplint, 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, 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 };
|
|
435
|
+
export { type BuildParams, CROSS_PLATFORM_NEWLINE, type CleanPackageParams, type CleanParams, type CompileConfig, type CompileParams, type CopyAssetsParams, type CycleParams, type DepLintOptions, 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 XyConfigLegacy, type XyTscConfig, type XyTsupConfig, build, bundleDts, checkResult, clean, cleanAll, cleanDocs, cleanPackage, compile, compileAll, compilePackage, copyAssets, createBuildConfig, cycle, cycleAll, cyclePackage, dead, defaultBuildConfig, defaultReadFileSyncOptions, deleteGlob, deplint, 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, packageCopyAssets, packageCycle, packageGenDocs, packageLint, packagePublint, packageRecompile, parsedPackageJSON, processEx, publint, publintAll, publintPackage, publish, 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 };
|
package/dist/index.mjs
CHANGED
|
@@ -2116,6 +2116,11 @@ var publintAll = ({ verbose }) => {
|
|
|
2116
2116
|
return runSteps("Publint", [["yarn", ["workspaces", "foreach", "-pA", ...verboseOptions, "run", "package-publint"]]]);
|
|
2117
2117
|
};
|
|
2118
2118
|
|
|
2119
|
+
// src/actions/publish.ts
|
|
2120
|
+
var publish = () => {
|
|
2121
|
+
return runSteps("Publish", [["npm", ["publish", "--workspaces"]]]);
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2119
2124
|
// src/actions/rebuild.ts
|
|
2120
2125
|
var rebuild = ({ target }) => {
|
|
2121
2126
|
return runSteps("Rebuild", [
|
|
@@ -2613,6 +2618,16 @@ var xyDeployCommands = (args) => {
|
|
|
2613
2618
|
if (argv.verbose) console.log("Deploy next");
|
|
2614
2619
|
process.exitCode = deployNext();
|
|
2615
2620
|
}
|
|
2621
|
+
).command(
|
|
2622
|
+
"publish",
|
|
2623
|
+
"Publish - Publish packages to npmjs",
|
|
2624
|
+
(yargs2) => {
|
|
2625
|
+
return yargs2;
|
|
2626
|
+
},
|
|
2627
|
+
(argv) => {
|
|
2628
|
+
if (argv.verbose) console.log("Publish packages to npmjs");
|
|
2629
|
+
process.exitCode = publish();
|
|
2630
|
+
}
|
|
2616
2631
|
);
|
|
2617
2632
|
};
|
|
2618
2633
|
|
|
@@ -2931,6 +2946,7 @@ export {
|
|
|
2931
2946
|
publint,
|
|
2932
2947
|
publintAll,
|
|
2933
2948
|
publintPackage,
|
|
2949
|
+
publish,
|
|
2934
2950
|
readLines,
|
|
2935
2951
|
readNonEmptyLines,
|
|
2936
2952
|
rebuild,
|