@icebreakers/monorepo 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{baseline-Dpdng8Pw.mjs → baseline-b5TsKwv_.mjs} +1 -1
- package/dist/{catalog-A1_tGyBz.mjs → catalog-B2LOTnvh.mjs} +3 -3
- package/dist/cli.mjs +340 -68
- package/dist/{commands-C8PiGh9h.mjs → commands-CXaAqMTl.mjs} +4383 -1788
- package/dist/{config-CtnhpveO.mjs → config-CiXw1jcV.mjs} +3 -3
- package/dist/{create-flow-CqtNwZs7.mjs → create-flow-BDejWGvT.mjs} +3 -3
- package/dist/{deps-CFZftEq2.mjs → deps-C_LU9J4U.mjs} +3 -3
- package/dist/{execute-Brlvq-TY.mjs → execute-KdSJ6hVK.mjs} +2 -2
- package/dist/{execute-DE3pJ4nx.mjs → execute-O1WZ0FzZ.mjs} +2 -2
- package/dist/{format-BXQ2yRvk.mjs → format-CvL4E86X.mjs} +1 -1
- package/dist/{index-BJaI8Sig.d.mts → index-B80WWXOe.d.mts} +28 -1
- package/dist/index.d.mts +455 -39
- package/dist/index.mjs +10 -10
- package/dist/{inputs-DRWom7Va.mjs → inputs-DBWKLDqz.mjs} +1 -1
- package/dist/{npm-CrQi6Gci.mjs → npm-DIg7EfRS.mjs} +1 -1
- package/dist/{plan-DT1Gz8tE.mjs → plan-1h4NGq59.mjs} +1 -1
- package/dist/{run-BBf92Scj.mjs → run-kz2P4_7C.mjs} +4 -4
- package/dist/{save-CCCUswjG.mjs → save-BN1_0pQt.mjs} +3 -3
- package/dist/{scan-KcMaJTx2.mjs → scan-hz0Yy4oe.mjs} +2 -2
- package/dist/{template-drift-BKCMx9vC.mjs → template-drift-iUiPKU1w.mjs} +3 -3
- package/dist/tooling-entry.d.mts +1 -1
- package/dist/tooling-entry.mjs +2 -2
- package/dist/{transaction-CTFrGYJO.mjs → transaction-BvmfcAYW.mjs} +2 -2
- package/dist/{tsconfig-CO_6DRDo.mjs → tsconfig-C_4_iCHD.mjs} +11 -3
- package/dist/{vitest-Deitv0TQ.mjs → vitest-BocK3D9l.mjs} +1 -1
- package/dist/{workspace-tasks-CbetXdoh.mjs → workspace-tasks-BwfSloR_.mjs} +6 -6
- package/package.json +7 -5
- package/resources/release-auto-changeset/workflow.yml +93 -0
- package/resources/release-snapshot/build.yml +127 -0
- package/resources/release-snapshot/publish.yml +180 -0
- package/resources/release-validation/README.md +52 -0
- package/resources/release-validation/policy.json +3 -0
- package/resources/release-validation/workflow.yml +43 -0
- package/resources/skills/repoctl/references/commands.md +15 -0
|
@@ -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-BwfSloR_.mjs";
|
|
2
|
+
import { t as knipConfigurationInputs } from "./inputs-DBWKLDqz.mjs";
|
|
3
|
+
import { knipRoot } from "./plan-1h4NGq59.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 { d as logger } from "./execute-
|
|
3
|
-
import {
|
|
1
|
+
import { St as localize, jt as fs$1 } from "./workspace-tasks-BwfSloR_.mjs";
|
|
2
|
+
import { d as logger } from "./execute-O1WZ0FzZ.mjs";
|
|
3
|
+
import { $t as createTemplateCatalog, Jt as resolveCreateNewProjectPlan, Kt as createNewProject, qt as defaultTemplate, tn as loadTemplateCatalogContext } from "./commands-CXaAqMTl.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-BwfSloR_.mjs";
|
|
3
|
+
import { t as scanDependencies } from "./scan-hz0Yy4oe.mjs";
|
|
4
|
+
import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-BvmfcAYW.mjs";
|
|
5
5
|
import { isDeepStrictEqual } from "node:util";
|
|
6
6
|
//#region src/commands/deps/apply.ts
|
|
7
7
|
async function applyDependencyFixPlan(cwd, plan) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { St as localize, jt as fs } from "./workspace-tasks-
|
|
2
|
-
import { d as logger, t as runCheckWithReport } from "./execute-
|
|
1
|
+
import { St as localize, jt as fs } from "./workspace-tasks-BwfSloR_.mjs";
|
|
2
|
+
import { d as logger, t as runCheckWithReport } from "./execute-O1WZ0FzZ.mjs";
|
|
3
3
|
import { t as formatAffectedCheckPlan } from "./cli.mjs";
|
|
4
4
|
import path from "pathe";
|
|
5
5
|
import process from "node:process";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as signalExitCode, J as getWorkspaceGraph, St as localize, V as executeCheckTask, Z as getWorkspaceImpact, jt as fs$1, tt as resolveWorkspaceGraphNode } from "./workspace-tasks-
|
|
2
|
-
import { d as loadMonorepoConfig } 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-BwfSloR_.mjs";
|
|
2
|
+
import { d as loadMonorepoConfig } from "./tsconfig-C_4_iCHD.mjs";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import { createConsola } from "consola";
|
|
5
5
|
import { execFileSync, spawnSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { St as localize } from "./workspace-tasks-
|
|
1
|
+
import { St as localize } from "./workspace-tasks-BwfSloR_.mjs";
|
|
2
2
|
//#region src/commands/check/cache/format.ts
|
|
3
3
|
function label(value, markdown) {
|
|
4
4
|
return markdown ? value.replace(/[\\`*_{}[\]()#+.!|<>~-]/gu, "\\$&") : value;
|
|
@@ -1020,6 +1020,31 @@ interface PublicApiUpdateResult {
|
|
|
1020
1020
|
changed: string[];
|
|
1021
1021
|
}
|
|
1022
1022
|
//#endregion
|
|
1023
|
+
//#region src/commands/hooks/types.d.ts
|
|
1024
|
+
interface GitHookCheck {
|
|
1025
|
+
/** Unique check name; repoctl prefixes generated native job names. */
|
|
1026
|
+
name: string;
|
|
1027
|
+
/** Native Lefthook command, executed with its partially staged file protection. */
|
|
1028
|
+
run: string;
|
|
1029
|
+
glob?: string;
|
|
1030
|
+
stageFixed?: boolean;
|
|
1031
|
+
}
|
|
1032
|
+
interface GitHooksConfig {
|
|
1033
|
+
/** Native jobs inserted immediately before the final staged typecheck. */
|
|
1034
|
+
preCommit?: GitHookCheck[];
|
|
1035
|
+
}
|
|
1036
|
+
interface GitHooksInstallOptions {
|
|
1037
|
+
/** Process environment, including Git configuration isolation and CI detection. */
|
|
1038
|
+
env?: NodeJS.ProcessEnv;
|
|
1039
|
+
}
|
|
1040
|
+
interface GitHooksInstallResult {
|
|
1041
|
+
status: 'installed' | 'skipped';
|
|
1042
|
+
reason?: 'ci' | 'disabled' | 'not-git' | 'custom-hooks-path' | 'custom-husky';
|
|
1043
|
+
migrated: boolean;
|
|
1044
|
+
configuredChecks: string[];
|
|
1045
|
+
hooksPath?: string;
|
|
1046
|
+
}
|
|
1047
|
+
//#endregion
|
|
1023
1048
|
//#region src/types/project-references.d.ts
|
|
1024
1049
|
/** Explicit compilation projects, independently of npm dependency relationships. */
|
|
1025
1050
|
interface ProjectReferencesConfig {
|
|
@@ -1247,6 +1272,8 @@ interface VitestProjectToolingConfig {
|
|
|
1247
1272
|
interface ToolingConfig {
|
|
1248
1273
|
/** Explicit public declaration entrypoints and reviewed API baselines. */
|
|
1249
1274
|
apiReports?: PublicApiConfig;
|
|
1275
|
+
/** Native Lefthook domain checks, preserving staged-file isolation and final typechecking. */
|
|
1276
|
+
hooks?: GitHooksConfig;
|
|
1250
1277
|
commitlint?: CommitlintToolingConfig;
|
|
1251
1278
|
eslint?: EslintToolingConfig;
|
|
1252
1279
|
stylelint?: StylelintToolingConfig;
|
|
@@ -2275,4 +2302,4 @@ declare function createMonorepoVitestProjectConfig(options?: MonorepoVitestProje
|
|
|
2275
2302
|
*/
|
|
2276
2303
|
declare function defineVitestProjectConfig(input?: DefineVitestProjectConfigOptions): Promise<MonorepoVitestProjectConfigResult>;
|
|
2277
2304
|
//#endregion
|
|
2278
|
-
export { UpgradeKeepDecision as $,
|
|
2305
|
+
export { UpgradeKeepDecision as $, DependencyAdmissionConfig as $n, DependencySection as $r, PublicApiUpdatePlan as $t, WorkspaceMoveOptions as A, CodeownersReport as An, OrganizationPresetReference as Ar, EslintToolingConfig as At, AiCommandConfig as B, InstallSecurityOptions as Bn, generateAgenticTemplates as Br, ProjectReferencesOperation as Bt, MonorepoVitestConfigOverrides as C, WorkspacePackageSummary as Cn, ConfigDiagnostic as Cr, DocsCloudflareWorkersTarget as Ct, ConfigValues as D, CodeownersDiagnostic as Dn, OrganizationPresetDiagnostic as Dr, DocsScriptDeploymentTarget as Dt, MonorepoVitestProjectConfigResult as E, CodeownersConfig as En, OrganizationPresetAsset as Er, DocsReadinessConfig as Et, WorkspaceRemovalEntry as F, normalizeInitToolingTargets as Fn, AgenticTemplateTask as Fr, VitestToolingConfig as Ft, MonorepoConfig as G, DoctorReport as Gn, DependencyConsistencyGroup as Gr, GitHooksInstallResult as Gt, CreateCommandConfig as H, InstallSecurityReport as Hn, CliOpts as Hr, GitHookCheck as Ht, WorkspaceRemovalFile as I, initToolingTargets as In, GenerateAgenticTemplateOptions as Ir, ProjectReferencesApplyResult as It, UpgradeApplyResult as J, DoctorSuppressionReport as Jn, DependencyFixPlan as Jr, PublicApiEntryConfig as Jt, UpgradeCommandConfig as K, DoctorStatus as Kn, DependencyFileChange as Kr, PublicApiConfig as Kt, WorkspaceRemovalOptions as L, InstallBuildDecision as Ln, createTimestampFolderName as Lr, ProjectReferencesCheck as Lt, WorkspaceMoveResult as M, init as Mn, OrganizationPresetSource as Mr, ToolingConfig as Mt, WorkspaceMoveReview as N, initMetadata as Nn, OrganizationPresetTemplate as Nr, TsconfigToolingConfig as Nt, SimpleGit as O, CodeownersOptions as On, OrganizationPresetLayer as Or, DocsSiteConfig as Ot, WorkspaceRemovalBlocker as P, initTooling as Pn, AgenticTemplateFormat as Pr, VitestProjectToolingConfig as Pt, UpgradeInput as Q, AdmissionDeclaration as Qn, DependencyReport as Qr, PublicApiReport as Qt, WorkspaceRemovalPlan as R, InstallPolicyKey as Rn, defaultAgenticBaseDir as Rr, ProjectReferencesConfig as Rt, MonorepoVitestConfigOptions as S, WorkspacePackageManifest as Sn, TemplateCatalogEntry as Sr, DocsChannel as St, MonorepoVitestProjectConfigOptions as T, WorkspacePackageWithJsonPath as Tn, ConfigValueSource as Tr, DocsDeploymentTarget as Tt, InitCommandConfig as U, InstallSecuritySetting as Un, DependenciesCommandConfig as Ur, GitHooksConfig as Ut, CreateChoiceOption as V, InstallSecurityPresetPlan as Vn, loadAgenticTasks as Vr, ProjectReferencesPlan as Vt, MirrorCommandConfig as W, DoctorCheck as Wn, DependencyApplyResult as Wr, GitHooksInstallOptions as Wt, UpgradeFilePlan as X, DoctorOptions as Xn, DependencyOccurrence as Xr, PublicApiOptions as Xt, UpgradeBaselineChange as Y, DoctorCommandConfig as Yn, DependencyGroupStatus as Yr, PublicApiEntryReport as Yt, UpgradeFileStatus as Z, DoctorSuppression as Zn, DependencyProtocol as Zr, PublicApiPackageConfig as Zt, DefineVitestProjectConfigOptions as _, WorkspaceImpactResult as _n, resolveTemplateCatalog as _r, EnvCacheOptions as _t, createMonorepoTsconfig as a, WorkspaceBoundaryException as an, applyCreateNewProjectPlan as ar, UpgradePlan as at, MonorepoStylelintConfig as b, WorkspaceData as bn, TemplateCatalog as br, EnvCacheTask as bt, createMonorepoCommitlintConfig as c, WorkspaceBoundarySelector as cn, CreateNewProjectPlan as cr, ReleaseAfterPublishHookConfig as ct, defineCommitlintConfig as d, WorkspaceGraphDiagnostic as dn, ResolvedTemplateSource as dr, ReleaseRegistryConfig as dt, DependencyVersionGroup as ei, PublicApiUpdateResult as en, DependencyAdmissionException as er, UpgradeMergeDetails as et, defineEslintConfig as f, WorkspaceGraphEdge as fn, TemplateSourceOptions as fr, ReleaseBranchRule as ft, DefineVitestConfigOptions as g, WorkspaceImpactOptions as gn, templateMap as gr, EnvCacheFinding as gt, DefineEslintConfigOptions as h, WorkspaceGraphOptions as hn, getTemplateMap as hr, EnvCacheEvidence as ht, defineVitestProjectConfig as i, WorkspaceBoundariesReport as in, DependencyAdmissionRule as ir, UpgradeOverrideFinding as it, WorkspaceMovePlan as j, WorkspaceOwnership as jn, OrganizationPresetResolution as jr, StylelintToolingConfig as jt, SimpleGitOptions as k, CodeownersPlan as kn, OrganizationPresetManifest as kr, CommitlintToolingConfig as kt, createMonorepoEslintConfig as l, WorkspaceDependencyType as ln, resolveCreateNewProjectPlan as lr, ReleaseCommandConfig as lt, DefineConfigOptions as m, WorkspaceGraphNode as mn, getCreateChoices as mr, EnvCacheConfig as mt, createMonorepoVitestProjectConfig as n, BoundarySeverity as nn, DependencyAdmissionOptions as nr, UpgradeMigrationsPlan as nt, defineTsconfigConfig as o, WorkspaceBoundaryFinding as on, createNewProject as or, UpgradeWorkspacePolicy as ot, defineStylelintConfig as p, WorkspaceGraphFilter as pn, TemplateSourceRequest as pr, ReleaseBranchesConfig as pt, UpgradeApplyOptions as q, DoctorSummary as qn, DependencyFixOptions as qr, PublicApiDiagnostic as qt, defineVitestConfig as r, WorkspaceBoundariesConfig as rn, DependencyAdmissionReport as rr, UpgradeOptions as rt, loadMonorepoToolingConfig as s, WorkspaceBoundaryRule as sn, CreateNewProjectOptions as sr, NightlyProvider as st, createMonorepoVitestConfig as t, CleanCommandConfig as tn, DependencyAdmissionFinding as tr, UpgradeMigrationStep as tt, createMonorepoStylelintConfig as u, WorkspaceGraph as un, resolveRemoteTemplateSource as ur, ReleaseNightlyConfig as ut, MonorepoCommitlintConfig as v, WorkspaceWhyResult as vn, CreateTemplateDefinition as vr, EnvCacheReport as vt, MonorepoVitestConfigResult as w, WorkspacePackageSummaryData as wn, ConfigSourceLayer as wr, DocsCommandConfig as wt, MonorepoTsconfig as x, WorkspacePackage as xn, TemplateCatalogDiagnostic as xr, EnvCacheVariable as xt, MonorepoEslintConfig as y, GetWorkspacePackagesOptions as yn, ResolveTemplateCatalogOptions as yr, EnvCacheSuppression as yt, WorkspaceRemovalResult as z, InstallSecurityExpectations as zn, generateAgenticTemplate as zr, ProjectReferencesDiagnostic as zt };
|