@icebreakers/monorepo 6.4.4 → 6.5.1
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-CDK5S6ZW.mjs → baseline-CQVDciG4.mjs} +1 -1
- package/dist/{catalog-DGNEXpLv.mjs → catalog-6_tT0U3p.mjs} +4 -4
- package/dist/cli.mjs +63 -63
- package/dist/{commands-Dmb6rHT4.mjs → commands-DPb06B1C.mjs} +139 -259
- package/dist/{config-CS8bKmur.mjs → config-CT_nsp4o.mjs} +3 -3
- package/dist/{create-flow-D2qerhKE.mjs → create-flow-Ct7XKrYP.mjs} +3 -3
- package/dist/{deps-DYRGuzg7.mjs → deps-CIrWBABk.mjs} +4 -4
- package/dist/{execute-BZEh5hv0.mjs → execute-Y_6G_tEl.mjs} +2 -2
- package/dist/{execute-Kt3jCIFG.mjs → execute-e7SGX_Y0.mjs} +2 -2
- package/dist/{format-BzyiA7aM.mjs → format-jsSjadNe.mjs} +1 -1
- package/dist/{index-CyUOTGW4.d.mts → index-C7KR7hT8.d.mts} +1 -1
- package/dist/index.d.mts +20 -21
- package/dist/index.mjs +10 -10
- package/dist/{inputs-mUJQYN3g.mjs → inputs-DOUYGoHq.mjs} +1 -1
- package/dist/{npm-EfMYAoVh.mjs → npm-tUIGIuFQ.mjs} +1 -1
- package/dist/{plan-DGfos4Wg.mjs → plan-DC33-_or.mjs} +2 -1
- package/dist/{run-BBN7BB2_.mjs → run-DT6Q-jbq.mjs} +4 -4
- package/dist/{save-7etYAM7X.mjs → save-Foea-Ao9.mjs} +3 -3
- package/dist/{scan-BxDY-M_i.mjs → scan-DA7VmNjC.mjs} +2 -2
- package/dist/{template-drift-D7X1YsG7.mjs → template-drift-B18bgxT6.mjs} +3 -4
- package/dist/tooling-entry.d.mts +1 -1
- package/dist/tooling-entry.mjs +2 -2
- package/dist/{transaction-tscI6vJX.mjs → transaction-B4vPaBcK.mjs} +2 -2
- package/dist/{tsconfig-BGyabp3n.mjs → tsconfig-DpOi_7HA.mjs} +46 -152
- package/dist/{vitest-DjBZRWbO.mjs → vitest-Dh5Qm_3L.mjs} +1 -1
- package/dist/{workspace-tasks-nNbJAF4u.mjs → workspace-tasks-Ca1zWNKr.mjs} +14 -36
- package/package.json +17 -13
- package/dist/rolldown-runtime-BJohB4LM.mjs +0 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as knipConfigurationInputs } from "./inputs-
|
|
3
|
-
import { knipRoot } from "./plan-
|
|
1
|
+
import { Lt as clearWorkspaceCache, rt as hash, zt as getWorkspacePackageSummaries } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
2
|
+
import { t as knipConfigurationInputs } from "./inputs-DOUYGoHq.mjs";
|
|
3
|
+
import { knipRoot } from "./plan-DC33-_or.mjs";
|
|
4
4
|
// 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 { $t as resolveCreateNewProjectPlan, Qt as defaultTemplate, Zt as createNewProject, in as createTemplateCatalog, on as loadTemplateCatalogContext } from "./commands-
|
|
2
|
-
import { d as logger } from "./execute-
|
|
3
|
-
import {
|
|
1
|
+
import { $t as resolveCreateNewProjectPlan, Qt as defaultTemplate, Zt as createNewProject, in as createTemplateCatalog, on as loadTemplateCatalogContext } from "./commands-DPb06B1C.mjs";
|
|
2
|
+
import { d as logger } from "./execute-Y_6G_tEl.mjs";
|
|
3
|
+
import { Et as fs$1, _t as localize } from "./workspace-tasks-Ca1zWNKr.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
|
-
import {
|
|
2
|
-
import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-
|
|
3
|
-
import { t as scanDependencies } from "./scan-
|
|
4
|
-
import {
|
|
1
|
+
import { rt as __exportAll } from "./tsconfig-DpOi_7HA.mjs";
|
|
2
|
+
import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-B4vPaBcK.mjs";
|
|
3
|
+
import { t as scanDependencies } from "./scan-DA7VmNjC.mjs";
|
|
4
|
+
import { Lt as clearWorkspaceCache, _t as localize } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
5
5
|
import { isDeepStrictEqual } from "node:util";
|
|
6
6
|
// src/commands/deps/apply.ts
|
|
7
7
|
async function applyDependencyFixPlan(cwd, plan) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { d as loadMonorepoConfig } from "./tsconfig-DpOi_7HA.mjs";
|
|
2
|
+
import { Et as fs$1, H as signalExitCode, J as getWorkspaceGraph, V as executeCheckTask, Z as getWorkspaceImpact, _t as localize, tt as resolveWorkspaceGraphNode } from "./workspace-tasks-Ca1zWNKr.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 { d as logger, t as runCheckWithReport } from "./execute-
|
|
2
|
-
import {
|
|
1
|
+
import { d as logger, t as runCheckWithReport } from "./execute-Y_6G_tEl.mjs";
|
|
2
|
+
import { Et as fs, _t as localize } from "./workspace-tasks-Ca1zWNKr.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 {
|
|
1
|
+
import { _t as localize } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
2
2
|
// src/commands/check/cache/format.ts
|
|
3
3
|
function label(value, markdown) {
|
|
4
4
|
return markdown ? value.replace(/[\\`*_{}[\]()#+.!|<>~-]/gu, "\\$&") : value;
|
|
@@ -582,7 +582,7 @@ interface InstallSecurityPresetPlan {
|
|
|
582
582
|
preserved: InstallPolicyKey[];
|
|
583
583
|
diff: string;
|
|
584
584
|
}
|
|
585
|
-
declare const initToolingTargets: readonly [
|
|
585
|
+
declare const initToolingTargets: readonly ['commitlint', 'eslint', 'stylelint', 'lefthook', 'tsconfig', 'vitest'];
|
|
586
586
|
type InitToolingTarget = (typeof initToolingTargets)[number];
|
|
587
587
|
interface InitToolingExecutionOptions {
|
|
588
588
|
targets?: InitToolingTarget[];
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
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-
|
|
2
|
-
import {
|
|
1
|
+
import { $ as UpgradeKeepDecision, $n as DependencyAdmissionConfig, $r as DependencySection, $t as PublicApiUpdatePlan, A as WorkspaceMoveOptions, An as CodeownersReport, Ar as OrganizationPresetReference, At as EslintToolingConfig, B as AiCommandConfig, Bn as InstallSecurityOptions, Br as generateAgenticTemplates, Bt as ProjectReferencesOperation, C as MonorepoVitestConfigOverrides, Cn as WorkspacePackageSummary, Cr as ConfigDiagnostic, Ct as DocsCloudflareWorkersTarget, D as ConfigValues, Dn as CodeownersDiagnostic, Dr as OrganizationPresetDiagnostic, Dt as DocsScriptDeploymentTarget, E as MonorepoVitestProjectConfigResult, En as CodeownersConfig, Er as OrganizationPresetAsset, Et as DocsReadinessConfig, F as WorkspaceRemovalEntry, Fn as normalizeInitToolingTargets, Fr as AgenticTemplateTask, Ft as VitestToolingConfig, G as MonorepoConfig, Gn as DoctorReport, Gr as DependencyConsistencyGroup, Gt as GitHooksInstallResult, H as CreateCommandConfig, Hn as InstallSecurityReport, Hr as CliOpts, Ht as GitHookCheck, I as WorkspaceRemovalFile, In as initToolingTargets, Ir as GenerateAgenticTemplateOptions, It as ProjectReferencesApplyResult, J as UpgradeApplyResult, Jn as DoctorSuppressionReport, Jr as DependencyFixPlan, Jt as PublicApiEntryConfig, K as UpgradeCommandConfig, Kn as DoctorStatus, Kr as DependencyFileChange, Kt as PublicApiConfig, L as WorkspaceRemovalOptions, Ln as InstallBuildDecision, Lr as createTimestampFolderName, Lt as ProjectReferencesCheck, M as WorkspaceMoveResult, Mn as init, Mr as OrganizationPresetSource, Mt as ToolingConfig, N as WorkspaceMoveReview, Nn as initMetadata, Nr as OrganizationPresetTemplate, Nt as TsconfigToolingConfig, O as SimpleGit, On as CodeownersOptions, Or as OrganizationPresetLayer, Ot as DocsSiteConfig, P as WorkspaceRemovalBlocker, Pn as initTooling, Pr as AgenticTemplateFormat, Pt as VitestProjectToolingConfig, Q as UpgradeInput, Qn as AdmissionDeclaration, Qr as DependencyReport, Qt as PublicApiReport, R as WorkspaceRemovalPlan, Rn as InstallPolicyKey, Rr as defaultAgenticBaseDir, Rt as ProjectReferencesConfig, S as MonorepoVitestConfigOptions, Sn as WorkspacePackageManifest, Sr as TemplateCatalogEntry, St as DocsChannel, T as MonorepoVitestProjectConfigOptions, Tn as WorkspacePackageWithJsonPath, Tr as ConfigValueSource, Tt as DocsDeploymentTarget, U as InitCommandConfig, Un as InstallSecuritySetting, Ur as DependenciesCommandConfig, Ut as GitHooksConfig, V as CreateChoiceOption, Vn as InstallSecurityPresetPlan, Vr as loadAgenticTasks, Vt as ProjectReferencesPlan, W as MirrorCommandConfig, Wn as DoctorCheck, Wr as DependencyApplyResult, Wt as GitHooksInstallOptions, X as UpgradeFilePlan, Xn as DoctorOptions, Xr as DependencyOccurrence, Xt as PublicApiOptions, Y as UpgradeBaselineChange, Yn as DoctorCommandConfig, Yr as DependencyGroupStatus, Yt as PublicApiEntryReport, Z as UpgradeFileStatus, Zn as DoctorSuppression, Zr as DependencyProtocol, Zt as PublicApiPackageConfig, _ as DefineVitestProjectConfigOptions, _n as WorkspaceImpactResult, _r as resolveTemplateCatalog, _t as EnvCacheOptions, a as createMonorepoTsconfig, an as WorkspaceBoundaryException, ar as applyCreateNewProjectPlan, at as UpgradePlan, b as MonorepoStylelintConfig, bn as WorkspaceData, br as TemplateCatalog, bt as EnvCacheTask, c as createMonorepoCommitlintConfig, cn as WorkspaceBoundarySelector, cr as CreateNewProjectPlan, ct as ReleaseAfterPublishHookConfig, d as defineCommitlintConfig, dn as WorkspaceGraphDiagnostic, dr as ResolvedTemplateSource, dt as ReleaseRegistryConfig, ei as DependencyVersionGroup, en as PublicApiUpdateResult, er as DependencyAdmissionException, et as UpgradeMergeDetails, f as defineEslintConfig, fn as WorkspaceGraphEdge, fr as TemplateSourceOptions, ft as ReleaseBranchRule, g as DefineVitestConfigOptions, gn as WorkspaceImpactOptions, gr as templateMap, gt as EnvCacheFinding, h as DefineEslintConfigOptions, hn as WorkspaceGraphOptions, hr as getTemplateMap, ht as EnvCacheEvidence, i as defineVitestProjectConfig, in as WorkspaceBoundariesReport, ir as DependencyAdmissionRule, it as UpgradeOverrideFinding, j as WorkspaceMovePlan, jn as WorkspaceOwnership, jr as OrganizationPresetResolution, jt as StylelintToolingConfig, k as SimpleGitOptions, kn as CodeownersPlan, kr as OrganizationPresetManifest, kt as CommitlintToolingConfig, l as createMonorepoEslintConfig, ln as WorkspaceDependencyType, lr as resolveCreateNewProjectPlan, lt as ReleaseCommandConfig, m as DefineConfigOptions, mn as WorkspaceGraphNode, mr as getCreateChoices, mt as EnvCacheConfig, n as createMonorepoVitestProjectConfig, nn as BoundarySeverity, nr as DependencyAdmissionOptions, nt as UpgradeMigrationsPlan, o as defineTsconfigConfig, on as WorkspaceBoundaryFinding, or as createNewProject, ot as UpgradeWorkspacePolicy, p as defineStylelintConfig, pn as WorkspaceGraphFilter, pr as TemplateSourceRequest, pt as ReleaseBranchesConfig, q as UpgradeApplyOptions, qn as DoctorSummary, qr as DependencyFixOptions, qt as PublicApiDiagnostic, r as defineVitestConfig, rn as WorkspaceBoundariesConfig, rr as DependencyAdmissionReport, rt as UpgradeOptions, s as loadMonorepoToolingConfig, sn as WorkspaceBoundaryRule, sr as CreateNewProjectOptions, st as NightlyProvider, t as createMonorepoVitestConfig, tn as CleanCommandConfig, tr as DependencyAdmissionFinding, tt as UpgradeMigrationStep, u as createMonorepoStylelintConfig, un as WorkspaceGraph, ur as resolveRemoteTemplateSource, ut as ReleaseNightlyConfig, v as MonorepoCommitlintConfig, vn as WorkspaceWhyResult, vr as CreateTemplateDefinition, vt as EnvCacheReport, w as MonorepoVitestConfigResult, wn as WorkspacePackageSummaryData, wr as ConfigSourceLayer, wt as DocsCommandConfig, x as MonorepoTsconfig, xn as WorkspacePackage, xr as TemplateCatalogDiagnostic, xt as EnvCacheVariable, y as MonorepoEslintConfig, yn as GetWorkspacePackagesOptions, yr as ResolveTemplateCatalogOptions, yt as EnvCacheSuppression, z as WorkspaceRemovalResult, zn as InstallSecurityExpectations, zr as generateAgenticTemplate, zt as ProjectReferencesDiagnostic } from "./index-C7KR7hT8.mjs";
|
|
2
|
+
import { writeFile } from "node:fs/promises";
|
|
3
3
|
import { execFileSync, spawnSync } from "node:child_process";
|
|
4
4
|
import crypto from "node:crypto";
|
|
5
5
|
import { ResolvedTemplateRemoteSource, TemplateCategory, TemplateFileDifference, TemplateGenerationParameters, TemplateGenerationProfile, TemplateInstance, TemplateInstance as TemplateInstance$1, TemplateInstanceBaseline, TemplateInstanceInfo, TemplateInstanceRegistry, TemplateInstanceSource, TemplateInstanceSource as TemplateInstanceSource$1, TemplateParameterValues, TemplateRemoteSource, TemplateSnapshotFile, isGitignoreFile, listTemplateInstances, loadTemplateBaseline, loadTemplateInstanceRegistry, rebuildTemplateInstanceBaseline, relocateTemplateInstance, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath } from "@icebreakers/monorepo-templates";
|
|
6
|
-
import { Buffer } from "node:buffer";
|
|
7
6
|
type RepoctlLocale = 'en' | 'zh-CN';
|
|
8
7
|
interface WorkspaceArtifactOptions {
|
|
9
8
|
/** One exact workspace package name or explicit ./directory. */
|
|
@@ -526,13 +525,13 @@ export declare function applyDoctorFixPlan(cwd: string, plan: DoctorFixPlan): Pr
|
|
|
526
525
|
/** Stable IDs shared by config, CLI, and report consumers. */
|
|
527
526
|
export declare function getDoctorRuleIds(): string[];
|
|
528
527
|
export declare function runDoctor(cwd: string, options?: DoctorOptions): Promise<{
|
|
529
|
-
rawSummary?: DoctorSummary;
|
|
530
|
-
suppressions?: DoctorSuppressionReport[];
|
|
531
528
|
cwd: string;
|
|
532
529
|
workspaceDir: string;
|
|
533
530
|
packageCount: number;
|
|
534
531
|
checks: DoctorCheck[];
|
|
535
532
|
summary: DoctorSummary;
|
|
533
|
+
rawSummary?: DoctorSummary;
|
|
534
|
+
suppressions?: DoctorSuppressionReport[];
|
|
536
535
|
}>;
|
|
537
536
|
interface EnvInfo {
|
|
538
537
|
cwd: string;
|
|
@@ -1175,7 +1174,7 @@ interface ReleaseOidcAuditReport {
|
|
|
1175
1174
|
export declare function auditReleaseOidc(options: ReleaseOidcAuditOptions | ReleaseOidcArtifactAuditOptions): Promise<ReleaseOidcAuditReport>;
|
|
1176
1175
|
declare function createReleasePullRequest(options: ReleaseCiOptions): Promise<boolean>;
|
|
1177
1176
|
declare function recoverUnpublished(options: ReleaseCiOptions): Promise<PublishedPackage[]>;
|
|
1178
|
-
export declare function releaseCi(options: ReleaseCiOptions): Promise<
|
|
1177
|
+
export declare function releaseCi(options: ReleaseCiOptions): Promise<PublishedPackage[] | ReleaseOidcAuditReport | StageReceipt | {
|
|
1179
1178
|
repaired: string[];
|
|
1180
1179
|
pending: string[];
|
|
1181
1180
|
skipped: string[];
|
|
@@ -1327,7 +1326,7 @@ export declare function validateReleasePreparation(options: ReleasePreparationVa
|
|
|
1327
1326
|
/**
|
|
1328
1327
|
* 当前支持的 skills 同步目标。
|
|
1329
1328
|
*/
|
|
1330
|
-
export declare const skillTargets: readonly [
|
|
1329
|
+
export declare const skillTargets: readonly ['codex', 'claude', 'cursor', 'agents', 'grok'];
|
|
1331
1330
|
type SkillTarget = typeof skillTargets[number];
|
|
1332
1331
|
interface SyncSkillsOptions {
|
|
1333
1332
|
/**
|
|
@@ -1459,7 +1458,7 @@ export declare function verifyPrePush(options?: PrePushVerifyOptions): Promise<v
|
|
|
1459
1458
|
* @param stagedFiles 相对于 cwd 的暂存区文件路径列表;省略时从 Git 根目录读取暂存区
|
|
1460
1459
|
* @param options 运行参数
|
|
1461
1460
|
*/
|
|
1462
|
-
export declare function verifyStagedTypecheck(stagedFiles: string[] | undefined, options?: StagedTypecheckOptions): void
|
|
1461
|
+
export declare function verifyStagedTypecheck(stagedFiles: string[] | undefined, options?: StagedTypecheckOptions): Promise<void>;
|
|
1463
1462
|
/** Validate a commit message using the repository's commitlint configuration. */
|
|
1464
1463
|
export declare function verifyCommitMsg(options: CommitMsgVerifyOptions): Promise<void>;
|
|
1465
1464
|
/** Run the native Lefthook pipeline; its jobs must not call this wrapper. */
|
|
@@ -1892,10 +1891,10 @@ export declare function inspectInstallSecurity(cwd: string, options?: InstallSec
|
|
|
1892
1891
|
/** Add only absent defaults. Every existing project, global or inherited environment value is retained. */
|
|
1893
1892
|
export declare function planInstallSecurityPreset(cwd: string, options?: InstallSecurityOptions): Promise<InstallSecurityPresetPlan>;
|
|
1894
1893
|
export declare function applyInstallSecurityPreset(cwd: string, plan: InstallSecurityPresetPlan): Promise<{
|
|
1895
|
-
status:
|
|
1894
|
+
status: 'unchanged';
|
|
1896
1895
|
changed: string[];
|
|
1897
1896
|
} | {
|
|
1898
|
-
status:
|
|
1897
|
+
status: 'applied';
|
|
1899
1898
|
changed: string[];
|
|
1900
1899
|
}>;
|
|
1901
1900
|
export declare function checkEnvironmentCache(cwd: string, options?: EnvCacheOptions): Promise<EnvCacheReport>;
|
|
@@ -1936,7 +1935,7 @@ interface GenerateResult {
|
|
|
1936
1935
|
export declare function applyGeneratePlan(plan: GeneratePlan): Promise<GenerateResult>;
|
|
1937
1936
|
/** Resolve one package, validate its framework, and derive every byte without writing. */
|
|
1938
1937
|
export declare function planGenerate(options: GenerateOptions): Promise<GeneratePlan>;
|
|
1939
|
-
export declare const generators: readonly [
|
|
1938
|
+
export declare const generators: readonly ['vue-component', 'react-component', 'hono-route'];
|
|
1940
1939
|
/**
|
|
1941
1940
|
* Install native Lefthook hooks without overriding custom or inherited Git hook paths.
|
|
1942
1941
|
* Use `prepare: "repo tooling hooks install"` with `allowBuilds.lefthook: false`
|
|
@@ -2511,18 +2510,18 @@ interface TemplateLinkPlan {
|
|
|
2511
2510
|
}
|
|
2512
2511
|
export declare function planTemplateLink(options: TemplateLinkOptions): Promise<TemplateLinkPlan>;
|
|
2513
2512
|
export declare function applyTemplateLinkPlan(plan: TemplateLinkPlan): Promise<{
|
|
2514
|
-
applied: boolean;
|
|
2515
2513
|
schemaVersion: 1;
|
|
2516
2514
|
options: TemplateLinkOptions;
|
|
2517
2515
|
target: string;
|
|
2518
2516
|
source: import("@icebreakers/monorepo-templates").TemplateInstanceSource;
|
|
2519
|
-
baselineStatus:
|
|
2520
|
-
action:
|
|
2517
|
+
baselineStatus: 'available' | 'unverified';
|
|
2518
|
+
action: 'register' | 'verify' | 'unchanged' | 'conflict';
|
|
2521
2519
|
limitations: string[];
|
|
2522
2520
|
differences: import("@icebreakers/monorepo-templates").TemplateFileDifference[];
|
|
2523
2521
|
registryDigest: string;
|
|
2524
2522
|
targetDigest: string;
|
|
2525
2523
|
fingerprint: string;
|
|
2524
|
+
applied: boolean;
|
|
2526
2525
|
}>;
|
|
2527
2526
|
interface TextMergeConflict {
|
|
2528
2527
|
baseStart: number;
|
|
@@ -2768,21 +2767,21 @@ export declare function planWorkspaceMove(cwd: string, options: WorkspaceMoveOpt
|
|
|
2768
2767
|
/** Keep replay checks, validation, mutation and recovery under the same workspace lock. */
|
|
2769
2768
|
export declare function applyWorkspaceRemovalPlan(cwd: string, plan: WorkspaceRemovalPlan): Promise<WorkspaceRemovalResult>;
|
|
2770
2769
|
export declare function planWorkspaceRemoval(cwd: string, options: WorkspaceRemovalOptions): Promise<WorkspaceRemovalPlan>;
|
|
2771
|
-
declare let name: string;
|
|
2772
|
-
export declare let version: string;
|
|
2773
2770
|
/**
|
|
2774
2771
|
* 用户默认看到的 CLI 名称,帮助文案和生成脚本都统一引导到 repo。
|
|
2775
2772
|
*/
|
|
2776
2773
|
export declare const cliName = "repo";
|
|
2774
|
+
/**
|
|
2775
|
+
* CLI 本身的基础信息,直接复用 package.json 里的 name/version,避免重复维护。
|
|
2776
|
+
*/
|
|
2777
|
+
export declare const packageName: string;
|
|
2778
|
+
export declare const version: string;
|
|
2777
2779
|
/**
|
|
2778
2780
|
* @icebreakers/monorepo 包的根目录。
|
|
2779
2781
|
*/
|
|
2780
2782
|
export declare const packageDir: string;
|
|
2781
2783
|
export declare const assetsDir: string;
|
|
2782
2784
|
export declare const templatesDir: string;
|
|
2783
|
-
/**
|
|
2784
|
-
* monorepo 根目录,方便需要跳出当前包的逻辑(例如定位工作区文件)。
|
|
2785
|
-
*/
|
|
2786
2785
|
export declare const rootDir: string;
|
|
2787
2786
|
export declare function inspectWorkspaceOwners(options: CodeownersOptions): Promise<CodeownersReport>;
|
|
2788
2787
|
/** Read-only preview; the output file must be explicitly selected. */
|
|
@@ -2805,7 +2804,7 @@ export interface LoadedMonorepoConfig {
|
|
|
2805
2804
|
sources: Record<string, ConfigValueSource>;
|
|
2806
2805
|
presets: OrganizationPresetResolution;
|
|
2807
2806
|
}
|
|
2808
|
-
export declare const configExtensions: readonly [
|
|
2807
|
+
export declare const configExtensions: readonly ['ts', 'mts', 'cts', 'js', 'mjs', 'cjs'];
|
|
2809
2808
|
export declare function getRepoctlConfigCandidates(cwd: string): string[];
|
|
2810
2809
|
/**
|
|
2811
2810
|
* 为 `repoctl.config.ts` 提供类型提示的辅助函数。
|
|
@@ -3031,4 +3030,4 @@ export declare function escapeStringRegexp(str: string): string;
|
|
|
3031
3030
|
* 判断字符串是否命中任意一个正则,用于过滤要同步的资产文件。
|
|
3032
3031
|
*/
|
|
3033
3032
|
export declare function isMatch(str: string, arr: RegExp[]): boolean;
|
|
3034
|
-
export { type AdmissionDeclaration, type AffectedCheckCommand, type AffectedCheckMatrix, type AffectedCheckMatrixJob, type AffectedCheckMatrixOptions, type AffectedCheckOptions, type AffectedCheckPlan, type AffectedCheckSettings, type AffectedFallback, type AffectedFile, type AffectedGitRange, type AffectedPackage, type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type ArtifactFile, type AutoChangesetApplyOptions, type AutoChangesetApproval, type AutoChangesetDecision, type AutoChangesetDependencyField, type AutoChangesetLevel, type AutoChangesetOptions, type AutoChangesetPolicy, type AutoChangesetReport, type AutoChangesetRevision, type AutoChangesetWorkflowOptions, type BootstrapConsumerReport, type BootstrapManifest, type BootstrapOptions, type BootstrapPackage, type BootstrapPlan, type BootstrapReport, type BootstrapSource, type BoundarySeverity, type CheckExecutionOptions, type CheckExecutionReport, type CheckExecutionStatus, type CheckExecutionTask, type CheckTemplatesOptions, type CleanCommandConfig, CliOpts, type CodeownersConfig, type CodeownersDiagnostic, type CodeownersOptions, type CodeownersPlan, type CodeownersReport, type CommitMsgVerifyOptions, type CommitlintToolingConfig, type ConfigDiagnostic, type ConfigInspection, ConfigSourceLayer, ConfigValueSource, type ConfigValues, type ConsumerApplicability, type ConsumerHost, type ConsumerPackageApplicability, type ConsumerRuntimeContext, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, type CreateTemplateDefinition, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, DependenciesCommandConfig, type DependencyAdmissionConfig, type DependencyAdmissionException, type DependencyAdmissionFinding, type DependencyAdmissionOptions, type DependencyAdmissionReport, type DependencyAdmissionRule, DependencyApplyResult, DependencyConsistencyGroup, DependencyFileChange, DependencyFixOptions, DependencyFixPlan, DependencyGroupStatus, DependencyOccurrence, DependencyProtocol, DependencyReport, DependencySection, DependencyVersionGroup, DocsChannel, DocsCloudflareWorkersTarget, DocsCommandConfig, type DocsDeploymentPlan, type DocsDeploymentReport, type DocsDeploymentResult, type DocsDeploymentStage, type DocsDeploymentStageKey, DocsDeploymentTarget, type DocsOptions, type DocsProviderReceipt, DocsReadinessConfig, DocsScriptDeploymentTarget, DocsSiteConfig, type DocsStateStore, type DoctorCheck, type DoctorCommandConfig, type DoctorFixPlan, type DoctorFixResult, type DoctorOptions, type DoctorReport, type DoctorStatus, type DoctorSummary, type DoctorSuppression, type DoctorSuppressionReport, type EnsurePullRequestOptions, type EnsureReleaseOptions, type EnsureTagOptions, type EnvCacheConfig, type EnvCacheEvidence, type EnvCacheFinding, type EnvCacheOptions, type EnvCacheReport, type EnvCacheSuppression, type EnvCacheTask, type EnvCacheVariable, type EnvInfo, type EnvPathEntry, type EnvPaths, type EnvSnapshot, type EnvSupportBundle, type EslintToolingConfig, type FreezeSnapshotSourceOptions, type GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, type GitHookCheck, type GitHooksConfig, type GitHooksInstallOptions, type GitHooksInstallResult, type GitHubClientOptions, type GitHubOperations, type GitHubRelease, type GitUrlMetadata, InitCommandConfig, type InstallBuildDecision, type InstallPolicyKey, type InstallSecurityExpectations, type InstallSecurityOptions, type InstallSecurityPresetPlan, type InstallSecurityReport, type InstallSecuritySetting, type MaintenanceFile, type MaintenancePresetChange, type MaintenancePresetUpgrade, type MaintenanceUpgradeOptions, type MaintenanceUpgradeReport, type MaintenanceVersionChange, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, type NightlyConsumerReport, type NightlyOptions, type NightlyPackage, type NightlyProvider, type NightlyReport, OrganizationPresetAsset, type OrganizationPresetAssetPlan, type OrganizationPresetAssetResult, OrganizationPresetDiagnostic, OrganizationPresetLayer, OrganizationPresetManifest, OrganizationPresetReference, OrganizationPresetResolution, OrganizationPresetSource, OrganizationPresetTemplate, type PackageCheckCommand, type PackageCheckDiagnostic, type PackageCheckManifestOptions, type PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, type PrepareBootstrapOptions, type PrepareSnapshotOptions, type PreparedSnapshot, type PreparedSnapshotConsumerOptions, type PreparedSnapshotConsumerReport, type PreparedSnapshotManifest, type PreparedSnapshotPublishOptions, type PreparedSnapshotPublishReport, ProjectReferencesApplyResult, ProjectReferencesCheck, ProjectReferencesConfig, ProjectReferencesDiagnostic, ProjectReferencesOperation, ProjectReferencesPlan, type PublicApiConfig, type PublicApiDiagnostic, type PublicApiEntryConfig, type PublicApiEntryReport, type PublicApiOptions, type PublicApiPackageConfig, type PublicApiReport, type PublicApiUpdatePlan, type PublicApiUpdateResult, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type ReleaseAfterPublishHookConfig, type ReleaseBootstrapStage, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCiStage, type StageReceipt as ReleaseCiStageResult, type ReleaseCommandConfig, type ReleaseCompletionRecord, type ReleaseLifecycleState, type ReleaseNightlyConfig, type ReleaseOidcArtifactAuditOptions, type ReleaseOidcAuditOptions, type ReleaseOidcAuditPackage, type ReleaseOidcAuditReport, type ReleaseOidcPackageResult, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleasePreparationGeneratedFile, type ReleasePreparationGeneratedFileContext, type ReleasePreparationPolicy, type ReleasePreparationValidationFile, type ReleasePreparationValidationOptions, type ReleasePreparationValidationReport, type ReleaseRegistryConfig, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotBuildPackage, type SnapshotBuildPlan, type SnapshotBuildPlanOptions, type SnapshotDependency, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotPreparationContext, type SnapshotPreparationReceipt, type SnapshotPreparationResult, type SnapshotReferenceGitlink, type SnapshotReport, type SnapshotRunEvidence, type SnapshotSource, type SnapshotWorkflowOptions, type SnapshotWorkflowPolicy, type SnapshotWorkflows, type StagedTypecheckOptions, type StorybookArgs, type StorybookCapabilityOptions, type StylelintToolingConfig, type SyncSkillsOptions, type TemplateCatalog, type TemplateCatalogDiagnostic, type TemplateCatalogEntry, type TemplateDriftCollection, type TemplateDriftFile, type TemplateDriftOptions, type TemplateDriftOwner, type TemplateDriftRegistry, type TemplateDriftReport, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, type TemplateInstance, type TemplateInstanceBaseline, type TemplateInstanceInfo, type TemplateInstanceRegistry, type TemplateInstanceSource, type TemplateLinkOptions, type TemplateLinkPlan, type TemplateRemoteSource, type TemplateSourceOptions, type TemplateSourceRequest, type TemplateUpgradeChange, type TemplateUpgradeEntry, type TemplateUpgradeOptions, type TemplateUpgradePlan, type TemplateUpgradeRecoveryResult, type TemplateUpgradeResult, type TemplateValidationDiagnostic, type TemplateValidationOptions, type TemplateValidationParameterSet, type TemplateValidationPlan, type TemplateValidationReport, type TemplateValidationSample, type TemplateValidationStage, type TemplateValidationStep, type TemplateVersionComparison, type TemplateVersionEvidence, type ToolingCapability, type ToolingCapabilityFile, type ToolingCapabilityOptions, type ToolingCapabilityPlan, type ToolingCapabilityResult, type ToolingConfig, type TsconfigToolingConfig, type TurboAnalysisLimitation, type TurboAnalysisOptions, type TurboCriticalPath, type TurboHashEvidence, type TurboRunAnalysis, type TurboTaskAnalysis, UpgradeApplyOptions, UpgradeApplyResult, UpgradeBaselineChange, UpgradeCommandConfig, UpgradeFilePlan, UpgradeFileStatus, UpgradeInput, UpgradeKeepDecision, UpgradeMergeDetails, UpgradeMigrationStep, UpgradeMigrationsPlan, UpgradeOptions, UpgradeOverrideFinding, UpgradePlan, UpgradeWorkspacePolicy, type VerifiedSnapshotRun, type VerifyCommandOptions, type VerifySnapshotRunOptions, type VitestProjectToolingConfig, type VitestToolingConfig, type WorkspaceArtifactApplyOptions, type WorkspaceArtifactOptions, type WorkspaceArtifactPlan, type WorkspaceArtifactResult, type WorkspaceBoundariesConfig, type WorkspaceBoundariesReport, type WorkspaceBoundaryException, type WorkspaceBoundaryFinding, type WorkspaceBoundaryRule, type WorkspaceBoundarySelector, WorkspaceData, type WorkspaceDependencyType, type WorkspaceGraph, type WorkspaceGraphDiagnostic, type WorkspaceGraphEdge, type WorkspaceGraphFilter, type WorkspaceGraphNode, type WorkspaceGraphOptions, type WorkspaceImpactOptions, type WorkspaceImpactResult, type WorkspaceLocation, WorkspaceMoveOptions, WorkspaceMovePlan, WorkspaceMoveResult, WorkspaceMoveReview, type WorkspaceOwnership, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, WorkspaceRemovalBlocker, WorkspaceRemovalEntry, WorkspaceRemovalFile, WorkspaceRemovalOptions, WorkspaceRemovalPlan, WorkspaceRemovalResult, type WorkspaceTask, type WorkspaceTaskCatalog, type WorkspaceTaskOptions, type WorkspaceTaskPackage, type WorkspaceWhyResult, applyCreateNewProjectPlan, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getTemplateMap, init, initMetadata, initTooling, initToolingTargets, isGitignoreFile, listTemplateInstances, loadAgenticTasks, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, normalizeInitToolingTargets, name as packageName, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
|
|
3033
|
+
export { type AdmissionDeclaration, type AffectedCheckCommand, type AffectedCheckMatrix, type AffectedCheckMatrixJob, type AffectedCheckMatrixOptions, type AffectedCheckOptions, type AffectedCheckPlan, type AffectedCheckSettings, type AffectedFallback, type AffectedFile, type AffectedGitRange, type AffectedPackage, type AgenticTemplateFormat, type AgenticTemplateTask, AiCommandConfig, type ArtifactFile, type AutoChangesetApplyOptions, type AutoChangesetApproval, type AutoChangesetDecision, type AutoChangesetDependencyField, type AutoChangesetLevel, type AutoChangesetOptions, type AutoChangesetPolicy, type AutoChangesetReport, type AutoChangesetRevision, type AutoChangesetWorkflowOptions, type BootstrapConsumerReport, type BootstrapManifest, type BootstrapOptions, type BootstrapPackage, type BootstrapPlan, type BootstrapReport, type BootstrapSource, type BoundarySeverity, type CheckExecutionOptions, type CheckExecutionReport, type CheckExecutionStatus, type CheckExecutionTask, type CheckTemplatesOptions, type CleanCommandConfig, CliOpts, type CodeownersConfig, type CodeownersDiagnostic, type CodeownersOptions, type CodeownersPlan, type CodeownersReport, type CommitMsgVerifyOptions, type CommitlintToolingConfig, type ConfigDiagnostic, type ConfigInspection, ConfigSourceLayer, ConfigValueSource, type ConfigValues, type ConsumerApplicability, type ConsumerHost, type ConsumerPackageApplicability, type ConsumerRuntimeContext, CreateChoiceOption, CreateCommandConfig, type CreateNewProjectOptions, type CreateNewProjectPlan, type CreateTemplateDefinition, DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, DependenciesCommandConfig, type DependencyAdmissionConfig, type DependencyAdmissionException, type DependencyAdmissionFinding, type DependencyAdmissionOptions, type DependencyAdmissionReport, type DependencyAdmissionRule, DependencyApplyResult, DependencyConsistencyGroup, DependencyFileChange, DependencyFixOptions, DependencyFixPlan, DependencyGroupStatus, DependencyOccurrence, DependencyProtocol, DependencyReport, DependencySection, DependencyVersionGroup, DocsChannel, DocsCloudflareWorkersTarget, DocsCommandConfig, type DocsDeploymentPlan, type DocsDeploymentReport, type DocsDeploymentResult, type DocsDeploymentStage, type DocsDeploymentStageKey, DocsDeploymentTarget, type DocsOptions, type DocsProviderReceipt, DocsReadinessConfig, DocsScriptDeploymentTarget, DocsSiteConfig, type DocsStateStore, type DoctorCheck, type DoctorCommandConfig, type DoctorFixPlan, type DoctorFixResult, type DoctorOptions, type DoctorReport, type DoctorStatus, type DoctorSummary, type DoctorSuppression, type DoctorSuppressionReport, type EnsurePullRequestOptions, type EnsureReleaseOptions, type EnsureTagOptions, type EnvCacheConfig, type EnvCacheEvidence, type EnvCacheFinding, type EnvCacheOptions, type EnvCacheReport, type EnvCacheSuppression, type EnvCacheTask, type EnvCacheVariable, type EnvInfo, type EnvPathEntry, type EnvPaths, type EnvSnapshot, type EnvSupportBundle, type EslintToolingConfig, type FreezeSnapshotSourceOptions, type GenerateAgenticTemplateOptions, type GenerateFile, type GenerateOptions, type GeneratePlan, type GenerateResult, type GeneratorName, GetWorkspacePackagesOptions, type GitHookCheck, type GitHooksConfig, type GitHooksInstallOptions, type GitHooksInstallResult, type GitHubClientOptions, type GitHubOperations, type GitHubRelease, type GitUrlMetadata, InitCommandConfig, type InstallBuildDecision, type InstallPolicyKey, type InstallSecurityExpectations, type InstallSecurityOptions, type InstallSecurityPresetPlan, type InstallSecurityReport, type InstallSecuritySetting, type MaintenanceFile, type MaintenancePresetChange, type MaintenancePresetUpgrade, type MaintenanceUpgradeOptions, type MaintenanceUpgradeReport, type MaintenanceVersionChange, MirrorCommandConfig, MonorepoCommitlintConfig, MonorepoConfig, MonorepoEslintConfig, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, type NightlyConsumerReport, type NightlyOptions, type NightlyPackage, type NightlyProvider, type NightlyReport, OrganizationPresetAsset, type OrganizationPresetAssetPlan, type OrganizationPresetAssetResult, OrganizationPresetDiagnostic, OrganizationPresetLayer, OrganizationPresetManifest, OrganizationPresetReference, OrganizationPresetResolution, OrganizationPresetSource, OrganizationPresetTemplate, type PackageCheckCommand, type PackageCheckDiagnostic, type PackageCheckManifestOptions, type PackageCheckOptions, type PackageCheckReport, type PackageCheckResult, type PeerCheckStatus, type PeerCompatibilityCheck, type PeerCompatibilityReport, type PlaywrightCapabilityOptions, type PlaywrightInteraction, type PreCommitVerifyOptions, type PrePushVerifyOptions, type PrepareBootstrapOptions, type PrepareSnapshotOptions, type PreparedSnapshot, type PreparedSnapshotConsumerOptions, type PreparedSnapshotConsumerReport, type PreparedSnapshotManifest, type PreparedSnapshotPublishOptions, type PreparedSnapshotPublishReport, ProjectReferencesApplyResult, ProjectReferencesCheck, ProjectReferencesConfig, ProjectReferencesDiagnostic, ProjectReferencesOperation, ProjectReferencesPlan, type PublicApiConfig, type PublicApiDiagnostic, type PublicApiEntryConfig, type PublicApiEntryReport, type PublicApiOptions, type PublicApiPackageConfig, type PublicApiReport, type PublicApiUpdatePlan, type PublicApiUpdateResult, type RecommendedCheckMode, type RecommendedCheckOptions, type RecommendedCheckPlan, type RecommendedCheckPlanCommand, type ReleaseAfterPublishHookConfig, type ReleaseBootstrapStage, type ReleaseBranchRule, type ReleaseBranchesConfig, type ReleaseCiOptions, type ReleaseCiStage, type StageReceipt as ReleaseCiStageResult, type ReleaseCommandConfig, type ReleaseCompletionRecord, type ReleaseLifecycleState, type ReleaseNightlyConfig, type ReleaseOidcArtifactAuditOptions, type ReleaseOidcAuditOptions, type ReleaseOidcAuditPackage, type ReleaseOidcAuditReport, type ReleaseOidcPackageResult, type ReleasePlan, type ReleasePlanOptions, type ReleasePlanPackage, type ReleasePreparationGeneratedFile, type ReleasePreparationGeneratedFileContext, type ReleasePreparationPolicy, type ReleasePreparationValidationFile, type ReleasePreparationValidationOptions, type ReleasePreparationValidationReport, type ReleaseRegistryConfig, type ReleaseStateSnapshot, type ReleaseTarget, type RepoctlLocale, type ResolveTemplateCatalogOptions, type ResolvedTemplateRemoteSource, type ResolvedTemplateSource, type SimpleGit, type SimpleGitOptions, type SkillTarget, type SnapshotBuildPackage, type SnapshotBuildPlan, type SnapshotBuildPlanOptions, type SnapshotDependency, type SnapshotIdentity, type SnapshotOptions, type SnapshotPackage, type SnapshotPreparationContext, type SnapshotPreparationReceipt, type SnapshotPreparationResult, type SnapshotReferenceGitlink, type SnapshotReport, type SnapshotRunEvidence, type SnapshotSource, type SnapshotWorkflowOptions, type SnapshotWorkflowPolicy, type SnapshotWorkflows, type StagedTypecheckOptions, type StorybookArgs, type StorybookCapabilityOptions, type StylelintToolingConfig, type SyncSkillsOptions, type TemplateCatalog, type TemplateCatalogDiagnostic, type TemplateCatalogEntry, type TemplateDriftCollection, type TemplateDriftFile, type TemplateDriftOptions, type TemplateDriftOwner, type TemplateDriftRegistry, type TemplateDriftReport, type TemplateHealthCheck, type TemplateHealthReport, type TemplateHealthStatus, type TemplateHealthSummary, type TemplateInstance, type TemplateInstanceBaseline, type TemplateInstanceInfo, type TemplateInstanceRegistry, type TemplateInstanceSource, type TemplateLinkOptions, type TemplateLinkPlan, type TemplateRemoteSource, type TemplateSourceOptions, type TemplateSourceRequest, type TemplateUpgradeChange, type TemplateUpgradeEntry, type TemplateUpgradeOptions, type TemplateUpgradePlan, type TemplateUpgradeRecoveryResult, type TemplateUpgradeResult, type TemplateValidationDiagnostic, type TemplateValidationOptions, type TemplateValidationParameterSet, type TemplateValidationPlan, type TemplateValidationReport, type TemplateValidationSample, type TemplateValidationStage, type TemplateValidationStep, type TemplateVersionComparison, type TemplateVersionEvidence, type ToolingCapability, type ToolingCapabilityFile, type ToolingCapabilityOptions, type ToolingCapabilityPlan, type ToolingCapabilityResult, type ToolingConfig, type TsconfigToolingConfig, type TurboAnalysisLimitation, type TurboAnalysisOptions, type TurboCriticalPath, type TurboHashEvidence, type TurboRunAnalysis, type TurboTaskAnalysis, UpgradeApplyOptions, UpgradeApplyResult, UpgradeBaselineChange, UpgradeCommandConfig, UpgradeFilePlan, UpgradeFileStatus, UpgradeInput, UpgradeKeepDecision, UpgradeMergeDetails, UpgradeMigrationStep, UpgradeMigrationsPlan, UpgradeOptions, UpgradeOverrideFinding, UpgradePlan, UpgradeWorkspacePolicy, type VerifiedSnapshotRun, type VerifyCommandOptions, type VerifySnapshotRunOptions, type VitestProjectToolingConfig, type VitestToolingConfig, type WorkspaceArtifactApplyOptions, type WorkspaceArtifactOptions, type WorkspaceArtifactPlan, type WorkspaceArtifactResult, type WorkspaceBoundariesConfig, type WorkspaceBoundariesReport, type WorkspaceBoundaryException, type WorkspaceBoundaryFinding, type WorkspaceBoundaryRule, type WorkspaceBoundarySelector, WorkspaceData, type WorkspaceDependencyType, type WorkspaceGraph, type WorkspaceGraphDiagnostic, type WorkspaceGraphEdge, type WorkspaceGraphFilter, type WorkspaceGraphNode, type WorkspaceGraphOptions, type WorkspaceImpactOptions, type WorkspaceImpactResult, type WorkspaceLocation, WorkspaceMoveOptions, WorkspaceMovePlan, WorkspaceMoveResult, WorkspaceMoveReview, type WorkspaceOwnership, WorkspacePackage, WorkspacePackageManifest, WorkspacePackageSummary, WorkspacePackageSummaryData, WorkspacePackageWithJsonPath, WorkspaceRemovalBlocker, WorkspaceRemovalEntry, WorkspaceRemovalFile, WorkspaceRemovalOptions, WorkspaceRemovalPlan, WorkspaceRemovalResult, type WorkspaceTask, type WorkspaceTaskCatalog, type WorkspaceTaskOptions, type WorkspaceTaskPackage, type WorkspaceWhyResult, applyCreateNewProjectPlan, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createReleasePullRequest, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getTemplateMap, init, initMetadata, initTooling, initToolingTargets, isGitignoreFile, listTemplateInstances, loadAgenticTasks, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, normalizeInitToolingTargets, rebuildTemplateInstanceBaseline, recoverUnpublished, relocateTemplateInstance, resolveCreateNewProjectPlan, resolveRemoteTemplateSource, resolveTemplateCatalog, templateMap, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath };
|
package/dist/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
3
|
-
import {
|
|
4
|
-
import { F as
|
|
5
|
-
import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-
|
|
6
|
-
import { B as toWorkspaceAssetPath, E as checkDependencyAdmission, R as isGitignoreFile, T as checkWorkspaceBoundaries, V as toWorkspaceGitignorePath, b as resolveReleaseBranches, f as inspectInstallSecurity, i as hasTemplateDriftIssues, l as getDoctorRuleIds, r as formatTemplateDriftReport, t as checkTemplateDrift, z as toPublishGitignorePath } from "./template-drift-
|
|
7
|
-
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-
|
|
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 { A as packageDir, I as ConfigValidationError, L as assertMonorepoConfig, M as rootDir, N as templatesDir, O as assetsDir, P as version, R as validateMonorepoConfig, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, h as resolveOrganizationPresets, i as loadMonorepoToolingConfig, j as packageName, k as cliName, l as defineMonorepoConfig, m as resolveToolingConfig, n as defineTsconfigConfig, p as resolveCommandConfig, s as configExtensions, t as createMonorepoTsconfig, u as getRepoctlConfigCandidates } from "./tsconfig-DpOi_7HA.mjs";
|
|
2
|
+
import { $ as WorkspaceGraphQueryError, At as outputJson, B as saveKnipBaseline, Bt as getWorkspacePackages, Ct as ensureDir, Dt as isIgnorableFsError, Ft as writeJSON, I as getKnipConfigurationSuggestions, It as writeJson, J as getWorkspaceGraph, Lt as clearWorkspaceCache, M as formatEnvironmentCache, Mt as readJSON, Nt as readJson, Ot as outputFile, P as checkEnvironmentCache, Pt as remove, Q as whyWorkspaceDependency, R as planKnipCheck, Rt as getWorkspaceData, St as copy, Tt as exists, Ut as GitClient, W as analyzeTurboRuns, X as filterWorkspaceGraph, Z as getWorkspaceImpact, _ as planTemplateLink, a as inspectWorkspaceOwners, b as planGenerate, c as loadTemplateInstanceRegistry, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, i as planCodeowners, jt as pathExists, kt as outputJSON, l as rebuildTemplateInstanceBaseline, m as planTemplateUpgrade, n as locateWorkspace, o as listTemplateInstances, p as applyTemplateUpgradePlan, r as applyCodeownersPlan, s as loadTemplateBaseline, t as getWorkspaceTaskCatalog, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, wt as ensureFile, x as generators, y as applyGeneratePlan, z as runKnipCheck, zt as getWorkspacePackageSummaries } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
3
|
+
import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, d as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport } from "./execute-Y_6G_tEl.mjs";
|
|
4
|
+
import { $ as formatUpgradePlan, $t as resolveCreateNewProjectPlan, A as applyProjectReferencesPlan, B as installGitHooks, Bt as createContext, C as createNightlyPlan, Ct as prepareBootstrap, D as createSnapshotPlan, Dt as createBootstrapPlan, E as releaseSnapshot, F as detectMaintenanceVersionChange, Ft as init, G as planDocsDeployment, Gt as runDoctor, H as planInstallSecurityPreset, Ht as collectEnvPaths, I as applyOrganizationPresetAssets, It as initMetadata, J as checkPublicApi, Jt as planUpgrade, K as checkPeerDependencies, Kt as applyDoctorFixPlan, L as planOrganizationPresetAssets, Lt as initTooling, M as checkPackages, Mt as createAutoChangesetPlan, N as getMaintenanceWorkflow, Nt as getAutoChangesetWorkflow, O as checkProjectReferences, Ot as parsePublishSummary, P as prepareMaintenanceUpgrade, Pt as setVscodeBinaryMirror, Q as upgradeMonorepo, R as applyDevContainerPlan, Rt as normalizeInitToolingTargets, S as createReleasePlan, St as auditReleaseOidc, U as deployDocs, Ut as collectEnvSnapshot, V as applyInstallSecurityPreset, Vt as collectEnvInfo, W as DocsDeploymentError, Wt as collectEnvSupportBundle, X as planPublicApiUpdate, Xt as applyCreateNewProjectPlan, Y as applyPublicApiUpdate, Yt as applyUpgradePlan, Z as formatPublicApiReport, Zt as createNewProject, _ as createSnapshotBuildPlan, _n as generateAgenticTemplate, _t as GitHubClient, a as planWorkspaceMove, an as resolveTemplateCatalog, at as readReleasePreparationPolicy, bt as verifyBootstrapPublication, c as applyToolingCapability, cn as inspectMonorepoConfig, ct as recoverUnpublished, d as planTemplateValidation, dn as validateConfigFile, dt as publishStable, en as getCreateChoices, et as checkTemplates, f as getSnapshotWorkflows, fn as cleanProjects, ft as releaseStable, g as prepareSnapshot, gn as defaultAgenticBaseDir, gt as releasePrerelease, h as publishPreparedSnapshot, hn as createTimestampFolderName, ht as exitPrerelease, i as applyWorkspaceMovePlan, it as validateReleasePreparation, j as planProjectReferences, jt as applyAutoChangeset, k as syncProjectReferences, l as planToolingCapability, ln as explainMonorepoConfig, lt as releaseCi, mn as verifyPrePush, mt as enterPrerelease, n as applyWorkspaceRemovalPlan, nn as templateMap, nt as skillTargets, o as applyWorkspaceArtifactPlan, ot as repairReleaseNotes, pn as verifyStagedTypecheck, pt as reconcileRelease, q as resolveAffectedCheckMatrix, qt as planDoctorFix, r as planWorkspaceRemoval, rn as resolveRemoteTemplateSource, rt as syncSkills, s as planWorkspaceArtifact, sn as updateIssueTemplateConfig, st as createReleasePullRequest, tn as getTemplateMap, tt as getSkillTargetPaths, u as validateTemplate, un as sanitizeConfigReport, ut as prepareStable, v as verifySnapshotRun, vn as generateAgenticTemplates, vt as GitHubApiError, w as releaseNightly, wt as snapshotPlanDigest, x as verifyPreparedSnapshotConsumer, xt as publishBootstrap, y as freezeSnapshotSource, yn as loadAgenticTasks, yt as releaseBootstrap, z as planDevContainer, zt as initToolingTargets } from "./commands-DPb06B1C.mjs";
|
|
5
|
+
import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-DA7VmNjC.mjs";
|
|
6
|
+
import { B as toWorkspaceAssetPath, E as checkDependencyAdmission, R as isGitignoreFile, T as checkWorkspaceBoundaries, V as toWorkspaceGitignorePath, b as resolveReleaseBranches, f as inspectInstallSecurity, i as hasTemplateDriftIssues, l as getDoctorRuleIds, r as formatTemplateDriftReport, t as checkTemplateDrift, z as toPublishGitignorePath } from "./template-drift-B18bgxT6.mjs";
|
|
7
|
+
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-Dh5Qm_3L.mjs";
|
|
8
|
+
import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-CIrWBABk.mjs";
|
|
9
|
+
import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-6_tT0U3p.mjs";
|
|
10
10
|
import crypto from "node:crypto";
|
|
11
11
|
import { Buffer } from "node:buffer";
|
|
12
12
|
// src/utils/hash.ts
|
|
@@ -55,4 +55,4 @@ function isMatch(str, arr) {
|
|
|
55
55
|
for (const reg of arr) if (reg.test(str)) return true;
|
|
56
56
|
return false;
|
|
57
57
|
}
|
|
58
|
-
export { ConfigValidationError, DocsDeploymentError, GitClient, GitHubApiError, GitHubClient, WorkspaceGraphQueryError, analyzeTurboRuns, applyAutoChangeset, 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, createAutoChangesetPlan, createBootstrapPlan, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createNightlyPlan, createReleasePlan, createReleasePullRequest, createSnapshotBuildPlan, createSnapshotPlan, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, deployDocs, detectMaintenanceVersionChange, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, explainMonorepoConfig, filterWorkspaceGraph, formatEnvironmentCache, formatPublicApiReport, formatTemplateDriftReport, formatUpgradePlan, freezeSnapshotSource, generateAgenticTemplate, generateAgenticTemplates, generators, getAutoChangesetWorkflow, getCreateChoices, getDoctorRuleIds, getFileHash, getKnipConfigurationSuggestions, getKnownRepoCheckCommands, getMaintenanceWorkflow, getRepoctlConfigCandidates, getSkillTargetPaths, getSnapshotWorkflows, getTemplateMap, getWorkspaceData, getWorkspaceGraph, getWorkspaceImpact, getWorkspacePackageSummaries, getWorkspacePackages, getWorkspaceTaskCatalog, hasTemplateDriftIssues, init, initMetadata, initTooling, initToolingTargets, inspectInstallSecurity, inspectMonorepoConfig, inspectWorkspaceOwners, installGitHooks, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, listTemplateInstances, listToolingCapabilities, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, locateWorkspace, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir,
|
|
58
|
+
export { ConfigValidationError, DocsDeploymentError, GitClient, GitHubApiError, GitHubClient, WorkspaceGraphQueryError, analyzeTurboRuns, applyAutoChangeset, 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, createAutoChangesetPlan, createBootstrapPlan, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createNightlyPlan, createReleasePlan, createReleasePullRequest, createSnapshotBuildPlan, createSnapshotPlan, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, deployDocs, detectMaintenanceVersionChange, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, explainMonorepoConfig, filterWorkspaceGraph, formatEnvironmentCache, formatPublicApiReport, formatTemplateDriftReport, formatUpgradePlan, freezeSnapshotSource, generateAgenticTemplate, generateAgenticTemplates, generators, getAutoChangesetWorkflow, getCreateChoices, getDoctorRuleIds, getFileHash, getKnipConfigurationSuggestions, getKnownRepoCheckCommands, getMaintenanceWorkflow, getRepoctlConfigCandidates, getSkillTargetPaths, getSnapshotWorkflows, getTemplateMap, getWorkspaceData, getWorkspaceGraph, getWorkspaceImpact, getWorkspacePackageSummaries, getWorkspacePackages, getWorkspaceTaskCatalog, hasTemplateDriftIssues, init, initMetadata, initTooling, initToolingTargets, inspectInstallSecurity, inspectMonorepoConfig, inspectWorkspaceOwners, installGitHooks, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, listTemplateInstances, listToolingCapabilities, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, loadTemplateBaseline, loadTemplateInstanceRegistry, locateWorkspace, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir, packageName, parsePublishSummary, pathExists, planCatalogMigration, planCodeowners, planDependencyFix, planDevContainer, planDocsDeployment, planDoctorFix, planGenerate, planInstallSecurityPreset, planKnipCheck, planOrganizationPresetAssets, planProjectReferences, planPublicApiUpdate, planTemplateLink, planTemplateUpgrade, planTemplateValidation, planToolingCapability, planUpgrade, planWorkspaceArtifact, planWorkspaceMove, planWorkspaceRemoval, prepareBootstrap, prepareMaintenanceUpgrade, prepareSnapshot, prepareStable, publishBootstrap, publishPreparedSnapshot, publishStable, readJSON, readJson, readReleasePreparationPolicy, rebuildTemplateInstanceBaseline, reconcileRelease, recoverTemplateUpgrade, recoverUnpublished, releaseBootstrap, releaseCi, releaseNightly, 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, snapshotPlanDigest, syncProjectReferences, syncSkills, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceAssetPath, toWorkspaceGitignorePath, updateIssueTemplateConfig, upgradeMonorepo, validateConfigFile, validateMonorepoConfig, validateReleasePreparation, validateTemplate, verifyBootstrapPublication, verifyCommitMsg, verifyPreCommit, verifyPrePush, verifyPreparedSnapshotConsumer, verifySnapshotRun, verifyStagedTypecheck, version, whyWorkspaceDependency, writeJSON, writeJson };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as packageDir } from "./tsconfig-DpOi_7HA.mjs";
|
|
2
|
+
import { at as record } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
2
3
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
3
4
|
import path from "pathe";
|
|
4
5
|
import process from "node:process";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-
|
|
2
|
-
import { t as knipConfigurationInputs } from "./inputs-
|
|
3
|
-
import { planKnipCheck } from "./plan-
|
|
4
|
-
import { U as stopCheckProcessTree } from "./workspace-tasks-
|
|
1
|
+
import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-CQVDciG4.mjs";
|
|
2
|
+
import { t as knipConfigurationInputs } from "./inputs-DOUYGoHq.mjs";
|
|
3
|
+
import { planKnipCheck } from "./plan-DC33-_or.mjs";
|
|
4
|
+
import { U as stopCheckProcessTree } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
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 { n as validateKnipBaseline } from "./baseline-
|
|
3
|
-
import { knipRoot } from "./plan-
|
|
1
|
+
import { ht as isWithin, mt as assertSafePath, ot as safeFile } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
2
|
+
import { n as validateKnipBaseline } from "./baseline-CQVDciG4.mjs";
|
|
3
|
+
import { knipRoot } from "./plan-DC33-_or.mjs";
|
|
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 {
|
|
2
|
-
import {
|
|
1
|
+
import { $ as validateSchema, F as mergeConfigValues, I as ConfigValidationError, L as assertMonorepoConfig, W as commandSchemas, Z as replaceDocsTarget, f as loadMonorepoConfigDetails, u as getRepoctlConfigCandidates } from "./tsconfig-DpOi_7HA.mjs";
|
|
2
|
+
import { Ht as findWorkspacePackages, _t as localize, at as record, it as readInput, rt as hash } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
3
3
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import { access, realpath } from "node:fs/promises";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-BxDY-M_i.mjs";
|
|
1
|
+
import { D as relativeFile, I as ConfigValidationError, P as version, T as readOptional, f as loadMonorepoConfigDetails, p as resolveCommandConfig, q as resolveNightlyConfig, rt as __exportAll, w as hash } from "./tsconfig-DpOi_7HA.mjs";
|
|
2
|
+
import { Et as fs$2, J as getWorkspaceGraph, Y as parseDependencyReference, _t as localize, at as record$4, nt as workspaceDependencyTypes, rt as hash$1, ut as hasLegacyToolingReference } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
3
|
+
import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-DA7VmNjC.mjs";
|
|
5
4
|
import { createRequire } from "node:module";
|
|
6
5
|
import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
|
|
7
6
|
import path from "pathe";
|
package/dist/tooling-entry.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as MonorepoVitestConfigOverrides, E as MonorepoVitestProjectConfigResult, S as MonorepoVitestConfigOptions, T as MonorepoVitestProjectConfigOptions, _ as DefineVitestProjectConfigOptions, a as createMonorepoTsconfig, b as MonorepoStylelintConfig, c as createMonorepoCommitlintConfig, d as defineCommitlintConfig, f as defineEslintConfig, g as DefineVitestConfigOptions, h as DefineEslintConfigOptions, i as defineVitestProjectConfig, l as createMonorepoEslintConfig, m as DefineConfigOptions, n as createMonorepoVitestProjectConfig, o as defineTsconfigConfig, p as defineStylelintConfig, r as defineVitestConfig, s as loadMonorepoToolingConfig, t as createMonorepoVitestConfig, u as createMonorepoStylelintConfig, v as MonorepoCommitlintConfig, w as MonorepoVitestConfigResult, x as MonorepoTsconfig, y as MonorepoEslintConfig } from "./index-
|
|
1
|
+
import { C as MonorepoVitestConfigOverrides, E as MonorepoVitestProjectConfigResult, S as MonorepoVitestConfigOptions, T as MonorepoVitestProjectConfigOptions, _ as DefineVitestProjectConfigOptions, a as createMonorepoTsconfig, b as MonorepoStylelintConfig, c as createMonorepoCommitlintConfig, d as defineCommitlintConfig, f as defineEslintConfig, g as DefineVitestConfigOptions, h as DefineEslintConfigOptions, i as defineVitestProjectConfig, l as createMonorepoEslintConfig, m as DefineConfigOptions, n as createMonorepoVitestProjectConfig, o as defineTsconfigConfig, p as defineStylelintConfig, r as defineVitestConfig, s as loadMonorepoToolingConfig, t as createMonorepoVitestConfig, u as createMonorepoStylelintConfig, v as MonorepoCommitlintConfig, w as MonorepoVitestConfigResult, x as MonorepoTsconfig, y as MonorepoEslintConfig } from "./index-C7KR7hT8.mjs";
|
|
2
2
|
export { DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, MonorepoCommitlintConfig, MonorepoEslintConfig, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
|
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, 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-DpOi_7HA.mjs";
|
|
2
|
+
import { a as createMonorepoCommitlintConfig, c as defineCommitlintConfig, i as defineVitestProjectConfig, l as defineEslintConfig, n as createMonorepoVitestProjectConfig, o as createMonorepoEslintConfig, r as defineVitestConfig, s as createMonorepoStylelintConfig, t as createMonorepoVitestConfig, u as defineStylelintConfig } from "./vitest-Dh5Qm_3L.mjs";
|
|
3
3
|
export { createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-
|
|
1
|
+
import { _t as localize, at as record, ot as safeFile, pt as stageFileTransaction, rt as hash, st as updateManifest } from "./workspace-tasks-Ca1zWNKr.mjs";
|
|
2
|
+
import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-DA7VmNjC.mjs";
|
|
3
3
|
import { isDeepStrictEqual } from "node:util";
|
|
4
4
|
// src/commands/deps/report.ts
|
|
5
5
|
function classify(group) {
|