@icebreakers/monorepo 6.5.3 → 6.6.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 (27) hide show
  1. package/dist/{baseline-CQVDciG4.mjs → baseline-BS_u59AV.mjs} +1 -1
  2. package/dist/{catalog-6_tT0U3p.mjs → catalog-CiaAmiTm.mjs} +4 -4
  3. package/dist/cli.mjs +62 -62
  4. package/dist/{commands-CeEzfoW8.mjs → commands-DWtDkzcp.mjs} +190 -90
  5. package/dist/{config-CT_nsp4o.mjs → config-CmB-5xZ5.mjs} +3 -3
  6. package/dist/{create-flow-Dw27OLYT.mjs → create-flow-DNWJQGrz.mjs} +3 -3
  7. package/dist/{deps-CIrWBABk.mjs → deps-DWFcbBQu.mjs} +4 -4
  8. package/dist/{execute-e7SGX_Y0.mjs → execute-Bd-yrRBO.mjs} +2 -2
  9. package/dist/{execute-Y_6G_tEl.mjs → execute-CowTATMR.mjs} +2 -2
  10. package/dist/{format-jsSjadNe.mjs → format-C2UJ-Xzb.mjs} +1 -1
  11. package/dist/{index-C7KR7hT8.d.mts → index-CFxo1hPA.d.mts} +4 -1
  12. package/dist/index.d.mts +4 -2
  13. package/dist/index.mjs +9 -9
  14. package/dist/{inputs-DOUYGoHq.mjs → inputs-Pn_oLgyr.mjs} +1 -1
  15. package/dist/{npm-tUIGIuFQ.mjs → npm-D3cb3ygy.mjs} +1 -1
  16. package/dist/{plan-DC33-_or.mjs → plan-C4S0SIsH.mjs} +2 -2
  17. package/dist/{run-DT6Q-jbq.mjs → run-5k6GII0n.mjs} +4 -4
  18. package/dist/{save-Foea-Ao9.mjs → save-LOJWHI5C.mjs} +3 -3
  19. package/dist/{scan-DA7VmNjC.mjs → scan-C6ZqUxK0.mjs} +9 -2
  20. package/dist/{template-drift-B18bgxT6.mjs → template-drift-D3Hwedod.mjs} +3 -3
  21. package/dist/tooling-entry.d.mts +1 -1
  22. package/dist/tooling-entry.mjs +2 -2
  23. package/dist/{transaction-B4vPaBcK.mjs → transaction-Cpnd5xhK.mjs} +2 -2
  24. package/dist/{tsconfig-DpOi_7HA.mjs → tsconfig-BSF6chfb.mjs} +49 -32
  25. package/dist/{vitest-Dh5Qm_3L.mjs → vitest-CgpUDzkr.mjs} +1 -1
  26. package/dist/{workspace-tasks-Ca1zWNKr.mjs → workspace-tasks-DucdLmBS.mjs} +51 -51
  27. package/package.json +6 -6
@@ -1395,9 +1395,12 @@ interface ReleaseRegistryConfig {
1395
1395
  visibilityTimeoutMs?: number;
1396
1396
  }
1397
1397
  type NightlyProvider = 'npm' | 'pkg-pr-new';
1398
+ type NightlyVersioning = 'date' | 'snapshot';
1398
1399
  interface ReleaseNightlyConfig {
1399
1400
  /** Nightly publication backend. @default 'npm' */
1400
1401
  provider?: NightlyProvider;
1402
+ /** npm defaults to date (<base>-dev.YYYYMMDD.N, UTC); pkg-pr-new only supports snapshot. */
1403
+ versioning?: NightlyVersioning;
1401
1404
  /** Five-field UTC cron. Omit for manual nightly only; synchronize with repo upgrade. */
1402
1405
  schedule?: string;
1403
1406
  /** Timeout for each nightly quality script and verify hook, in positive safe integer milliseconds. @default 2700000 */
@@ -2220,4 +2223,4 @@ declare function createMonorepoVitestProjectConfig(options?: MonorepoVitestProje
2220
2223
  * @returns 可直接传给 `defineProject()` 或与其他 Vite/Vitest 配置 merge 的项目级配置片段
2221
2224
  */
2222
2225
  declare function defineVitestProjectConfig(input?: DefineVitestProjectConfigOptions): Promise<MonorepoVitestProjectConfigResult>;
2223
- export { UpgradeKeepDecision as $, DependencyAdmissionConfig as $n, DependencySection as $r, PublicApiUpdatePlan as $t, WorkspaceMoveOptions as A, CodeownersReport as An, OrganizationPresetReference as Ar, EslintToolingConfig as At, AiCommandConfig as B, InstallSecurityOptions as Bn, generateAgenticTemplates as Br, ProjectReferencesOperation as Bt, MonorepoVitestConfigOverrides as C, WorkspacePackageSummary as Cn, ConfigDiagnostic as Cr, DocsCloudflareWorkersTarget as Ct, ConfigValues as D, CodeownersDiagnostic as Dn, OrganizationPresetDiagnostic as Dr, DocsScriptDeploymentTarget as Dt, MonorepoVitestProjectConfigResult as E, CodeownersConfig as En, OrganizationPresetAsset as Er, DocsReadinessConfig as Et, WorkspaceRemovalEntry as F, normalizeInitToolingTargets as Fn, AgenticTemplateTask as Fr, VitestToolingConfig as Ft, MonorepoConfig as G, DoctorReport as Gn, DependencyConsistencyGroup as Gr, GitHooksInstallResult as Gt, CreateCommandConfig as H, InstallSecurityReport as Hn, CliOpts as Hr, GitHookCheck as Ht, WorkspaceRemovalFile as I, initToolingTargets as In, GenerateAgenticTemplateOptions as Ir, ProjectReferencesApplyResult as It, UpgradeApplyResult as J, DoctorSuppressionReport as Jn, DependencyFixPlan as Jr, PublicApiEntryConfig as Jt, UpgradeCommandConfig as K, DoctorStatus as Kn, DependencyFileChange as Kr, PublicApiConfig as Kt, WorkspaceRemovalOptions as L, InstallBuildDecision as Ln, createTimestampFolderName as Lr, ProjectReferencesCheck as Lt, WorkspaceMoveResult as M, init as Mn, OrganizationPresetSource as Mr, ToolingConfig as Mt, WorkspaceMoveReview as N, initMetadata as Nn, OrganizationPresetTemplate as Nr, TsconfigToolingConfig as Nt, SimpleGit as O, CodeownersOptions as On, OrganizationPresetLayer as Or, DocsSiteConfig as Ot, WorkspaceRemovalBlocker as P, initTooling as Pn, AgenticTemplateFormat as Pr, VitestProjectToolingConfig as Pt, UpgradeInput as Q, AdmissionDeclaration as Qn, DependencyReport as Qr, PublicApiReport as Qt, WorkspaceRemovalPlan as R, InstallPolicyKey as Rn, defaultAgenticBaseDir as Rr, ProjectReferencesConfig as Rt, MonorepoVitestConfigOptions as S, WorkspacePackageManifest as Sn, TemplateCatalogEntry as Sr, DocsChannel as St, MonorepoVitestProjectConfigOptions as T, WorkspacePackageWithJsonPath as Tn, ConfigValueSource as Tr, DocsDeploymentTarget as Tt, InitCommandConfig as U, InstallSecuritySetting as Un, DependenciesCommandConfig as Ur, GitHooksConfig as Ut, CreateChoiceOption as V, InstallSecurityPresetPlan as Vn, loadAgenticTasks as Vr, ProjectReferencesPlan as Vt, MirrorCommandConfig as W, DoctorCheck as Wn, DependencyApplyResult as Wr, GitHooksInstallOptions as Wt, UpgradeFilePlan as X, DoctorOptions as Xn, DependencyOccurrence as Xr, PublicApiOptions as Xt, UpgradeBaselineChange as Y, DoctorCommandConfig as Yn, DependencyGroupStatus as Yr, PublicApiEntryReport as Yt, UpgradeFileStatus as Z, DoctorSuppression as Zn, DependencyProtocol as Zr, PublicApiPackageConfig as Zt, DefineVitestProjectConfigOptions as _, WorkspaceImpactResult as _n, resolveTemplateCatalog as _r, EnvCacheOptions as _t, createMonorepoTsconfig as a, WorkspaceBoundaryException as an, applyCreateNewProjectPlan as ar, UpgradePlan as at, MonorepoStylelintConfig as b, WorkspaceData as bn, TemplateCatalog as br, EnvCacheTask as bt, createMonorepoCommitlintConfig as c, WorkspaceBoundarySelector as cn, CreateNewProjectPlan as cr, ReleaseAfterPublishHookConfig as ct, defineCommitlintConfig as d, WorkspaceGraphDiagnostic as dn, ResolvedTemplateSource as dr, ReleaseRegistryConfig as dt, DependencyVersionGroup as ei, PublicApiUpdateResult as en, DependencyAdmissionException as er, UpgradeMergeDetails as et, defineEslintConfig as f, WorkspaceGraphEdge as fn, TemplateSourceOptions as fr, ReleaseBranchRule as ft, DefineVitestConfigOptions as g, WorkspaceImpactOptions as gn, templateMap as gr, EnvCacheFinding as gt, DefineEslintConfigOptions as h, WorkspaceGraphOptions as hn, getTemplateMap as hr, EnvCacheEvidence as ht, defineVitestProjectConfig as i, WorkspaceBoundariesReport as in, DependencyAdmissionRule as ir, UpgradeOverrideFinding as it, WorkspaceMovePlan as j, WorkspaceOwnership as jn, OrganizationPresetResolution as jr, StylelintToolingConfig as jt, SimpleGitOptions as k, CodeownersPlan as kn, OrganizationPresetManifest as kr, CommitlintToolingConfig as kt, createMonorepoEslintConfig as l, WorkspaceDependencyType as ln, resolveCreateNewProjectPlan as lr, ReleaseCommandConfig as lt, DefineConfigOptions as m, WorkspaceGraphNode as mn, getCreateChoices as mr, EnvCacheConfig as mt, createMonorepoVitestProjectConfig as n, BoundarySeverity as nn, DependencyAdmissionOptions as nr, UpgradeMigrationsPlan as nt, defineTsconfigConfig as o, WorkspaceBoundaryFinding as on, createNewProject as or, UpgradeWorkspacePolicy as ot, defineStylelintConfig as p, WorkspaceGraphFilter as pn, TemplateSourceRequest as pr, ReleaseBranchesConfig as pt, UpgradeApplyOptions as q, DoctorSummary as qn, DependencyFixOptions as qr, PublicApiDiagnostic as qt, defineVitestConfig as r, WorkspaceBoundariesConfig as rn, DependencyAdmissionReport as rr, UpgradeOptions as rt, loadMonorepoToolingConfig as s, WorkspaceBoundaryRule as sn, CreateNewProjectOptions as sr, NightlyProvider as st, createMonorepoVitestConfig as t, CleanCommandConfig as tn, DependencyAdmissionFinding as tr, UpgradeMigrationStep as tt, createMonorepoStylelintConfig as u, WorkspaceGraph as un, resolveRemoteTemplateSource as ur, ReleaseNightlyConfig as ut, MonorepoCommitlintConfig as v, WorkspaceWhyResult as vn, CreateTemplateDefinition as vr, EnvCacheReport as vt, MonorepoVitestConfigResult as w, WorkspacePackageSummaryData as wn, ConfigSourceLayer as wr, DocsCommandConfig as wt, MonorepoTsconfig as x, WorkspacePackage as xn, TemplateCatalogDiagnostic as xr, EnvCacheVariable as xt, MonorepoEslintConfig as y, GetWorkspacePackagesOptions as yn, ResolveTemplateCatalogOptions as yr, EnvCacheSuppression as yt, WorkspaceRemovalResult as z, InstallSecurityExpectations as zn, generateAgenticTemplate as zr, ProjectReferencesDiagnostic as zt };
2226
+ export { UpgradeKeepDecision as $, AdmissionDeclaration as $n, DependencyReport as $r, PublicApiReport as $t, WorkspaceMoveOptions as A, CodeownersPlan as An, OrganizationPresetManifest as Ar, CommitlintToolingConfig as At, AiCommandConfig as B, InstallSecurityExpectations as Bn, generateAgenticTemplate as Br, ProjectReferencesDiagnostic as Bt, MonorepoVitestConfigOverrides as C, WorkspacePackageManifest as Cn, TemplateCatalogEntry as Cr, DocsChannel as Ct, ConfigValues as D, CodeownersConfig as Dn, OrganizationPresetAsset as Dr, DocsReadinessConfig as Dt, MonorepoVitestProjectConfigResult as E, WorkspacePackageWithJsonPath as En, ConfigValueSource as Er, DocsDeploymentTarget as Et, WorkspaceRemovalEntry as F, initTooling as Fn, AgenticTemplateFormat as Fr, VitestProjectToolingConfig as Ft, MonorepoConfig as G, DoctorCheck as Gn, DependencyApplyResult as Gr, GitHooksInstallOptions as Gt, CreateCommandConfig as H, InstallSecurityPresetPlan as Hn, loadAgenticTasks as Hr, ProjectReferencesPlan as Ht, WorkspaceRemovalFile as I, normalizeInitToolingTargets as In, AgenticTemplateTask as Ir, VitestToolingConfig as It, UpgradeApplyResult as J, DoctorSummary as Jn, DependencyFixOptions as Jr, PublicApiDiagnostic as Jt, UpgradeCommandConfig as K, DoctorReport as Kn, DependencyConsistencyGroup as Kr, GitHooksInstallResult as Kt, WorkspaceRemovalOptions as L, initToolingTargets as Ln, GenerateAgenticTemplateOptions as Lr, ProjectReferencesApplyResult as Lt, WorkspaceMoveResult as M, WorkspaceOwnership as Mn, OrganizationPresetResolution as Mr, StylelintToolingConfig as Mt, WorkspaceMoveReview as N, init as Nn, OrganizationPresetSource as Nr, ToolingConfig as Nt, SimpleGit as O, CodeownersDiagnostic as On, OrganizationPresetDiagnostic as Or, DocsScriptDeploymentTarget as Ot, WorkspaceRemovalBlocker as P, initMetadata as Pn, OrganizationPresetTemplate as Pr, TsconfigToolingConfig as Pt, UpgradeInput as Q, DoctorSuppression as Qn, DependencyProtocol as Qr, PublicApiPackageConfig as Qt, WorkspaceRemovalPlan as R, InstallBuildDecision as Rn, createTimestampFolderName as Rr, ProjectReferencesCheck as Rt, MonorepoVitestConfigOptions as S, WorkspacePackage as Sn, TemplateCatalogDiagnostic as Sr, EnvCacheVariable as St, MonorepoVitestProjectConfigOptions as T, WorkspacePackageSummaryData as Tn, ConfigSourceLayer as Tr, DocsCommandConfig as Tt, InitCommandConfig as U, InstallSecurityReport as Un, CliOpts as Ur, GitHookCheck as Ut, CreateChoiceOption as V, InstallSecurityOptions as Vn, generateAgenticTemplates as Vr, ProjectReferencesOperation as Vt, MirrorCommandConfig as W, InstallSecuritySetting as Wn, DependenciesCommandConfig as Wr, GitHooksConfig as Wt, UpgradeFilePlan as X, DoctorCommandConfig as Xn, DependencyGroupStatus as Xr, PublicApiEntryReport as Xt, UpgradeBaselineChange as Y, DoctorSuppressionReport as Yn, DependencyFixPlan as Yr, PublicApiEntryConfig as Yt, UpgradeFileStatus as Z, DoctorOptions as Zn, DependencyOccurrence as Zr, PublicApiOptions as Zt, DefineVitestProjectConfigOptions as _, WorkspaceImpactOptions as _n, templateMap as _r, EnvCacheFinding as _t, createMonorepoTsconfig as a, WorkspaceBoundariesReport as an, DependencyAdmissionRule as ar, UpgradePlan as at, MonorepoStylelintConfig as b, GetWorkspacePackagesOptions as bn, ResolveTemplateCatalogOptions as br, EnvCacheSuppression as bt, createMonorepoCommitlintConfig as c, WorkspaceBoundaryRule as cn, CreateNewProjectOptions as cr, NightlyVersioning as ct, defineCommitlintConfig as d, WorkspaceGraph as dn, resolveRemoteTemplateSource as dr, ReleaseNightlyConfig as dt, DependencySection as ei, PublicApiUpdatePlan as en, DependencyAdmissionConfig as er, UpgradeMergeDetails as et, defineEslintConfig as f, WorkspaceGraphDiagnostic as fn, ResolvedTemplateSource as fr, ReleaseRegistryConfig as ft, DefineVitestConfigOptions as g, WorkspaceGraphOptions as gn, getTemplateMap as gr, EnvCacheEvidence as gt, DefineEslintConfigOptions as h, WorkspaceGraphNode as hn, getCreateChoices as hr, EnvCacheConfig as ht, defineVitestProjectConfig as i, WorkspaceBoundariesConfig as in, DependencyAdmissionReport as ir, UpgradeOverrideFinding as it, WorkspaceMovePlan as j, CodeownersReport as jn, OrganizationPresetReference as jr, EslintToolingConfig as jt, SimpleGitOptions as k, CodeownersOptions as kn, OrganizationPresetLayer as kr, DocsSiteConfig as kt, createMonorepoEslintConfig as l, WorkspaceBoundarySelector as ln, CreateNewProjectPlan as lr, ReleaseAfterPublishHookConfig as lt, DefineConfigOptions as m, WorkspaceGraphFilter as mn, TemplateSourceRequest as mr, ReleaseBranchesConfig as mt, createMonorepoVitestProjectConfig as n, CleanCommandConfig as nn, DependencyAdmissionFinding as nr, UpgradeMigrationsPlan as nt, defineTsconfigConfig as o, WorkspaceBoundaryException as on, applyCreateNewProjectPlan as or, UpgradeWorkspacePolicy as ot, defineStylelintConfig as p, WorkspaceGraphEdge as pn, TemplateSourceOptions as pr, ReleaseBranchRule as pt, UpgradeApplyOptions as q, DoctorStatus as qn, DependencyFileChange as qr, PublicApiConfig as qt, defineVitestConfig as r, BoundarySeverity as rn, DependencyAdmissionOptions as rr, UpgradeOptions as rt, loadMonorepoToolingConfig as s, WorkspaceBoundaryFinding as sn, createNewProject as sr, NightlyProvider as st, createMonorepoVitestConfig as t, DependencyVersionGroup as ti, PublicApiUpdateResult as tn, DependencyAdmissionException as tr, UpgradeMigrationStep as tt, createMonorepoStylelintConfig as u, WorkspaceDependencyType as un, resolveCreateNewProjectPlan as ur, ReleaseCommandConfig as ut, MonorepoCommitlintConfig as v, WorkspaceImpactResult as vn, resolveTemplateCatalog as vr, EnvCacheOptions as vt, MonorepoVitestConfigResult as w, WorkspacePackageSummary as wn, ConfigDiagnostic as wr, DocsCloudflareWorkersTarget as wt, MonorepoTsconfig as x, WorkspaceData as xn, TemplateCatalog as xr, EnvCacheTask as xt, MonorepoEslintConfig as y, WorkspaceWhyResult as yn, CreateTemplateDefinition as yr, EnvCacheReport as yt, WorkspaceRemovalResult as z, InstallPolicyKey as zn, defaultAgenticBaseDir as zr, ProjectReferencesConfig as zt };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as UpgradeKeepDecision, $n as DependencyAdmissionConfig, $r as DependencySection, $t as PublicApiUpdatePlan, A as WorkspaceMoveOptions, An as CodeownersReport, Ar as OrganizationPresetReference, At as EslintToolingConfig, B as AiCommandConfig, Bn as InstallSecurityOptions, Br as generateAgenticTemplates, Bt as ProjectReferencesOperation, C as MonorepoVitestConfigOverrides, Cn as WorkspacePackageSummary, Cr as ConfigDiagnostic, Ct as DocsCloudflareWorkersTarget, D as ConfigValues, Dn as CodeownersDiagnostic, Dr as OrganizationPresetDiagnostic, Dt as DocsScriptDeploymentTarget, E as MonorepoVitestProjectConfigResult, En as CodeownersConfig, Er as OrganizationPresetAsset, Et as DocsReadinessConfig, F as WorkspaceRemovalEntry, Fn as normalizeInitToolingTargets, Fr as AgenticTemplateTask, Ft as VitestToolingConfig, G as MonorepoConfig, Gn as DoctorReport, Gr as DependencyConsistencyGroup, Gt as GitHooksInstallResult, H as CreateCommandConfig, Hn as InstallSecurityReport, Hr as CliOpts, Ht as GitHookCheck, I as WorkspaceRemovalFile, In as initToolingTargets, Ir as GenerateAgenticTemplateOptions, It as ProjectReferencesApplyResult, J as UpgradeApplyResult, Jn as DoctorSuppressionReport, Jr as DependencyFixPlan, Jt as PublicApiEntryConfig, K as UpgradeCommandConfig, Kn as DoctorStatus, Kr as DependencyFileChange, Kt as PublicApiConfig, L as WorkspaceRemovalOptions, Ln as InstallBuildDecision, Lr as createTimestampFolderName, Lt as ProjectReferencesCheck, M as WorkspaceMoveResult, Mn as init, Mr as OrganizationPresetSource, Mt as ToolingConfig, N as WorkspaceMoveReview, Nn as initMetadata, Nr as OrganizationPresetTemplate, Nt as TsconfigToolingConfig, O as SimpleGit, On as CodeownersOptions, Or as OrganizationPresetLayer, Ot as DocsSiteConfig, P as WorkspaceRemovalBlocker, Pn as initTooling, Pr as AgenticTemplateFormat, Pt as VitestProjectToolingConfig, Q as UpgradeInput, Qn as AdmissionDeclaration, Qr as DependencyReport, Qt as PublicApiReport, R as WorkspaceRemovalPlan, Rn as InstallPolicyKey, Rr as defaultAgenticBaseDir, Rt as ProjectReferencesConfig, S as MonorepoVitestConfigOptions, Sn as WorkspacePackageManifest, Sr as TemplateCatalogEntry, St as DocsChannel, T as MonorepoVitestProjectConfigOptions, Tn as WorkspacePackageWithJsonPath, Tr as ConfigValueSource, Tt as DocsDeploymentTarget, U as InitCommandConfig, Un as InstallSecuritySetting, Ur as DependenciesCommandConfig, Ut as GitHooksConfig, V as CreateChoiceOption, Vn as InstallSecurityPresetPlan, Vr as loadAgenticTasks, Vt as ProjectReferencesPlan, W as MirrorCommandConfig, Wn as DoctorCheck, Wr as DependencyApplyResult, Wt as GitHooksInstallOptions, X as UpgradeFilePlan, Xn as DoctorOptions, Xr as DependencyOccurrence, Xt as PublicApiOptions, Y as UpgradeBaselineChange, Yn as DoctorCommandConfig, Yr as DependencyGroupStatus, Yt as PublicApiEntryReport, Z as UpgradeFileStatus, Zn as DoctorSuppression, Zr as DependencyProtocol, Zt as PublicApiPackageConfig, _ as DefineVitestProjectConfigOptions, _n as WorkspaceImpactResult, _r as resolveTemplateCatalog, _t as EnvCacheOptions, a as createMonorepoTsconfig, an as WorkspaceBoundaryException, ar as applyCreateNewProjectPlan, at as UpgradePlan, b as MonorepoStylelintConfig, bn as WorkspaceData, br as TemplateCatalog, bt as EnvCacheTask, c as createMonorepoCommitlintConfig, cn as WorkspaceBoundarySelector, cr as CreateNewProjectPlan, ct as ReleaseAfterPublishHookConfig, d as defineCommitlintConfig, dn as WorkspaceGraphDiagnostic, dr as ResolvedTemplateSource, dt as ReleaseRegistryConfig, ei as DependencyVersionGroup, en as PublicApiUpdateResult, er as DependencyAdmissionException, et as UpgradeMergeDetails, f as defineEslintConfig, fn as WorkspaceGraphEdge, fr as TemplateSourceOptions, ft as ReleaseBranchRule, g as DefineVitestConfigOptions, gn as WorkspaceImpactOptions, gr as templateMap, gt as EnvCacheFinding, h as DefineEslintConfigOptions, hn as WorkspaceGraphOptions, hr as getTemplateMap, ht as EnvCacheEvidence, i as defineVitestProjectConfig, in as WorkspaceBoundariesReport, ir as DependencyAdmissionRule, it as UpgradeOverrideFinding, j as WorkspaceMovePlan, jn as WorkspaceOwnership, jr as OrganizationPresetResolution, jt as StylelintToolingConfig, k as SimpleGitOptions, kn as CodeownersPlan, kr as OrganizationPresetManifest, kt as CommitlintToolingConfig, l as createMonorepoEslintConfig, ln as WorkspaceDependencyType, lr as resolveCreateNewProjectPlan, lt as ReleaseCommandConfig, m as DefineConfigOptions, mn as WorkspaceGraphNode, mr as getCreateChoices, mt as EnvCacheConfig, n as createMonorepoVitestProjectConfig, nn as BoundarySeverity, nr as DependencyAdmissionOptions, nt as UpgradeMigrationsPlan, o as defineTsconfigConfig, on as WorkspaceBoundaryFinding, or as createNewProject, ot as UpgradeWorkspacePolicy, p as defineStylelintConfig, pn as WorkspaceGraphFilter, pr as TemplateSourceRequest, pt as ReleaseBranchesConfig, q as UpgradeApplyOptions, qn as DoctorSummary, qr as DependencyFixOptions, qt as PublicApiDiagnostic, r as defineVitestConfig, rn as WorkspaceBoundariesConfig, rr as DependencyAdmissionReport, rt as UpgradeOptions, s as loadMonorepoToolingConfig, sn as WorkspaceBoundaryRule, sr as CreateNewProjectOptions, st as NightlyProvider, t as createMonorepoVitestConfig, tn as CleanCommandConfig, tr as DependencyAdmissionFinding, tt as UpgradeMigrationStep, u as createMonorepoStylelintConfig, un as WorkspaceGraph, ur as resolveRemoteTemplateSource, ut as ReleaseNightlyConfig, v as MonorepoCommitlintConfig, vn as WorkspaceWhyResult, vr as CreateTemplateDefinition, vt as EnvCacheReport, w as MonorepoVitestConfigResult, wn as WorkspacePackageSummaryData, wr as ConfigSourceLayer, wt as DocsCommandConfig, x as MonorepoTsconfig, xn as WorkspacePackage, xr as TemplateCatalogDiagnostic, xt as EnvCacheVariable, y as MonorepoEslintConfig, yn as GetWorkspacePackagesOptions, yr as ResolveTemplateCatalogOptions, yt as EnvCacheSuppression, z as WorkspaceRemovalResult, zn as InstallSecurityExpectations, zr as generateAgenticTemplate, zt as ProjectReferencesDiagnostic } from "./index-C7KR7hT8.mjs";
1
+ import { $ as UpgradeKeepDecision, $n as AdmissionDeclaration, $r as DependencyReport, $t as PublicApiReport, A as WorkspaceMoveOptions, An as CodeownersPlan, Ar as OrganizationPresetManifest, At as CommitlintToolingConfig, B as AiCommandConfig, Bn as InstallSecurityExpectations, Br as generateAgenticTemplate, Bt as ProjectReferencesDiagnostic, C as MonorepoVitestConfigOverrides, Cn as WorkspacePackageManifest, Cr as TemplateCatalogEntry, Ct as DocsChannel, D as ConfigValues, Dn as CodeownersConfig, Dr as OrganizationPresetAsset, Dt as DocsReadinessConfig, E as MonorepoVitestProjectConfigResult, En as WorkspacePackageWithJsonPath, Er as ConfigValueSource, Et as DocsDeploymentTarget, F as WorkspaceRemovalEntry, Fn as initTooling, Fr as AgenticTemplateFormat, Ft as VitestProjectToolingConfig, G as MonorepoConfig, Gn as DoctorCheck, Gr as DependencyApplyResult, Gt as GitHooksInstallOptions, H as CreateCommandConfig, Hn as InstallSecurityPresetPlan, Hr as loadAgenticTasks, Ht as ProjectReferencesPlan, I as WorkspaceRemovalFile, In as normalizeInitToolingTargets, Ir as AgenticTemplateTask, It as VitestToolingConfig, J as UpgradeApplyResult, Jn as DoctorSummary, Jr as DependencyFixOptions, Jt as PublicApiDiagnostic, K as UpgradeCommandConfig, Kn as DoctorReport, Kr as DependencyConsistencyGroup, Kt as GitHooksInstallResult, L as WorkspaceRemovalOptions, Ln as initToolingTargets, Lr as GenerateAgenticTemplateOptions, Lt as ProjectReferencesApplyResult, M as WorkspaceMoveResult, Mn as WorkspaceOwnership, Mr as OrganizationPresetResolution, Mt as StylelintToolingConfig, N as WorkspaceMoveReview, Nn as init, Nr as OrganizationPresetSource, Nt as ToolingConfig, O as SimpleGit, On as CodeownersDiagnostic, Or as OrganizationPresetDiagnostic, Ot as DocsScriptDeploymentTarget, P as WorkspaceRemovalBlocker, Pn as initMetadata, Pr as OrganizationPresetTemplate, Pt as TsconfigToolingConfig, Q as UpgradeInput, Qn as DoctorSuppression, Qr as DependencyProtocol, Qt as PublicApiPackageConfig, R as WorkspaceRemovalPlan, Rn as InstallBuildDecision, Rr as createTimestampFolderName, Rt as ProjectReferencesCheck, S as MonorepoVitestConfigOptions, Sn as WorkspacePackage, Sr as TemplateCatalogDiagnostic, St as EnvCacheVariable, T as MonorepoVitestProjectConfigOptions, Tn as WorkspacePackageSummaryData, Tr as ConfigSourceLayer, Tt as DocsCommandConfig, U as InitCommandConfig, Un as InstallSecurityReport, Ur as CliOpts, Ut as GitHookCheck, V as CreateChoiceOption, Vn as InstallSecurityOptions, Vr as generateAgenticTemplates, Vt as ProjectReferencesOperation, W as MirrorCommandConfig, Wn as InstallSecuritySetting, Wr as DependenciesCommandConfig, Wt as GitHooksConfig, X as UpgradeFilePlan, Xn as DoctorCommandConfig, Xr as DependencyGroupStatus, Xt as PublicApiEntryReport, Y as UpgradeBaselineChange, Yn as DoctorSuppressionReport, Yr as DependencyFixPlan, Yt as PublicApiEntryConfig, Z as UpgradeFileStatus, Zn as DoctorOptions, Zr as DependencyOccurrence, Zt as PublicApiOptions, _ as DefineVitestProjectConfigOptions, _n as WorkspaceImpactOptions, _r as templateMap, _t as EnvCacheFinding, a as createMonorepoTsconfig, an as WorkspaceBoundariesReport, ar as DependencyAdmissionRule, at as UpgradePlan, b as MonorepoStylelintConfig, bn as GetWorkspacePackagesOptions, br as ResolveTemplateCatalogOptions, bt as EnvCacheSuppression, c as createMonorepoCommitlintConfig, cn as WorkspaceBoundaryRule, cr as CreateNewProjectOptions, ct as NightlyVersioning, d as defineCommitlintConfig, dn as WorkspaceGraph, dr as resolveRemoteTemplateSource, dt as ReleaseNightlyConfig, ei as DependencySection, en as PublicApiUpdatePlan, er as DependencyAdmissionConfig, et as UpgradeMergeDetails, f as defineEslintConfig, fn as WorkspaceGraphDiagnostic, fr as ResolvedTemplateSource, ft as ReleaseRegistryConfig, g as DefineVitestConfigOptions, gn as WorkspaceGraphOptions, gr as getTemplateMap, gt as EnvCacheEvidence, h as DefineEslintConfigOptions, hn as WorkspaceGraphNode, hr as getCreateChoices, ht as EnvCacheConfig, i as defineVitestProjectConfig, in as WorkspaceBoundariesConfig, ir as DependencyAdmissionReport, it as UpgradeOverrideFinding, j as WorkspaceMovePlan, jn as CodeownersReport, jr as OrganizationPresetReference, jt as EslintToolingConfig, k as SimpleGitOptions, kn as CodeownersOptions, kr as OrganizationPresetLayer, kt as DocsSiteConfig, l as createMonorepoEslintConfig, ln as WorkspaceBoundarySelector, lr as CreateNewProjectPlan, lt as ReleaseAfterPublishHookConfig, m as DefineConfigOptions, mn as WorkspaceGraphFilter, mr as TemplateSourceRequest, mt as ReleaseBranchesConfig, n as createMonorepoVitestProjectConfig, nn as CleanCommandConfig, nr as DependencyAdmissionFinding, nt as UpgradeMigrationsPlan, o as defineTsconfigConfig, on as WorkspaceBoundaryException, or as applyCreateNewProjectPlan, ot as UpgradeWorkspacePolicy, p as defineStylelintConfig, pn as WorkspaceGraphEdge, pr as TemplateSourceOptions, pt as ReleaseBranchRule, q as UpgradeApplyOptions, qn as DoctorStatus, qr as DependencyFileChange, qt as PublicApiConfig, r as defineVitestConfig, rn as BoundarySeverity, rr as DependencyAdmissionOptions, rt as UpgradeOptions, s as loadMonorepoToolingConfig, sn as WorkspaceBoundaryFinding, sr as createNewProject, st as NightlyProvider, t as createMonorepoVitestConfig, ti as DependencyVersionGroup, tn as PublicApiUpdateResult, tr as DependencyAdmissionException, tt as UpgradeMigrationStep, u as createMonorepoStylelintConfig, un as WorkspaceDependencyType, ur as resolveCreateNewProjectPlan, ut as ReleaseCommandConfig, v as MonorepoCommitlintConfig, vn as WorkspaceImpactResult, vr as resolveTemplateCatalog, vt as EnvCacheOptions, w as MonorepoVitestConfigResult, wn as WorkspacePackageSummary, wr as ConfigDiagnostic, wt as DocsCloudflareWorkersTarget, x as MonorepoTsconfig, xn as WorkspaceData, xr as TemplateCatalog, xt as EnvCacheTask, y as MonorepoEslintConfig, yn as WorkspaceWhyResult, yr as CreateTemplateDefinition, yt as EnvCacheReport, z as WorkspaceRemovalResult, zn as InstallPolicyKey, zr as defaultAgenticBaseDir, zt as ProjectReferencesConfig } from "./index-CFxo1hPA.mjs";
2
2
  import { writeFile } from "node:fs/promises";
3
3
  import { execFileSync, spawnSync } from "node:child_process";
4
4
  import crypto from "node:crypto";
@@ -1824,6 +1824,8 @@ interface DocsOptions {
1824
1824
  spawn?: typeof spawnSync;
1825
1825
  /** Read-only provider and optional public readiness HTTP transport; credentials are never persisted. */
1826
1826
  fetch?: typeof fetch;
1827
+ /** Delay provider confirmation retries; defaults to a bounded production backoff. */
1828
+ sleep?: (milliseconds: number) => Promise<void>;
1827
1829
  /** Stream child stdout to stderr so CLI JSON stdout contains only the result/report. */
1828
1830
  json?: boolean;
1829
1831
  }
@@ -3030,4 +3032,4 @@ export declare function escapeStringRegexp(str: string): string;
3030
3032
  * 判断字符串是否命中任意一个正则,用于过滤要同步的资产文件。
3031
3033
  */
3032
3034
  export declare function isMatch(str: string, arr: RegExp[]): boolean;
3033
- 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 AutoChangesetApplyOptions, type AutoChangesetApproval, type AutoChangesetDecision, type AutoChangesetDependencyField, type AutoChangesetLevel, type AutoChangesetOptions, type AutoChangesetPolicy, type AutoChangesetReport, type AutoChangesetRevision, type AutoChangesetWorkflowOptions, type BootstrapConsumerReport, type BootstrapManifest, type BootstrapOptions, type BootstrapPackage, type BootstrapPlan, type BootstrapReport, type BootstrapSource, 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, type ConsumerApplicability, type ConsumerHost, type ConsumerPackageApplicability, type ConsumerRuntimeContext, 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, DocsChannel, DocsCloudflareWorkersTarget, DocsCommandConfig, type DocsDeploymentPlan, type DocsDeploymentReport, type DocsDeploymentResult, type DocsDeploymentStage, type DocsDeploymentStageKey, DocsDeploymentTarget, type DocsOptions, type DocsProviderReceipt, DocsReadinessConfig, DocsScriptDeploymentTarget, DocsSiteConfig, type DocsStateStore, 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 FreezeSnapshotSourceOptions, type GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, type GitHookCheck, type GitHooksConfig, type GitHooksInstallOptions, type GitHooksInstallResult, type GitHubClientOptions, type GitHubOperations, type GitHubRelease, type GitUrlMetadata, InitCommandConfig, type InstallBuildDecision, type InstallPolicyKey, type InstallSecurityExpectations, type InstallSecurityOptions, type InstallSecurityPresetPlan, type InstallSecurityReport, type InstallSecuritySetting, type MaintenanceFile, type MaintenancePresetChange, type MaintenancePresetUpgrade, type MaintenanceUpgradeOptions, type MaintenanceUpgradeReport, type MaintenanceVersionChange, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, type NightlyConsumerReport, type NightlyOptions, type NightlyPackage, type NightlyProvider, type NightlyReport, OrganizationPresetAsset, type OrganizationPresetAssetPlan, type OrganizationPresetAssetResult, OrganizationPresetDiagnostic, OrganizationPresetLayer, OrganizationPresetManifest, OrganizationPresetReference, OrganizationPresetResolution, OrganizationPresetSource, OrganizationPresetTemplate, type PackageCheckCommand, type PackageCheckDiagnostic, type PackageCheckManifestOptions, type PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, type PrepareBootstrapOptions, type PrepareSnapshotOptions, type PreparedSnapshot, type PreparedSnapshotConsumerOptions, type PreparedSnapshotConsumerReport, type PreparedSnapshotManifest, type PreparedSnapshotPublishOptions, type PreparedSnapshotPublishReport, 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 ReleaseBootstrapStage, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCiStage, type StageReceipt as ReleaseCiStageResult, type ReleaseCommandConfig, type ReleaseCompletionRecord, type ReleaseLifecycleState, type ReleaseNightlyConfig, type ReleaseOidcArtifactAuditOptions, type ReleaseOidcAuditOptions, type ReleaseOidcAuditPackage, type ReleaseOidcAuditReport, type ReleaseOidcPackageResult, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleasePreparationGeneratedFile, type ReleasePreparationGeneratedFileContext, type ReleasePreparationPolicy, type ReleasePreparationValidationFile, type ReleasePreparationValidationOptions, type ReleasePreparationValidationReport, type ReleaseRegistryConfig, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotBuildPackage, type SnapshotBuildPlan, type SnapshotBuildPlanOptions, type SnapshotDependency, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotPreparationContext, type SnapshotPreparationReceipt, type SnapshotPreparationResult, type SnapshotReferenceGitlink, type SnapshotReport, type SnapshotRunEvidence, type SnapshotSource, type SnapshotWorkflowOptions, type SnapshotWorkflowPolicy, type SnapshotWorkflows, 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, UpgradeApplyOptions, UpgradeApplyResult, UpgradeBaselineChange, UpgradeCommandConfig, UpgradeFilePlan, UpgradeFileStatus, UpgradeInput, UpgradeKeepDecision, UpgradeMergeDetails, UpgradeMigrationStep, UpgradeMigrationsPlan, UpgradeOptions, UpgradeOverrideFinding, UpgradePlan, UpgradeWorkspacePolicy, type VerifiedSnapshotRun, type VerifyCommandOptions, type VerifySnapshotRunOptions, 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, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getTemplateMap, init, initMetadata, initTooling, initToolingTargets, isGitignoreFile, listTemplateInstances, loadAgenticTasks, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, normalizeInitToolingTargets, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
3035
+ 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 AutoChangesetApplyOptions, type AutoChangesetApproval, type AutoChangesetDecision, type AutoChangesetDependencyField, type AutoChangesetLevel, type AutoChangesetOptions, type AutoChangesetPolicy, type AutoChangesetReport, type AutoChangesetRevision, type AutoChangesetWorkflowOptions, type BootstrapConsumerReport, type BootstrapManifest, type BootstrapOptions, type BootstrapPackage, type BootstrapPlan, type BootstrapReport, type BootstrapSource, 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, type ConsumerApplicability, type ConsumerHost, type ConsumerPackageApplicability, type ConsumerRuntimeContext, 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, DocsChannel, DocsCloudflareWorkersTarget, DocsCommandConfig, type DocsDeploymentPlan, type DocsDeploymentReport, type DocsDeploymentResult, type DocsDeploymentStage, type DocsDeploymentStageKey, DocsDeploymentTarget, type DocsOptions, type DocsProviderReceipt, DocsReadinessConfig, DocsScriptDeploymentTarget, DocsSiteConfig, type DocsStateStore, 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 FreezeSnapshotSourceOptions, type GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, type GitHookCheck, type GitHooksConfig, type GitHooksInstallOptions, type GitHooksInstallResult, type GitHubClientOptions, type GitHubOperations, type GitHubRelease, type GitUrlMetadata, InitCommandConfig, type InstallBuildDecision, type InstallPolicyKey, type InstallSecurityExpectations, type InstallSecurityOptions, type InstallSecurityPresetPlan, type InstallSecurityReport, type InstallSecuritySetting, type MaintenanceFile, type MaintenancePresetChange, type MaintenancePresetUpgrade, type MaintenanceUpgradeOptions, type MaintenanceUpgradeReport, type MaintenanceVersionChange, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, type NightlyConsumerReport, type NightlyOptions, type NightlyPackage, type NightlyProvider, type NightlyReport, type NightlyVersioning, OrganizationPresetAsset, type OrganizationPresetAssetPlan, type OrganizationPresetAssetResult, OrganizationPresetDiagnostic, OrganizationPresetLayer, OrganizationPresetManifest, OrganizationPresetReference, OrganizationPresetResolution, OrganizationPresetSource, OrganizationPresetTemplate, type PackageCheckCommand, type PackageCheckDiagnostic, type PackageCheckManifestOptions, type PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, type PrepareBootstrapOptions, type PrepareSnapshotOptions, type PreparedSnapshot, type PreparedSnapshotConsumerOptions, type PreparedSnapshotConsumerReport, type PreparedSnapshotManifest, type PreparedSnapshotPublishOptions, type PreparedSnapshotPublishReport, 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 ReleaseBootstrapStage, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCiStage, type StageReceipt as ReleaseCiStageResult, type ReleaseCommandConfig, type ReleaseCompletionRecord, type ReleaseLifecycleState, type ReleaseNightlyConfig, type ReleaseOidcArtifactAuditOptions, type ReleaseOidcAuditOptions, type ReleaseOidcAuditPackage, type ReleaseOidcAuditReport, type ReleaseOidcPackageResult, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleasePreparationGeneratedFile, type ReleasePreparationGeneratedFileContext, type ReleasePreparationPolicy, type ReleasePreparationValidationFile, type ReleasePreparationValidationOptions, type ReleasePreparationValidationReport, type ReleaseRegistryConfig, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotBuildPackage, type SnapshotBuildPlan, type SnapshotBuildPlanOptions, type SnapshotDependency, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotPreparationContext, type SnapshotPreparationReceipt, type SnapshotPreparationResult, type SnapshotReferenceGitlink, type SnapshotReport, type SnapshotRunEvidence, type SnapshotSource, type SnapshotWorkflowOptions, type SnapshotWorkflowPolicy, type SnapshotWorkflows, 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, UpgradeApplyOptions, UpgradeApplyResult, UpgradeBaselineChange, UpgradeCommandConfig, UpgradeFilePlan, UpgradeFileStatus, UpgradeInput, UpgradeKeepDecision, UpgradeMergeDetails, UpgradeMigrationStep, UpgradeMigrationsPlan, UpgradeOptions, UpgradeOverrideFinding, UpgradePlan, UpgradeWorkspacePolicy, type VerifiedSnapshotRun, type VerifyCommandOptions, type VerifySnapshotRunOptions, 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, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getTemplateMap, init, initMetadata, initTooling, initToolingTargets, isGitignoreFile, listTemplateInstances, loadAgenticTasks, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, normalizeInitToolingTargets, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { A as packageDir, I as ConfigValidationError, L as assertMonorepoConfig, M as rootDir, N as templatesDir, O as assetsDir, P as version, R as validateMonorepoConfig, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, h as resolveOrganizationPresets, i as loadMonorepoToolingConfig, j as packageName, k as cliName, l as defineMonorepoConfig, m as resolveToolingConfig, n as defineTsconfigConfig, p as resolveCommandConfig, s as configExtensions, t as createMonorepoTsconfig, u as getRepoctlConfigCandidates } from "./tsconfig-DpOi_7HA.mjs";
2
- import { $ as WorkspaceGraphQueryError, At as outputJson, B as saveKnipBaseline, Bt as getWorkspacePackages, Ct as ensureDir, Dt as isIgnorableFsError, Ft as writeJSON, I as getKnipConfigurationSuggestions, It as writeJson, J as getWorkspaceGraph, Lt as clearWorkspaceCache, M as formatEnvironmentCache, Mt as readJSON, Nt as readJson, Ot as outputFile, P as checkEnvironmentCache, Pt as remove, Q as whyWorkspaceDependency, R as planKnipCheck, Rt as getWorkspaceData, St as copy, Tt as exists, Ut as GitClient, W as analyzeTurboRuns, X as filterWorkspaceGraph, Z as getWorkspaceImpact, _ as planTemplateLink, a as inspectWorkspaceOwners, b as planGenerate, c as loadTemplateInstanceRegistry, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, i as planCodeowners, jt as pathExists, kt as outputJSON, 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, wt as ensureFile, x as generators, y as applyGeneratePlan, z as runKnipCheck, zt as getWorkspacePackageSummaries } from "./workspace-tasks-Ca1zWNKr.mjs";
3
- import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, d as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport } from "./execute-Y_6G_tEl.mjs";
4
- import { $ as formatUpgradePlan, $t as resolveCreateNewProjectPlan, A as applyProjectReferencesPlan, B as installGitHooks, Bt as createContext, C as createNightlyPlan, Ct as prepareBootstrap, D as createSnapshotPlan, Dt as createBootstrapPlan, E as releaseSnapshot, F as detectMaintenanceVersionChange, Ft as init, G as planDocsDeployment, Gt as runDoctor, H as planInstallSecurityPreset, Ht as collectEnvPaths, I as applyOrganizationPresetAssets, It as initMetadata, J as checkPublicApi, Jt as planUpgrade, K as checkPeerDependencies, Kt as applyDoctorFixPlan, L as planOrganizationPresetAssets, Lt as initTooling, M as checkPackages, Mt as createAutoChangesetPlan, N as getMaintenanceWorkflow, Nt as getAutoChangesetWorkflow, O as checkProjectReferences, Ot as parsePublishSummary, P as prepareMaintenanceUpgrade, Pt as setVscodeBinaryMirror, Q as upgradeMonorepo, R as applyDevContainerPlan, Rt as normalizeInitToolingTargets, S as createReleasePlan, St as auditReleaseOidc, U as deployDocs, Ut as collectEnvSnapshot, V as applyInstallSecurityPreset, Vt as collectEnvInfo, W as DocsDeploymentError, Wt as collectEnvSupportBundle, X as planPublicApiUpdate, Xt as applyCreateNewProjectPlan, Y as applyPublicApiUpdate, Yt as applyUpgradePlan, Z as formatPublicApiReport, Zt as createNewProject, _ as createSnapshotBuildPlan, _n as generateAgenticTemplate, _t as GitHubClient, a as planWorkspaceMove, an as resolveTemplateCatalog, at as readReleasePreparationPolicy, bt as verifyBootstrapPublication, c as applyToolingCapability, cn as inspectMonorepoConfig, ct as recoverUnpublished, d as planTemplateValidation, dn as validateConfigFile, dt as publishStable, en as getCreateChoices, et as checkTemplates, f as getSnapshotWorkflows, fn as cleanProjects, ft as releaseStable, g as prepareSnapshot, gn as defaultAgenticBaseDir, gt as releasePrerelease, h as publishPreparedSnapshot, hn as createTimestampFolderName, ht as exitPrerelease, i as applyWorkspaceMovePlan, it as validateReleasePreparation, j as planProjectReferences, jt as applyAutoChangeset, k as syncProjectReferences, l as planToolingCapability, ln as explainMonorepoConfig, lt as releaseCi, mn as verifyPrePush, mt as enterPrerelease, n as applyWorkspaceRemovalPlan, nn as templateMap, nt as skillTargets, o as applyWorkspaceArtifactPlan, ot as repairReleaseNotes, pn as verifyStagedTypecheck, pt as reconcileRelease, q as resolveAffectedCheckMatrix, qt as planDoctorFix, r as planWorkspaceRemoval, rn as resolveRemoteTemplateSource, rt as syncSkills, s as planWorkspaceArtifact, sn as updateIssueTemplateConfig, st as createReleasePullRequest, tn as getTemplateMap, tt as getSkillTargetPaths, u as validateTemplate, un as sanitizeConfigReport, ut as prepareStable, v as verifySnapshotRun, vn as generateAgenticTemplates, vt as GitHubApiError, w as releaseNightly, wt as snapshotPlanDigest, x as verifyPreparedSnapshotConsumer, xt as publishBootstrap, y as freezeSnapshotSource, yn as loadAgenticTasks, yt as releaseBootstrap, z as planDevContainer, zt as initToolingTargets } from "./commands-CeEzfoW8.mjs";
5
- import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-DA7VmNjC.mjs";
6
- import { B as toWorkspaceAssetPath, E as checkDependencyAdmission, R as isGitignoreFile, T as checkWorkspaceBoundaries, V as toWorkspaceGitignorePath, b as resolveReleaseBranches, f as inspectInstallSecurity, i as hasTemplateDriftIssues, l as getDoctorRuleIds, r as formatTemplateDriftReport, t as checkTemplateDrift, z as toPublishGitignorePath } from "./template-drift-B18bgxT6.mjs";
7
- import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, 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-Dh5Qm_3L.mjs";
8
- import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-CIrWBABk.mjs";
9
- import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-6_tT0U3p.mjs";
1
+ import { A as packageDir, I as ConfigValidationError, L as assertMonorepoConfig, M as rootDir, N as templatesDir, O as assetsDir, P as version, R as validateMonorepoConfig, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, h as resolveOrganizationPresets, i as loadMonorepoToolingConfig, j as packageName, k as cliName, l as defineMonorepoConfig, m as resolveToolingConfig, n as defineTsconfigConfig, p as resolveCommandConfig, s as configExtensions, t as createMonorepoTsconfig, u as getRepoctlConfigCandidates } from "./tsconfig-BSF6chfb.mjs";
2
+ import { $ as WorkspaceGraphQueryError, At as outputJson, B as saveKnipBaseline, Bt as getWorkspacePackages, Ct as ensureDir, Dt as isIgnorableFsError, Ft as writeJSON, I as getKnipConfigurationSuggestions, It as writeJson, J as getWorkspaceGraph, Lt as clearWorkspaceCache, M as formatEnvironmentCache, Mt as readJSON, Nt as readJson, Ot as outputFile, P as checkEnvironmentCache, Pt as remove, Q as whyWorkspaceDependency, R as planKnipCheck, Rt as getWorkspaceData, St as copy, Tt as exists, Ut as GitClient, W as analyzeTurboRuns, X as filterWorkspaceGraph, Z as getWorkspaceImpact, _ as planTemplateLink, a as inspectWorkspaceOwners, b as planGenerate, c as loadTemplateInstanceRegistry, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, i as planCodeowners, jt as pathExists, kt as outputJSON, 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, wt as ensureFile, x as generators, y as applyGeneratePlan, z as runKnipCheck, zt as getWorkspacePackageSummaries } from "./workspace-tasks-DucdLmBS.mjs";
3
+ import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, d as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport } from "./execute-CowTATMR.mjs";
4
+ import { $ as formatUpgradePlan, $t as resolveCreateNewProjectPlan, A as applyProjectReferencesPlan, B as installGitHooks, Bt as createContext, C as createNightlyPlan, Ct as prepareBootstrap, D as createSnapshotPlan, Dt as createBootstrapPlan, E as releaseSnapshot, F as detectMaintenanceVersionChange, Ft as init, G as planDocsDeployment, Gt as runDoctor, H as planInstallSecurityPreset, Ht as collectEnvPaths, I as applyOrganizationPresetAssets, It as initMetadata, J as checkPublicApi, Jt as planUpgrade, K as checkPeerDependencies, Kt as applyDoctorFixPlan, L as planOrganizationPresetAssets, Lt as initTooling, M as checkPackages, Mt as createAutoChangesetPlan, N as getMaintenanceWorkflow, Nt as getAutoChangesetWorkflow, O as checkProjectReferences, Ot as parsePublishSummary, P as prepareMaintenanceUpgrade, Pt as setVscodeBinaryMirror, Q as upgradeMonorepo, R as applyDevContainerPlan, Rt as normalizeInitToolingTargets, S as createReleasePlan, St as auditReleaseOidc, U as deployDocs, Ut as collectEnvSnapshot, V as applyInstallSecurityPreset, Vt as collectEnvInfo, W as DocsDeploymentError, Wt as collectEnvSupportBundle, X as planPublicApiUpdate, Xt as applyCreateNewProjectPlan, Y as applyPublicApiUpdate, Yt as applyUpgradePlan, Z as formatPublicApiReport, Zt as createNewProject, _ as createSnapshotBuildPlan, _n as generateAgenticTemplate, _t as GitHubClient, a as planWorkspaceMove, an as resolveTemplateCatalog, at as readReleasePreparationPolicy, bt as verifyBootstrapPublication, c as applyToolingCapability, cn as inspectMonorepoConfig, ct as recoverUnpublished, d as planTemplateValidation, dn as validateConfigFile, dt as publishStable, en as getCreateChoices, et as checkTemplates, f as getSnapshotWorkflows, fn as cleanProjects, ft as releaseStable, g as prepareSnapshot, gn as defaultAgenticBaseDir, gt as releasePrerelease, h as publishPreparedSnapshot, hn as createTimestampFolderName, ht as exitPrerelease, i as applyWorkspaceMovePlan, it as validateReleasePreparation, j as planProjectReferences, jt as applyAutoChangeset, k as syncProjectReferences, l as planToolingCapability, ln as explainMonorepoConfig, lt as releaseCi, mn as verifyPrePush, mt as enterPrerelease, n as applyWorkspaceRemovalPlan, nn as templateMap, nt as skillTargets, o as applyWorkspaceArtifactPlan, ot as repairReleaseNotes, pn as verifyStagedTypecheck, pt as reconcileRelease, q as resolveAffectedCheckMatrix, qt as planDoctorFix, r as planWorkspaceRemoval, rn as resolveRemoteTemplateSource, rt as syncSkills, s as planWorkspaceArtifact, sn as updateIssueTemplateConfig, st as createReleasePullRequest, tn as getTemplateMap, tt as getSkillTargetPaths, u as validateTemplate, un as sanitizeConfigReport, ut as prepareStable, v as verifySnapshotRun, vn as generateAgenticTemplates, vt as GitHubApiError, w as releaseNightly, wt as snapshotPlanDigest, x as verifyPreparedSnapshotConsumer, xt as publishBootstrap, y as freezeSnapshotSource, yn as loadAgenticTasks, yt as releaseBootstrap, z as planDevContainer, zt as initToolingTargets } from "./commands-DWtDkzcp.mjs";
5
+ import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-C6ZqUxK0.mjs";
6
+ import { B as toWorkspaceAssetPath, E as checkDependencyAdmission, R as isGitignoreFile, T as checkWorkspaceBoundaries, V as toWorkspaceGitignorePath, b as resolveReleaseBranches, f as inspectInstallSecurity, i as hasTemplateDriftIssues, l as getDoctorRuleIds, r as formatTemplateDriftReport, t as checkTemplateDrift, z as toPublishGitignorePath } from "./template-drift-D3Hwedod.mjs";
7
+ import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, 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-CgpUDzkr.mjs";
8
+ import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-DWFcbBQu.mjs";
9
+ import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-CiaAmiTm.mjs";
10
10
  import crypto from "node:crypto";
11
11
  import { Buffer } from "node:buffer";
12
12
  // src/utils/hash.ts
@@ -1,4 +1,4 @@
1
- import { at as record, rt as hash } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { at as record, rt as hash } from "./workspace-tasks-DucdLmBS.mjs";
2
2
  import path from "pathe";
3
3
  import { lstat, readFile } from "node:fs/promises";
4
4
  import YAML from "yaml";
@@ -1,4 +1,4 @@
1
- import { V as registryUrl } from "./tsconfig-DpOi_7HA.mjs";
1
+ import { V as registryUrl } from "./tsconfig-BSF6chfb.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { createWriteStream } from "node:fs";
4
4
  import path from "node:path";
@@ -1,5 +1,5 @@
1
- import { A as packageDir } from "./tsconfig-DpOi_7HA.mjs";
2
- import { at as record } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { A as packageDir } from "./tsconfig-BSF6chfb.mjs";
2
+ import { at as record } from "./workspace-tasks-DucdLmBS.mjs";
3
3
  import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
4
4
  import path from "pathe";
5
5
  import process from "node:process";
@@ -1,7 +1,7 @@
1
- import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-CQVDciG4.mjs";
2
- import { t as knipConfigurationInputs } from "./inputs-DOUYGoHq.mjs";
3
- import { planKnipCheck } from "./plan-DC33-_or.mjs";
4
- import { U as stopCheckProcessTree } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-BS_u59AV.mjs";
2
+ import { t as knipConfigurationInputs } from "./inputs-Pn_oLgyr.mjs";
3
+ import { planKnipCheck } from "./plan-C4S0SIsH.mjs";
4
+ import { U as stopCheckProcessTree } from "./workspace-tasks-DucdLmBS.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-Ca1zWNKr.mjs";
2
- import { n as validateKnipBaseline } from "./baseline-CQVDciG4.mjs";
3
- import { knipRoot } from "./plan-DC33-_or.mjs";
1
+ import { ht as isWithin, mt as assertSafePath, ot as safeFile } from "./workspace-tasks-DucdLmBS.mjs";
2
+ import { n as validateKnipBaseline } from "./baseline-BS_u59AV.mjs";
3
+ import { knipRoot } from "./plan-C4S0SIsH.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 { $ as validateSchema, F as mergeConfigValues, I as ConfigValidationError, L as assertMonorepoConfig, W as commandSchemas, Z as replaceDocsTarget, f as loadMonorepoConfigDetails, u as getRepoctlConfigCandidates } from "./tsconfig-DpOi_7HA.mjs";
2
- import { Ht as findWorkspacePackages, _t as localize, at as record, it as readInput, rt as hash } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { F as mergeConfigValues, I as ConfigValidationError, L as assertMonorepoConfig, Q as replaceDocsTarget, W as commandSchemas, et as validateSchema, f as loadMonorepoConfigDetails, q as defaultNightlyVersioning, u as getRepoctlConfigCandidates } from "./tsconfig-BSF6chfb.mjs";
2
+ import { Ht as findWorkspacePackages, _t as localize, at as record, it as readInput, rt as hash } from "./workspace-tasks-DucdLmBS.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";
@@ -137,6 +137,13 @@ function resolveCommandValues(name, project = {}, overrides = {}, options = {})
137
137
  values: overrides
138
138
  }
139
139
  ], name === "docs" ? replaceDocsTarget : void 0);
140
+ if (name === "release") {
141
+ const nightly = values["nightly"];
142
+ if (nightly.versioning === void 0) {
143
+ nightly.versioning = defaultNightlyVersioning(nightly.provider ?? "npm");
144
+ sources["nightly.versioning"] = { kind: "default" };
145
+ }
146
+ }
140
147
  const origins = Object.fromEntries(Object.entries(sources).map(([field, source]) => [field, source.kind === "preset" ? "project" : source.kind]));
141
148
  if (name === "create" && values["type"] === void 0) {
142
149
  values["type"] = values["defaultTemplate"];
@@ -1,6 +1,6 @@
1
- import { D as relativeFile, I as ConfigValidationError, P as version, T as readOptional, f as loadMonorepoConfigDetails, p as resolveCommandConfig, q as resolveNightlyConfig, rt as __exportAll, w as hash } from "./tsconfig-DpOi_7HA.mjs";
2
- import { Et as fs$2, J as getWorkspaceGraph, Y as parseDependencyReference, _t as localize, at as record$4, nt as workspaceDependencyTypes, rt as hash$1, ut as hasLegacyToolingReference } from "./workspace-tasks-Ca1zWNKr.mjs";
3
- import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-DA7VmNjC.mjs";
1
+ import { D as relativeFile, I as ConfigValidationError, J as resolveNightlyConfig, P as version, T as readOptional, f as loadMonorepoConfigDetails, it as __exportAll, p as resolveCommandConfig, w as hash } from "./tsconfig-BSF6chfb.mjs";
2
+ import { Et as fs$2, J as getWorkspaceGraph, Y as parseDependencyReference, _t as localize, at as record$4, nt as workspaceDependencyTypes, rt as hash$1, ut as hasLegacyToolingReference } from "./workspace-tasks-DucdLmBS.mjs";
3
+ import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-C6ZqUxK0.mjs";
4
4
  import { createRequire } from "node:module";
5
5
  import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
6
6
  import path from "pathe";
@@ -1,2 +1,2 @@
1
- import { C as MonorepoVitestConfigOverrides, E as MonorepoVitestProjectConfigResult, S as MonorepoVitestConfigOptions, T as MonorepoVitestProjectConfigOptions, _ as DefineVitestProjectConfigOptions, a as createMonorepoTsconfig, b as MonorepoStylelintConfig, c as createMonorepoCommitlintConfig, d as defineCommitlintConfig, f as defineEslintConfig, g as DefineVitestConfigOptions, h as DefineEslintConfigOptions, i as defineVitestProjectConfig, l as createMonorepoEslintConfig, m as DefineConfigOptions, n as createMonorepoVitestProjectConfig, o as defineTsconfigConfig, p as defineStylelintConfig, r as defineVitestConfig, s as loadMonorepoToolingConfig, t as createMonorepoVitestConfig, u as createMonorepoStylelintConfig, v as MonorepoCommitlintConfig, w as MonorepoVitestConfigResult, x as MonorepoTsconfig, y as MonorepoEslintConfig } from "./index-C7KR7hT8.mjs";
1
+ import { C as MonorepoVitestConfigOverrides, E as MonorepoVitestProjectConfigResult, S as MonorepoVitestConfigOptions, T as MonorepoVitestProjectConfigOptions, _ as DefineVitestProjectConfigOptions, a as createMonorepoTsconfig, b as MonorepoStylelintConfig, c as createMonorepoCommitlintConfig, d as defineCommitlintConfig, f as defineEslintConfig, g as DefineVitestConfigOptions, h as DefineEslintConfigOptions, i as defineVitestProjectConfig, l as createMonorepoEslintConfig, m as DefineConfigOptions, n as createMonorepoVitestProjectConfig, o as defineTsconfigConfig, p as defineStylelintConfig, r as defineVitestConfig, s as loadMonorepoToolingConfig, t as createMonorepoVitestConfig, u as createMonorepoStylelintConfig, v as MonorepoCommitlintConfig, w as MonorepoVitestConfigResult, x as MonorepoTsconfig, y as MonorepoEslintConfig } from "./index-CFxo1hPA.mjs";
2
2
  export { DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, MonorepoCommitlintConfig, MonorepoEslintConfig, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
@@ -1,3 +1,3 @@
1
- import { i as loadMonorepoToolingConfig, n as defineTsconfigConfig, t as createMonorepoTsconfig } from "./tsconfig-DpOi_7HA.mjs";
2
- import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, 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-Dh5Qm_3L.mjs";
1
+ import { i as loadMonorepoToolingConfig, n as defineTsconfigConfig, t as createMonorepoTsconfig } from "./tsconfig-BSF6chfb.mjs";
2
+ import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, 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-CgpUDzkr.mjs";
3
3
  export { createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
@@ -1,5 +1,5 @@
1
- import { _t as localize, at as record, ot as safeFile, pt as stageFileTransaction, rt as hash, st as updateManifest } from "./workspace-tasks-Ca1zWNKr.mjs";
2
- import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-DA7VmNjC.mjs";
1
+ import { _t as localize, at as record, ot as safeFile, pt as stageFileTransaction, rt as hash, st as updateManifest } from "./workspace-tasks-DucdLmBS.mjs";
2
+ import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-C6ZqUxK0.mjs";
3
3
  import { isDeepStrictEqual } from "node:util";
4
4
  // src/commands/deps/report.ts
5
5
  function classify(group) {
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from "node:module";
2
2
  import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
3
- import path, { normalize } from "pathe";
3
+ import path$1, { normalize } from "pathe";
4
4
  import process from "node:process";
5
5
  import { lstat, readFile, realpath } from "node:fs/promises";
6
6
  import fs$1, { existsSync, readFileSync } from "node:fs";
@@ -10,7 +10,7 @@ import { AsyncLocalStorage } from "node:async_hooks";
10
10
  import { satisfies, valid, validRange } from "semver";
11
11
  import validatePackageName from "validate-npm-package-name";
12
12
  import { createHash } from "node:crypto";
13
- import path$1, * as path$2 from "node:path";
13
+ import path$2, * as path from "node:path";
14
14
  import { fileURLToPath } from "node:url";
15
15
  import { parse as parse$1 } from "comment-json";
16
16
  // \0rolldown/runtime.js
@@ -218,6 +218,9 @@ const presetReferencesSchema = array(object({
218
218
  }, ["packageName", "version"]));
219
219
  // src/core/nightly/config.ts
220
220
  const defaultNightlyQualityTimeoutMs = 27e5;
221
+ function defaultNightlyVersioning(provider) {
222
+ return provider === "npm" ? "date" : "snapshot";
223
+ }
221
224
  const months = [
222
225
  "JAN",
223
226
  "FEB",
@@ -266,10 +269,14 @@ function isNightlyQualityTimeout(value) {
266
269
  function resolveNightlyConfig(config = {}) {
267
270
  const provider = config.provider ?? "npm";
268
271
  if (provider !== "npm" && provider !== "pkg-pr-new") throw new Error("Nightly provider must be npm or pkg-pr-new.");
272
+ const versioning = config.versioning === void 0 ? defaultNightlyVersioning(provider) : config.versioning;
273
+ if (versioning !== "date" && versioning !== "snapshot") throw new Error("Nightly versioning must be date or snapshot.");
274
+ if (provider === "pkg-pr-new" && versioning !== "snapshot") throw new Error("Nightly pkg-pr-new only supports snapshot versioning because commit URLs are immutable.");
269
275
  if (config.schedule !== void 0 && !isNightlySchedule(config.schedule)) throw new Error("Nightly schedule must be a valid five-field UTC GitHub Actions cron expression.");
270
276
  if (config.qualityTimeoutMs !== void 0 && !isNightlyQualityTimeout(config.qualityTimeoutMs)) throw new Error("Nightly quality timeout must be a positive safe integer in milliseconds.");
271
277
  return {
272
278
  provider,
279
+ versioning,
273
280
  ...config.schedule === void 0 ? {} : { schedule: config.schedule.trim().toUpperCase().replaceAll(/\s+/gu, " ") },
274
281
  ...config.qualityTimeoutMs === void 0 ? {} : { qualityTimeoutMs: config.qualityTimeoutMs }
275
282
  };
@@ -495,6 +502,7 @@ const commandSchemas = {
495
502
  release: object({
496
503
  nightly: object({
497
504
  provider: choices("npm", "pkg-pr-new"),
505
+ versioning: choices("date", "snapshot"),
498
506
  schedule: {
499
507
  expected: "five-field UTC GitHub Actions cron",
500
508
  accepts: isNightlySchedule
@@ -832,6 +840,15 @@ function validateMonorepoConfig(value) {
832
840
  }
833
841
  validateSchema(Object.fromEntries(Object.entries(value).filter(([key]) => key !== "extends" && !key.startsWith("$") && key !== "_layers")), rootSchema, "", diagnostics);
834
842
  validateTemplateSources(value, diagnostics);
843
+ const release = isRecord(value["commands"]) && isRecord(value["commands"]["release"]) ? value["commands"]["release"] : void 0;
844
+ const nightly = isRecord(release?.["nightly"]) ? release["nightly"] : void 0;
845
+ if (nightly?.["provider"] === "pkg-pr-new" && nightly["versioning"] === "date") diagnostics.push({
846
+ id: "config.conflict",
847
+ path: "commands.release.nightly.versioning",
848
+ actualType: "string",
849
+ expected: "snapshot for pkg-pr-new",
850
+ suggestion: "Use snapshot versioning with immutable pkg-pr-new commit URLs, or select the npm provider."
851
+ });
835
852
  const upgrade = isRecord(value["commands"]) && isRecord(value["commands"]["upgrade"]) ? value["commands"]["upgrade"] : void 0;
836
853
  if (upgrade?.["overwrite"] === true && (upgrade["noOverwrite"] === true || upgrade["skipOverwrite"] === true)) diagnostics.push({
837
854
  id: "config.conflict",
@@ -941,39 +958,39 @@ const version = packageMetadata.version;
941
958
  /**
942
959
  * @icebreakers/monorepo 包的根目录。
943
960
  */
944
- const packageDir = path$2.dirname(packageJsonPath);
961
+ const packageDir = path.dirname(packageJsonPath);
945
962
  /**
946
963
  * CLI 提供的模板/资产目录来源于 @icebreakers/monorepo-templates。
947
964
  * 这里只解析 package.json 路径,避免 CLI 启动时加载模板包入口。
948
965
  */
949
- const templatesPackageDir = path$2.dirname(require.resolve("@icebreakers/monorepo-templates/package.json"));
950
- const assetsDir = path$2.join(templatesPackageDir, "assets");
951
- const templatesDir = path$2.join(templatesPackageDir, "templates");
966
+ const templatesPackageDir = path.dirname(require.resolve("@icebreakers/monorepo-templates/package.json"));
967
+ const assetsDir = path.join(templatesPackageDir, "assets");
968
+ const templatesDir = path.join(templatesPackageDir, "templates");
952
969
  /**
953
970
  * monorepo 根目录,方便需要跳出当前包的逻辑(例如定位工作区文件)。
954
971
  */
955
- const workspaceRootDir = path$2.resolve(packageDir, "..", "..");
956
- const rootDir = existsSync(path$2.join(workspaceRootDir, "pnpm-workspace.yaml")) ? workspaceRootDir : packageDir;
972
+ const workspaceRootDir = path.resolve(packageDir, "..", "..");
973
+ const rootDir = existsSync(path.join(workspaceRootDir, "pnpm-workspace.yaml")) ? workspaceRootDir : packageDir;
957
974
  // src/core/file-transaction/paths.ts
958
975
  function hash(content) {
959
976
  return createHash("sha256").update(content).digest("hex");
960
977
  }
961
978
  async function canonicalDirectory(directory) {
962
- const requested = path.normalize(directory);
979
+ const requested = path$1.normalize(directory);
963
980
  try {
964
- const resolved = path.normalize(await realpath(requested));
981
+ const resolved = path$1.normalize(await realpath(requested));
965
982
  if (!(await lstat(resolved)).isDirectory()) throw new Error(`Not a directory: ${directory}`);
966
983
  return resolved;
967
984
  } catch (error) {
968
985
  if (error.code !== "ENOENT") throw error;
969
- const parent = path.dirname(requested);
986
+ const parent = path$1.dirname(requested);
970
987
  const networkRoot = /^\/\/[^/]+(?:\/[^/]+)?\/?$/.test(requested);
971
- if (parent === requested || path.parse(requested).root === requested || networkRoot) throw error;
972
- return path.join(await canonicalDirectory(parent), path.basename(requested));
988
+ if (parent === requested || path$1.parse(requested).root === requested || networkRoot) throw error;
989
+ return path$1.join(await canonicalDirectory(parent), path$1.basename(requested));
973
990
  }
974
991
  }
975
992
  function relativeFile(relative) {
976
- if (typeof relative !== "string" || !relative || path.isAbsolute(relative) || relative.includes("\\") || relative.split("/").some((part) => !part || [
993
+ if (typeof relative !== "string" || !relative || path$1.isAbsolute(relative) || relative.includes("\\") || relative.split("/").some((part) => !part || [
977
994
  ".",
978
995
  "..",
979
996
  ".git"
@@ -986,7 +1003,7 @@ async function checkedPath(root, relative, owned, source = false) {
986
1003
  let current = root;
987
1004
  const parts = relative.split("/");
988
1005
  for (const [index, part] of parts.entries()) {
989
- current = path.join(current, part);
1006
+ current = path$1.join(current, part);
990
1007
  try {
991
1008
  const info = await lstat(current, { bigint: true });
992
1009
  const ownLink = owned && info.ino === owned.ino && info.dev === owned.dev;
@@ -995,7 +1012,7 @@ async function checkedPath(root, relative, owned, source = false) {
995
1012
  if (error.code !== "ENOENT") throw error;
996
1013
  }
997
1014
  }
998
- return path.join(root, relative);
1015
+ return path$1.join(root, relative);
999
1016
  }
1000
1017
  /** Reject linked components and non-files; missing parents are valid planned additions. */
1001
1018
  function checkedFile(root, relative, owned) {
@@ -1021,7 +1038,7 @@ const presetManifestName = "repoctl.preset.json";
1021
1038
  const hashPresetFile = (content) => createHash("sha256").update(content).digest("hex");
1022
1039
  /** Portable relative paths; preset declarations cannot escape their package or target root. */
1023
1040
  function presetRelativePath(value) {
1024
- if (!value || value !== value.trim() || value.includes("\\") || /[:*?"<>|]/u.test(value) || Array.from(value).some((character) => character.charCodeAt(0) < 32) || path.isAbsolute(value) || value.split("/").some((part) => !part || part === "." || part === ".." || /[. ]$/u.test(part) || /^(?:con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/iu.test(part))) throw new Error("Preset paths must be portable relative file paths without parent traversal.");
1041
+ if (!value || value !== value.trim() || value.includes("\\") || /[:*?"<>|]/u.test(value) || Array.from(value).some((character) => character.charCodeAt(0) < 32) || path$1.isAbsolute(value) || value.split("/").some((part) => !part || part === "." || part === ".." || /[. ]$/u.test(part) || /^(?:con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\..*)?$/iu.test(part))) throw new Error("Preset paths must be portable relative file paths without parent traversal.");
1025
1042
  return value;
1026
1043
  }
1027
1044
  /** Package roots may be pnpm links; symlinks inside the package are never followed. */
@@ -1029,12 +1046,12 @@ async function readPresetFile(root, relative) {
1029
1046
  const parts = presetRelativePath(relative).split("/");
1030
1047
  let filename = root;
1031
1048
  for (const [index, part] of parts.entries()) {
1032
- filename = path.join(filename, part);
1049
+ filename = path$1.join(filename, part);
1033
1050
  const info = await lstat(filename);
1034
1051
  if (info.isSymbolicLink() || (index === parts.length - 1 ? !info.isFile() : !info.isDirectory())) throw new Error(`Preset input is not an ordinary file path: ${relative}`);
1035
1052
  if (index === parts.length - 1 && info.size > 1048576) throw new Error(`Preset input exceeds 1 MiB: ${relative}`);
1036
1053
  }
1037
- if (path.normalize(await realpath(filename)) !== filename) throw new Error(`Preset input path changed: ${relative}`);
1054
+ if (path$1.normalize(await realpath(filename)) !== filename) throw new Error(`Preset input path changed: ${relative}`);
1038
1055
  const content = await readFile(filename);
1039
1056
  if (content.length > 1048576) throw new Error(`Preset input exceeds 1 MiB: ${relative}`);
1040
1057
  return {
@@ -1052,20 +1069,20 @@ function parsePresetJson(content, name) {
1052
1069
  }
1053
1070
  /** Resolve data paths only. Package exports and JavaScript entrypoints are never loaded. */
1054
1071
  async function installedPresetDirectory(packageName, fromDirectory) {
1055
- const require = createRequire(path.join(fromDirectory, "__repoctl_preset__.cjs"));
1072
+ const require = createRequire(path$1.join(fromDirectory, "__repoctl_preset__.cjs"));
1056
1073
  const localPaths = /* @__PURE__ */ new Set();
1057
- let parent = path.resolve(fromDirectory);
1074
+ let parent = path$1.resolve(fromDirectory);
1058
1075
  while (true) {
1059
- localPaths.add(path.join(parent, "node_modules"));
1060
- const next = path.dirname(parent);
1076
+ localPaths.add(path$1.join(parent, "node_modules"));
1077
+ const next = path$1.dirname(parent);
1061
1078
  if (next === parent) break;
1062
1079
  parent = next;
1063
1080
  }
1064
1081
  for (const directory of require.resolve.paths(packageName) ?? []) {
1065
- if (!localPaths.has(path.normalize(directory))) continue;
1066
- const candidate = path.join(directory, packageName);
1082
+ if (!localPaths.has(path$1.normalize(directory))) continue;
1083
+ const candidate = path$1.join(directory, packageName);
1067
1084
  try {
1068
- const root = path.normalize(await realpath(candidate));
1085
+ const root = path$1.normalize(await realpath(candidate));
1069
1086
  if ((await lstat(root)).isDirectory()) return root;
1070
1087
  } catch (error) {
1071
1088
  if (!["ENOENT", "ENOTDIR"].includes(error.code ?? "")) throw error;
@@ -1183,7 +1200,7 @@ function parseOrganizationPresetManifest(value) {
1183
1200
  /** Read installed data only: no importing package entrypoints, download, cache write or lifecycle execution. */
1184
1201
  async function resolveOrganizationPresets(cwd, references) {
1185
1202
  const result = {
1186
- workspaceDir: normalize(path$1.resolve(cwd)),
1203
+ workspaceDir: normalize(path$2.resolve(cwd)),
1187
1204
  layers: [],
1188
1205
  diagnostics: [],
1189
1206
  inputs: [],
@@ -1347,7 +1364,7 @@ const configExtensions = [
1347
1364
  "cjs"
1348
1365
  ];
1349
1366
  function getRepoctlConfigCandidates(cwd) {
1350
- return configExtensions.map((ext) => path.resolve(cwd, `repoctl.config.${ext}`));
1367
+ return configExtensions.map((ext) => path$1.resolve(cwd, `repoctl.config.${ext}`));
1351
1368
  }
1352
1369
  function findConfigFiles(cwd) {
1353
1370
  return getRepoctlConfigCandidates(cwd).filter((file) => fs$1.existsSync(file));
@@ -1377,12 +1394,12 @@ async function loadConfigInternal(cwd, refresh = false) {
1377
1394
  });
1378
1395
  for (const layer of layers ?? []) assertMonorepoConfig(layer.config ?? {});
1379
1396
  assertMonorepoConfig(config ?? {});
1380
- const matchedConfigFile = configFile && fs$1.existsSync(configFile) ? findConfigFiles(cwd).find((file) => path.basename(file).toLowerCase() === path.basename(configFile).toLowerCase()) : void 0;
1397
+ const matchedConfigFile = configFile && fs$1.existsSync(configFile) ? findConfigFiles(cwd).find((file) => path$1.basename(file).toLowerCase() === path$1.basename(configFile).toLowerCase()) : void 0;
1381
1398
  const files = await Promise.all([.../* @__PURE__ */ new Set([
1382
1399
  configFile,
1383
1400
  ...(layers ?? []).map((layer) => layer.configFile),
1384
1401
  ...dependencies
1385
- ])].filter((file) => Boolean(file && fs$1.existsSync(file))).map(async (file) => path.normalize(await realpath(file))));
1402
+ ])].filter((file) => Boolean(file && fs$1.existsSync(file))).map(async (file) => path$1.normalize(await realpath(file))));
1386
1403
  const file = matchedConfigFile ? await realpath(matchedConfigFile) : configFile && fs$1.existsSync(configFile) ? await realpath(configFile) : null;
1387
1404
  const presets = await resolveOrganizationPresets(cwd, config?.presets ?? []);
1388
1405
  const failures = presets.diagnostics.filter((item) => item.status === "fail");
@@ -1451,7 +1468,7 @@ function defineMonorepoConfig(config) {
1451
1468
  * @returns 配置文件路径和解析后的配置对象;未找到时 file 为 null、config 为空对象
1452
1469
  */
1453
1470
  async function loadMonorepoConfigDetails(cwd, options = {}) {
1454
- const directory = path.resolve(cwd);
1471
+ const directory = path$1.resolve(cwd);
1455
1472
  const key = `${directory}:${legacyHookConfigEnabled() ? "legacy-hooks" : "current"}`;
1456
1473
  if (options.refresh) cache.delete(key);
1457
1474
  if (!cache.has(key)) cache.set(key, loadConfigInternal(directory, options.refresh));
@@ -1553,4 +1570,4 @@ async function defineTsconfigConfig(input = {}) {
1553
1570
  const resolved = resolveConfigInput(input);
1554
1571
  return createMonorepoTsconfig(mergeTsconfig(await loadToolingSection("tsconfig", resolved.cwd) ?? {}, resolved.options));
1555
1572
  }
1556
- export { validateSchema as $, packageDir as A, normalizeTemplateSourceRequest as B, checkedFile as C, relativeFile as D, readOptionalSource as E, mergeConfigValues as F, isUpgradeExpiry as G, sourceRequestKey as H, ConfigValidationError as I, presetPackageName as J, defaultNightlyQualityTimeoutMs as K, assertMonorepoConfig as L, rootDir as M, templatesDir as N, assetsDir as O, version as P, isRecord as Q, validateMonorepoConfig as R, canonicalDirectory as S, readOptional as T, templateSourcePath as U, registryUrl as V, commandSchemas as W, withLegacyHookConfig as X, presetVersion as Y, replaceDocsTarget as Z, listToolingCapabilities as _, loadToolingSection as a, presetRelativePath as b, config_exports as c, loadMonorepoConfig as d, appendConfigPath as et, loadMonorepoConfigDetails as f, presetAssetTarget as g, resolveOrganizationPresets as h, loadMonorepoToolingConfig as i, packageName as j, cliName as k, defineMonorepoConfig as l, resolveToolingConfig as m, defineTsconfigConfig as n, commandConfigDirectory as nt, resolveConfigInput as o, resolveCommandConfig as p, resolveNightlyConfig as q, isDefineConfigWrapper as r, __exportAll as rt, configExtensions as s, createMonorepoTsconfig as t, splitConfigPath as tt, getRepoctlConfigCandidates as u, installedPresetDirectory as v, hash as w, readPresetFile as x, parsePresetJson as y, normalizeTemplateRemoteSource as z };
1573
+ export { isRecord as $, packageDir as A, normalizeTemplateSourceRequest as B, checkedFile as C, relativeFile as D, readOptionalSource as E, mergeConfigValues as F, isUpgradeExpiry as G, sourceRequestKey as H, ConfigValidationError as I, resolveNightlyConfig as J, defaultNightlyQualityTimeoutMs as K, assertMonorepoConfig as L, rootDir as M, templatesDir as N, assetsDir as O, version as P, replaceDocsTarget as Q, validateMonorepoConfig as R, canonicalDirectory as S, readOptional as T, templateSourcePath as U, registryUrl as V, commandSchemas as W, presetVersion as X, presetPackageName as Y, withLegacyHookConfig as Z, listToolingCapabilities as _, loadToolingSection as a, presetRelativePath as b, config_exports as c, loadMonorepoConfig as d, validateSchema as et, loadMonorepoConfigDetails as f, presetAssetTarget as g, resolveOrganizationPresets as h, loadMonorepoToolingConfig as i, __exportAll as it, packageName as j, cliName as k, defineMonorepoConfig as l, resolveToolingConfig as m, defineTsconfigConfig as n, splitConfigPath as nt, resolveConfigInput as o, resolveCommandConfig as p, defaultNightlyVersioning as q, isDefineConfigWrapper as r, commandConfigDirectory as rt, configExtensions as s, createMonorepoTsconfig as t, appendConfigPath as tt, getRepoctlConfigCandidates as u, installedPresetDirectory as v, hash as w, readPresetFile as x, parsePresetJson as y, normalizeTemplateRemoteSource as z };
@@ -1,4 +1,4 @@
1
- import { a as loadToolingSection, o as resolveConfigInput, r as isDefineConfigWrapper } from "./tsconfig-DpOi_7HA.mjs";
1
+ import { a as loadToolingSection, o as resolveConfigInput, r as isDefineConfigWrapper } from "./tsconfig-BSF6chfb.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import process from "node:process";
4
4
  import fs from "node:fs";