@icebreakers/monorepo 5.8.1 → 5.10.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/{baseline-Cnw2O2JV.mjs → baseline-BlxungFN.mjs} +1 -1
- package/dist/{catalog-DWrBLClC.mjs → catalog-CQZ5CVOo.mjs} +3 -3
- package/dist/cli.mjs +377 -65
- package/dist/{commands-CayOzFY-.mjs → commands-B8PCzovx.mjs} +747 -126
- package/dist/{config-BfvlEAis.mjs → config-CSFv-i8P.mjs} +3 -3
- package/dist/{create-flow-CmbddTMr.mjs → create-flow-BCK_XMR0.mjs} +3 -3
- package/dist/{deps-C-9vium9.mjs → deps-DevSlsLS.mjs} +3 -3
- package/dist/{execute-DT-DjHFK.mjs → execute-Cv2NP1bu.mjs} +2 -2
- package/dist/{execute-NrC2ym6M.mjs → execute-kNjCRTO6.mjs} +2 -2
- package/dist/{format-4H_J7wGG.mjs → format-cnhwJird.mjs} +1 -1
- package/dist/{index-D61zjikU.d.mts → index-VZQIHM49.d.mts} +10 -1
- package/dist/index.d.mts +30 -3
- package/dist/index.mjs +9 -9
- package/dist/{inputs-hoTJICnb.mjs → inputs-B-Rksu2z.mjs} +1 -1
- package/dist/{npm-CjOsZ7tH.mjs → npm-Bpa3MkM-.mjs} +2 -2
- package/dist/{plan-BA_10vfL.mjs → plan-X3Duh8-J.mjs} +1 -1
- package/dist/{run-ohOkzTLN.mjs → run-DYYWhKQC.mjs} +4 -4
- package/dist/{save-HSOp4zHC.mjs → save-_0MWD4aR.mjs} +3 -3
- package/dist/{scan-gJt1WqW4.mjs → scan-Cp_-_wVJ.mjs} +7 -2
- package/dist/{template-drift-D8CpRENe.mjs → template-drift-DFlrYma0.mjs} +3 -3
- package/dist/tooling-entry.d.mts +1 -1
- package/dist/tooling-entry.mjs +2 -2
- package/dist/{transaction-CkjiAvNJ.mjs → transaction-Y0NQLCUf.mjs} +2 -2
- package/dist/{tsconfig-01vm_d3r.mjs → tsconfig--yFOJ-F0.mjs} +11 -4
- package/dist/{vitest-WPpMJqzw.mjs → vitest-WDIpuaQL.mjs} +1 -1
- package/dist/{workspace-tasks-BPSq4jjn.mjs → workspace-tasks-Cjlcu-SJ.mjs} +5 -5
- package/package.json +3 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ht as clearWorkspaceCache, Wt as getWorkspacePackageSummaries, rt as hash } from "./workspace-tasks-
|
|
2
|
-
import { t as knipConfigurationInputs } from "./inputs-
|
|
3
|
-
import { knipRoot } from "./plan-
|
|
1
|
+
import { Ht as clearWorkspaceCache, Wt as getWorkspacePackageSummaries, rt as hash } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { t as knipConfigurationInputs } from "./inputs-B-Rksu2z.mjs";
|
|
3
|
+
import { knipRoot } from "./plan-X3Duh8-J.mjs";
|
|
4
4
|
//#region src/commands/check/knip/config.ts
|
|
5
5
|
/** Return native settings for manual merging; existing Knip config always remains authoritative. */
|
|
6
6
|
async function getKnipConfigurationSuggestions(cwd) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { St as localize, jt as fs$1 } from "./workspace-tasks-
|
|
2
|
-
import { f as logger } from "./execute-
|
|
3
|
-
import { Ct as defaultTemplate, St as createNewProject, jt as loadTemplateCatalogContext, kt as createTemplateCatalog, wt as resolveCreateNewProjectPlan } from "./commands-
|
|
1
|
+
import { St as localize, jt as fs$1 } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { f as logger } from "./execute-kNjCRTO6.mjs";
|
|
3
|
+
import { Ct as defaultTemplate, St as createNewProject, jt as loadTemplateCatalogContext, kt as createTemplateCatalog, wt as resolveCreateNewProjectPlan } from "./commands-B8PCzovx.mjs";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { Ht as clearWorkspaceCache, St as localize } from "./workspace-tasks-
|
|
3
|
-
import { t as scanDependencies } from "./scan-
|
|
4
|
-
import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-
|
|
2
|
+
import { Ht as clearWorkspaceCache, St as localize } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
3
|
+
import { t as scanDependencies } from "./scan-Cp_-_wVJ.mjs";
|
|
4
|
+
import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-Y0NQLCUf.mjs";
|
|
5
5
|
import { isDeepStrictEqual } from "node:util";
|
|
6
6
|
//#region src/commands/deps/apply.ts
|
|
7
7
|
async function applyDependencyFixPlan(cwd, plan) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { St as localize, jt as fs } from "./workspace-tasks-
|
|
2
|
-
import { f as logger, t as runCheckWithReport } from "./execute-
|
|
1
|
+
import { St as localize, jt as fs } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { f as logger, t as runCheckWithReport } from "./execute-kNjCRTO6.mjs";
|
|
3
3
|
import { t as formatAffectedCheckPlan } from "./cli.mjs";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import process from "node:process";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as signalExitCode, J as getWorkspaceGraph, St as localize, V as executeCheckTask, Z as getWorkspaceImpact, jt as fs$1, tt as resolveWorkspaceGraphNode } from "./workspace-tasks-
|
|
2
|
-
import { d as loadMonorepoConfig, m as resolveToolingConfig } from "./tsconfig-
|
|
1
|
+
import { H as signalExitCode, J as getWorkspaceGraph, St as localize, V as executeCheckTask, Z as getWorkspaceImpact, jt as fs$1, tt as resolveWorkspaceGraphNode } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { d as loadMonorepoConfig, m as resolveToolingConfig } from "./tsconfig--yFOJ-F0.mjs";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import { createConsola } from "consola";
|
|
5
5
|
import { execFileSync, spawnSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as localize } from "./workspace-tasks-
|
|
1
|
+
import { St as localize } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
2
|
//#region src/commands/check/cache/format.ts
|
|
3
3
|
function label(value, markdown) {
|
|
4
4
|
return markdown ? value.replace(/[\\`*_{}[\]()#+.!|<>~-]/gu, "\\$&") : value;
|
|
@@ -1413,7 +1413,16 @@ interface ReleaseAfterPublishHookConfig {
|
|
|
1413
1413
|
*/
|
|
1414
1414
|
continueOnError?: boolean;
|
|
1415
1415
|
}
|
|
1416
|
+
interface ReleaseRegistryConfig {
|
|
1417
|
+
/** Maximum simultaneous registry queries. @default 4 */
|
|
1418
|
+
concurrency?: number;
|
|
1419
|
+
/** Per-request timeout, bounded by the remaining visibility budget. @default 10000 */
|
|
1420
|
+
requestTimeoutMs?: number;
|
|
1421
|
+
/** Total visibility confirmation budget. @default 900000 */
|
|
1422
|
+
visibilityTimeoutMs?: number;
|
|
1423
|
+
}
|
|
1416
1424
|
interface ReleaseCommandConfig {
|
|
1425
|
+
registry?: ReleaseRegistryConfig;
|
|
1417
1426
|
/** Stable, maintenance and prerelease branch mappings. */
|
|
1418
1427
|
branches?: ReleaseBranchesConfig;
|
|
1419
1428
|
/**
|
|
@@ -2147,4 +2156,4 @@ declare function createMonorepoVitestProjectConfig(options?: MonorepoVitestProje
|
|
|
2147
2156
|
*/
|
|
2148
2157
|
declare function defineVitestProjectConfig(input?: DefineVitestProjectConfigOptions): Promise<MonorepoVitestProjectConfigResult>;
|
|
2149
2158
|
//#endregion
|
|
2150
|
-
export {
|
|
2159
|
+
export { ReleaseRegistryConfig as $, TemplateCatalog as $n, WorkspaceData as $t, MonorepoVitestProjectConfigResult as A, DoctorSuppression as An, DependencyProtocol as Ar, PublicApiPackageConfig as At, WorkspaceRemovalFile as B, CreateNewProjectOptions as Bn, WorkspaceBoundaryRule as Bt, MonorepoLintStagedConfigOptions as C, DoctorCheck as Cn, DependencyApplyResult as Cr, ProjectReferencesOperation as Ct, MonorepoVitestConfigOverrides as D, DoctorSuppressionReport as Dn, DependencyFixPlan as Dr, PublicApiEntryConfig as Dt, MonorepoVitestConfigOptions as E, DoctorSummary as En, DependencyFixOptions as Er, PublicApiDiagnostic as Et, WorkspaceMovePlan as F, DependencyAdmissionOptions as Fn, BoundarySeverity as Ft, CreateChoiceOption as G, TemplateSourceOptions as Gn, WorkspaceGraphEdge as Gt, WorkspaceRemovalPlan as H, resolveCreateNewProjectPlan as Hn, WorkspaceDependencyType as Ht, WorkspaceMoveResult as I, DependencyAdmissionReport as In, WorkspaceBoundariesConfig as It, MirrorCommandConfig as J, getTemplateMap as Jn, WorkspaceGraphOptions as Jt, CreateCommandConfig as K, TemplateSourceRequest as Kn, WorkspaceGraphFilter as Kt, WorkspaceMoveReview as L, DependencyAdmissionRule as Ln, WorkspaceBoundariesReport as Lt, SimpleGit as M, DependencyAdmissionConfig as Mn, DependencySection as Mr, PublicApiUpdatePlan as Mt, SimpleGitOptions as N, DependencyAdmissionException as Nn, DependencyVersionGroup as Nr, PublicApiUpdateResult as Nt, MonorepoVitestConfigResult as O, DoctorCommandConfig as On, DependencyGroupStatus as Or, PublicApiEntryReport as Ot, WorkspaceMoveOptions as P, DependencyAdmissionFinding as Pn, CleanCommandConfig as Pt, ReleaseCommandConfig as Q, ResolveTemplateCatalogOptions as Qn, GetWorkspacePackagesOptions as Qt, WorkspaceRemovalBlocker as R, applyCreateNewProjectPlan as Rn, WorkspaceBoundaryException as Rt, MonorepoLintStagedConfig as S, InstallSecuritySetting as Sn, DependenciesCommandConfig as Sr, ProjectReferencesDiagnostic as St, MonorepoTsconfig as T, DoctorStatus as Tn, DependencyFileChange as Tr, PublicApiConfig as Tt, WorkspaceRemovalResult as U, resolveRemoteTemplateSource as Un, WorkspaceGraph as Ut, WorkspaceRemovalOptions as V, CreateNewProjectPlan as Vn, WorkspaceBoundarySelector as Vt, AiCommandConfig as W, ResolvedTemplateSource as Wn, WorkspaceGraphDiagnostic as Wt, UpgradeCommandConfig as X, resolveTemplateCatalog as Xn, WorkspaceImpactResult as Xt, MonorepoConfig as Y, templateMap as Yn, WorkspaceImpactOptions as Yt, ReleaseAfterPublishHookConfig as Z, CreateTemplateDefinition as Zn, WorkspaceWhyResult as Zt, DefineEslintConfigOptions as _, InstallPolicyKey as _n, defaultAgenticBaseDir as _r, VitestProjectToolingConfig as _t, createMonorepoTsconfig as a, CodeownersConfig as an, OrganizationPresetAsset as ar, EnvCacheOptions as at, MonorepoCommitlintConfig as b, InstallSecurityPresetPlan as bn, loadAgenticTasks as br, ProjectReferencesCheck as bt, createMonorepoCommitlintConfig as c, CodeownersPlan as cn, OrganizationPresetManifest as cr, EnvCacheTask as ct, defineCommitlintConfig as d, init as dn, OrganizationPresetSource as dr, EslintToolingConfig as dt, WorkspacePackage as en, TemplateCatalogDiagnostic as er, ReleaseBranchRule as et, defineEslintConfig as f, initMetadata as fn, OrganizationPresetTemplate as fr, HuskyToolingConfig as ft, DefineConfigOptions as g, InstallBuildDecision as gn, createTimestampFolderName as gr, TsconfigToolingConfig as gt, defineLintStagedConfig as h, initToolingTargets as hn, GenerateAgenticTemplateOptions as hr, ToolingConfig as ht, defineVitestProjectConfig as i, WorkspacePackageWithJsonPath as in, ConfigValueSource as ir, EnvCacheFinding as it, ConfigValues as j, AdmissionDeclaration as jn, DependencyReport as jr, PublicApiReport as jt, MonorepoVitestProjectConfigOptions as k, DoctorOptions as kn, DependencyOccurrence as kr, PublicApiOptions as kt, createMonorepoEslintConfig as l, CodeownersReport as ln, OrganizationPresetReference as lr, EnvCacheVariable as lt, createMonorepoLintStagedConfig as m, normalizeInitToolingTargets as mn, AgenticTemplateTask as mr, StylelintToolingConfig as mt, createMonorepoVitestProjectConfig as n, WorkspacePackageSummary as nn, ConfigDiagnostic as nr, EnvCacheConfig as nt, defineTsconfigConfig as o, CodeownersDiagnostic as on, OrganizationPresetDiagnostic as or, EnvCacheReport as ot, defineStylelintConfig as p, initTooling as pn, AgenticTemplateFormat as pr, LintStagedToolingConfig as pt, InitCommandConfig as q, getCreateChoices as qn, WorkspaceGraphNode as qt, defineVitestConfig as r, WorkspacePackageSummaryData as rn, ConfigSourceLayer as rr, EnvCacheEvidence as rt, loadMonorepoToolingConfig as s, CodeownersOptions as sn, OrganizationPresetLayer as sr, EnvCacheSuppression as st, createMonorepoVitestConfig as t, WorkspacePackageManifest as tn, TemplateCatalogEntry as tr, ReleaseBranchesConfig as tt, createMonorepoStylelintConfig as u, WorkspaceOwnership as un, OrganizationPresetResolution as ur, CommitlintToolingConfig as ut, DefineVitestConfigOptions as v, InstallSecurityExpectations as vn, generateAgenticTemplate as vr, VitestToolingConfig as vt, MonorepoStylelintConfig as w, DoctorReport as wn, DependencyConsistencyGroup as wr, ProjectReferencesPlan as wt, MonorepoEslintConfig as x, InstallSecurityReport as xn, CliOpts as xr, ProjectReferencesConfig as xt, DefineVitestProjectConfigOptions as y, InstallSecurityOptions as yn, generateAgenticTemplates as yr, ProjectReferencesApplyResult as yt, WorkspaceRemovalEntry as z, createNewProject as zn, WorkspaceBoundaryFinding as zt };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as ReleaseRegistryConfig, $n as TemplateCatalog, $t as WorkspaceData, A as MonorepoVitestProjectConfigResult, An as DoctorSuppression, Ar as DependencyProtocol, At as PublicApiPackageConfig, B as WorkspaceRemovalFile, Bn as CreateNewProjectOptions, Bt as WorkspaceBoundaryRule, C as MonorepoLintStagedConfigOptions, Cn as DoctorCheck, Cr as DependencyApplyResult, Ct as ProjectReferencesOperation, D as MonorepoVitestConfigOverrides, Dn as DoctorSuppressionReport, Dr as DependencyFixPlan, Dt as PublicApiEntryConfig, E as MonorepoVitestConfigOptions, En as DoctorSummary, Er as DependencyFixOptions, Et as PublicApiDiagnostic, F as WorkspaceMovePlan, Fn as DependencyAdmissionOptions, Ft as BoundarySeverity, G as CreateChoiceOption, Gn as TemplateSourceOptions, Gt as WorkspaceGraphEdge, H as WorkspaceRemovalPlan, Hn as resolveCreateNewProjectPlan, Ht as WorkspaceDependencyType, I as WorkspaceMoveResult, In as DependencyAdmissionReport, It as WorkspaceBoundariesConfig, J as MirrorCommandConfig, Jn as getTemplateMap, Jt as WorkspaceGraphOptions, K as CreateCommandConfig, Kn as TemplateSourceRequest, Kt as WorkspaceGraphFilter, L as WorkspaceMoveReview, Ln as DependencyAdmissionRule, Lt as WorkspaceBoundariesReport, M as SimpleGit, Mn as DependencyAdmissionConfig, Mr as DependencySection, Mt as PublicApiUpdatePlan, N as SimpleGitOptions, Nn as DependencyAdmissionException, Nr as DependencyVersionGroup, Nt as PublicApiUpdateResult, O as MonorepoVitestConfigResult, On as DoctorCommandConfig, Or as DependencyGroupStatus, Ot as PublicApiEntryReport, P as WorkspaceMoveOptions, Pn as DependencyAdmissionFinding, Pt as CleanCommandConfig, Q as ReleaseCommandConfig, Qn as ResolveTemplateCatalogOptions, Qt as GetWorkspacePackagesOptions, R as WorkspaceRemovalBlocker, Rn as applyCreateNewProjectPlan, Rt as WorkspaceBoundaryException, S as MonorepoLintStagedConfig, Sn as InstallSecuritySetting, Sr as DependenciesCommandConfig, St as ProjectReferencesDiagnostic, T as MonorepoTsconfig, Tn as DoctorStatus, Tr as DependencyFileChange, Tt as PublicApiConfig, U as WorkspaceRemovalResult, Un as resolveRemoteTemplateSource, Ut as WorkspaceGraph, V as WorkspaceRemovalOptions, Vn as CreateNewProjectPlan, Vt as WorkspaceBoundarySelector, W as AiCommandConfig, Wn as ResolvedTemplateSource, Wt as WorkspaceGraphDiagnostic, X as UpgradeCommandConfig, Xn as resolveTemplateCatalog, Xt as WorkspaceImpactResult, Y as MonorepoConfig, Yn as templateMap, Yt as WorkspaceImpactOptions, Z as ReleaseAfterPublishHookConfig, Zn as CreateTemplateDefinition, Zt as WorkspaceWhyResult, _ as DefineEslintConfigOptions, _n as InstallPolicyKey, _r as defaultAgenticBaseDir, _t as VitestProjectToolingConfig, a as createMonorepoTsconfig, an as CodeownersConfig, ar as OrganizationPresetAsset, at as EnvCacheOptions, b as MonorepoCommitlintConfig, bn as InstallSecurityPresetPlan, br as loadAgenticTasks, bt as ProjectReferencesCheck, c as createMonorepoCommitlintConfig, cn as CodeownersPlan, cr as OrganizationPresetManifest, ct as EnvCacheTask, d as defineCommitlintConfig, dn as init, dr as OrganizationPresetSource, dt as EslintToolingConfig, en as WorkspacePackage, er as TemplateCatalogDiagnostic, et as ReleaseBranchRule, f as defineEslintConfig, fn as initMetadata, fr as OrganizationPresetTemplate, ft as HuskyToolingConfig, g as DefineConfigOptions, gn as InstallBuildDecision, gr as createTimestampFolderName, gt as TsconfigToolingConfig, h as defineLintStagedConfig, hn as initToolingTargets, hr as GenerateAgenticTemplateOptions, ht as ToolingConfig, i as defineVitestProjectConfig, in as WorkspacePackageWithJsonPath, ir as ConfigValueSource, it as EnvCacheFinding, j as ConfigValues, jn as AdmissionDeclaration, jr as DependencyReport, jt as PublicApiReport, k as MonorepoVitestProjectConfigOptions, kn as DoctorOptions, kr as DependencyOccurrence, kt as PublicApiOptions, l as createMonorepoEslintConfig, ln as CodeownersReport, lr as OrganizationPresetReference, lt as EnvCacheVariable, m as createMonorepoLintStagedConfig, mn as normalizeInitToolingTargets, mr as AgenticTemplateTask, mt as StylelintToolingConfig, n as createMonorepoVitestProjectConfig, nn as WorkspacePackageSummary, nr as ConfigDiagnostic, nt as EnvCacheConfig, o as defineTsconfigConfig, on as CodeownersDiagnostic, or as OrganizationPresetDiagnostic, ot as EnvCacheReport, p as defineStylelintConfig, pn as initTooling, pr as AgenticTemplateFormat, pt as LintStagedToolingConfig, q as InitCommandConfig, qn as getCreateChoices, qt as WorkspaceGraphNode, r as defineVitestConfig, rn as WorkspacePackageSummaryData, rr as ConfigSourceLayer, rt as EnvCacheEvidence, s as loadMonorepoToolingConfig, sn as CodeownersOptions, sr as OrganizationPresetLayer, st as EnvCacheSuppression, t as createMonorepoVitestConfig, tn as WorkspacePackageManifest, tr as TemplateCatalogEntry, tt as ReleaseBranchesConfig, u as createMonorepoStylelintConfig, un as WorkspaceOwnership, ur as OrganizationPresetResolution, ut as CommitlintToolingConfig, v as DefineVitestConfigOptions, vn as InstallSecurityExpectations, vr as generateAgenticTemplate, vt as VitestToolingConfig, w as MonorepoStylelintConfig, wn as DoctorReport, wr as DependencyConsistencyGroup, wt as ProjectReferencesPlan, x as MonorepoEslintConfig, xn as InstallSecurityReport, xr as CliOpts, xt as ProjectReferencesConfig, y as DefineVitestProjectConfigOptions, yn as InstallSecurityOptions, yr as generateAgenticTemplates, yt as ProjectReferencesApplyResult, z as WorkspaceRemovalEntry, zn as createNewProject, zt as WorkspaceBoundaryFinding } from "./index-VZQIHM49.mjs";
|
|
2
2
|
import gitUrlParse from "git-url-parse";
|
|
3
3
|
import { mkdtemp, readFile, readdir, stat, writeFile } from "node:fs/promises";
|
|
4
4
|
import { execFileSync, spawnSync } from "node:child_process";
|
|
@@ -743,6 +743,8 @@ interface ReleaseLifecycleState {
|
|
|
743
743
|
candidates: PublishedPackage[];
|
|
744
744
|
packages: ReleaseTarget[];
|
|
745
745
|
accepted: PublishedPackage[];
|
|
746
|
+
/** A successful upload phase persisted every acceptance response. Legacy running states remain uncertain. */
|
|
747
|
+
uploadComplete?: boolean;
|
|
746
748
|
npm: 'pending' | 'running' | 'failed' | 'complete';
|
|
747
749
|
metadata: string[];
|
|
748
750
|
hooks: Record<string, 'pending' | 'running' | 'complete' | 'ignored'>;
|
|
@@ -867,7 +869,10 @@ export declare class GitHubClient implements GitHubOperations {
|
|
|
867
869
|
//#endregion
|
|
868
870
|
//#region src/commands/release/types.d.ts
|
|
869
871
|
type ReleaseMode = 'auto' | 'prepare' | 'publish' | 'publish-unpublished' | 'reconcile' | 'oidc-audit';
|
|
872
|
+
type ReleaseCiStage = 'all' | 'plan' | 'verify' | 'prepare' | 'upload' | 'confirm' | 'finalize';
|
|
870
873
|
interface ReleaseOptions {
|
|
874
|
+
/** Optional registry HTTP transport, primarily for deterministic testing. */
|
|
875
|
+
registryFetch?: typeof globalThis.fetch;
|
|
871
876
|
cwd: string;
|
|
872
877
|
branch?: string;
|
|
873
878
|
spawn?: typeof spawnSync;
|
|
@@ -877,6 +882,8 @@ interface ReleaseOptions {
|
|
|
877
882
|
sleep?: (milliseconds: number) => Promise<void>;
|
|
878
883
|
}
|
|
879
884
|
interface ReleaseCiOptions extends ReleaseOptions {
|
|
885
|
+
/** Run one lifecycle phase. The default all entrypoint remains compatible. */
|
|
886
|
+
stage?: ReleaseCiStage;
|
|
880
887
|
/** Recover the entire prepared release from a commit in the selected stable or maintenance branch history. */
|
|
881
888
|
sourceSha?: string;
|
|
882
889
|
mode?: ReleaseMode;
|
|
@@ -922,7 +929,7 @@ export declare function releaseCi(options: ReleaseCiOptions): Promise<ReleaseOid
|
|
|
922
929
|
repaired: string[];
|
|
923
930
|
pending: string[];
|
|
924
931
|
skipped: string[];
|
|
925
|
-
} | undefined>;
|
|
932
|
+
} | StageReceipt | undefined>;
|
|
926
933
|
//#endregion
|
|
927
934
|
//#region src/commands/release/prerelease.d.ts
|
|
928
935
|
export declare function releasePrerelease(options: ReleaseCiOptions, publish?: () => Promise<PublishedPackage[]>): Promise<PublishedPackage[] | undefined>;
|
|
@@ -971,6 +978,26 @@ export declare function publishStable(options: ReleaseOptions): Promise<Publishe
|
|
|
971
978
|
/** Compatibility entry point retained for existing generated repositories. */
|
|
972
979
|
export declare function releaseStable(options: ReleaseOptions): Promise<PublishedPackage[]>;
|
|
973
980
|
//#endregion
|
|
981
|
+
//#region src/commands/release/stages/receipt.d.ts
|
|
982
|
+
interface StageReceipt {
|
|
983
|
+
schemaVersion: 1;
|
|
984
|
+
id: string;
|
|
985
|
+
identity: string;
|
|
986
|
+
effectiveIdentity?: string;
|
|
987
|
+
action: 'skip' | 'prepare' | 'prerelease' | 'publish' | 'reconcile';
|
|
988
|
+
publish: boolean;
|
|
989
|
+
done: ReleaseCiStage[];
|
|
990
|
+
candidates: PublishedPackage[];
|
|
991
|
+
sourceDirectory?: string;
|
|
992
|
+
stages: Array<{
|
|
993
|
+
stage: ReleaseCiStage;
|
|
994
|
+
elapsedMs: number;
|
|
995
|
+
status: 'complete' | 'failed';
|
|
996
|
+
count: number;
|
|
997
|
+
pending: string[];
|
|
998
|
+
}>;
|
|
999
|
+
}
|
|
1000
|
+
//#endregion
|
|
974
1001
|
//#region src/commands/skills.d.ts
|
|
975
1002
|
/**
|
|
976
1003
|
* 当前支持的 skills 同步目标。
|
|
@@ -2595,4 +2622,4 @@ export declare function escapeStringRegexp(str: string): string;
|
|
|
2595
2622
|
*/
|
|
2596
2623
|
export declare function isMatch(str: string, arr: RegExp[]): boolean;
|
|
2597
2624
|
//#endregion
|
|
2598
|
-
export { type AdmissionDeclaration, type AffectedCheckCommand, type AffectedCheckMatrix, type AffectedCheckMatrixJob, type AffectedCheckMatrixOptions, type AffectedCheckOptions, type AffectedCheckPlan, type AffectedCheckSettings, type AffectedFallback, type AffectedFile, type AffectedGitRange, type AffectedPackage, type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type ArtifactFile, type BoundarySeverity, type CheckExecutionOptions, type CheckExecutionReport, type CheckExecutionStatus, type CheckExecutionTask, type CheckTemplatesOptions, type CleanCommandConfig, CliOpts, type CodeownersConfig, type CodeownersDiagnostic, type CodeownersOptions, type CodeownersPlan, type CodeownersReport, type CommitMsgVerifyOptions, type CommitlintToolingConfig, type ConfigDiagnostic, type ConfigInspection, ConfigSourceLayer, ConfigValueSource, type ConfigValues, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, type CreateTemplateDefinition, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, DependenciesCommandConfig, type DependencyAdmissionConfig, type DependencyAdmissionException, type DependencyAdmissionFinding, type DependencyAdmissionOptions, type DependencyAdmissionReport, type DependencyAdmissionRule, DependencyApplyResult, DependencyConsistencyGroup, DependencyFileChange, DependencyFixOptions, DependencyFixPlan, DependencyGroupStatus, DependencyOccurrence, DependencyProtocol, DependencyReport, DependencySection, DependencyVersionGroup, type DoctorCheck, type DoctorCommandConfig, type DoctorFixPlan, type DoctorFixResult, type DoctorOptions, type DoctorReport, type DoctorStatus, type DoctorSummary, type DoctorSuppression, type DoctorSuppressionReport, type EnsurePullRequestOptions, type EnsureReleaseOptions, type EnsureTagOptions, type EnvCacheConfig, type EnvCacheEvidence, type EnvCacheFinding, type EnvCacheOptions, type EnvCacheReport, type EnvCacheSuppression, type EnvCacheTask, type EnvCacheVariable, type EnvInfo, type EnvPathEntry, type EnvPaths, type EnvSnapshot, type EnvSupportBundle, type EslintToolingConfig, type GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, type GitHubClientOptions, type GitHubOperations, type GitHubRelease, type HuskyToolingConfig, InitCommandConfig, type InstallBuildDecision, type InstallPolicyKey, type InstallSecurityExpectations, type InstallSecurityOptions, type InstallSecurityPresetPlan, type InstallSecurityReport, type InstallSecuritySetting, type LintStagedToolingConfig, type MaintenanceFile, type MaintenancePresetChange, type MaintenancePresetUpgrade, type MaintenanceUpgradeOptions, type MaintenanceUpgradeReport, type MaintenanceVersionChange, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, OrganizationPresetAsset, type OrganizationPresetAssetPlan, type OrganizationPresetAssetResult, OrganizationPresetDiagnostic, OrganizationPresetLayer, OrganizationPresetManifest, OrganizationPresetReference, OrganizationPresetResolution, OrganizationPresetSource, OrganizationPresetTemplate, type PackageCheckCommand, type PackageCheckDiagnostic, type PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, ProjectReferencesApplyResult, ProjectReferencesCheck, ProjectReferencesConfig, ProjectReferencesDiagnostic, ProjectReferencesOperation, ProjectReferencesPlan, type PublicApiConfig, type PublicApiDiagnostic, type PublicApiEntryConfig, type PublicApiEntryReport, type PublicApiOptions, type PublicApiPackageConfig, type PublicApiReport, type PublicApiUpdatePlan, type PublicApiUpdateResult, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type ReleaseAfterPublishHookConfig, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCommandConfig, type ReleaseLifecycleState, type ReleaseOidcAuditOptions, type ReleaseOidcAuditReport, type ReleaseOidcPackageResult, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotReport, type StagedTypecheckOptions, type StorybookArgs, type StorybookCapabilityOptions, type StylelintToolingConfig, type SyncSkillsOptions, type TemplateCatalog, type TemplateCatalogDiagnostic, type TemplateCatalogEntry, type TemplateDriftCollection, type TemplateDriftFile, type TemplateDriftOptions, type TemplateDriftOwner, type TemplateDriftRegistry, type TemplateDriftReport, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, type TemplateInstance, type TemplateInstanceBaseline, type TemplateInstanceInfo, type TemplateInstanceRegistry, type TemplateInstanceSource, type TemplateLinkOptions, type TemplateLinkPlan, type TemplateRemoteSource, type TemplateSourceOptions, type TemplateSourceRequest, type TemplateUpgradeChange, type TemplateUpgradeEntry, type TemplateUpgradeOptions, type TemplateUpgradePlan, type TemplateUpgradeRecoveryResult, type TemplateUpgradeResult, type TemplateValidationDiagnostic, type TemplateValidationOptions, type TemplateValidationParameterSet, type TemplateValidationPlan, type TemplateValidationReport, type TemplateValidationSample, type TemplateValidationStage, type TemplateValidationStep, type TemplateVersionComparison, type TemplateVersionEvidence, type ToolingCapability, type ToolingCapabilityFile, type ToolingCapabilityOptions, type ToolingCapabilityPlan, type ToolingCapabilityResult, type ToolingConfig, type TsconfigToolingConfig, type TurboAnalysisLimitation, type TurboAnalysisOptions, type TurboCriticalPath, type TurboHashEvidence, type TurboRunAnalysis, type TurboTaskAnalysis, UpgradeCommandConfig, type VerifyCommandOptions, type VitestProjectToolingConfig, type VitestToolingConfig, type WorkspaceArtifactApplyOptions, type WorkspaceArtifactOptions, type WorkspaceArtifactPlan, type WorkspaceArtifactResult, type WorkspaceBoundariesConfig, type WorkspaceBoundariesReport, type WorkspaceBoundaryException, type WorkspaceBoundaryFinding, type WorkspaceBoundaryRule, type WorkspaceBoundarySelector, WorkspaceData, type WorkspaceDependencyType, type WorkspaceGraph, type WorkspaceGraphDiagnostic, type WorkspaceGraphEdge, type WorkspaceGraphFilter, type WorkspaceGraphNode, type WorkspaceGraphOptions, type WorkspaceImpactOptions, type WorkspaceImpactResult, type WorkspaceLocation, WorkspaceMoveOptions, WorkspaceMovePlan, WorkspaceMoveResult, WorkspaceMoveReview, type WorkspaceOwnership, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, WorkspaceRemovalBlocker, WorkspaceRemovalEntry, WorkspaceRemovalFile, WorkspaceRemovalOptions, WorkspaceRemovalPlan, WorkspaceRemovalResult, type WorkspaceTask, type WorkspaceTaskCatalog, type WorkspaceTaskOptions, type WorkspaceTaskPackage, type WorkspaceWhyResult, applyCreateNewProjectPlan, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getTemplateMap, init, initMetadata, initTooling, initToolingTargets, isGitignoreFile, listTemplateInstances, loadAgenticTasks, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, normalizeInitToolingTargets, name as packageName, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
|
|
2625
|
+
export { type AdmissionDeclaration, type AffectedCheckCommand, type AffectedCheckMatrix, type AffectedCheckMatrixJob, type AffectedCheckMatrixOptions, type AffectedCheckOptions, type AffectedCheckPlan, type AffectedCheckSettings, type AffectedFallback, type AffectedFile, type AffectedGitRange, type AffectedPackage, type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type ArtifactFile, type BoundarySeverity, type CheckExecutionOptions, type CheckExecutionReport, type CheckExecutionStatus, type CheckExecutionTask, type CheckTemplatesOptions, type CleanCommandConfig, CliOpts, type CodeownersConfig, type CodeownersDiagnostic, type CodeownersOptions, type CodeownersPlan, type CodeownersReport, type CommitMsgVerifyOptions, type CommitlintToolingConfig, type ConfigDiagnostic, type ConfigInspection, ConfigSourceLayer, ConfigValueSource, type ConfigValues, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, type CreateTemplateDefinition, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, DependenciesCommandConfig, type DependencyAdmissionConfig, type DependencyAdmissionException, type DependencyAdmissionFinding, type DependencyAdmissionOptions, type DependencyAdmissionReport, type DependencyAdmissionRule, DependencyApplyResult, DependencyConsistencyGroup, DependencyFileChange, DependencyFixOptions, DependencyFixPlan, DependencyGroupStatus, DependencyOccurrence, DependencyProtocol, DependencyReport, DependencySection, DependencyVersionGroup, type DoctorCheck, type DoctorCommandConfig, type DoctorFixPlan, type DoctorFixResult, type DoctorOptions, type DoctorReport, type DoctorStatus, type DoctorSummary, type DoctorSuppression, type DoctorSuppressionReport, type EnsurePullRequestOptions, type EnsureReleaseOptions, type EnsureTagOptions, type EnvCacheConfig, type EnvCacheEvidence, type EnvCacheFinding, type EnvCacheOptions, type EnvCacheReport, type EnvCacheSuppression, type EnvCacheTask, type EnvCacheVariable, type EnvInfo, type EnvPathEntry, type EnvPaths, type EnvSnapshot, type EnvSupportBundle, type EslintToolingConfig, type GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, type GitHubClientOptions, type GitHubOperations, type GitHubRelease, type HuskyToolingConfig, InitCommandConfig, type InstallBuildDecision, type InstallPolicyKey, type InstallSecurityExpectations, type InstallSecurityOptions, type InstallSecurityPresetPlan, type InstallSecurityReport, type InstallSecuritySetting, type LintStagedToolingConfig, type MaintenanceFile, type MaintenancePresetChange, type MaintenancePresetUpgrade, type MaintenanceUpgradeOptions, type MaintenanceUpgradeReport, type MaintenanceVersionChange, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, OrganizationPresetAsset, type OrganizationPresetAssetPlan, type OrganizationPresetAssetResult, OrganizationPresetDiagnostic, OrganizationPresetLayer, OrganizationPresetManifest, OrganizationPresetReference, OrganizationPresetResolution, OrganizationPresetSource, OrganizationPresetTemplate, type PackageCheckCommand, type PackageCheckDiagnostic, type PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, ProjectReferencesApplyResult, ProjectReferencesCheck, ProjectReferencesConfig, ProjectReferencesDiagnostic, ProjectReferencesOperation, ProjectReferencesPlan, type PublicApiConfig, type PublicApiDiagnostic, type PublicApiEntryConfig, type PublicApiEntryReport, type PublicApiOptions, type PublicApiPackageConfig, type PublicApiReport, type PublicApiUpdatePlan, type PublicApiUpdateResult, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type ReleaseAfterPublishHookConfig, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCiStage, type StageReceipt as ReleaseCiStageResult, type ReleaseCommandConfig, type ReleaseLifecycleState, type ReleaseOidcAuditOptions, type ReleaseOidcAuditReport, type ReleaseOidcPackageResult, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleaseRegistryConfig, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotReport, type StagedTypecheckOptions, type StorybookArgs, type StorybookCapabilityOptions, type StylelintToolingConfig, type SyncSkillsOptions, type TemplateCatalog, type TemplateCatalogDiagnostic, type TemplateCatalogEntry, type TemplateDriftCollection, type TemplateDriftFile, type TemplateDriftOptions, type TemplateDriftOwner, type TemplateDriftRegistry, type TemplateDriftReport, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, type TemplateInstance, type TemplateInstanceBaseline, type TemplateInstanceInfo, type TemplateInstanceRegistry, type TemplateInstanceSource, type TemplateLinkOptions, type TemplateLinkPlan, type TemplateRemoteSource, type TemplateSourceOptions, type TemplateSourceRequest, type TemplateUpgradeChange, type TemplateUpgradeEntry, type TemplateUpgradeOptions, type TemplateUpgradePlan, type TemplateUpgradeRecoveryResult, type TemplateUpgradeResult, type TemplateValidationDiagnostic, type TemplateValidationOptions, type TemplateValidationParameterSet, type TemplateValidationPlan, type TemplateValidationReport, type TemplateValidationSample, type TemplateValidationStage, type TemplateValidationStep, type TemplateVersionComparison, type TemplateVersionEvidence, type ToolingCapability, type ToolingCapabilityFile, type ToolingCapabilityOptions, type ToolingCapabilityPlan, type ToolingCapabilityResult, type ToolingConfig, type TsconfigToolingConfig, type TurboAnalysisLimitation, type TurboAnalysisOptions, type TurboCriticalPath, type TurboHashEvidence, type TurboRunAnalysis, type TurboTaskAnalysis, UpgradeCommandConfig, type VerifyCommandOptions, type VitestProjectToolingConfig, type VitestToolingConfig, type WorkspaceArtifactApplyOptions, type WorkspaceArtifactOptions, type WorkspaceArtifactPlan, type WorkspaceArtifactResult, type WorkspaceBoundariesConfig, type WorkspaceBoundariesReport, type WorkspaceBoundaryException, type WorkspaceBoundaryFinding, type WorkspaceBoundaryRule, type WorkspaceBoundarySelector, WorkspaceData, type WorkspaceDependencyType, type WorkspaceGraph, type WorkspaceGraphDiagnostic, type WorkspaceGraphEdge, type WorkspaceGraphFilter, type WorkspaceGraphNode, type WorkspaceGraphOptions, type WorkspaceImpactOptions, type WorkspaceImpactResult, type WorkspaceLocation, WorkspaceMoveOptions, WorkspaceMovePlan, WorkspaceMoveResult, WorkspaceMoveReview, type WorkspaceOwnership, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, WorkspaceRemovalBlocker, WorkspaceRemovalEntry, WorkspaceRemovalFile, WorkspaceRemovalOptions, WorkspaceRemovalPlan, WorkspaceRemovalResult, type WorkspaceTask, type WorkspaceTaskCatalog, type WorkspaceTaskOptions, type WorkspaceTaskPackage, type WorkspaceWhyResult, applyCreateNewProjectPlan, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getTemplateMap, init, initMetadata, initTooling, initToolingTargets, isGitignoreFile, listTemplateInstances, loadAgenticTasks, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, normalizeInitToolingTargets, name as packageName, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { $ as WorkspaceGraphQueryError, At as exists, B as saveKnipBaseline, Bt as writeJSON, Dt as copy, Ft as outputJson, Gt as getWorkspacePackages, Ht as clearWorkspaceCache, I as getKnipConfigurationSuggestions, It as pathExists, J as getWorkspaceGraph, Jt as GitClient, Lt as readJSON, M as formatEnvironmentCache, Mt as isIgnorableFsError, Nt as outputFile, Ot as ensureDir, P as checkEnvironmentCache, Pt as outputJSON, Q as whyWorkspaceDependency, R as planKnipCheck, Rt as readJson, Ut as getWorkspaceData, Vt as writeJson, W as analyzeTurboRuns, Wt as getWorkspacePackageSummaries, X as filterWorkspaceGraph, Z as getWorkspaceImpact, _ as planTemplateLink, _t as assetsDir, a as inspectWorkspaceOwners, b as planGenerate, bt as rootDir, c as loadTemplateInstanceRegistry, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, i as planCodeowners, kt as ensureFile, l as rebuildTemplateInstanceBaseline, m as planTemplateUpgrade, n as locateWorkspace, o as listTemplateInstances, p as applyTemplateUpgradePlan, r as applyCodeownersPlan, s as loadTemplateBaseline, t as getWorkspaceTaskCatalog, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, vt as cliName, x as generators, xt as templatesDir, y as applyGeneratePlan, yt as packageDir, z as runKnipCheck, zt as remove } from "./workspace-tasks-
|
|
2
|
-
import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, f as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport, u as verifyStagedTypecheck } from "./execute-
|
|
3
|
-
import { $ as GitHubClient, A as resolveAffectedCheckMatrix, At as resolveTemplateCatalog, B as syncSkills, Bt as defaultAgenticBaseDir, C as applyOrganizationPresetAssets, D as applyInstallSecurityPreset, Dt as templateMap, E as planDevContainer, Et as getTemplateMap, F as upgradeMonorepo, Ft as sanitizeConfigReport, G as prepareStable, H as createReleasePullRequest, Ht as generateAgenticTemplates, I as formatUpgradePlan, It as validateConfigFile, J as reconcileRelease, K as publishStable, L as checkTemplates, Lt as cleanProjects, M as applyPublicApiUpdate, Mt as updateIssueTemplateConfig, N as planPublicApiUpdate, Nt as inspectMonorepoConfig, O as planInstallSecurityPreset, Ot as resolveRemoteTemplateSource, P as formatPublicApiReport, Pt as explainMonorepoConfig, Q as auditReleaseOidc, R as getSkillTargetPaths, Rt as verifyPrePush, S as detectMaintenanceVersionChange, St as createNewProject, T as applyDevContainerPlan, Tt as getCreateChoices, U as recoverUnpublished, Ut as loadAgenticTasks, V as repairReleaseNotes, Vt as generateAgenticTemplate, W as releaseCi, X as exitPrerelease, Y as enterPrerelease, Z as releasePrerelease, _ as applyProjectReferencesPlan, _t as planDoctorFix, a as planWorkspaceMove, at as init, b as getMaintenanceWorkflow, bt as applyUpgradePlan, c as applyToolingCapability, ct as normalizeInitToolingTargets, d as planTemplateValidation, dt as collectEnvInfo, et as GitHubApiError, f as releaseSnapshot, ft as collectEnvPaths, g as syncProjectReferences, gt as applyDoctorFixPlan, h as checkProjectReferences, ht as runDoctor, i as applyWorkspaceMovePlan, it as setVscodeBinaryMirror, j as checkPublicApi, k as checkPeerDependencies, l as planToolingCapability, lt as initToolingTargets, m as createReleasePlan, mt as collectEnvSupportBundle, n as applyWorkspaceRemovalPlan, o as applyWorkspaceArtifactPlan, ot as initMetadata, p as createSnapshotPlan, pt as collectEnvSnapshot, q as releaseStable, r as planWorkspaceRemoval, s as planWorkspaceArtifact, st as initTooling, tt as parsePublishSummary, u as validateTemplate, ut as createContext, v as planProjectReferences, vt as planUpgrade, w as planOrganizationPresetAssets, wt as resolveCreateNewProjectPlan, x as prepareMaintenanceUpgrade, xt as applyCreateNewProjectPlan, y as checkPackages, yt as resolveReleaseBranches, z as skillTargets, zt as createTimestampFolderName } from "./commands-
|
|
4
|
-
import { D as name, M as assertMonorepoConfig, N as validateMonorepoConfig, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, h as resolveOrganizationPresets, i as loadMonorepoToolingConfig, j as ConfigValidationError, k as version, l as defineMonorepoConfig, m as resolveToolingConfig, n as defineTsconfigConfig, p as resolveCommandConfig, s as configExtensions, t as createMonorepoTsconfig, u as getRepoctlConfigCandidates } from "./tsconfig-
|
|
5
|
-
import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-
|
|
6
|
-
import { F as toWorkspaceAssetPath, I as toWorkspaceGitignorePath, N as isGitignoreFile, P as toPublishGitignorePath, S as checkDependencyAdmission, f as inspectInstallSecurity, i as hasTemplateDriftIssues, l as getDoctorRuleIds, r as formatTemplateDriftReport, t as checkTemplateDrift, x as checkWorkspaceBoundaries } from "./template-drift-
|
|
7
|
-
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, d as createMonorepoLintStagedConfig, f as defineLintStagedConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-
|
|
8
|
-
import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-
|
|
9
|
-
import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-
|
|
1
|
+
import { $ as WorkspaceGraphQueryError, At as exists, B as saveKnipBaseline, Bt as writeJSON, Dt as copy, Ft as outputJson, Gt as getWorkspacePackages, Ht as clearWorkspaceCache, I as getKnipConfigurationSuggestions, It as pathExists, J as getWorkspaceGraph, Jt as GitClient, Lt as readJSON, M as formatEnvironmentCache, Mt as isIgnorableFsError, Nt as outputFile, Ot as ensureDir, P as checkEnvironmentCache, Pt as outputJSON, Q as whyWorkspaceDependency, R as planKnipCheck, Rt as readJson, Ut as getWorkspaceData, Vt as writeJson, W as analyzeTurboRuns, Wt as getWorkspacePackageSummaries, X as filterWorkspaceGraph, Z as getWorkspaceImpact, _ as planTemplateLink, _t as assetsDir, a as inspectWorkspaceOwners, b as planGenerate, bt as rootDir, c as loadTemplateInstanceRegistry, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, i as planCodeowners, kt as ensureFile, l as rebuildTemplateInstanceBaseline, m as planTemplateUpgrade, n as locateWorkspace, o as listTemplateInstances, p as applyTemplateUpgradePlan, r as applyCodeownersPlan, s as loadTemplateBaseline, t as getWorkspaceTaskCatalog, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, vt as cliName, x as generators, xt as templatesDir, y as applyGeneratePlan, yt as packageDir, z as runKnipCheck, zt as remove } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, f as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport, u as verifyStagedTypecheck } from "./execute-kNjCRTO6.mjs";
|
|
3
|
+
import { $ as GitHubClient, A as resolveAffectedCheckMatrix, At as resolveTemplateCatalog, B as syncSkills, Bt as defaultAgenticBaseDir, C as applyOrganizationPresetAssets, D as applyInstallSecurityPreset, Dt as templateMap, E as planDevContainer, Et as getTemplateMap, F as upgradeMonorepo, Ft as sanitizeConfigReport, G as prepareStable, H as createReleasePullRequest, Ht as generateAgenticTemplates, I as formatUpgradePlan, It as validateConfigFile, J as reconcileRelease, K as publishStable, L as checkTemplates, Lt as cleanProjects, M as applyPublicApiUpdate, Mt as updateIssueTemplateConfig, N as planPublicApiUpdate, Nt as inspectMonorepoConfig, O as planInstallSecurityPreset, Ot as resolveRemoteTemplateSource, P as formatPublicApiReport, Pt as explainMonorepoConfig, Q as auditReleaseOidc, R as getSkillTargetPaths, Rt as verifyPrePush, S as detectMaintenanceVersionChange, St as createNewProject, T as applyDevContainerPlan, Tt as getCreateChoices, U as recoverUnpublished, Ut as loadAgenticTasks, V as repairReleaseNotes, Vt as generateAgenticTemplate, W as releaseCi, X as exitPrerelease, Y as enterPrerelease, Z as releasePrerelease, _ as applyProjectReferencesPlan, _t as planDoctorFix, a as planWorkspaceMove, at as init, b as getMaintenanceWorkflow, bt as applyUpgradePlan, c as applyToolingCapability, ct as normalizeInitToolingTargets, d as planTemplateValidation, dt as collectEnvInfo, et as GitHubApiError, f as releaseSnapshot, ft as collectEnvPaths, g as syncProjectReferences, gt as applyDoctorFixPlan, h as checkProjectReferences, ht as runDoctor, i as applyWorkspaceMovePlan, it as setVscodeBinaryMirror, j as checkPublicApi, k as checkPeerDependencies, l as planToolingCapability, lt as initToolingTargets, m as createReleasePlan, mt as collectEnvSupportBundle, n as applyWorkspaceRemovalPlan, o as applyWorkspaceArtifactPlan, ot as initMetadata, p as createSnapshotPlan, pt as collectEnvSnapshot, q as releaseStable, r as planWorkspaceRemoval, s as planWorkspaceArtifact, st as initTooling, tt as parsePublishSummary, u as validateTemplate, ut as createContext, v as planProjectReferences, vt as planUpgrade, w as planOrganizationPresetAssets, wt as resolveCreateNewProjectPlan, x as prepareMaintenanceUpgrade, xt as applyCreateNewProjectPlan, y as checkPackages, yt as resolveReleaseBranches, z as skillTargets, zt as createTimestampFolderName } from "./commands-B8PCzovx.mjs";
|
|
4
|
+
import { D as name, M as assertMonorepoConfig, N as validateMonorepoConfig, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, h as resolveOrganizationPresets, i as loadMonorepoToolingConfig, j as ConfigValidationError, k as version, l as defineMonorepoConfig, m as resolveToolingConfig, n as defineTsconfigConfig, p as resolveCommandConfig, s as configExtensions, t as createMonorepoTsconfig, u as getRepoctlConfigCandidates } from "./tsconfig--yFOJ-F0.mjs";
|
|
5
|
+
import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-Cp_-_wVJ.mjs";
|
|
6
|
+
import { F as toWorkspaceAssetPath, I as toWorkspaceGitignorePath, N as isGitignoreFile, P as toPublishGitignorePath, S as checkDependencyAdmission, f as inspectInstallSecurity, i as hasTemplateDriftIssues, l as getDoctorRuleIds, r as formatTemplateDriftReport, t as checkTemplateDrift, x as checkWorkspaceBoundaries } from "./template-drift-DFlrYma0.mjs";
|
|
7
|
+
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, d as createMonorepoLintStagedConfig, f as defineLintStagedConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-WDIpuaQL.mjs";
|
|
8
|
+
import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-DevSlsLS.mjs";
|
|
9
|
+
import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-CQZ5CVOo.mjs";
|
|
10
10
|
import crypto from "node:crypto";
|
|
11
11
|
import { Buffer } from "node:buffer";
|
|
12
12
|
//#region src/utils/hash.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as registryUrl } from "./tsconfig-
|
|
1
|
+
import { I as registryUrl } from "./tsconfig--yFOJ-F0.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import { pipeline } from "node:stream/promises";
|
|
6
5
|
import Config from "@npmcli/config";
|
|
7
6
|
import definitionsModule from "@npmcli/config/lib/definitions/index.js";
|
|
7
|
+
import { pipeline } from "node:stream/promises";
|
|
8
8
|
import pacote from "pacote";
|
|
9
9
|
//#region src/core/template-source/npm.ts
|
|
10
10
|
const require = createRequire(import.meta.url);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as record, yt as packageDir } from "./workspace-tasks-
|
|
1
|
+
import { at as record, yt as packageDir } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
2
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
3
3
|
import path from "pathe";
|
|
4
4
|
import process from "node:process";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { U as stopCheckProcessTree } from "./workspace-tasks-
|
|
2
|
-
import { t as knipConfigurationInputs } from "./inputs-
|
|
3
|
-
import { planKnipCheck } from "./plan-
|
|
4
|
-
import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-
|
|
1
|
+
import { U as stopCheckProcessTree } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { t as knipConfigurationInputs } from "./inputs-B-Rksu2z.mjs";
|
|
3
|
+
import { planKnipCheck } from "./plan-X3Duh8-J.mjs";
|
|
4
|
+
import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-BlxungFN.mjs";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
import { Buffer } from "node:buffer";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ht as isWithin, mt as assertSafePath, ot as safeFile } from "./workspace-tasks-
|
|
2
|
-
import { knipRoot } from "./plan-
|
|
3
|
-
import { n as validateKnipBaseline } from "./baseline-
|
|
1
|
+
import { ht as isWithin, mt as assertSafePath, ot as safeFile } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { knipRoot } from "./plan-X3Duh8-J.mjs";
|
|
3
|
+
import { n as validateKnipBaseline } from "./baseline-BlxungFN.mjs";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import { link, lstat, open, readFile, rename, unlink } from "node:fs/promises";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { St as localize, at as record, it as readInput, qt as findWorkspacePackages, rt as hash } from "./workspace-tasks-
|
|
2
|
-
import { A as mergeConfigValues, H as validateSchema, M as assertMonorepoConfig, f as loadMonorepoConfigDetails, j as ConfigValidationError, u as getRepoctlConfigCandidates, z as commandSchemas } from "./tsconfig-
|
|
1
|
+
import { St as localize, at as record, it as readInput, qt as findWorkspacePackages, rt as hash } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { A as mergeConfigValues, H as validateSchema, M as assertMonorepoConfig, f as loadMonorepoConfigDetails, j as ConfigValidationError, u as getRepoctlConfigCandidates, z as commandSchemas } from "./tsconfig--yFOJ-F0.mjs";
|
|
3
3
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import { access, realpath } from "node:fs/promises";
|
|
@@ -69,6 +69,11 @@ const defaults = {
|
|
|
69
69
|
},
|
|
70
70
|
mirror: { env: chinaMirrorsEnvs },
|
|
71
71
|
release: {
|
|
72
|
+
registry: {
|
|
73
|
+
concurrency: 4,
|
|
74
|
+
requestTimeoutMs: 1e4,
|
|
75
|
+
visibilityTimeoutMs: 9e5
|
|
76
|
+
},
|
|
72
77
|
qualityScripts: [
|
|
73
78
|
"build",
|
|
74
79
|
"lint",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { J as getWorkspaceGraph, St as localize, Y as parseDependencyReference, at as record$3, jt as fs$2, nt as workspaceDependencyTypes, rt as hash, ut as hasLegacyToolingReference } from "./workspace-tasks-
|
|
3
|
-
import { E as relativeFile, T as readOptional, f as loadMonorepoConfigDetails, j as ConfigValidationError, w as hash$1 } from "./tsconfig-
|
|
4
|
-
import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-
|
|
2
|
+
import { J as getWorkspaceGraph, St as localize, Y as parseDependencyReference, at as record$3, jt as fs$2, nt as workspaceDependencyTypes, rt as hash, ut as hasLegacyToolingReference } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
3
|
+
import { E as relativeFile, T as readOptional, f as loadMonorepoConfigDetails, j as ConfigValidationError, w as hash$1 } from "./tsconfig--yFOJ-F0.mjs";
|
|
4
|
+
import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-Cp_-_wVJ.mjs";
|
|
5
5
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
6
6
|
import path from "pathe";
|
|
7
7
|
import process from "node:process";
|
package/dist/tooling-entry.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MonorepoVitestProjectConfigResult, C as MonorepoLintStagedConfigOptions, D as MonorepoVitestConfigOverrides, E as MonorepoVitestConfigOptions, O as MonorepoVitestConfigResult, S as MonorepoLintStagedConfig, T as MonorepoTsconfig, _ as DefineEslintConfigOptions, a as createMonorepoTsconfig, b as MonorepoCommitlintConfig, c as createMonorepoCommitlintConfig, d as defineCommitlintConfig, f as defineEslintConfig, g as DefineConfigOptions, h as defineLintStagedConfig, i as defineVitestProjectConfig, k as MonorepoVitestProjectConfigOptions, l as createMonorepoEslintConfig, m as createMonorepoLintStagedConfig, n as createMonorepoVitestProjectConfig, o as defineTsconfigConfig, p as defineStylelintConfig, r as defineVitestConfig, s as loadMonorepoToolingConfig, t as createMonorepoVitestConfig, u as createMonorepoStylelintConfig, v as DefineVitestConfigOptions, w as MonorepoStylelintConfig, x as MonorepoEslintConfig, y as DefineVitestProjectConfigOptions } from "./index-
|
|
1
|
+
import { A as MonorepoVitestProjectConfigResult, C as MonorepoLintStagedConfigOptions, D as MonorepoVitestConfigOverrides, E as MonorepoVitestConfigOptions, O as MonorepoVitestConfigResult, S as MonorepoLintStagedConfig, T as MonorepoTsconfig, _ as DefineEslintConfigOptions, a as createMonorepoTsconfig, b as MonorepoCommitlintConfig, c as createMonorepoCommitlintConfig, d as defineCommitlintConfig, f as defineEslintConfig, g as DefineConfigOptions, h as defineLintStagedConfig, i as defineVitestProjectConfig, k as MonorepoVitestProjectConfigOptions, l as createMonorepoEslintConfig, m as createMonorepoLintStagedConfig, n as createMonorepoVitestProjectConfig, o as defineTsconfigConfig, p as defineStylelintConfig, r as defineVitestConfig, s as loadMonorepoToolingConfig, t as createMonorepoVitestConfig, u as createMonorepoStylelintConfig, v as DefineVitestConfigOptions, w as MonorepoStylelintConfig, x as MonorepoEslintConfig, y as DefineVitestProjectConfigOptions } from "./index-VZQIHM49.mjs";
|
|
2
2
|
export { DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, MonorepoCommitlintConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
|
package/dist/tooling-entry.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as loadMonorepoToolingConfig, n as defineTsconfigConfig, t as createMonorepoTsconfig } from "./tsconfig-
|
|
2
|
-
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, d as createMonorepoLintStagedConfig, f as defineLintStagedConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-
|
|
1
|
+
import { i as loadMonorepoToolingConfig, n as defineTsconfigConfig, t as createMonorepoTsconfig } from "./tsconfig--yFOJ-F0.mjs";
|
|
2
|
+
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, d as createMonorepoLintStagedConfig, f as defineLintStagedConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-WDIpuaQL.mjs";
|
|
3
3
|
export { createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { St as localize, at as record, ot as safeFile, pt as stageFileTransaction, rt as hash, st as updateManifest } from "./workspace-tasks-
|
|
2
|
-
import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-
|
|
1
|
+
import { St as localize, at as record, ot as safeFile, pt as stageFileTransaction, rt as hash, st as updateManifest } from "./workspace-tasks-Cjlcu-SJ.mjs";
|
|
2
|
+
import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-Cp_-_wVJ.mjs";
|
|
3
3
|
import { isDeepStrictEqual } from "node:util";
|
|
4
4
|
//#region src/commands/deps/report.ts
|
|
5
5
|
function classify(group) {
|
|
@@ -328,6 +328,15 @@ const commandSchemas = {
|
|
|
328
328
|
}),
|
|
329
329
|
mirror: object({ env: record(string) }),
|
|
330
330
|
release: object({
|
|
331
|
+
registry: object({
|
|
332
|
+
concurrency: {
|
|
333
|
+
...positive,
|
|
334
|
+
expected: "positive integer",
|
|
335
|
+
accepts: (value) => positive.accepts(value) && Number.isInteger(value)
|
|
336
|
+
},
|
|
337
|
+
requestTimeoutMs: positive,
|
|
338
|
+
visibilityTimeoutMs: positive
|
|
339
|
+
}),
|
|
331
340
|
branches,
|
|
332
341
|
qualityScripts: names,
|
|
333
342
|
hooks: object({
|
|
@@ -746,7 +755,7 @@ function mergeConfigValues(layers) {
|
|
|
746
755
|
//#endregion
|
|
747
756
|
//#region package.json
|
|
748
757
|
var name = "@icebreakers/monorepo";
|
|
749
|
-
var version = "5.
|
|
758
|
+
var version = "5.10.0";
|
|
750
759
|
var package_default = {
|
|
751
760
|
name,
|
|
752
761
|
type: "module",
|
|
@@ -833,9 +842,7 @@ var package_default = {
|
|
|
833
842
|
"@npmcli/config": "10.14.0",
|
|
834
843
|
"@pnpm/find-workspace-dir": "^1000.1.5",
|
|
835
844
|
"@pnpm/fs.find-packages": "^1000.0.24",
|
|
836
|
-
"@pnpm/logger": "^1100.0.0",
|
|
837
845
|
"@pnpm/types": "^1102.1.1",
|
|
838
|
-
"@pnpm/worker": "^1100.4.8",
|
|
839
846
|
"@pnpm/workspace.read-manifest": "^1000.3.1",
|
|
840
847
|
"c12": "^3.3.4",
|
|
841
848
|
"commander": "catalog:",
|
|
@@ -855,7 +862,7 @@ var package_default = {
|
|
|
855
862
|
"picocolors": "^1.1.1",
|
|
856
863
|
"publint": "0.3.25",
|
|
857
864
|
"semver": "catalog:",
|
|
858
|
-
"simple-git": "^
|
|
865
|
+
"simple-git": "^4.0.2",
|
|
859
866
|
"tar": "7.5.22",
|
|
860
867
|
"tinyglobby": "^0.2.17",
|
|
861
868
|
"validate-npm-package-name": "^7.0.2",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as loadToolingSection, o as resolveConfigInput, r as isDefineConfigWrapper } from "./tsconfig-
|
|
1
|
+
import { a as loadToolingSection, o as resolveConfigInput, r as isDefineConfigWrapper } from "./tsconfig--yFOJ-F0.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { f as loadMonorepoConfigDetails, j as ConfigValidationError, k as version, u as getRepoctlConfigCandidates } from "./tsconfig-
|
|
2
|
+
import { f as loadMonorepoConfigDetails, j as ConfigValidationError, k as version, u as getRepoctlConfigCandidates } from "./tsconfig--yFOJ-F0.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import gitUrlParse from "git-url-parse";
|
|
5
5
|
import { simpleGit } from "simple-git";
|
|
@@ -1987,16 +1987,16 @@ var knip_exports = /* @__PURE__ */ __exportAll({
|
|
|
1987
1987
|
saveKnipBaseline: () => saveKnipBaseline
|
|
1988
1988
|
});
|
|
1989
1989
|
async function planKnipCheck(cwd, options = {}) {
|
|
1990
|
-
return (await import("./plan-
|
|
1990
|
+
return (await import("./plan-X3Duh8-J.mjs")).planKnipCheck(cwd, options);
|
|
1991
1991
|
}
|
|
1992
1992
|
async function runKnipCheck(cwd, options = {}) {
|
|
1993
|
-
return (await import("./run-
|
|
1993
|
+
return (await import("./run-DYYWhKQC.mjs")).runKnipCheck(cwd, options);
|
|
1994
1994
|
}
|
|
1995
1995
|
async function getKnipConfigurationSuggestions(cwd) {
|
|
1996
|
-
return (await import("./config-
|
|
1996
|
+
return (await import("./config-CSFv-i8P.mjs")).getKnipConfigurationSuggestions(cwd);
|
|
1997
1997
|
}
|
|
1998
1998
|
async function saveKnipBaseline(cwd, report, file) {
|
|
1999
|
-
return (await import("./save-
|
|
1999
|
+
return (await import("./save-_0MWD4aR.mjs")).saveKnipBaseline(cwd, report, file);
|
|
2000
2000
|
}
|
|
2001
2001
|
//#endregion
|
|
2002
2002
|
//#region src/commands/env-cache/config.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/monorepo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"description": "Core engine and programmatic APIs for repoctl",
|
|
6
6
|
"author": "ice breaker <hi@sonofmagic.top>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -80,14 +80,12 @@
|
|
|
80
80
|
"@babel/parser": "^7.29.9",
|
|
81
81
|
"@icebreakers/commitlint-config": "4.1.2",
|
|
82
82
|
"@icebreakers/eslint-config": "8.0.8",
|
|
83
|
-
"@icebreakers/monorepo-templates": "2.3.
|
|
83
|
+
"@icebreakers/monorepo-templates": "2.3.2",
|
|
84
84
|
"@icebreakers/stylelint-config": "5.1.3",
|
|
85
85
|
"@npmcli/config": "10.14.0",
|
|
86
86
|
"@pnpm/find-workspace-dir": "^1000.1.5",
|
|
87
87
|
"@pnpm/fs.find-packages": "^1000.0.24",
|
|
88
|
-
"@pnpm/logger": "^1100.0.0",
|
|
89
88
|
"@pnpm/types": "^1102.1.1",
|
|
90
|
-
"@pnpm/worker": "^1100.4.8",
|
|
91
89
|
"@pnpm/workspace.read-manifest": "^1000.3.1",
|
|
92
90
|
"c12": "^3.3.4",
|
|
93
91
|
"commander": "^15.0.0",
|
|
@@ -107,7 +105,7 @@
|
|
|
107
105
|
"picocolors": "^1.1.1",
|
|
108
106
|
"publint": "0.3.25",
|
|
109
107
|
"semver": "^7.8.5",
|
|
110
|
-
"simple-git": "^
|
|
108
|
+
"simple-git": "^4.0.2",
|
|
111
109
|
"tar": "7.5.22",
|
|
112
110
|
"tinyglobby": "^0.2.17",
|
|
113
111
|
"validate-npm-package-name": "^7.0.2",
|