@icebreakers/monorepo 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{baseline-Dpdng8Pw.mjs → baseline-b5TsKwv_.mjs} +1 -1
- package/dist/{catalog-A1_tGyBz.mjs → catalog-B2LOTnvh.mjs} +3 -3
- package/dist/cli.mjs +340 -68
- package/dist/{commands-C8PiGh9h.mjs → commands-CXaAqMTl.mjs} +4383 -1788
- package/dist/{config-CtnhpveO.mjs → config-CiXw1jcV.mjs} +3 -3
- package/dist/{create-flow-CqtNwZs7.mjs → create-flow-BDejWGvT.mjs} +3 -3
- package/dist/{deps-CFZftEq2.mjs → deps-C_LU9J4U.mjs} +3 -3
- package/dist/{execute-Brlvq-TY.mjs → execute-KdSJ6hVK.mjs} +2 -2
- package/dist/{execute-DE3pJ4nx.mjs → execute-O1WZ0FzZ.mjs} +2 -2
- package/dist/{format-BXQ2yRvk.mjs → format-CvL4E86X.mjs} +1 -1
- package/dist/{index-BJaI8Sig.d.mts → index-B80WWXOe.d.mts} +28 -1
- package/dist/index.d.mts +455 -39
- package/dist/index.mjs +10 -10
- package/dist/{inputs-DRWom7Va.mjs → inputs-DBWKLDqz.mjs} +1 -1
- package/dist/{npm-CrQi6Gci.mjs → npm-DIg7EfRS.mjs} +1 -1
- package/dist/{plan-DT1Gz8tE.mjs → plan-1h4NGq59.mjs} +1 -1
- package/dist/{run-BBf92Scj.mjs → run-kz2P4_7C.mjs} +4 -4
- package/dist/{save-CCCUswjG.mjs → save-BN1_0pQt.mjs} +3 -3
- package/dist/{scan-KcMaJTx2.mjs → scan-hz0Yy4oe.mjs} +2 -2
- package/dist/{template-drift-BKCMx9vC.mjs → template-drift-iUiPKU1w.mjs} +3 -3
- package/dist/tooling-entry.d.mts +1 -1
- package/dist/tooling-entry.mjs +2 -2
- package/dist/{transaction-CTFrGYJO.mjs → transaction-BvmfcAYW.mjs} +2 -2
- package/dist/{tsconfig-CO_6DRDo.mjs → tsconfig-C_4_iCHD.mjs} +11 -3
- package/dist/{vitest-Deitv0TQ.mjs → vitest-BocK3D9l.mjs} +1 -1
- package/dist/{workspace-tasks-CbetXdoh.mjs → workspace-tasks-BwfSloR_.mjs} +6 -6
- package/package.json +7 -5
- package/resources/release-auto-changeset/workflow.yml +93 -0
- package/resources/release-snapshot/build.yml +127 -0
- package/resources/release-snapshot/publish.yml +180 -0
- package/resources/release-validation/README.md +52 -0
- package/resources/release-validation/policy.json +3 -0
- package/resources/release-validation/workflow.yml +43 -0
- package/resources/skills/repoctl/references/commands.md +15 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as UpgradeKeepDecision, $n as
|
|
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-B80WWXOe.mjs";
|
|
2
2
|
import { mkdtemp, readFile, readdir, stat, writeFile } from "node:fs/promises";
|
|
3
3
|
import { execFileSync, spawnSync } from "node:child_process";
|
|
4
4
|
import crypto from "node:crypto";
|
|
@@ -624,6 +624,116 @@ export declare function collectEnvPaths(cwd: string): Promise<EnvPaths>;
|
|
|
624
624
|
export declare function collectEnvSnapshot(cwd: string, now?: Date): Promise<EnvSnapshot>;
|
|
625
625
|
export declare function collectEnvSupportBundle(cwd: string, now?: Date): Promise<EnvSupportBundle>;
|
|
626
626
|
//#endregion
|
|
627
|
+
//#region src/commands/release/auto-changeset/types.d.ts
|
|
628
|
+
type AutoChangesetLevel = 'patch' | 'minor' | 'major';
|
|
629
|
+
type AutoChangesetDependencyField = 'dependencies' | 'optionalDependencies' | 'peerDependencies' | 'devDependencies';
|
|
630
|
+
/** Declarative JSON read from the default branch, or supplied by a trusted API caller. */
|
|
631
|
+
interface AutoChangesetPolicy {
|
|
632
|
+
schemaVersion?: 1;
|
|
633
|
+
ignorePaths?: string[];
|
|
634
|
+
paths?: Array<{
|
|
635
|
+
patterns: string[];
|
|
636
|
+
packages?: string[];
|
|
637
|
+
release?: boolean;
|
|
638
|
+
level?: AutoChangesetLevel;
|
|
639
|
+
}>;
|
|
640
|
+
links?: Array<{
|
|
641
|
+
from: string[];
|
|
642
|
+
to?: string[];
|
|
643
|
+
dependents?: boolean;
|
|
644
|
+
dependencyFields?: AutoChangesetDependencyField[];
|
|
645
|
+
level?: AutoChangesetLevel | 'same';
|
|
646
|
+
}>;
|
|
647
|
+
labels?: Record<string, AutoChangesetLevel | 'none'>;
|
|
648
|
+
titleTypes?: Record<string, AutoChangesetLevel>;
|
|
649
|
+
defaultLevel?: AutoChangesetLevel;
|
|
650
|
+
breakingRequiresLabel?: boolean;
|
|
651
|
+
summary?: {
|
|
652
|
+
language?: 'en' | 'zh-CN';
|
|
653
|
+
template?: string;
|
|
654
|
+
byType?: Record<string, string>;
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
interface AutoChangesetRevision {
|
|
658
|
+
repository: string;
|
|
659
|
+
repositoryId: number;
|
|
660
|
+
pullRequest: number;
|
|
661
|
+
headRepository: string;
|
|
662
|
+
headRepositoryId: number;
|
|
663
|
+
headSha: string;
|
|
664
|
+
headRef: string;
|
|
665
|
+
baseSha: string;
|
|
666
|
+
baseRef: string;
|
|
667
|
+
defaultBranch: string;
|
|
668
|
+
policySha: string;
|
|
669
|
+
policyDigest: string;
|
|
670
|
+
title: string;
|
|
671
|
+
labels: string[];
|
|
672
|
+
changedFiles: number;
|
|
673
|
+
state: 'open' | 'closed';
|
|
674
|
+
draft: boolean;
|
|
675
|
+
/** Binds the approved application to the same Actions attempt as its plan. */
|
|
676
|
+
workflowRun?: {
|
|
677
|
+
id: number;
|
|
678
|
+
attempt: number;
|
|
679
|
+
};
|
|
680
|
+
}
|
|
681
|
+
interface AutoChangesetOptions {
|
|
682
|
+
repository: string;
|
|
683
|
+
pullRequest: number;
|
|
684
|
+
token?: string;
|
|
685
|
+
fetch?: typeof globalThis.fetch;
|
|
686
|
+
expectedHeadSha?: string;
|
|
687
|
+
expectedBaseSha?: string;
|
|
688
|
+
policyPath?: string;
|
|
689
|
+
policy?: AutoChangesetPolicy;
|
|
690
|
+
env?: NodeJS.ProcessEnv;
|
|
691
|
+
}
|
|
692
|
+
interface AutoChangesetDecision {
|
|
693
|
+
name: string;
|
|
694
|
+
directory: string;
|
|
695
|
+
level: AutoChangesetLevel;
|
|
696
|
+
reasons: string[];
|
|
697
|
+
}
|
|
698
|
+
interface AutoChangesetReport {
|
|
699
|
+
schemaVersion: 1;
|
|
700
|
+
revision: AutoChangesetRevision;
|
|
701
|
+
status: 'planned' | 'unchanged' | 'manual' | 'no-release' | 'protected' | 'fork' | 'inactive' | 'applied';
|
|
702
|
+
packages: AutoChangesetDecision[];
|
|
703
|
+
diagnostics: string[];
|
|
704
|
+
change?: {
|
|
705
|
+
path: string;
|
|
706
|
+
action: 'upsert' | 'delete';
|
|
707
|
+
content?: string;
|
|
708
|
+
};
|
|
709
|
+
commitSha?: string;
|
|
710
|
+
}
|
|
711
|
+
interface AutoChangesetApproval {
|
|
712
|
+
environment?: string;
|
|
713
|
+
workflowPath?: string;
|
|
714
|
+
planJobName?: string;
|
|
715
|
+
applyJobName?: string;
|
|
716
|
+
}
|
|
717
|
+
interface AutoChangesetApplyOptions extends AutoChangesetOptions {
|
|
718
|
+
expected: AutoChangesetRevision;
|
|
719
|
+
approval?: AutoChangesetApproval;
|
|
720
|
+
}
|
|
721
|
+
interface AutoChangesetWorkflowOptions extends AutoChangesetApproval {
|
|
722
|
+
workflowName?: string;
|
|
723
|
+
policyPath?: string;
|
|
724
|
+
}
|
|
725
|
+
//#endregion
|
|
726
|
+
//#region src/commands/release/auto-changeset/apply.d.ts
|
|
727
|
+
/** Recompute the approved proposal, then atomically append one commit to exactly the frozen head. */
|
|
728
|
+
export declare function applyAutoChangeset(options: AutoChangesetApplyOptions): Promise<AutoChangesetReport>;
|
|
729
|
+
//#endregion
|
|
730
|
+
//#region src/commands/release/auto-changeset/plan.d.ts
|
|
731
|
+
/** Build a deterministic proposal from immutable metadata without executing candidate code. */
|
|
732
|
+
export declare function createAutoChangesetPlan(options: AutoChangesetOptions): Promise<AutoChangesetReport>;
|
|
733
|
+
//#endregion
|
|
734
|
+
//#region src/commands/release/auto-changeset/workflow.d.ts
|
|
735
|
+
export declare function getAutoChangesetWorkflow(options?: AutoChangesetWorkflowOptions): Promise<string>;
|
|
736
|
+
//#endregion
|
|
627
737
|
//#region src/commands/release/notes/model.d.ts
|
|
628
738
|
type ReleaseCategory = 'breaking' | 'features' | 'fixes' | 'performance' | 'docs' | 'maintenance' | 'other';
|
|
629
739
|
interface ReleaseCommit {
|
|
@@ -849,13 +959,27 @@ interface PublishedPackage {
|
|
|
849
959
|
}
|
|
850
960
|
//#endregion
|
|
851
961
|
//#region src/core/oidc/types.d.ts
|
|
852
|
-
interface
|
|
853
|
-
|
|
962
|
+
interface ReleaseOidcAuditPackage {
|
|
963
|
+
name: string;
|
|
964
|
+
version: string;
|
|
965
|
+
registry?: string;
|
|
966
|
+
}
|
|
967
|
+
interface ReleaseOidcAuditContext {
|
|
854
968
|
env?: NodeJS.ProcessEnv;
|
|
855
969
|
/** 注入请求实现,便于在无凭据环境验证故障与脱敏边界。 */
|
|
856
970
|
fetch?: typeof globalThis.fetch;
|
|
971
|
+
}
|
|
972
|
+
interface ReleaseOidcAuditOptions extends ReleaseOidcAuditContext {
|
|
973
|
+
cwd: string;
|
|
857
974
|
/** Exact planned candidates, including a publishable workspace root when selected. */
|
|
858
975
|
packageNames?: string[];
|
|
976
|
+
packages?: never;
|
|
977
|
+
}
|
|
978
|
+
interface ReleaseOidcArtifactAuditOptions extends ReleaseOidcAuditContext {
|
|
979
|
+
/** Validated artifact candidates; this mode never reads a workspace or executable configuration. */
|
|
980
|
+
packages: readonly ReleaseOidcAuditPackage[];
|
|
981
|
+
cwd?: never;
|
|
982
|
+
packageNames?: never;
|
|
859
983
|
}
|
|
860
984
|
interface ReleaseOidcPackageResult {
|
|
861
985
|
package: string;
|
|
@@ -873,7 +997,7 @@ interface ReleaseOidcAuditReport {
|
|
|
873
997
|
//#endregion
|
|
874
998
|
//#region src/commands/release/oidc/index.d.ts
|
|
875
999
|
/** 逐包核验官方 npm 的短时凭据交换;不发布、不执行 hooks,也不保存凭据。 */
|
|
876
|
-
export declare function auditReleaseOidc(options: ReleaseOidcAuditOptions): Promise<ReleaseOidcAuditReport>;
|
|
1000
|
+
export declare function auditReleaseOidc(options: ReleaseOidcAuditOptions | ReleaseOidcArtifactAuditOptions): Promise<ReleaseOidcAuditReport>;
|
|
877
1001
|
//#endregion
|
|
878
1002
|
//#region src/commands/release/ci.d.ts
|
|
879
1003
|
declare function createReleasePullRequest(options: ReleaseCiOptions): Promise<boolean>;
|
|
@@ -953,6 +1077,103 @@ interface StageReceipt {
|
|
|
953
1077
|
}>;
|
|
954
1078
|
}
|
|
955
1079
|
//#endregion
|
|
1080
|
+
//#region src/commands/release/plan/types.d.ts
|
|
1081
|
+
interface ReleasePlanPackage {
|
|
1082
|
+
name: string;
|
|
1083
|
+
directory: string;
|
|
1084
|
+
currentVersion: string;
|
|
1085
|
+
newVersion: string;
|
|
1086
|
+
bump: string;
|
|
1087
|
+
reasons: string[];
|
|
1088
|
+
lane: string;
|
|
1089
|
+
private: boolean;
|
|
1090
|
+
publishCandidate: boolean;
|
|
1091
|
+
intents: Array<{
|
|
1092
|
+
path: string;
|
|
1093
|
+
bump: string;
|
|
1094
|
+
summary: string;
|
|
1095
|
+
}>;
|
|
1096
|
+
}
|
|
1097
|
+
interface ReleasePlan {
|
|
1098
|
+
schemaVersion: 1;
|
|
1099
|
+
branchRule: ReleaseBranchRule | null;
|
|
1100
|
+
cwd: string;
|
|
1101
|
+
pnpmVersion: string | null;
|
|
1102
|
+
nativeFormat: 'json' | 'text' | null;
|
|
1103
|
+
status: 'ready' | 'empty' | 'blocked';
|
|
1104
|
+
packages: ReleasePlanPackage[];
|
|
1105
|
+
blockers: Array<{
|
|
1106
|
+
id: string;
|
|
1107
|
+
detail: string;
|
|
1108
|
+
}>;
|
|
1109
|
+
notes: ReleaseNoteDocument;
|
|
1110
|
+
}
|
|
1111
|
+
type ReleasePlanOptions = Pick<ReleaseOptions, 'cwd' | 'env' | 'spawn' | 'branch' | 'config'>;
|
|
1112
|
+
//#endregion
|
|
1113
|
+
//#region src/commands/release/validation/types.d.ts
|
|
1114
|
+
interface ReleasePreparationGeneratedFileContext {
|
|
1115
|
+
path: string;
|
|
1116
|
+
base: string;
|
|
1117
|
+
head: string;
|
|
1118
|
+
before: Uint8Array | null;
|
|
1119
|
+
after: Uint8Array | null;
|
|
1120
|
+
packages: readonly ReleasePlanPackage[];
|
|
1121
|
+
}
|
|
1122
|
+
/** A trusted caller supplies this verifier; repository modules are never imported. */
|
|
1123
|
+
type ReleasePreparationGeneratedFile = {
|
|
1124
|
+
path: string;
|
|
1125
|
+
} & ({
|
|
1126
|
+
sha256: string;
|
|
1127
|
+
validate?: never;
|
|
1128
|
+
} | {
|
|
1129
|
+
sha256?: never;
|
|
1130
|
+
validate: (context: ReleasePreparationGeneratedFileContext) => boolean | Promise<boolean>;
|
|
1131
|
+
});
|
|
1132
|
+
interface ReleasePreparationPolicy {
|
|
1133
|
+
/** The target release line, never the candidate PR's branch-name exemption. */
|
|
1134
|
+
branch: string;
|
|
1135
|
+
branches?: ReleaseBranchesConfig;
|
|
1136
|
+
generatedFiles?: ReleasePreparationGeneratedFile[];
|
|
1137
|
+
}
|
|
1138
|
+
interface ReleasePreparationValidationOptions extends Pick<ReleaseOptions, 'cwd' | 'env' | 'spawn'> {
|
|
1139
|
+
/** Full immutable commit IDs. The base supplies all versioning metadata. */
|
|
1140
|
+
base: string;
|
|
1141
|
+
head: string;
|
|
1142
|
+
policy: ReleasePreparationPolicy;
|
|
1143
|
+
}
|
|
1144
|
+
interface ReleasePreparationValidationFile {
|
|
1145
|
+
path: string;
|
|
1146
|
+
status: 'expected' | 'custom-verified' | 'mismatch' | 'missing' | 'unexpected';
|
|
1147
|
+
reason: string;
|
|
1148
|
+
}
|
|
1149
|
+
interface ReleasePreparationValidationReport {
|
|
1150
|
+
schemaVersion: 1;
|
|
1151
|
+
base: string;
|
|
1152
|
+
head: string;
|
|
1153
|
+
status: 'valid' | 'invalid';
|
|
1154
|
+
pnpmVersion: string | null;
|
|
1155
|
+
packages: Array<ReleasePlanPackage & {
|
|
1156
|
+
status: 'valid' | 'invalid';
|
|
1157
|
+
}>;
|
|
1158
|
+
files: ReleasePreparationValidationFile[];
|
|
1159
|
+
errors: Array<{
|
|
1160
|
+
id: string;
|
|
1161
|
+
detail: string;
|
|
1162
|
+
}>;
|
|
1163
|
+
}
|
|
1164
|
+
//#endregion
|
|
1165
|
+
//#region src/commands/release/validation/git.d.ts
|
|
1166
|
+
type GitOptions = Pick<ReleasePreparationValidationOptions, 'cwd' | 'spawn' | 'env'>;
|
|
1167
|
+
/** Read policy as data from the trusted frozen base, without loading checkout configuration. */
|
|
1168
|
+
export declare function readReleasePreparationPolicy(options: GitOptions & {
|
|
1169
|
+
base: string;
|
|
1170
|
+
path: string;
|
|
1171
|
+
}): unknown;
|
|
1172
|
+
//#endregion
|
|
1173
|
+
//#region src/commands/release/validation/index.d.ts
|
|
1174
|
+
/** Verify frozen commits by replaying native versioning in disposable inert metadata. */
|
|
1175
|
+
export declare function validateReleasePreparation(options: ReleasePreparationValidationOptions): Promise<ReleasePreparationValidationReport>;
|
|
1176
|
+
//#endregion
|
|
956
1177
|
//#region src/commands/skills.d.ts
|
|
957
1178
|
/**
|
|
958
1179
|
* 当前支持的 skills 同步目标。
|
|
@@ -1094,7 +1315,7 @@ export declare function verifyPrePush(options?: PrePushVerifyOptions): Promise<v
|
|
|
1094
1315
|
*
|
|
1095
1316
|
* 当前识别的扩展名:`.ts`、`.tsx`、`.mts`、`.cts`、`.vue`。
|
|
1096
1317
|
*
|
|
1097
|
-
* @param stagedFiles
|
|
1318
|
+
* @param stagedFiles 相对于 cwd 的暂存区文件路径列表;省略时从 Git 根目录读取暂存区
|
|
1098
1319
|
* @param options 运行参数
|
|
1099
1320
|
*/
|
|
1100
1321
|
export declare function verifyStagedTypecheck(stagedFiles: string[] | undefined, options?: StagedTypecheckOptions): void;
|
|
@@ -1658,6 +1879,15 @@ export declare function planGenerate(options: GenerateOptions): Promise<Generate
|
|
|
1658
1879
|
//#region src/commands/generate/render.d.ts
|
|
1659
1880
|
export declare const generators: readonly ["vue-component", "react-component", "hono-route"];
|
|
1660
1881
|
//#endregion
|
|
1882
|
+
//#region src/commands/hooks/index.d.ts
|
|
1883
|
+
/**
|
|
1884
|
+
* Install native Lefthook hooks without overriding custom or inherited Git hook paths.
|
|
1885
|
+
* Use `prepare: "repo tooling hooks install"` with `allowBuilds.lefthook: false`
|
|
1886
|
+
* so Lefthook's own postinstall cannot install hooks before this safety check.
|
|
1887
|
+
* CI and disabled hooks skip before project configuration is evaluated.
|
|
1888
|
+
*/
|
|
1889
|
+
export declare function installGitHooks(cwd: string, options?: GitHooksInstallOptions): Promise<GitHooksInstallResult>;
|
|
1890
|
+
//#endregion
|
|
1661
1891
|
//#region src/commands/init/devcontainer/apply.d.ts
|
|
1662
1892
|
export declare function applyDevContainerPlan(cwd: string, plan: DevContainerPlan): Promise<DevContainerResult>;
|
|
1663
1893
|
//#endregion
|
|
@@ -1881,39 +2111,6 @@ export declare function checkProjectReferences(cwd: string): Promise<{
|
|
|
1881
2111
|
}>;
|
|
1882
2112
|
export declare function syncProjectReferences(cwd: string): Promise<ProjectReferencesApplyResult>;
|
|
1883
2113
|
//#endregion
|
|
1884
|
-
//#region src/commands/release/plan/types.d.ts
|
|
1885
|
-
interface ReleasePlanPackage {
|
|
1886
|
-
name: string;
|
|
1887
|
-
directory: string;
|
|
1888
|
-
currentVersion: string;
|
|
1889
|
-
newVersion: string;
|
|
1890
|
-
bump: string;
|
|
1891
|
-
reasons: string[];
|
|
1892
|
-
lane: string;
|
|
1893
|
-
private: boolean;
|
|
1894
|
-
publishCandidate: boolean;
|
|
1895
|
-
intents: Array<{
|
|
1896
|
-
path: string;
|
|
1897
|
-
bump: string;
|
|
1898
|
-
summary: string;
|
|
1899
|
-
}>;
|
|
1900
|
-
}
|
|
1901
|
-
interface ReleasePlan {
|
|
1902
|
-
schemaVersion: 1;
|
|
1903
|
-
branchRule: ReleaseBranchRule | null;
|
|
1904
|
-
cwd: string;
|
|
1905
|
-
pnpmVersion: string | null;
|
|
1906
|
-
nativeFormat: 'json' | 'text' | null;
|
|
1907
|
-
status: 'ready' | 'empty' | 'blocked';
|
|
1908
|
-
packages: ReleasePlanPackage[];
|
|
1909
|
-
blockers: Array<{
|
|
1910
|
-
id: string;
|
|
1911
|
-
detail: string;
|
|
1912
|
-
}>;
|
|
1913
|
-
notes: ReleaseNoteDocument;
|
|
1914
|
-
}
|
|
1915
|
-
type ReleasePlanOptions = Pick<ReleaseOptions, 'cwd' | 'env' | 'spawn' | 'branch' | 'config'>;
|
|
1916
|
-
//#endregion
|
|
1917
2114
|
//#region src/commands/release/plan/index.d.ts
|
|
1918
2115
|
/** Preview unconsumed intents under one explicit release line, without executing hooks or writes. */
|
|
1919
2116
|
export declare function createReleasePlan(options: ReleasePlanOptions): Promise<ReleasePlan>;
|
|
@@ -2032,6 +2229,225 @@ export declare function createSnapshotPlan(options: SnapshotOptions): Promise<Sn
|
|
|
2032
2229
|
/** Prepare immutable package artifacts in an archive of HEAD; original files and Git refs are never versioned. */
|
|
2033
2230
|
export declare function releaseSnapshot(options: SnapshotOptions): Promise<SnapshotReport>;
|
|
2034
2231
|
//#endregion
|
|
2232
|
+
//#region src/commands/release/snapshot/prepared/types.d.ts
|
|
2233
|
+
/** GitHub facts frozen by the trusted preparation job, before candidate execution. */
|
|
2234
|
+
interface SnapshotSource {
|
|
2235
|
+
repository: string;
|
|
2236
|
+
repositoryId: number;
|
|
2237
|
+
pullRequest: number;
|
|
2238
|
+
headSha: string;
|
|
2239
|
+
baseSha: string;
|
|
2240
|
+
baseRef: string;
|
|
2241
|
+
mergeSha: string;
|
|
2242
|
+
runId: number;
|
|
2243
|
+
runAttempt: number;
|
|
2244
|
+
workflowId: number;
|
|
2245
|
+
workflowPath: string;
|
|
2246
|
+
workflowSha: string;
|
|
2247
|
+
defaultBranch: string;
|
|
2248
|
+
}
|
|
2249
|
+
interface SnapshotDependency {
|
|
2250
|
+
field: 'dependencies' | 'optionalDependencies' | 'peerDependencies' | 'devDependencies';
|
|
2251
|
+
alias: string;
|
|
2252
|
+
name: string;
|
|
2253
|
+
version: string;
|
|
2254
|
+
}
|
|
2255
|
+
interface SnapshotBuildPackage {
|
|
2256
|
+
name: string;
|
|
2257
|
+
directory: string;
|
|
2258
|
+
currentVersion: string;
|
|
2259
|
+
version: string;
|
|
2260
|
+
reasons: string[];
|
|
2261
|
+
dependencies: SnapshotDependency[];
|
|
2262
|
+
}
|
|
2263
|
+
interface SnapshotBuildPlan {
|
|
2264
|
+
schemaVersion: 1;
|
|
2265
|
+
source: SnapshotSource;
|
|
2266
|
+
identity: {
|
|
2267
|
+
kind: 'pr';
|
|
2268
|
+
pullRequest: number;
|
|
2269
|
+
commit: string;
|
|
2270
|
+
buildId: string;
|
|
2271
|
+
};
|
|
2272
|
+
identityKey: string;
|
|
2273
|
+
tag: string;
|
|
2274
|
+
registry: 'https://registry.npmjs.org/';
|
|
2275
|
+
packageManager: string;
|
|
2276
|
+
packages: SnapshotBuildPackage[];
|
|
2277
|
+
}
|
|
2278
|
+
interface PreparedSnapshotManifest {
|
|
2279
|
+
schemaVersion: 1;
|
|
2280
|
+
plan: SnapshotBuildPlan;
|
|
2281
|
+
planDigest: string;
|
|
2282
|
+
packages: Array<{
|
|
2283
|
+
name: string;
|
|
2284
|
+
version: string;
|
|
2285
|
+
tarball: string;
|
|
2286
|
+
integrity: string;
|
|
2287
|
+
}>;
|
|
2288
|
+
checks: {
|
|
2289
|
+
build: 'passed';
|
|
2290
|
+
packages: Array<{
|
|
2291
|
+
name: string;
|
|
2292
|
+
status: 'passed';
|
|
2293
|
+
files: string[];
|
|
2294
|
+
}>;
|
|
2295
|
+
};
|
|
2296
|
+
}
|
|
2297
|
+
interface SnapshotBuildPlanOptions extends Pick<SnapshotOptions, 'cwd' | 'env' | 'spawn'> {
|
|
2298
|
+
source: SnapshotSource;
|
|
2299
|
+
}
|
|
2300
|
+
interface PrepareSnapshotOptions extends Pick<SnapshotOptions, 'cwd' | 'env' | 'spawn'> {
|
|
2301
|
+
plan: SnapshotBuildPlan;
|
|
2302
|
+
/** Artifact parent outside the candidate source checkout. */
|
|
2303
|
+
outputDirectory: string;
|
|
2304
|
+
}
|
|
2305
|
+
interface PreparedSnapshot {
|
|
2306
|
+
manifest: PreparedSnapshotManifest;
|
|
2307
|
+
/** Portable bundle containing only snapshot-manifest.json and declared tarballs. */
|
|
2308
|
+
directory: string;
|
|
2309
|
+
}
|
|
2310
|
+
//#endregion
|
|
2311
|
+
//#region src/commands/release/snapshot/prepared/github/types.d.ts
|
|
2312
|
+
interface SnapshotGitHubOptions {
|
|
2313
|
+
repository: string;
|
|
2314
|
+
/** Defaults to GITHUB_TOKEN; never forwarded to artifact storage redirects. */
|
|
2315
|
+
token?: string;
|
|
2316
|
+
fetch?: typeof globalThis.fetch;
|
|
2317
|
+
}
|
|
2318
|
+
interface SnapshotWorkflowPolicy {
|
|
2319
|
+
workflowPath: string;
|
|
2320
|
+
/** SHA256 of the exact trusted builder workflow bytes, with optional sha256: prefix. */
|
|
2321
|
+
workflowSha256: string;
|
|
2322
|
+
environment: string;
|
|
2323
|
+
freezeJobName?: string;
|
|
2324
|
+
buildJobName?: string;
|
|
2325
|
+
}
|
|
2326
|
+
interface VerifySnapshotRunOptions extends SnapshotGitHubOptions {
|
|
2327
|
+
runId: number;
|
|
2328
|
+
runAttempt: number;
|
|
2329
|
+
artifactId?: number;
|
|
2330
|
+
policy: SnapshotWorkflowPolicy;
|
|
2331
|
+
}
|
|
2332
|
+
interface FreezeSnapshotSourceOptions extends SnapshotGitHubOptions {
|
|
2333
|
+
pullRequest: number;
|
|
2334
|
+
runId: number;
|
|
2335
|
+
runAttempt: number;
|
|
2336
|
+
workflowPath: string;
|
|
2337
|
+
}
|
|
2338
|
+
interface SnapshotArtifactEvidence {
|
|
2339
|
+
id: number;
|
|
2340
|
+
digest: string;
|
|
2341
|
+
}
|
|
2342
|
+
interface SnapshotRunEvidence {
|
|
2343
|
+
source: SnapshotSource;
|
|
2344
|
+
freezeJobId: number;
|
|
2345
|
+
buildJobId: number;
|
|
2346
|
+
planArtifact: SnapshotArtifactEvidence;
|
|
2347
|
+
buildArtifact: SnapshotArtifactEvidence;
|
|
2348
|
+
planDigest: string;
|
|
2349
|
+
}
|
|
2350
|
+
interface VerifiedSnapshotRun {
|
|
2351
|
+
plan: SnapshotBuildPlan;
|
|
2352
|
+
manifest: PreparedSnapshotManifest;
|
|
2353
|
+
files: Map<string, Uint8Array>;
|
|
2354
|
+
evidence: SnapshotRunEvidence;
|
|
2355
|
+
/** Recheck the run attempt, live PR refs and merge parents before publication. */
|
|
2356
|
+
assertCurrent: () => Promise<void>;
|
|
2357
|
+
}
|
|
2358
|
+
//#endregion
|
|
2359
|
+
//#region src/commands/release/snapshot/prepared/publish/types.d.ts
|
|
2360
|
+
interface PreparedSnapshotPublishOptions extends VerifySnapshotRunOptions, Pick<ReleaseOptions, 'env' | 'spawn' | 'sleep' | 'registryFetch'> {
|
|
2361
|
+
outputDirectory: string;
|
|
2362
|
+
/** Exact trusted publisher filename; defaults to the exported official recipe. */
|
|
2363
|
+
publisherWorkflowPath?: string;
|
|
2364
|
+
}
|
|
2365
|
+
interface PreparedSnapshotPublishReport {
|
|
2366
|
+
schemaVersion: 1;
|
|
2367
|
+
status: 'published' | 'failed';
|
|
2368
|
+
manifest: PreparedSnapshotManifest;
|
|
2369
|
+
evidence: SnapshotRunEvidence;
|
|
2370
|
+
packages: Array<{
|
|
2371
|
+
name: string;
|
|
2372
|
+
version: string;
|
|
2373
|
+
integrity: string;
|
|
2374
|
+
published: boolean;
|
|
2375
|
+
}>;
|
|
2376
|
+
install: {
|
|
2377
|
+
executable: 'pnpm';
|
|
2378
|
+
args: string[];
|
|
2379
|
+
};
|
|
2380
|
+
installCommand: string;
|
|
2381
|
+
outputDirectory: string;
|
|
2382
|
+
error?: string;
|
|
2383
|
+
}
|
|
2384
|
+
//#endregion
|
|
2385
|
+
//#region src/commands/release/snapshot/prepared/consumer/types.d.ts
|
|
2386
|
+
interface PreparedSnapshotConsumerOptions extends Pick<ReleaseOptions, 'env' | 'spawn' | 'sleep' | 'registryFetch'> {
|
|
2387
|
+
report: PreparedSnapshotPublishReport;
|
|
2388
|
+
outputDirectory: string;
|
|
2389
|
+
}
|
|
2390
|
+
interface PreparedSnapshotConsumerReport {
|
|
2391
|
+
schemaVersion: 1;
|
|
2392
|
+
status: 'verified' | 'failed';
|
|
2393
|
+
packages: Array<{
|
|
2394
|
+
name: string;
|
|
2395
|
+
version: string;
|
|
2396
|
+
}>;
|
|
2397
|
+
commands: PackageCheckCommand[];
|
|
2398
|
+
error?: string;
|
|
2399
|
+
}
|
|
2400
|
+
//#endregion
|
|
2401
|
+
//#region src/commands/release/snapshot/prepared/consumer/index.d.ts
|
|
2402
|
+
/** Execute candidate packages only in a separate consumer job with a credential-free child environment. */
|
|
2403
|
+
export declare function verifyPreparedSnapshotConsumer(options: PreparedSnapshotConsumerOptions): Promise<PreparedSnapshotConsumerReport>;
|
|
2404
|
+
//#endregion
|
|
2405
|
+
//#region src/commands/release/snapshot/prepared/github/source.d.ts
|
|
2406
|
+
/** Resolve authoritative source identities before checking out any candidate code. */
|
|
2407
|
+
export declare function freezeSnapshotSource(options: FreezeSnapshotSourceOptions): Promise<SnapshotSource>;
|
|
2408
|
+
//#endregion
|
|
2409
|
+
//#region src/commands/release/snapshot/prepared/github/index.d.ts
|
|
2410
|
+
/** Verify GitHub evidence and portable artifacts without executing any candidate code. */
|
|
2411
|
+
export declare function verifySnapshotRun(options: VerifySnapshotRunOptions): Promise<VerifiedSnapshotRun>;
|
|
2412
|
+
//#endregion
|
|
2413
|
+
//#region src/commands/release/snapshot/prepared/schema.d.ts
|
|
2414
|
+
export declare function snapshotPlanDigest(plan: SnapshotBuildPlan): string;
|
|
2415
|
+
//#endregion
|
|
2416
|
+
//#region src/commands/release/snapshot/prepared/plan.d.ts
|
|
2417
|
+
/** Freeze the existing version solver and workspace graph without installing or building candidates. */
|
|
2418
|
+
export declare function createSnapshotBuildPlan(options: SnapshotBuildPlanOptions): Promise<SnapshotBuildPlan>;
|
|
2419
|
+
//#endregion
|
|
2420
|
+
//#region src/commands/release/snapshot/prepared/prepare.d.ts
|
|
2421
|
+
/** Build on an unprivileged runner; emit a portable bundle separate from retained diagnostics. */
|
|
2422
|
+
export declare function prepareSnapshot(options: PrepareSnapshotOptions): Promise<PreparedSnapshot>;
|
|
2423
|
+
//#endregion
|
|
2424
|
+
//#region src/commands/release/snapshot/prepared/publish/index.d.ts
|
|
2425
|
+
/** Publish only a GitHub-verified portable bundle; candidate code is never loaded. */
|
|
2426
|
+
export declare function publishPreparedSnapshot(options: PreparedSnapshotPublishOptions): Promise<PreparedSnapshotPublishReport>;
|
|
2427
|
+
//#endregion
|
|
2428
|
+
//#region src/commands/release/snapshot/prepared/workflow/options.d.ts
|
|
2429
|
+
interface SnapshotWorkflowOptions {
|
|
2430
|
+
/** Trusted pnpm pin matching the consumer workspace packageManager; defaults to 12.14.0. */
|
|
2431
|
+
pnpmVersion?: string;
|
|
2432
|
+
/** Protected environment whose reviewers approve the frozen candidate. */
|
|
2433
|
+
environment?: string;
|
|
2434
|
+
/** Repository-relative builder filename under .github/workflows. */
|
|
2435
|
+
builderWorkflowPath?: string;
|
|
2436
|
+
/** Repository-relative publisher filename used by npm Trusted Publisher. */
|
|
2437
|
+
publisherWorkflowPath?: string;
|
|
2438
|
+
/** Display name matched by the publisher's workflow_run trigger. */
|
|
2439
|
+
builderWorkflowName?: string;
|
|
2440
|
+
publisherWorkflowName?: string;
|
|
2441
|
+
}
|
|
2442
|
+
//#endregion
|
|
2443
|
+
//#region src/commands/release/snapshot/prepared/workflow/index.d.ts
|
|
2444
|
+
interface SnapshotWorkflows {
|
|
2445
|
+
build: string;
|
|
2446
|
+
publish: string;
|
|
2447
|
+
}
|
|
2448
|
+
/** Export a matched, opt-in workflow pair with an exact trusted tool and builder policy. */
|
|
2449
|
+
export declare function getSnapshotWorkflows(options?: SnapshotWorkflowOptions): Promise<SnapshotWorkflows>;
|
|
2450
|
+
//#endregion
|
|
2035
2451
|
//#region src/commands/template-drift/types.d.ts
|
|
2036
2452
|
interface TemplateDriftOptions {
|
|
2037
2453
|
/** Compare with metadata from an explicitly supplied extracted template package. */
|
|
@@ -2722,4 +3138,4 @@ export declare function escapeStringRegexp(str: string): string;
|
|
|
2722
3138
|
*/
|
|
2723
3139
|
export declare function isMatch(str: string, arr: RegExp[]): boolean;
|
|
2724
3140
|
//#endregion
|
|
2725
|
-
export { type AdmissionDeclaration, type AffectedCheckCommand, type AffectedCheckMatrix, type AffectedCheckMatrixJob, type AffectedCheckMatrixOptions, type AffectedCheckOptions, type AffectedCheckPlan, type AffectedCheckSettings, type AffectedFallback, type AffectedFile, type AffectedGitRange, type AffectedPackage, type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type ArtifactFile, type BoundarySeverity, type CheckExecutionOptions, type CheckExecutionReport, type CheckExecutionStatus, type CheckExecutionTask, type CheckTemplatesOptions, type CleanCommandConfig, CliOpts, type CodeownersConfig, type CodeownersDiagnostic, type CodeownersOptions, type CodeownersPlan, type CodeownersReport, type CommitMsgVerifyOptions, type CommitlintToolingConfig, type ConfigDiagnostic, type ConfigInspection, ConfigSourceLayer, ConfigValueSource, type ConfigValues, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, type CreateTemplateDefinition, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, DependenciesCommandConfig, type DependencyAdmissionConfig, type DependencyAdmissionException, type DependencyAdmissionFinding, type DependencyAdmissionOptions, type DependencyAdmissionReport, type DependencyAdmissionRule, DependencyApplyResult, DependencyConsistencyGroup, DependencyFileChange, DependencyFixOptions, DependencyFixPlan, DependencyGroupStatus, DependencyOccurrence, DependencyProtocol, DependencyReport, DependencySection, DependencyVersionGroup, 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 GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, 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 PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, ProjectReferencesApplyResult, ProjectReferencesCheck, ProjectReferencesConfig, ProjectReferencesDiagnostic, ProjectReferencesOperation, ProjectReferencesPlan, type PublicApiConfig, type PublicApiDiagnostic, type PublicApiEntryConfig, type PublicApiEntryReport, type PublicApiOptions, type PublicApiPackageConfig, type PublicApiReport, type PublicApiUpdatePlan, type PublicApiUpdateResult, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type ReleaseAfterPublishHookConfig, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCiStage, type StageReceipt as ReleaseCiStageResult, type ReleaseCommandConfig, type ReleaseCompletionRecord, type ReleaseLifecycleState, type ReleaseNightlyConfig, type ReleaseOidcAuditOptions, type ReleaseOidcAuditReport, type ReleaseOidcPackageResult, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleaseRegistryConfig, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotReport, type StagedTypecheckOptions, type StorybookArgs, type StorybookCapabilityOptions, type StylelintToolingConfig, type SyncSkillsOptions, type TemplateCatalog, type TemplateCatalogDiagnostic, type TemplateCatalogEntry, type TemplateDriftCollection, type TemplateDriftFile, type TemplateDriftOptions, type TemplateDriftOwner, type TemplateDriftRegistry, type TemplateDriftReport, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, type TemplateInstance, type TemplateInstanceBaseline, type TemplateInstanceInfo, type TemplateInstanceRegistry, type TemplateInstanceSource, type TemplateLinkOptions, type TemplateLinkPlan, type TemplateRemoteSource, type TemplateSourceOptions, type TemplateSourceRequest, type TemplateUpgradeChange, type TemplateUpgradeEntry, type TemplateUpgradeOptions, type TemplateUpgradePlan, type TemplateUpgradeRecoveryResult, type TemplateUpgradeResult, type TemplateValidationDiagnostic, type TemplateValidationOptions, type TemplateValidationParameterSet, type TemplateValidationPlan, type TemplateValidationReport, type TemplateValidationSample, type TemplateValidationStage, type TemplateValidationStep, type TemplateVersionComparison, type TemplateVersionEvidence, type ToolingCapability, type ToolingCapabilityFile, type ToolingCapabilityOptions, type ToolingCapabilityPlan, type ToolingCapabilityResult, type ToolingConfig, type TsconfigToolingConfig, type TurboAnalysisLimitation, type TurboAnalysisOptions, type TurboCriticalPath, type TurboHashEvidence, type TurboRunAnalysis, type TurboTaskAnalysis, UpgradeApplyOptions, UpgradeApplyResult, UpgradeBaselineChange, UpgradeCommandConfig, UpgradeFilePlan, UpgradeFileStatus, UpgradeInput, UpgradeKeepDecision, UpgradeMergeDetails, UpgradeMigrationStep, UpgradeMigrationsPlan, UpgradeOptions, UpgradeOverrideFinding, UpgradePlan, UpgradeWorkspacePolicy, type VerifyCommandOptions, type VitestProjectToolingConfig, type VitestToolingConfig, type WorkspaceArtifactApplyOptions, type WorkspaceArtifactOptions, type WorkspaceArtifactPlan, type WorkspaceArtifactResult, type WorkspaceBoundariesConfig, type WorkspaceBoundariesReport, type WorkspaceBoundaryException, type WorkspaceBoundaryFinding, type WorkspaceBoundaryRule, type WorkspaceBoundarySelector, WorkspaceData, type WorkspaceDependencyType, type WorkspaceGraph, type WorkspaceGraphDiagnostic, type WorkspaceGraphEdge, type WorkspaceGraphFilter, type WorkspaceGraphNode, type WorkspaceGraphOptions, type WorkspaceImpactOptions, type WorkspaceImpactResult, type WorkspaceLocation, WorkspaceMoveOptions, WorkspaceMovePlan, WorkspaceMoveResult, WorkspaceMoveReview, type WorkspaceOwnership, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, WorkspaceRemovalBlocker, WorkspaceRemovalEntry, WorkspaceRemovalFile, WorkspaceRemovalOptions, WorkspaceRemovalPlan, WorkspaceRemovalResult, type WorkspaceTask, type WorkspaceTaskCatalog, type WorkspaceTaskOptions, type WorkspaceTaskPackage, type WorkspaceWhyResult, applyCreateNewProjectPlan, createMonorepoCommitlintConfig, createMonorepoEslintConfig, 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, name as packageName, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
|
|
3141
|
+
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 BoundarySeverity, type CheckExecutionOptions, type CheckExecutionReport, type CheckExecutionStatus, type CheckExecutionTask, type CheckTemplatesOptions, type CleanCommandConfig, CliOpts, type CodeownersConfig, type CodeownersDiagnostic, type CodeownersOptions, type CodeownersPlan, type CodeownersReport, type CommitMsgVerifyOptions, type CommitlintToolingConfig, type ConfigDiagnostic, type ConfigInspection, ConfigSourceLayer, ConfigValueSource, type ConfigValues, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, type CreateTemplateDefinition, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, DependenciesCommandConfig, type DependencyAdmissionConfig, type DependencyAdmissionException, type DependencyAdmissionFinding, type DependencyAdmissionOptions, type DependencyAdmissionReport, type DependencyAdmissionRule, DependencyApplyResult, DependencyConsistencyGroup, DependencyFileChange, DependencyFixOptions, DependencyFixPlan, DependencyGroupStatus, DependencyOccurrence, DependencyProtocol, DependencyReport, DependencySection, DependencyVersionGroup, 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 PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, 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 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 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, name as packageName, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
|