@icebreakers/monorepo 5.7.0 → 5.8.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-DPfotf4y.mjs → baseline-Cx3VuGue.mjs} +1 -1
- package/dist/{catalog-CDEyc1uA.mjs → catalog-BKW8udNq.mjs} +3 -3
- package/dist/cli.mjs +67 -65
- package/dist/{commands-TS8ABFdP.mjs → commands-C1KOgvKa.mjs} +273 -88
- package/dist/{config-C38c_Q8L.mjs → config-ITi4Uywg.mjs} +3 -3
- package/dist/{create-flow-CCr2hfSY.mjs → create-flow-C_ar-XrN.mjs} +3 -3
- package/dist/{deps-CUdI2DaB.mjs → deps-_M128Hqi.mjs} +3 -3
- package/dist/{execute-Vi4qHe-D.mjs → execute-CNGJsU9v.mjs} +2 -2
- package/dist/{execute-PX1hT0qv.mjs → execute-DTrS4Jqx.mjs} +2 -2
- package/dist/{format-DZ7L34rf.mjs → format-Dxe0grKF.mjs} +1 -1
- package/dist/index.d.mts +28 -3
- package/dist/index.mjs +10 -10
- package/dist/{inputs-_xIVONmB.mjs → inputs-DkBp5uc7.mjs} +1 -1
- package/dist/{npm-B25nrSyz.mjs → npm-BttWVZSI.mjs} +1 -1
- package/dist/{plan-B5aE_WNF.mjs → plan-DkRsq9Oj.mjs} +1 -1
- package/dist/{run-Lu7y1bNf.mjs → run-BHsnON3k.mjs} +4 -4
- package/dist/{save-CdCf630Z.mjs → save-DTVXKc6k.mjs} +3 -3
- package/dist/{scan-4nboHNXP.mjs → scan-uUmUqFA6.mjs} +2 -2
- package/dist/{template-drift-BBhnrHY1.mjs → template-drift-Bhvs_DPa.mjs} +3 -3
- package/dist/tooling-entry.mjs +2 -2
- package/dist/{transaction-DAhY8EpG.mjs → transaction-ut5-TLoD.mjs} +2 -2
- package/dist/{tsconfig-CGntrzBM.mjs → tsconfig-DtgBJ7Vi.mjs} +6 -6
- package/dist/{vitest-DkGh4Ygo.mjs → vitest-DkD49zO4.mjs} +1 -1
- package/dist/{workspace-tasks-CnB8kkS0.mjs → workspace-tasks-PcOR82ko.mjs} +5 -5
- package/package.json +9 -9
- package/resources/skills/repoctl/references/commands.md +5 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ht as clearWorkspaceCache, Wt as getWorkspacePackageSummaries, rt as hash } from "./workspace-tasks-
|
|
2
|
-
import { t as knipConfigurationInputs } from "./inputs-
|
|
3
|
-
import { knipRoot } from "./plan-
|
|
1
|
+
import { Ht as clearWorkspaceCache, Wt as getWorkspacePackageSummaries, rt as hash } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { t as knipConfigurationInputs } from "./inputs-DkBp5uc7.mjs";
|
|
3
|
+
import { knipRoot } from "./plan-DkRsq9Oj.mjs";
|
|
4
4
|
//#region src/commands/check/knip/config.ts
|
|
5
5
|
/** Return native settings for manual merging; existing Knip config always remains authoritative. */
|
|
6
6
|
async function getKnipConfigurationSuggestions(cwd) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { St as localize, jt as fs$1 } from "./workspace-tasks-
|
|
2
|
-
import { f as logger } from "./execute-
|
|
3
|
-
import {
|
|
1
|
+
import { St as localize, jt as fs$1 } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { f as logger } from "./execute-CNGJsU9v.mjs";
|
|
3
|
+
import { Ct as defaultTemplate, St as createNewProject, jt as loadTemplateCatalogContext, kt as createTemplateCatalog, wt as resolveCreateNewProjectPlan } from "./commands-C1KOgvKa.mjs";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { Ht as clearWorkspaceCache, St as localize } from "./workspace-tasks-
|
|
3
|
-
import { t as scanDependencies } from "./scan-
|
|
4
|
-
import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-
|
|
2
|
+
import { Ht as clearWorkspaceCache, St as localize } from "./workspace-tasks-PcOR82ko.mjs";
|
|
3
|
+
import { t as scanDependencies } from "./scan-uUmUqFA6.mjs";
|
|
4
|
+
import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-ut5-TLoD.mjs";
|
|
5
5
|
import { isDeepStrictEqual } from "node:util";
|
|
6
6
|
//#region src/commands/deps/apply.ts
|
|
7
7
|
async function applyDependencyFixPlan(cwd, plan) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as signalExitCode, J as getWorkspaceGraph, St as localize, V as executeCheckTask, Z as getWorkspaceImpact, jt as fs$1, tt as resolveWorkspaceGraphNode } from "./workspace-tasks-
|
|
2
|
-
import { d as loadMonorepoConfig, m as resolveToolingConfig } from "./tsconfig-
|
|
1
|
+
import { H as signalExitCode, J as getWorkspaceGraph, St as localize, V as executeCheckTask, Z as getWorkspaceImpact, jt as fs$1, tt as resolveWorkspaceGraphNode } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { d as loadMonorepoConfig, m as resolveToolingConfig } from "./tsconfig-DtgBJ7Vi.mjs";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import { createConsola } from "consola";
|
|
5
5
|
import { execFileSync, spawnSync } from "node:child_process";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { St as localize, jt as fs } from "./workspace-tasks-
|
|
2
|
-
import { f as logger, t as runCheckWithReport } from "./execute-
|
|
1
|
+
import { St as localize, jt as fs } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { f as logger, t as runCheckWithReport } from "./execute-CNGJsU9v.mjs";
|
|
3
3
|
import { t as formatAffectedCheckPlan } from "./cli.mjs";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import process from "node:process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as localize } from "./workspace-tasks-
|
|
1
|
+
import { St as localize } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
2
|
//#region src/commands/check/cache/format.ts
|
|
3
3
|
function label(value, markdown) {
|
|
4
4
|
return markdown ? value.replace(/[\\`*_{}[\]()#+.!|<>~-]/gu, "\\$&") : value;
|
package/dist/index.d.mts
CHANGED
|
@@ -866,7 +866,7 @@ export declare class GitHubClient implements GitHubOperations {
|
|
|
866
866
|
}
|
|
867
867
|
//#endregion
|
|
868
868
|
//#region src/commands/release/types.d.ts
|
|
869
|
-
type ReleaseMode = 'auto' | 'prepare' | 'publish' | 'publish-unpublished' | 'reconcile';
|
|
869
|
+
type ReleaseMode = 'auto' | 'prepare' | 'publish' | 'publish-unpublished' | 'reconcile' | 'oidc-audit';
|
|
870
870
|
interface ReleaseOptions {
|
|
871
871
|
cwd: string;
|
|
872
872
|
branch?: string;
|
|
@@ -890,10 +890,35 @@ interface PublishedPackage {
|
|
|
890
890
|
version: string;
|
|
891
891
|
}
|
|
892
892
|
//#endregion
|
|
893
|
+
//#region src/core/oidc/types.d.ts
|
|
894
|
+
interface ReleaseOidcAuditOptions {
|
|
895
|
+
cwd: string;
|
|
896
|
+
env?: NodeJS.ProcessEnv;
|
|
897
|
+
/** 注入请求实现,便于在无凭据环境验证故障与脱敏边界。 */
|
|
898
|
+
fetch?: typeof globalThis.fetch;
|
|
899
|
+
}
|
|
900
|
+
interface ReleaseOidcPackageResult {
|
|
901
|
+
package: string;
|
|
902
|
+
ok: boolean;
|
|
903
|
+
status: number | null;
|
|
904
|
+
message: string;
|
|
905
|
+
}
|
|
906
|
+
interface ReleaseOidcAuditReport {
|
|
907
|
+
schemaVersion: 1;
|
|
908
|
+
identity: Record<string, string>;
|
|
909
|
+
results: ReleaseOidcPackageResult[];
|
|
910
|
+
ok: boolean;
|
|
911
|
+
hints: string[];
|
|
912
|
+
}
|
|
913
|
+
//#endregion
|
|
914
|
+
//#region src/commands/release/oidc/index.d.ts
|
|
915
|
+
/** 逐包核验官方 npm 的短时凭据交换;不发布、不执行 hooks,也不保存凭据。 */
|
|
916
|
+
export declare function auditReleaseOidc(options: ReleaseOidcAuditOptions): Promise<ReleaseOidcAuditReport>;
|
|
917
|
+
//#endregion
|
|
893
918
|
//#region src/commands/release/ci.d.ts
|
|
894
919
|
declare function createReleasePullRequest(options: ReleaseCiOptions): Promise<boolean>;
|
|
895
920
|
declare function recoverUnpublished(options: ReleaseCiOptions): Promise<PublishedPackage[]>;
|
|
896
|
-
export declare function releaseCi(options: ReleaseCiOptions): Promise<PublishedPackage[] | {
|
|
921
|
+
export declare function releaseCi(options: ReleaseCiOptions): Promise<ReleaseOidcAuditReport | PublishedPackage[] | {
|
|
897
922
|
repaired: string[];
|
|
898
923
|
pending: string[];
|
|
899
924
|
skipped: string[];
|
|
@@ -2570,4 +2595,4 @@ export declare function escapeStringRegexp(str: string): string;
|
|
|
2570
2595
|
*/
|
|
2571
2596
|
export declare function isMatch(str: string, arr: RegExp[]): boolean;
|
|
2572
2597
|
//#endregion
|
|
2573
|
-
export { type AdmissionDeclaration, type AffectedCheckCommand, type AffectedCheckMatrix, type AffectedCheckMatrixJob, type AffectedCheckMatrixOptions, type AffectedCheckOptions, type AffectedCheckPlan, type AffectedCheckSettings, type AffectedFallback, type AffectedFile, type AffectedGitRange, type AffectedPackage, type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type ArtifactFile, type BoundarySeverity, type CheckExecutionOptions, type CheckExecutionReport, type CheckExecutionStatus, type CheckExecutionTask, type CheckTemplatesOptions, type CleanCommandConfig, CliOpts, type CodeownersConfig, type CodeownersDiagnostic, type CodeownersOptions, type CodeownersPlan, type CodeownersReport, type CommitMsgVerifyOptions, type CommitlintToolingConfig, type ConfigDiagnostic, type ConfigInspection, ConfigSourceLayer, ConfigValueSource, type ConfigValues, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, type CreateTemplateDefinition, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, DependenciesCommandConfig, type DependencyAdmissionConfig, type DependencyAdmissionException, type DependencyAdmissionFinding, type DependencyAdmissionOptions, type DependencyAdmissionReport, type DependencyAdmissionRule, DependencyApplyResult, DependencyConsistencyGroup, DependencyFileChange, DependencyFixOptions, DependencyFixPlan, DependencyGroupStatus, DependencyOccurrence, DependencyProtocol, DependencyReport, DependencySection, DependencyVersionGroup, type DoctorCheck, type DoctorCommandConfig, type DoctorFixPlan, type DoctorFixResult, type DoctorOptions, type DoctorReport, type DoctorStatus, type DoctorSummary, type DoctorSuppression, type DoctorSuppressionReport, type EnsurePullRequestOptions, type EnsureReleaseOptions, type EnsureTagOptions, type EnvCacheConfig, type EnvCacheEvidence, type EnvCacheFinding, type EnvCacheOptions, type EnvCacheReport, type EnvCacheSuppression, type EnvCacheTask, type EnvCacheVariable, type EnvInfo, type EnvPathEntry, type EnvPaths, type EnvSnapshot, type EnvSupportBundle, type EslintToolingConfig, type GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, type GitHubClientOptions, type GitHubOperations, type GitHubRelease, type HuskyToolingConfig, InitCommandConfig, type InstallBuildDecision, type InstallPolicyKey, type InstallSecurityExpectations, type InstallSecurityOptions, type InstallSecurityPresetPlan, type InstallSecurityReport, type InstallSecuritySetting, type LintStagedToolingConfig, type MaintenanceFile, type MaintenancePresetChange, type MaintenancePresetUpgrade, type MaintenanceUpgradeOptions, type MaintenanceUpgradeReport, type MaintenanceVersionChange, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, OrganizationPresetAsset, type OrganizationPresetAssetPlan, type OrganizationPresetAssetResult, OrganizationPresetDiagnostic, OrganizationPresetLayer, OrganizationPresetManifest, OrganizationPresetReference, OrganizationPresetResolution, OrganizationPresetSource, OrganizationPresetTemplate, type PackageCheckCommand, type PackageCheckDiagnostic, type PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, ProjectReferencesApplyResult, ProjectReferencesCheck, ProjectReferencesConfig, ProjectReferencesDiagnostic, ProjectReferencesOperation, ProjectReferencesPlan, type PublicApiConfig, type PublicApiDiagnostic, type PublicApiEntryConfig, type PublicApiEntryReport, type PublicApiOptions, type PublicApiPackageConfig, type PublicApiReport, type PublicApiUpdatePlan, type PublicApiUpdateResult, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type ReleaseAfterPublishHookConfig, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCommandConfig, type ReleaseLifecycleState, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotReport, type StagedTypecheckOptions, type StorybookArgs, type StorybookCapabilityOptions, type StylelintToolingConfig, type SyncSkillsOptions, type TemplateCatalog, type TemplateCatalogDiagnostic, type TemplateCatalogEntry, type TemplateDriftCollection, type TemplateDriftFile, type TemplateDriftOptions, type TemplateDriftOwner, type TemplateDriftRegistry, type TemplateDriftReport, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, type TemplateInstance, type TemplateInstanceBaseline, type TemplateInstanceInfo, type TemplateInstanceRegistry, type TemplateInstanceSource, type TemplateLinkOptions, type TemplateLinkPlan, type TemplateRemoteSource, type TemplateSourceOptions, type TemplateSourceRequest, type TemplateUpgradeChange, type TemplateUpgradeEntry, type TemplateUpgradeOptions, type TemplateUpgradePlan, type TemplateUpgradeRecoveryResult, type TemplateUpgradeResult, type TemplateValidationDiagnostic, type TemplateValidationOptions, type TemplateValidationParameterSet, type TemplateValidationPlan, type TemplateValidationReport, type TemplateValidationSample, type TemplateValidationStage, type TemplateValidationStep, type TemplateVersionComparison, type TemplateVersionEvidence, type ToolingCapability, type ToolingCapabilityFile, type ToolingCapabilityOptions, type ToolingCapabilityPlan, type ToolingCapabilityResult, type ToolingConfig, type TsconfigToolingConfig, type TurboAnalysisLimitation, type TurboAnalysisOptions, type TurboCriticalPath, type TurboHashEvidence, type TurboRunAnalysis, type TurboTaskAnalysis, UpgradeCommandConfig, type VerifyCommandOptions, type VitestProjectToolingConfig, type VitestToolingConfig, type WorkspaceArtifactApplyOptions, type WorkspaceArtifactOptions, type WorkspaceArtifactPlan, type WorkspaceArtifactResult, type WorkspaceBoundariesConfig, type WorkspaceBoundariesReport, type WorkspaceBoundaryException, type WorkspaceBoundaryFinding, type WorkspaceBoundaryRule, type WorkspaceBoundarySelector, WorkspaceData, type WorkspaceDependencyType, type WorkspaceGraph, type WorkspaceGraphDiagnostic, type WorkspaceGraphEdge, type WorkspaceGraphFilter, type WorkspaceGraphNode, type WorkspaceGraphOptions, type WorkspaceImpactOptions, type WorkspaceImpactResult, type WorkspaceLocation, WorkspaceMoveOptions, WorkspaceMovePlan, WorkspaceMoveResult, WorkspaceMoveReview, type WorkspaceOwnership, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, WorkspaceRemovalBlocker, WorkspaceRemovalEntry, WorkspaceRemovalFile, WorkspaceRemovalOptions, WorkspaceRemovalPlan, WorkspaceRemovalResult, type WorkspaceTask, type WorkspaceTaskCatalog, type WorkspaceTaskOptions, type WorkspaceTaskPackage, type WorkspaceWhyResult, applyCreateNewProjectPlan, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getTemplateMap, init, initMetadata, initTooling, initToolingTargets, isGitignoreFile, listTemplateInstances, loadAgenticTasks, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, normalizeInitToolingTargets, name as packageName, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
|
|
2598
|
+
export { type AdmissionDeclaration, type AffectedCheckCommand, type AffectedCheckMatrix, type AffectedCheckMatrixJob, type AffectedCheckMatrixOptions, type AffectedCheckOptions, type AffectedCheckPlan, type AffectedCheckSettings, type AffectedFallback, type AffectedFile, type AffectedGitRange, type AffectedPackage, type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type ArtifactFile, type BoundarySeverity, type CheckExecutionOptions, type CheckExecutionReport, type CheckExecutionStatus, type CheckExecutionTask, type CheckTemplatesOptions, type CleanCommandConfig, CliOpts, type CodeownersConfig, type CodeownersDiagnostic, type CodeownersOptions, type CodeownersPlan, type CodeownersReport, type CommitMsgVerifyOptions, type CommitlintToolingConfig, type ConfigDiagnostic, type ConfigInspection, ConfigSourceLayer, ConfigValueSource, type ConfigValues, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, type CreateTemplateDefinition, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, DependenciesCommandConfig, type DependencyAdmissionConfig, type DependencyAdmissionException, type DependencyAdmissionFinding, type DependencyAdmissionOptions, type DependencyAdmissionReport, type DependencyAdmissionRule, DependencyApplyResult, DependencyConsistencyGroup, DependencyFileChange, DependencyFixOptions, DependencyFixPlan, DependencyGroupStatus, DependencyOccurrence, DependencyProtocol, DependencyReport, DependencySection, DependencyVersionGroup, type DoctorCheck, type DoctorCommandConfig, type DoctorFixPlan, type DoctorFixResult, type DoctorOptions, type DoctorReport, type DoctorStatus, type DoctorSummary, type DoctorSuppression, type DoctorSuppressionReport, type EnsurePullRequestOptions, type EnsureReleaseOptions, type EnsureTagOptions, type EnvCacheConfig, type EnvCacheEvidence, type EnvCacheFinding, type EnvCacheOptions, type EnvCacheReport, type EnvCacheSuppression, type EnvCacheTask, type EnvCacheVariable, type EnvInfo, type EnvPathEntry, type EnvPaths, type EnvSnapshot, type EnvSupportBundle, type EslintToolingConfig, type GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, type GitHubClientOptions, type GitHubOperations, type GitHubRelease, type HuskyToolingConfig, InitCommandConfig, type InstallBuildDecision, type InstallPolicyKey, type InstallSecurityExpectations, type InstallSecurityOptions, type InstallSecurityPresetPlan, type InstallSecurityReport, type InstallSecuritySetting, type LintStagedToolingConfig, type MaintenanceFile, type MaintenancePresetChange, type MaintenancePresetUpgrade, type MaintenanceUpgradeOptions, type MaintenanceUpgradeReport, type MaintenanceVersionChange, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, OrganizationPresetAsset, type OrganizationPresetAssetPlan, type OrganizationPresetAssetResult, OrganizationPresetDiagnostic, OrganizationPresetLayer, OrganizationPresetManifest, OrganizationPresetReference, OrganizationPresetResolution, OrganizationPresetSource, OrganizationPresetTemplate, type PackageCheckCommand, type PackageCheckDiagnostic, type PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, ProjectReferencesApplyResult, ProjectReferencesCheck, ProjectReferencesConfig, ProjectReferencesDiagnostic, ProjectReferencesOperation, ProjectReferencesPlan, type PublicApiConfig, type PublicApiDiagnostic, type PublicApiEntryConfig, type PublicApiEntryReport, type PublicApiOptions, type PublicApiPackageConfig, type PublicApiReport, type PublicApiUpdatePlan, type PublicApiUpdateResult, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type ReleaseAfterPublishHookConfig, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCommandConfig, type ReleaseLifecycleState, type ReleaseOidcAuditOptions, type ReleaseOidcAuditReport, type ReleaseOidcPackageResult, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotReport, type StagedTypecheckOptions, type StorybookArgs, type StorybookCapabilityOptions, type StylelintToolingConfig, type SyncSkillsOptions, type TemplateCatalog, type TemplateCatalogDiagnostic, type TemplateCatalogEntry, type TemplateDriftCollection, type TemplateDriftFile, type TemplateDriftOptions, type TemplateDriftOwner, type TemplateDriftRegistry, type TemplateDriftReport, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, type TemplateInstance, type TemplateInstanceBaseline, type TemplateInstanceInfo, type TemplateInstanceRegistry, type TemplateInstanceSource, type TemplateLinkOptions, type TemplateLinkPlan, type TemplateRemoteSource, type TemplateSourceOptions, type TemplateSourceRequest, type TemplateUpgradeChange, type TemplateUpgradeEntry, type TemplateUpgradeOptions, type TemplateUpgradePlan, type TemplateUpgradeRecoveryResult, type TemplateUpgradeResult, type TemplateValidationDiagnostic, type TemplateValidationOptions, type TemplateValidationParameterSet, type TemplateValidationPlan, type TemplateValidationReport, type TemplateValidationSample, type TemplateValidationStage, type TemplateValidationStep, type TemplateVersionComparison, type TemplateVersionEvidence, type ToolingCapability, type ToolingCapabilityFile, type ToolingCapabilityOptions, type ToolingCapabilityPlan, type ToolingCapabilityResult, type ToolingConfig, type TsconfigToolingConfig, type TurboAnalysisLimitation, type TurboAnalysisOptions, type TurboCriticalPath, type TurboHashEvidence, type TurboRunAnalysis, type TurboTaskAnalysis, UpgradeCommandConfig, type VerifyCommandOptions, type VitestProjectToolingConfig, type VitestToolingConfig, type WorkspaceArtifactApplyOptions, type WorkspaceArtifactOptions, type WorkspaceArtifactPlan, type WorkspaceArtifactResult, type WorkspaceBoundariesConfig, type WorkspaceBoundariesReport, type WorkspaceBoundaryException, type WorkspaceBoundaryFinding, type WorkspaceBoundaryRule, type WorkspaceBoundarySelector, WorkspaceData, type WorkspaceDependencyType, type WorkspaceGraph, type WorkspaceGraphDiagnostic, type WorkspaceGraphEdge, type WorkspaceGraphFilter, type WorkspaceGraphNode, type WorkspaceGraphOptions, type WorkspaceImpactOptions, type WorkspaceImpactResult, type WorkspaceLocation, WorkspaceMoveOptions, WorkspaceMovePlan, WorkspaceMoveResult, WorkspaceMoveReview, type WorkspaceOwnership, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, WorkspaceRemovalBlocker, WorkspaceRemovalEntry, WorkspaceRemovalFile, WorkspaceRemovalOptions, WorkspaceRemovalPlan, WorkspaceRemovalResult, type WorkspaceTask, type WorkspaceTaskCatalog, type WorkspaceTaskOptions, type WorkspaceTaskPackage, type WorkspaceWhyResult, applyCreateNewProjectPlan, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getTemplateMap, init, initMetadata, initTooling, initToolingTargets, isGitignoreFile, listTemplateInstances, loadAgenticTasks, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, normalizeInitToolingTargets, name as packageName, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { $ as WorkspaceGraphQueryError, At as exists, B as saveKnipBaseline, Bt as writeJSON, Dt as copy, Ft as outputJson, Gt as getWorkspacePackages, Ht as clearWorkspaceCache, I as getKnipConfigurationSuggestions, It as pathExists, J as getWorkspaceGraph, Lt as readJSON, M as formatEnvironmentCache, Mt as isIgnorableFsError, Nt as outputFile, Ot as ensureDir, P as checkEnvironmentCache, Pt as outputJSON, Q as whyWorkspaceDependency, R as planKnipCheck, Rt as readJson, Ut as getWorkspaceData, Vt as writeJson, W as analyzeTurboRuns, Wt as getWorkspacePackageSummaries, X as filterWorkspaceGraph, Z as getWorkspaceImpact, _ as planTemplateLink, _t as assetsDir, a as inspectWorkspaceOwners, b as planGenerate, bt as rootDir, c as loadTemplateInstanceRegistry, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, i as planCodeowners, kt as ensureFile, l as rebuildTemplateInstanceBaseline, m as planTemplateUpgrade, n as locateWorkspace, o as listTemplateInstances, p as applyTemplateUpgradePlan, qt as GitClient, r as applyCodeownersPlan, s as loadTemplateBaseline, t as getWorkspaceTaskCatalog, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, vt as cliName, x as generators, xt as templatesDir, y as applyGeneratePlan, yt as packageDir, z as runKnipCheck, zt as remove } from "./workspace-tasks-
|
|
2
|
-
import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, f as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport, u as verifyStagedTypecheck } from "./execute-
|
|
3
|
-
import { $ as
|
|
4
|
-
import { D as name, M as assertMonorepoConfig, N as validateMonorepoConfig, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, h as resolveOrganizationPresets, i as loadMonorepoToolingConfig, j as ConfigValidationError, k as version, l as defineMonorepoConfig, m as resolveToolingConfig, n as defineTsconfigConfig, p as resolveCommandConfig, s as configExtensions, t as createMonorepoTsconfig, u as getRepoctlConfigCandidates } from "./tsconfig-
|
|
5
|
-
import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-
|
|
6
|
-
import { F as toWorkspaceAssetPath, I as toWorkspaceGitignorePath, N as isGitignoreFile, P as toPublishGitignorePath, S as checkDependencyAdmission, f as inspectInstallSecurity, i as hasTemplateDriftIssues, l as getDoctorRuleIds, r as formatTemplateDriftReport, t as checkTemplateDrift, x as checkWorkspaceBoundaries } from "./template-drift-
|
|
7
|
-
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, d as createMonorepoLintStagedConfig, f as defineLintStagedConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-
|
|
8
|
-
import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-
|
|
9
|
-
import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-
|
|
1
|
+
import { $ as WorkspaceGraphQueryError, At as exists, B as saveKnipBaseline, Bt as writeJSON, Dt as copy, Ft as outputJson, Gt as getWorkspacePackages, Ht as clearWorkspaceCache, I as getKnipConfigurationSuggestions, It as pathExists, J as getWorkspaceGraph, Lt as readJSON, M as formatEnvironmentCache, Mt as isIgnorableFsError, Nt as outputFile, Ot as ensureDir, P as checkEnvironmentCache, Pt as outputJSON, Q as whyWorkspaceDependency, R as planKnipCheck, Rt as readJson, Ut as getWorkspaceData, Vt as writeJson, W as analyzeTurboRuns, Wt as getWorkspacePackageSummaries, X as filterWorkspaceGraph, Z as getWorkspaceImpact, _ as planTemplateLink, _t as assetsDir, a as inspectWorkspaceOwners, b as planGenerate, bt as rootDir, c as loadTemplateInstanceRegistry, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, i as planCodeowners, kt as ensureFile, l as rebuildTemplateInstanceBaseline, m as planTemplateUpgrade, n as locateWorkspace, o as listTemplateInstances, p as applyTemplateUpgradePlan, qt as GitClient, r as applyCodeownersPlan, s as loadTemplateBaseline, t as getWorkspaceTaskCatalog, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, vt as cliName, x as generators, xt as templatesDir, y as applyGeneratePlan, yt as packageDir, z as runKnipCheck, zt as remove } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, f as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport, u as verifyStagedTypecheck } from "./execute-CNGJsU9v.mjs";
|
|
3
|
+
import { $ as GitHubClient, A as resolveAffectedCheckMatrix, At as resolveTemplateCatalog, B as syncSkills, Bt as defaultAgenticBaseDir, C as applyOrganizationPresetAssets, D as applyInstallSecurityPreset, Dt as templateMap, E as planDevContainer, Et as getTemplateMap, F as upgradeMonorepo, Ft as sanitizeConfigReport, G as prepareStable, H as createReleasePullRequest, Ht as generateAgenticTemplates, I as formatUpgradePlan, It as validateConfigFile, J as reconcileRelease, K as publishStable, L as checkTemplates, Lt as cleanProjects, M as applyPublicApiUpdate, Mt as updateIssueTemplateConfig, N as planPublicApiUpdate, Nt as inspectMonorepoConfig, O as planInstallSecurityPreset, Ot as resolveRemoteTemplateSource, P as formatPublicApiReport, Pt as explainMonorepoConfig, Q as auditReleaseOidc, R as getSkillTargetPaths, Rt as verifyPrePush, S as detectMaintenanceVersionChange, St as createNewProject, T as applyDevContainerPlan, Tt as getCreateChoices, U as recoverUnpublished, Ut as loadAgenticTasks, V as repairReleaseNotes, Vt as generateAgenticTemplate, W as releaseCi, X as exitPrerelease, Y as enterPrerelease, Z as releasePrerelease, _ as applyProjectReferencesPlan, _t as planDoctorFix, a as planWorkspaceMove, at as init, b as getMaintenanceWorkflow, bt as applyUpgradePlan, c as applyToolingCapability, ct as normalizeInitToolingTargets, d as planTemplateValidation, dt as collectEnvInfo, et as GitHubApiError, f as releaseSnapshot, ft as collectEnvPaths, g as syncProjectReferences, gt as applyDoctorFixPlan, h as checkProjectReferences, ht as runDoctor, i as applyWorkspaceMovePlan, it as setVscodeBinaryMirror, j as checkPublicApi, k as checkPeerDependencies, l as planToolingCapability, lt as initToolingTargets, m as createReleasePlan, mt as collectEnvSupportBundle, n as applyWorkspaceRemovalPlan, o as applyWorkspaceArtifactPlan, ot as initMetadata, p as createSnapshotPlan, pt as collectEnvSnapshot, q as releaseStable, r as planWorkspaceRemoval, s as planWorkspaceArtifact, st as initTooling, tt as parsePublishSummary, u as validateTemplate, ut as createContext, v as planProjectReferences, vt as planUpgrade, w as planOrganizationPresetAssets, wt as resolveCreateNewProjectPlan, x as prepareMaintenanceUpgrade, xt as applyCreateNewProjectPlan, y as checkPackages, yt as resolveReleaseBranches, z as skillTargets, zt as createTimestampFolderName } from "./commands-C1KOgvKa.mjs";
|
|
4
|
+
import { D as name, M as assertMonorepoConfig, N as validateMonorepoConfig, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, h as resolveOrganizationPresets, i as loadMonorepoToolingConfig, j as ConfigValidationError, k as version, l as defineMonorepoConfig, m as resolveToolingConfig, n as defineTsconfigConfig, p as resolveCommandConfig, s as configExtensions, t as createMonorepoTsconfig, u as getRepoctlConfigCandidates } from "./tsconfig-DtgBJ7Vi.mjs";
|
|
5
|
+
import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-uUmUqFA6.mjs";
|
|
6
|
+
import { F as toWorkspaceAssetPath, I as toWorkspaceGitignorePath, N as isGitignoreFile, P as toPublishGitignorePath, S as checkDependencyAdmission, f as inspectInstallSecurity, i as hasTemplateDriftIssues, l as getDoctorRuleIds, r as formatTemplateDriftReport, t as checkTemplateDrift, x as checkWorkspaceBoundaries } from "./template-drift-Bhvs_DPa.mjs";
|
|
7
|
+
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, d as createMonorepoLintStagedConfig, f as defineLintStagedConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-DkD49zO4.mjs";
|
|
8
|
+
import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-_M128Hqi.mjs";
|
|
9
|
+
import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-BKW8udNq.mjs";
|
|
10
10
|
import crypto from "node:crypto";
|
|
11
11
|
import { Buffer } from "node:buffer";
|
|
12
12
|
//#region src/utils/hash.ts
|
|
@@ -57,4 +57,4 @@ function isMatch(str, arr) {
|
|
|
57
57
|
return false;
|
|
58
58
|
}
|
|
59
59
|
//#endregion
|
|
60
|
-
export { ConfigValidationError, GitClient, GitHubApiError, GitHubClient, WorkspaceGraphQueryError, analyzeTurboRuns, applyCatalogMigrationPlan, applyCodeownersPlan, applyCreateNewProjectPlan, applyDependencyFixPlan, applyDevContainerPlan, applyDoctorFixPlan, applyGeneratePlan, applyInstallSecurityPreset, applyOrganizationPresetAssets, applyProjectReferencesPlan, applyPublicApiUpdate, applyTemplateLinkPlan, applyTemplateUpgradePlan, applyToolingCapability, applyUpgradePlan, applyWorkspaceArtifactPlan, applyWorkspaceMovePlan, applyWorkspaceRemovalPlan, assertMonorepoConfig, assetsDir, checkCatalogs, checkDependencies, checkDependencyAdmission, checkEnvironmentCache, checkPackages, checkPeerDependencies, checkProjectReferences, checkPublicApi, checkTemplateDrift, checkTemplates, checkWorkspaceBoundaries, cleanProjects, clearWorkspaceCache, cliName, collectEnvInfo, collectEnvPaths, collectEnvSnapshot, collectEnvSupportBundle, configExtensions, copy, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePlan, createReleasePullRequest, createSnapshotPlan, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, detectMaintenanceVersionChange, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, explainMonorepoConfig, filterWorkspaceGraph, formatEnvironmentCache, formatPublicApiReport, formatTemplateDriftReport, formatUpgradePlan, generateAgenticTemplate, generateAgenticTemplates, generators, getCreateChoices, getDoctorRuleIds, getFileHash, getKnipConfigurationSuggestions, getKnownRepoCheckCommands, getMaintenanceWorkflow, getRepoctlConfigCandidates, getSkillTargetPaths, getTemplateMap, getWorkspaceData, getWorkspaceGraph, getWorkspaceImpact, getWorkspacePackageSummaries, getWorkspacePackages, getWorkspaceTaskCatalog, hasTemplateDriftIssues, init, initMetadata, initTooling, initToolingTargets, inspectInstallSecurity, inspectMonorepoConfig, inspectWorkspaceOwners, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, listTemplateInstances, listToolingCapabilities, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, locateWorkspace, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir, name as packageName, parsePublishSummary, pathExists, planCatalogMigration, planCodeowners, planDependencyFix, planDevContainer, planDoctorFix, planGenerate, planInstallSecurityPreset, planKnipCheck, planOrganizationPresetAssets, planProjectReferences, planPublicApiUpdate, planTemplateLink, planTemplateUpgrade, planTemplateValidation, planToolingCapability, planUpgrade, planWorkspaceArtifact, planWorkspaceMove, planWorkspaceRemoval, prepareMaintenanceUpgrade, prepareStable, publishStable, readJSON, readJson, rebuildTemplateInstanceBaseline, reconcileRelease, recoverTemplateUpgrade, recoverUnpublished, releaseCi, releasePrerelease, releaseSnapshot, releaseStable, relocateTemplateInstance, remove, repairReleaseNotes, resolveAffectedCheckMatrix, resolveAffectedCheckPlan, resolveCommandConfig, resolveCommandValues, resolveCreateNewProjectPlan, resolveFullWorkspaceCheckPlan, resolveOrganizationPresets, resolveRecommendedCheckPlan, resolveReleaseBranches, resolveRemoteTemplateSource, resolveTemplateCatalog, resolveToolingConfig, resolveWorkspaceGraphNode, rootDir, runCheckWithReport, runDoctor, runKnipCheck, runRecommendedCheck, sanitizeConfigReport, saveKnipBaseline, selectCommandOverrides, setByPath, setVscodeBinaryMirror, skillTargets, syncProjectReferences, syncSkills, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath, updateIssueTemplateConfig, upgradeMonorepo, validateConfigFile, validateMonorepoConfig, validateTemplate, verifyCommitMsg, verifyPreCommit, verifyPrePush, verifyStagedTypecheck, version, whyWorkspaceDependency, writeJSON, writeJson };
|
|
60
|
+
export { ConfigValidationError, GitClient, GitHubApiError, GitHubClient, WorkspaceGraphQueryError, analyzeTurboRuns, applyCatalogMigrationPlan, applyCodeownersPlan, applyCreateNewProjectPlan, applyDependencyFixPlan, applyDevContainerPlan, applyDoctorFixPlan, applyGeneratePlan, applyInstallSecurityPreset, applyOrganizationPresetAssets, applyProjectReferencesPlan, applyPublicApiUpdate, applyTemplateLinkPlan, applyTemplateUpgradePlan, applyToolingCapability, applyUpgradePlan, applyWorkspaceArtifactPlan, applyWorkspaceMovePlan, applyWorkspaceRemovalPlan, assertMonorepoConfig, assetsDir, auditReleaseOidc, checkCatalogs, checkDependencies, checkDependencyAdmission, checkEnvironmentCache, checkPackages, checkPeerDependencies, checkProjectReferences, checkPublicApi, checkTemplateDrift, checkTemplates, checkWorkspaceBoundaries, cleanProjects, clearWorkspaceCache, cliName, collectEnvInfo, collectEnvPaths, collectEnvSnapshot, collectEnvSupportBundle, configExtensions, copy, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePlan, createReleasePullRequest, createSnapshotPlan, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, detectMaintenanceVersionChange, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, explainMonorepoConfig, filterWorkspaceGraph, formatEnvironmentCache, formatPublicApiReport, formatTemplateDriftReport, formatUpgradePlan, generateAgenticTemplate, generateAgenticTemplates, generators, getCreateChoices, getDoctorRuleIds, getFileHash, getKnipConfigurationSuggestions, getKnownRepoCheckCommands, getMaintenanceWorkflow, getRepoctlConfigCandidates, getSkillTargetPaths, getTemplateMap, getWorkspaceData, getWorkspaceGraph, getWorkspaceImpact, getWorkspacePackageSummaries, getWorkspacePackages, getWorkspaceTaskCatalog, hasTemplateDriftIssues, init, initMetadata, initTooling, initToolingTargets, inspectInstallSecurity, inspectMonorepoConfig, inspectWorkspaceOwners, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, listTemplateInstances, listToolingCapabilities, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, locateWorkspace, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir, name as packageName, parsePublishSummary, pathExists, planCatalogMigration, planCodeowners, planDependencyFix, planDevContainer, planDoctorFix, planGenerate, planInstallSecurityPreset, planKnipCheck, planOrganizationPresetAssets, planProjectReferences, planPublicApiUpdate, planTemplateLink, planTemplateUpgrade, planTemplateValidation, planToolingCapability, planUpgrade, planWorkspaceArtifact, planWorkspaceMove, planWorkspaceRemoval, prepareMaintenanceUpgrade, prepareStable, publishStable, readJSON, readJson, rebuildTemplateInstanceBaseline, reconcileRelease, recoverTemplateUpgrade, recoverUnpublished, releaseCi, releasePrerelease, releaseSnapshot, releaseStable, relocateTemplateInstance, remove, repairReleaseNotes, resolveAffectedCheckMatrix, resolveAffectedCheckPlan, resolveCommandConfig, resolveCommandValues, resolveCreateNewProjectPlan, resolveFullWorkspaceCheckPlan, resolveOrganizationPresets, resolveRecommendedCheckPlan, resolveReleaseBranches, resolveRemoteTemplateSource, resolveTemplateCatalog, resolveToolingConfig, resolveWorkspaceGraphNode, rootDir, runCheckWithReport, runDoctor, runKnipCheck, runRecommendedCheck, sanitizeConfigReport, saveKnipBaseline, selectCommandOverrides, setByPath, setVscodeBinaryMirror, skillTargets, syncProjectReferences, syncSkills, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath, updateIssueTemplateConfig, upgradeMonorepo, validateConfigFile, validateMonorepoConfig, validateTemplate, verifyCommitMsg, verifyPreCommit, verifyPrePush, verifyStagedTypecheck, version, whyWorkspaceDependency, writeJSON, writeJson };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { at as record, yt as packageDir } from "./workspace-tasks-
|
|
1
|
+
import { at as record, yt as packageDir } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
2
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
3
3
|
import path from "pathe";
|
|
4
4
|
import process from "node:process";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { U as stopCheckProcessTree } from "./workspace-tasks-
|
|
2
|
-
import { t as knipConfigurationInputs } from "./inputs-
|
|
3
|
-
import { planKnipCheck } from "./plan-
|
|
4
|
-
import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-
|
|
1
|
+
import { U as stopCheckProcessTree } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { t as knipConfigurationInputs } from "./inputs-DkBp5uc7.mjs";
|
|
3
|
+
import { planKnipCheck } from "./plan-DkRsq9Oj.mjs";
|
|
4
|
+
import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-Cx3VuGue.mjs";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
import { Buffer } from "node:buffer";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ht as isWithin, mt as assertSafePath, ot as safeFile } from "./workspace-tasks-
|
|
2
|
-
import { knipRoot } from "./plan-
|
|
3
|
-
import { n as validateKnipBaseline } from "./baseline-
|
|
1
|
+
import { ht as isWithin, mt as assertSafePath, ot as safeFile } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { knipRoot } from "./plan-DkRsq9Oj.mjs";
|
|
3
|
+
import { n as validateKnipBaseline } from "./baseline-Cx3VuGue.mjs";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import { link, lstat, open, readFile, rename, unlink } from "node:fs/promises";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { St as localize, at as record, it as readInput, rt as hash } from "./workspace-tasks-
|
|
2
|
-
import { A as mergeConfigValues, H as validateSchema, M as assertMonorepoConfig, f as loadMonorepoConfigDetails, j as ConfigValidationError, u as getRepoctlConfigCandidates, z as commandSchemas } from "./tsconfig-
|
|
1
|
+
import { St as localize, at as record, it as readInput, rt as hash } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { A as mergeConfigValues, H as validateSchema, M as assertMonorepoConfig, f as loadMonorepoConfigDetails, j as ConfigValidationError, u as getRepoctlConfigCandidates, z as commandSchemas } from "./tsconfig-DtgBJ7Vi.mjs";
|
|
3
3
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
4
4
|
import { findWorkspacePackages } from "@pnpm/workspace.find-packages";
|
|
5
5
|
import path from "pathe";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { J as getWorkspaceGraph, St as localize, Y as parseDependencyReference, at as record$3, jt as fs$2, nt as workspaceDependencyTypes, rt as hash, ut as hasLegacyToolingReference } from "./workspace-tasks-
|
|
3
|
-
import { E as relativeFile, T as readOptional, f as loadMonorepoConfigDetails, j as ConfigValidationError, w as hash$1 } from "./tsconfig-
|
|
4
|
-
import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-
|
|
2
|
+
import { J as getWorkspaceGraph, St as localize, Y as parseDependencyReference, at as record$3, jt as fs$2, nt as workspaceDependencyTypes, rt as hash, ut as hasLegacyToolingReference } from "./workspace-tasks-PcOR82ko.mjs";
|
|
3
|
+
import { E as relativeFile, T as readOptional, f as loadMonorepoConfigDetails, j as ConfigValidationError, w as hash$1 } from "./tsconfig-DtgBJ7Vi.mjs";
|
|
4
|
+
import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-uUmUqFA6.mjs";
|
|
5
5
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
6
6
|
import path from "pathe";
|
|
7
7
|
import process from "node:process";
|
package/dist/tooling-entry.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as loadMonorepoToolingConfig, n as defineTsconfigConfig, t as createMonorepoTsconfig } from "./tsconfig-
|
|
2
|
-
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, d as createMonorepoLintStagedConfig, f as defineLintStagedConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-
|
|
1
|
+
import { i as loadMonorepoToolingConfig, n as defineTsconfigConfig, t as createMonorepoTsconfig } from "./tsconfig-DtgBJ7Vi.mjs";
|
|
2
|
+
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, d as createMonorepoLintStagedConfig, f as defineLintStagedConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-DkD49zO4.mjs";
|
|
3
3
|
export { createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { St as localize, at as record, ot as safeFile, pt as stageFileTransaction, rt as hash, st as updateManifest } from "./workspace-tasks-
|
|
2
|
-
import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-
|
|
1
|
+
import { St as localize, at as record, ot as safeFile, pt as stageFileTransaction, rt as hash, st as updateManifest } from "./workspace-tasks-PcOR82ko.mjs";
|
|
2
|
+
import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-uUmUqFA6.mjs";
|
|
3
3
|
import { isDeepStrictEqual } from "node:util";
|
|
4
4
|
//#region src/commands/deps/report.ts
|
|
5
5
|
function classify(group) {
|
|
@@ -746,7 +746,7 @@ function mergeConfigValues(layers) {
|
|
|
746
746
|
//#endregion
|
|
747
747
|
//#region package.json
|
|
748
748
|
var name = "@icebreakers/monorepo";
|
|
749
|
-
var version = "5.
|
|
749
|
+
var version = "5.8.0";
|
|
750
750
|
var package_default = {
|
|
751
751
|
name,
|
|
752
752
|
type: "module",
|
|
@@ -825,7 +825,7 @@ var package_default = {
|
|
|
825
825
|
},
|
|
826
826
|
dependencies: {
|
|
827
827
|
"@arethetypeswrong/core": "0.18.5",
|
|
828
|
-
"@babel/parser": "^7.29.
|
|
828
|
+
"@babel/parser": "^7.29.9",
|
|
829
829
|
"@icebreakers/commitlint-config": "workspace:*",
|
|
830
830
|
"@icebreakers/eslint-config": "workspace:*",
|
|
831
831
|
"@icebreakers/monorepo-templates": "workspace:*",
|
|
@@ -834,7 +834,7 @@ var package_default = {
|
|
|
834
834
|
"@pnpm/find-workspace-dir": "^1000.1.5",
|
|
835
835
|
"@pnpm/logger": "^1100.0.0",
|
|
836
836
|
"@pnpm/types": "^1102.1.1",
|
|
837
|
-
"@pnpm/worker": "^1100.4.
|
|
837
|
+
"@pnpm/worker": "^1100.4.8",
|
|
838
838
|
"@pnpm/workspace.find-packages": "^1000.0.65",
|
|
839
839
|
"@pnpm/workspace.read-manifest": "^1000.3.1",
|
|
840
840
|
"c12": "^3.3.4",
|
|
@@ -848,7 +848,7 @@ var package_default = {
|
|
|
848
848
|
"klaw": "^4.1.0",
|
|
849
849
|
"lint-staged": "^17.6.0",
|
|
850
850
|
"micromatch": "^4.0.8",
|
|
851
|
-
"node-diff3": "~3.1
|
|
851
|
+
"node-diff3": "~3.2.1",
|
|
852
852
|
"p-queue": "^9.3.3",
|
|
853
853
|
"pacote": "21.5.1",
|
|
854
854
|
"pathe": "^2.0.3",
|
|
@@ -863,7 +863,7 @@ var package_default = {
|
|
|
863
863
|
"yaml": "catalog:"
|
|
864
864
|
},
|
|
865
865
|
devDependencies: {
|
|
866
|
-
"@microsoft/api-extractor": "7.
|
|
866
|
+
"@microsoft/api-extractor": "7.59.4",
|
|
867
867
|
"@types/cross-spawn": "^6.0.6",
|
|
868
868
|
"@types/klaw": "^3.0.8",
|
|
869
869
|
"@types/micromatch": "^4.0.10",
|
|
@@ -873,7 +873,7 @@ var package_default = {
|
|
|
873
873
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
874
874
|
"ci-info": "^4.4.0",
|
|
875
875
|
"fdir": "^6.5.0",
|
|
876
|
-
"knip": "6.
|
|
876
|
+
"knip": "6.40.0"
|
|
877
877
|
},
|
|
878
878
|
publishConfig: {
|
|
879
879
|
"access": "public",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as loadToolingSection, o as resolveConfigInput, r as isDefineConfigWrapper } from "./tsconfig-
|
|
1
|
+
import { a as loadToolingSection, o as resolveConfigInput, r as isDefineConfigWrapper } from "./tsconfig-DtgBJ7Vi.mjs";
|
|
2
2
|
import process from "node:process";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
2
|
-
import { f as loadMonorepoConfigDetails, j as ConfigValidationError, k as version, u as getRepoctlConfigCandidates } from "./tsconfig-
|
|
2
|
+
import { f as loadMonorepoConfigDetails, j as ConfigValidationError, k as version, u as getRepoctlConfigCandidates } from "./tsconfig-DtgBJ7Vi.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import gitUrlParse from "git-url-parse";
|
|
5
5
|
import { simpleGit } from "simple-git";
|
|
@@ -1977,16 +1977,16 @@ var knip_exports = /* @__PURE__ */ __exportAll({
|
|
|
1977
1977
|
saveKnipBaseline: () => saveKnipBaseline
|
|
1978
1978
|
});
|
|
1979
1979
|
async function planKnipCheck(cwd, options = {}) {
|
|
1980
|
-
return (await import("./plan-
|
|
1980
|
+
return (await import("./plan-DkRsq9Oj.mjs")).planKnipCheck(cwd, options);
|
|
1981
1981
|
}
|
|
1982
1982
|
async function runKnipCheck(cwd, options = {}) {
|
|
1983
|
-
return (await import("./run-
|
|
1983
|
+
return (await import("./run-BHsnON3k.mjs")).runKnipCheck(cwd, options);
|
|
1984
1984
|
}
|
|
1985
1985
|
async function getKnipConfigurationSuggestions(cwd) {
|
|
1986
|
-
return (await import("./config-
|
|
1986
|
+
return (await import("./config-ITi4Uywg.mjs")).getKnipConfigurationSuggestions(cwd);
|
|
1987
1987
|
}
|
|
1988
1988
|
async function saveKnipBaseline(cwd, report, file) {
|
|
1989
|
-
return (await import("./save-
|
|
1989
|
+
return (await import("./save-DTVXKc6k.mjs")).saveKnipBaseline(cwd, report, file);
|
|
1990
1990
|
}
|
|
1991
1991
|
//#endregion
|
|
1992
1992
|
//#region src/commands/env-cache/config.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icebreakers/monorepo",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.8.0",
|
|
5
5
|
"description": "Core engine and programmatic APIs for repoctl",
|
|
6
6
|
"author": "ice breaker <hi@sonofmagic.top>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -77,16 +77,16 @@
|
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@arethetypeswrong/core": "0.18.5",
|
|
80
|
-
"@babel/parser": "^7.29.
|
|
81
|
-
"@icebreakers/commitlint-config": "4.1.
|
|
82
|
-
"@icebreakers/eslint-config": "8.0.
|
|
83
|
-
"@icebreakers/monorepo-templates": "2.
|
|
80
|
+
"@babel/parser": "^7.29.9",
|
|
81
|
+
"@icebreakers/commitlint-config": "4.1.2",
|
|
82
|
+
"@icebreakers/eslint-config": "8.0.8",
|
|
83
|
+
"@icebreakers/monorepo-templates": "2.3.0",
|
|
84
84
|
"@icebreakers/stylelint-config": "5.1.3",
|
|
85
85
|
"@npmcli/config": "10.14.0",
|
|
86
86
|
"@pnpm/find-workspace-dir": "^1000.1.5",
|
|
87
87
|
"@pnpm/logger": "^1100.0.0",
|
|
88
88
|
"@pnpm/types": "^1102.1.1",
|
|
89
|
-
"@pnpm/worker": "^1100.4.
|
|
89
|
+
"@pnpm/worker": "^1100.4.8",
|
|
90
90
|
"@pnpm/workspace.find-packages": "^1000.0.65",
|
|
91
91
|
"@pnpm/workspace.read-manifest": "^1000.3.1",
|
|
92
92
|
"c12": "^3.3.4",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"klaw": "^4.1.0",
|
|
101
101
|
"lint-staged": "^17.6.0",
|
|
102
102
|
"micromatch": "^4.0.8",
|
|
103
|
-
"node-diff3": "~3.1
|
|
103
|
+
"node-diff3": "~3.2.1",
|
|
104
104
|
"p-queue": "^9.3.3",
|
|
105
105
|
"pacote": "21.5.1",
|
|
106
106
|
"pathe": "^2.0.3",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"yaml": "^2.9.1"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@microsoft/api-extractor": "7.
|
|
118
|
+
"@microsoft/api-extractor": "7.59.4",
|
|
119
119
|
"@types/cross-spawn": "^6.0.6",
|
|
120
120
|
"@types/klaw": "^3.0.8",
|
|
121
121
|
"@types/micromatch": "^4.0.10",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
126
126
|
"ci-info": "^4.4.0",
|
|
127
127
|
"fdir": "^6.5.0",
|
|
128
|
-
"knip": "6.
|
|
128
|
+
"knip": "6.40.0"
|
|
129
129
|
},
|
|
130
130
|
"publishConfig": {
|
|
131
131
|
"access": "public",
|
|
@@ -153,11 +153,16 @@ Usage:
|
|
|
153
153
|
- `pnpm exec repo release ci --mode prepare`
|
|
154
154
|
- `pnpm exec repo release ci --mode publish`
|
|
155
155
|
- `pnpm exec repo release ci --mode publish-unpublished --package <name> --version <version>`
|
|
156
|
+
- `pnpm exec repo release ci --mode oidc-audit`
|
|
156
157
|
|
|
157
158
|
The command uses `GITHUB_TOKEN`, `GITHUB_REPOSITORY`, `GITHUB_API_URL`, and
|
|
158
159
|
`GITHUB_SHA` to upsert the Release PR, package tags, and GitHub Releases. It
|
|
159
160
|
consumes `pnpm-publish-summary.json` and is safe to retry.
|
|
160
161
|
|
|
162
|
+
`oidc-audit` independently checks every versioned public child package using the current GitHub-hosted job's OIDC identity and the official npm registry. It returns safe JSON (`schemaVersion: 1`) with allowlisted identity fields, per-package HTTP status/message and aggregate success. The CLI fails if any exchange fails, but still checks all packages. It does not load release configuration, consume intents, execute quality scripts/hooks, publish, or create tags/Releases. Recovery flags (`source-sha`, `dry-run`, `package`, `version`) are incompatible. The managed workflow has a separate read-only audit job with Node 24, `id-token: write` and installation lifecycle scripts disabled; generated projects need only installed repoctl, while the source workspace builds its tooling closure.
|
|
163
|
+
|
|
164
|
+
Use `auditReleaseOidc({ cwd, env?, fetch? })` for the same programmatic report. JWTs, request tokens and exchange tokens are never included or saved. A 404 alone cannot identify expired trust: check npm package settings and repository/workflow/environment matching. If npm explicitly says `Expired`, delete/recreate the configuration and perform the first successful publish within 48 hours under [npm's policy](https://github.blog/changelog/2026-10-02-unvalidated-npm-trusted-publishing-configurations-now-expire/). A successful exchange does not complete that initial publish validation; auditing immediately before publishing narrows that gap.
|
|
165
|
+
|
|
161
166
|
## workspace upgrade (alias: ws up)
|
|
162
167
|
|
|
163
168
|
Purpose: sync monorepo assets and scripts into the workspace.
|