@icebreakers/monorepo 5.10.2 → 5.10.3

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.
@@ -1,4 +1,4 @@
1
- import { at as record, rt as hash } from "./workspace-tasks-BfRYdDKd.mjs";
1
+ import { at as record, rt as hash } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
2
  import path from "pathe";
3
3
  import { readFile, stat } from "node:fs/promises";
4
4
  import { isDeepStrictEqual } from "node:util";
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
2
- import { Ht as clearWorkspaceCache, at as record, rt as hash, st as updateManifest } from "./workspace-tasks-BfRYdDKd.mjs";
3
- import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, r as parseSpecifier, t as scanDependencies } from "./scan-CCQ1FRFz.mjs";
4
- import { i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-Cx-nCnUb.mjs";
2
+ import { Ht as clearWorkspaceCache, at as record, rt as hash, st as updateManifest } from "./workspace-tasks-Ot3BQsSQ.mjs";
3
+ import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, r as parseSpecifier, t as scanDependencies } from "./scan-BHoiG3IA.mjs";
4
+ import { i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-YB2N4pVh.mjs";
5
5
  import { satisfies, subset, valid, validRange } from "semver";
6
6
  import YAML, { isAlias, isMap } from "yaml";
7
7
  import { isDeepStrictEqual } from "node:util";
package/dist/cli.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { Ct as message, Et as supportedLocales, J as getWorkspaceGraph, Q as whyWorkspaceDependency, St as localize, Ut as getWorkspaceData, Z as getWorkspaceImpact, a as inspectWorkspaceOwners, i as planCodeowners, jt as fs$1, n as locateWorkspace, r as applyCodeownersPlan, t as getWorkspaceTaskCatalog, vt as cliName, wt as repoctlLocale } from "./workspace-tasks-BfRYdDKd.mjs";
2
- import { f as logger } from "./execute-BIQFrHey.mjs";
3
- import { At as resolveTemplateCatalog, C as applyOrganizationPresetAssets, D as applyInstallSecurityPreset, F as upgradeMonorepo, Ft as sanitizeConfigReport, I as formatUpgradePlan, It as validateConfigFile, M as applyPublicApiUpdate, N as planPublicApiUpdate, O as planInstallSecurityPreset, Ot as resolveRemoteTemplateSource, P as formatPublicApiReport, Pt as explainMonorepoConfig, _ as applyProjectReferencesPlan, a as planWorkspaceMove, b as getMaintenanceWorkflow, bt as applyUpgradePlan, c as applyToolingCapability, d as planTemplateValidation, f as releaseSnapshot, g as syncProjectReferences, h as checkProjectReferences, i as applyWorkspaceMovePlan, j as checkPublicApi, jt as loadTemplateCatalogContext, k as checkPeerDependencies, kt as createTemplateCatalog, l as planToolingCapability, lt as initToolingTargets, m as createReleasePlan, n as applyWorkspaceRemovalPlan, nt as resolveReleaseMode, o as applyWorkspaceArtifactPlan, r as planWorkspaceRemoval, rt as renderReleasePullRequest, s as planWorkspaceArtifact, tt as parsePublishSummary, u as validateTemplate, v as planProjectReferences, vt as planUpgrade, w as planOrganizationPresetAssets, x as prepareMaintenanceUpgrade, y as checkPackages } from "./commands-JrCj9vzP.mjs";
4
- import { S as canonicalDirectory, W as splitConfigPath, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, j as ConfigValidationError, k as version, p as resolveCommandConfig } from "./tsconfig-B838WBPA.mjs";
5
- import { s as resolveCommandValues } from "./scan-CCQ1FRFz.mjs";
6
- import { S as checkDependencyAdmission, f as inspectInstallSecurity, x as checkWorkspaceBoundaries } from "./template-drift-Bn1QcF7D.mjs";
1
+ import { Ct as message, Et as supportedLocales, J as getWorkspaceGraph, Q as whyWorkspaceDependency, St as localize, Ut as getWorkspaceData, Z as getWorkspaceImpact, a as inspectWorkspaceOwners, i as planCodeowners, jt as fs$1, n as locateWorkspace, r as applyCodeownersPlan, t as getWorkspaceTaskCatalog, vt as cliName, wt as repoctlLocale } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
+ import { f as logger } from "./execute-CZS0wnHj.mjs";
3
+ import { At as resolveTemplateCatalog, C as applyOrganizationPresetAssets, D as applyInstallSecurityPreset, F as upgradeMonorepo, Ft as sanitizeConfigReport, I as formatUpgradePlan, It as validateConfigFile, M as applyPublicApiUpdate, N as planPublicApiUpdate, O as planInstallSecurityPreset, Ot as resolveRemoteTemplateSource, P as formatPublicApiReport, Pt as explainMonorepoConfig, _ as applyProjectReferencesPlan, a as planWorkspaceMove, b as getMaintenanceWorkflow, bt as applyUpgradePlan, c as applyToolingCapability, d as planTemplateValidation, f as releaseSnapshot, g as syncProjectReferences, h as checkProjectReferences, i as applyWorkspaceMovePlan, j as checkPublicApi, jt as loadTemplateCatalogContext, k as checkPeerDependencies, kt as createTemplateCatalog, l as planToolingCapability, lt as initToolingTargets, m as createReleasePlan, n as applyWorkspaceRemovalPlan, nt as resolveReleaseMode, o as applyWorkspaceArtifactPlan, r as planWorkspaceRemoval, rt as renderReleasePullRequest, s as planWorkspaceArtifact, tt as parsePublishSummary, u as validateTemplate, v as planProjectReferences, vt as planUpgrade, w as planOrganizationPresetAssets, x as prepareMaintenanceUpgrade, y as checkPackages } from "./commands-CB-HD_yZ.mjs";
4
+ import { S as canonicalDirectory, W as splitConfigPath, _ as listToolingCapabilities, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, j as ConfigValidationError, k as version, p as resolveCommandConfig } from "./tsconfig-BQOKveM4.mjs";
5
+ import { s as resolveCommandValues } from "./scan-BHoiG3IA.mjs";
6
+ import { S as checkDependencyAdmission, f as inspectInstallSecurity, x as checkWorkspaceBoundaries } from "./template-drift-CELODRPj.mjs";
7
7
  import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
8
8
  import path from "pathe";
9
9
  import process from "node:process";
@@ -47,8 +47,8 @@ function reportCliFailure(error) {
47
47
  async function handleAiPromptCreate(cwd, opts) {
48
48
  const [{ input }, { createTimestampFolderName, defaultAgenticBaseDir, generateAgenticTemplate, generateAgenticTemplates, loadAgenticTasks }, { resolveCommandConfig }] = await Promise.all([
49
49
  import("@icebreakers/monorepo-templates"),
50
- import("./commands-JrCj9vzP.mjs").then((n) => n.t),
51
- import("./tsconfig-B838WBPA.mjs").then((n) => n.c)
50
+ import("./commands-CB-HD_yZ.mjs").then((n) => n.t),
51
+ import("./tsconfig-BQOKveM4.mjs").then((n) => n.c)
52
52
  ]);
53
53
  const aiConfig = await resolveCommandConfig("ai", cwd);
54
54
  const resolved = resolveCommandValues("ai", aiConfig, {
@@ -237,7 +237,7 @@ function registerConfigCommands(program, cwd) {
237
237
  if (!report.valid) throw new ConfigValidationError(report.diagnostics);
238
238
  await emitConfigInspection(report, opts, cwd, report);
239
239
  } else {
240
- const { inspectMonorepoConfig } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
240
+ const { inspectMonorepoConfig } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
241
241
  await emitConfigInspection(await inspectMonorepoConfig(cwd), opts, cwd);
242
242
  }
243
243
  } catch (error) {
@@ -290,7 +290,7 @@ const output$2 = (value) => process.stdout.write(`${JSON.stringify(value, null,
290
290
  function registerCatalogCommands(deps, cwd) {
291
291
  const catalog = deps.command("catalog").description(localize("Inspect pnpm catalogs and review coordinated migrations", "巡检 pnpm catalog 并审阅联动迁移"));
292
292
  catalog.command("check").description(localize("Inspect references, usage and direct-version bypasses without writing", "只读巡检引用、使用情况和直接版本绕过")).option("--catalog <name>", localize("Catalog policy for direct declarations and migration candidates", "直接声明与迁移候选所采用的 catalog 策略"), "default").option("--json", localize("Output a versioned catalog report", "输出有版本结构的 catalog 报告")).action(async (options) => {
293
- const { checkCatalogs } = await import("./catalog-K659zU-l.mjs").then((n) => n.t);
293
+ const { checkCatalogs } = await import("./catalog-IPCPXwDR.mjs").then((n) => n.t);
294
294
  const report = await checkCatalogs(cwd, options);
295
295
  if (options.json) output$2(report);
296
296
  else {
@@ -300,7 +300,7 @@ function registerCatalogCommands(deps, cwd) {
300
300
  if (report.summary.missing || report.summary.direct) process.exitCode = 1;
301
301
  });
302
302
  catalog.command("plan").description(localize("Preview catalog YAML and consumer manifest changes without writing", "只读预览 catalog YAML 与消费者清单的联动变更")).argument("<dependency>", localize("Dependency to migrate", "待迁移依赖")).requiredOption("--section <section>", localize("Dependency section; peer ranges remain unchanged", "依赖分区;peer 范围保留原样")).option("--catalog <name>", localize("Default or named catalog", "默认或命名 catalog"), "default").option("--group <name>", localize("Configured dependency version group", "已配置的依赖版本组"), "default").option("--to <specifier>", localize("Explicit common subrange for non-equivalent declarations", "不等价声明的明确共同子范围")).option("--dry-run", localize("Preview only (the default)", "仅预览(默认行为)")).option("--json", localize("Output a reviewed plan for catalog apply", "输出可审阅并交给 catalog apply 的计划")).action(async (dependency, options) => {
303
- const { planCatalogMigration } = await import("./catalog-K659zU-l.mjs").then((n) => n.t);
303
+ const { planCatalogMigration } = await import("./catalog-IPCPXwDR.mjs").then((n) => n.t);
304
304
  const plan = await planCatalogMigration(cwd, {
305
305
  dependency,
306
306
  ...options
@@ -312,7 +312,7 @@ function registerCatalogCommands(deps, cwd) {
312
312
  }
313
313
  });
314
314
  catalog.command("apply").description(localize("Apply a reviewed catalog migration with conflict checks and rollback", "应用已审阅的 catalog 迁移,检查冲突并支持失败恢复")).argument("<plan>", localize("Reviewed JSON plan", "已审阅的 JSON 计划")).option("--json", localize("Output the apply result as JSON", "以 JSON 输出应用结果")).action(async (file, options) => {
315
- const { applyCatalogMigrationPlan } = await import("./catalog-K659zU-l.mjs").then((n) => n.t);
315
+ const { applyCatalogMigrationPlan } = await import("./catalog-IPCPXwDR.mjs").then((n) => n.t);
316
316
  const result = await applyCatalogMigrationPlan(cwd, JSON.parse(await readFile(file, "utf8")));
317
317
  if (options.json) output$2(result);
318
318
  else process.stdout.write(`${result.status}: ${result.changed.join(", ")}\n${result.nextSteps.join("\n")}\n`);
@@ -339,7 +339,7 @@ function registerDepsCommands(program, cwd) {
339
339
  registerDependencyAdmission(deps, cwd);
340
340
  registerCatalogCommands(deps, cwd);
341
341
  deps.command("check").description(localize("Check dependency consistency without writing or accessing registries", "只读检查依赖版本一致性,不访问 registry")).option("--json", localize("Output the dependency report as JSON", "以 JSON 输出依赖报告")).action(async (options) => {
342
- const { checkDependencies } = await import("./deps-tL2RNCri.mjs").then((n) => n.n);
342
+ const { checkDependencies } = await import("./deps-BopnoDAY.mjs").then((n) => n.n);
343
343
  const report = await checkDependencies(cwd);
344
344
  if (options.json) output$1(report);
345
345
  else for (const group of report.groups) {
@@ -349,7 +349,7 @@ function registerDepsCommands(program, cwd) {
349
349
  if (report.summary.equivalent + report.summary.compatible + report.summary.conflict > 0) process.exitCode = 1;
350
350
  });
351
351
  deps.command("plan").alias("fix").description(localize("Preview an explicit dependency fix; always read-only", "预览显式依赖修复;始终只读")).argument("<dependency>", localize("Dependency name", "依赖名称")).requiredOption("--section <section>", localize("dependencies, devDependencies, peerDependencies or optionalDependencies", "依赖分区:dependencies、devDependencies、peerDependencies 或 optionalDependencies")).requiredOption("--to <specifier>", localize("Explicit target semver range or same-source npm alias", "明确的目标 semver 范围或同源 npm alias")).option("--group <name>", localize("Configured version group", "配置中的版本分组"), "default").option("--dry-run", localize("Preview only (already the default)", "仅预览(默认行为)")).option("--json", localize("Output a serializable plan for deps apply", "输出可交给 deps apply 的 JSON 计划")).action(async (dependency, options) => {
352
- const { planDependencyFix } = await import("./deps-tL2RNCri.mjs").then((n) => n.n);
352
+ const { planDependencyFix } = await import("./deps-BopnoDAY.mjs").then((n) => n.n);
353
353
  const plan = await planDependencyFix(cwd, {
354
354
  dependency,
355
355
  section: options.section,
@@ -364,7 +364,7 @@ function registerDepsCommands(program, cwd) {
364
364
  process.stdout.write(localize("Preview only. Save --json output, review it, then run deps apply <plan.json>.\n", "仅预览。保存并审阅 --json 输出,然后执行 deps apply <plan.json>。\n"));
365
365
  });
366
366
  deps.command("apply").description(localize("Apply a reviewed dependency plan with conflict checks and rollback", "应用已审阅的依赖计划,检查冲突并支持失败回滚")).argument("<plan>", localize("JSON plan file", "JSON 计划文件")).option("--json", localize("Output the result as JSON", "以 JSON 输出结果")).action(async (file, options) => {
367
- const { applyDependencyFixPlan } = await import("./deps-tL2RNCri.mjs").then((n) => n.n);
367
+ const { applyDependencyFixPlan } = await import("./deps-BopnoDAY.mjs").then((n) => n.n);
368
368
  const result = await applyDependencyFixPlan(cwd, JSON.parse(await readFile(file, "utf8")));
369
369
  if (options.json) output$1(result);
370
370
  else {
@@ -378,8 +378,8 @@ function registerDepsCommands(program, cwd) {
378
378
  function registerEnvironmentCheck(command, cwd) {
379
379
  command.command("check [tasks...]").description(localize("Check static environment references against Turbo cache declarations", "检查静态环境变量引用与 Turbo 缓存声明")).option("--json", localize("Output structured findings", "输出结构化诊断")).option("--markdown", localize("Output Markdown to stdout", "向标准输出写入 Markdown")).option("--strict", localize("Fail on warnings as well as errors", "警告也返回失败码")).option("--no-framework-inference", localize("Disable framework prefix assumptions", "不采用框架变量前缀推断")).option("--dry-run", localize("Read-only check (always enabled)", "只读检查(始终启用)")).action(async (tasks, options, action) => {
380
380
  if (options.json && options.markdown) throw new Error("--json and --markdown cannot be combined");
381
- const { checkEnvironmentCache } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.F);
382
- const { formatEnvironmentCache } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.N);
381
+ const { checkEnvironmentCache } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.F);
382
+ const { formatEnvironmentCache } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.N);
383
383
  const report = await checkEnvironmentCache(cwd, {
384
384
  ...tasks.length ? { tasks } : {},
385
385
  ...action.getOptionValueSource("frameworkInference") === "cli" ? { frameworkInference: options.frameworkInference } : {}
@@ -705,23 +705,23 @@ function registerEnvCommands(program, cwd) {
705
705
  const envCommand = program.command("env").alias("e").description(localize("Environment and support commands", "环境命令"));
706
706
  registerEnvironmentCheck(envCommand, cwd);
707
707
  envCommand.command("info").description(localize("Show environment information for the current repository", "输出当前仓库环境信息")).alias("i").option("--json", localize("Output JSON for scripts", "输出 JSON,方便脚本消费")).option("--markdown", localize("Output Markdown", "输出 Markdown,方便粘贴到 issue 或 PR")).option("--out <file>", localize("Write output to a file", "把当前输出写入文件")).option("--redact", localize("Redact workspace, cwd, and home paths", "脱敏 workspace/cwd/home 绝对路径后再输出")).action(async (opts) => {
708
- const { collectEnvInfo } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
708
+ const { collectEnvInfo } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
709
709
  await emitEnvInfo(await collectEnvInfo(cwd), opts, cwd);
710
710
  });
711
711
  envCommand.command("snapshot").description(localize("Create a support snapshot with environment, doctor, and check data", "输出排障快照,包含环境、doctor 和 check 计划")).alias("s").option("--json", localize("Output JSON for scripts", "输出 JSON,方便脚本消费")).option("--markdown", localize("Output Markdown", "输出 Markdown,方便粘贴到 issue 或 PR")).option("--out <file>", localize("Write output to a file", "把当前输出写入文件")).option("--redact", localize("Redact workspace, cwd, and home paths", "脱敏 workspace/cwd/home 绝对路径后再输出")).option("--strict", localize("Fail when doctor reports a failure or warning", "输出快照后,如果 doctor 有 fail 或 warn 则返回失败码")).action(async (opts) => {
712
- const { collectEnvSnapshot } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
712
+ const { collectEnvSnapshot } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
713
713
  await emitEnvSnapshot(await collectEnvSnapshot(cwd), opts, cwd);
714
714
  });
715
715
  envCommand.command("paths").description(localize("Show important repository and report paths", "输出当前仓库关键路径和报告建议位置")).alias("p").option("--json", localize("Output JSON for scripts", "输出 JSON,方便脚本消费")).option("--markdown", localize("Output Markdown", "输出 Markdown,方便粘贴到 issue 或 PR")).option("--out <file>", localize("Write output to a file", "把当前输出写入文件")).option("--redact", localize("Redact workspace, cwd, and home paths", "脱敏 workspace/cwd/home 绝对路径后再输出")).action(async (opts) => {
716
- const { collectEnvPaths } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
716
+ const { collectEnvPaths } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
717
717
  await emitEnvPaths(await collectEnvPaths(cwd), opts, cwd);
718
718
  });
719
719
  envCommand.command("support").description(localize("Create a complete support bundle", "输出完整排障包,包含环境、路径、配置、doctor 和 check 计划")).alias("b").option("--json", localize("Output JSON for scripts", "输出 JSON,方便脚本消费")).option("--markdown", localize("Output Markdown", "输出 Markdown,方便粘贴到 issue 或 PR")).option("--out <file>", localize("Write output to a file", "把当前输出写入文件")).option("--redact", localize("Redact workspace, cwd, and home paths", "脱敏 workspace/cwd/home 绝对路径后再输出")).option("--strict", localize("Fail when doctor reports a failure or warning", "输出排障包后,如果 doctor 有 fail 或 warn 则返回失败码")).action(async (opts) => {
720
- const { collectEnvSupportBundle } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
720
+ const { collectEnvSupportBundle } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
721
721
  await emitEnvSupportBundle(await collectEnvSupportBundle(cwd), opts, cwd);
722
722
  });
723
723
  envCommand.command("mirror").description(localize("Configure the VS Code binary mirror", "设置 VS Code binary mirror")).alias("m").action(async () => {
724
- const { setVscodeBinaryMirror } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
724
+ const { setVscodeBinaryMirror } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
725
725
  await setVscodeBinaryMirror(cwd);
726
726
  logger.success(localize("Environment mirror finished.", "环境镜像完成。"));
727
727
  });
@@ -731,7 +731,7 @@ function registerEnvCommands(program, cwd) {
731
731
  function registerGenerateCommand(program, cwd) {
732
732
  program.command("generate").alias("g").description(localize("Generate a component or route inside an existing package", "在已有包内生成组件或路由")).argument("<generator>", "vue-component, react-component, hono-route").argument("<name>", localize("Kebab-case component or route name", "kebab-case 组件或路由名称")).requiredOption("--package <name-or-path>", localize("Exact workspace package name or relative directory", "精确 workspace 包名或相对目录")).option("--directory <path>", localize("Package-relative source directory", "包内源文件相对目录")).option("--barrel <path>", localize("TypeScript export barrel, used with --export", "配合 --export 使用的 TypeScript 导出文件")).option("--export", localize("Add a named export to src/index.ts or --barrel", "向 src/index.ts 或 --barrel 添加具名导出")).option("--params <json>", localize("Additional typed generator parameters as JSON", "JSON 格式的类型化生成参数")).option("--dry-run", localize("Preview all generated changes without writing", "预览全部生成变更,不写入文件")).option("--json", localize("Print a JSON preview without writing", "以 JSON 输出预览,不写入文件")).action(async (generator, name, options) => {
733
733
  try {
734
- const { applyGeneratePlan, planGenerate } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.v);
734
+ const { applyGeneratePlan, planGenerate } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.v);
735
735
  const extra = options.params ? JSON.parse(options.params) : {};
736
736
  if (!extra || typeof extra !== "object" || Array.isArray(extra)) throw new Error("--params must contain a JSON object.");
737
737
  if (Object.hasOwn(extra, "name") || options.export !== void 0 && Object.hasOwn(extra, "export")) throw new Error("Do not supply the same generator parameter through multiple inputs.");
@@ -833,7 +833,7 @@ function registerPackageCommands(program, cwd) {
833
833
  registerPackageCheckCommand(packageCommand, cwd);
834
834
  registerPublicApiCommands(packageCommand, cwd);
835
835
  packageCommand.command("create").description(localize("Create a new workspace package", "创建一个新的子包")).alias("new").argument("[name]").option("--offline", localize("Use only verified cached remote assets", "只使用通过校验的远程资产缓存")).option("--data <file>", localize("Read typed template parameters from a JSON file", "从 JSON 文件读取类型化模板参数")).option("--cache-dir <directory>", localize("Template asset cache directory", "模板资产缓存目录")).option("-t, --template <template>", localize("Use a template key without prompting", "直接使用指定模板,跳过模板选择")).option("--dry-run", localize("Preview without writing files", "预览将要创建的目录与 package 信息,不写入文件")).option("--json", localize("Output JSON; implies --dry-run", "以 JSON 输出创建预览,隐含 --dry-run")).option("--out <file>", localize("Write the preview to a file; implies --dry-run", "把创建预览写入文件,隐含 --dry-run")).action(async (inputName, opts) => {
836
- const { runCreateFlow } = await import("./create-flow-CR_aZooC.mjs");
836
+ const { runCreateFlow } = await import("./create-flow-BOBOsDC1.mjs");
837
837
  const result = await runCreateFlow(cwd, inputName, {
838
838
  ...opts.offline !== void 0 ? { offline: opts.offline } : {},
839
839
  ...opts.cacheDir ? { cacheDir: opts.cacheDir } : {},
@@ -1293,7 +1293,7 @@ function registerReleaseCommands(program, cwd) {
1293
1293
  registerNpmMirror(releaseCommand, cwd);
1294
1294
  releaseCommand.command("ci").description(localize("Prepare, publish, or recover versions in CI", "在 CI 中自动准备、发布和恢复版本")).option("--stage <stage>", "all / plan / verify / prepare / upload / confirm / finalize", "all").option("--mode <mode>", "auto / prepare / publish / publish-unpublished / reconcile / oidc-audit", "auto").option("--package <name>", localize("Package used by publish-unpublished mode", "publish-unpublished 使用的 package")).option("--version <version>", localize("Version used by publish-unpublished mode", "publish-unpublished 使用的版本")).option("--source-sha <sha>", localize("Recover a prepared release from the selected line history", "从所选发布线的历史提交恢复整批发布")).option("--dry-run", localize("Preview reconcile changes without updating GitHub", "只预览 reconcile 变更,不更新 GitHub")).action(async (opts) => {
1295
1295
  await runReleaseAction(async () => {
1296
- const { releaseCi } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1296
+ const { releaseCi } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1297
1297
  const mode = resolveReleaseMode(opts);
1298
1298
  await releaseCi({
1299
1299
  ...mode === "oidc-audit" ? { cwd } : await resolveReleaseOptions(cwd),
@@ -1309,7 +1309,7 @@ function registerReleaseCommands(program, cwd) {
1309
1309
  });
1310
1310
  releaseCommand.command("notes").description(localize("Manage GitHub Release notes", "维护 GitHub Release 正文")).command("repair").description(localize("Rebuild GitHub Release notes from the changelog for each release tag", "按每个发布 tag 对应的 changelog 重建 GitHub Release 正文")).option("--all", localize("Repair every recognized GitHub Release", "修复所有可识别的 GitHub Release")).option("--tag <package@version>", localize("Repair only the specified package@version", "只修复指定 package@version")).option("--dry-run", localize("Generate and summarize without updating GitHub Releases", "只生成并统计,不更新 GitHub Release")).option("--create-missing", localize("Create a missing GitHub Release after validating the published package and tag", "核验已发布 package 和 tag 后补建缺失的 GitHub Release")).action(async (opts) => {
1311
1311
  await runReleaseAction(async () => {
1312
- const { repairReleaseNotes } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1312
+ const { repairReleaseNotes } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1313
1313
  const result = await repairReleaseNotes({
1314
1314
  cwd,
1315
1315
  ...opts.all ? { all: true } : {},
@@ -1322,7 +1322,7 @@ function registerReleaseCommands(program, cwd) {
1322
1322
  });
1323
1323
  const stableCommand = releaseCommand.command("stable").description(localize("Run a stable release from the configured release line", "在配置的正式发布线执行发布")).action(async () => {
1324
1324
  await runReleaseAction(async () => {
1325
- const { releaseCi } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1325
+ const { releaseCi } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1326
1326
  await releaseCi({
1327
1327
  ...await resolveReleaseOptions(cwd),
1328
1328
  mode: "publish"
@@ -1332,7 +1332,7 @@ function registerReleaseCommands(program, cwd) {
1332
1332
  });
1333
1333
  stableCommand.command("prepare").description(localize("Consume pnpm change intents and prepare a Release PR", "消费 pnpm change intents 并准备 Release PR")).action(async () => {
1334
1334
  await runReleaseAction(async () => {
1335
- const { releaseCi } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1335
+ const { releaseCi } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1336
1336
  await releaseCi({
1337
1337
  ...await resolveReleaseOptions(cwd),
1338
1338
  mode: "prepare"
@@ -1342,7 +1342,7 @@ function registerReleaseCommands(program, cwd) {
1342
1342
  });
1343
1343
  stableCommand.command("publish").description(localize("Publish prepared versions from the configured release line", "发布所选发布线已经准备的包版本")).action(async () => {
1344
1344
  await runReleaseAction(async () => {
1345
- const { releaseCi } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1345
+ const { releaseCi } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1346
1346
  await releaseCi({
1347
1347
  ...await resolveReleaseOptions(cwd),
1348
1348
  mode: "publish"
@@ -1353,21 +1353,21 @@ function registerReleaseCommands(program, cwd) {
1353
1353
  const preCommand = releaseCommand.command("pre").description(localize("Run or manage prereleases", "执行或管理 prerelease 发布"));
1354
1354
  preCommand.command("publish").alias("run").description(localize("Publish from a configured prerelease branch", "在已配置的预发布分支发布 prerelease")).action(async () => {
1355
1355
  await runReleaseAction(async () => {
1356
- const { releaseCi } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1356
+ const { releaseCi } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1357
1357
  await releaseCi(await resolveReleaseOptions(cwd));
1358
1358
  logger.success(localize("Prerelease finished.", "预发布完成。"));
1359
1359
  });
1360
1360
  });
1361
1361
  preCommand.command("enter").description(localize("Enter a pnpm prerelease lane", "进入 pnpm prerelease lane")).argument("<tag>", localize("Configured pnpm prerelease lane", "已配置的 pnpm 预发布 lane")).action(async (tag) => {
1362
1362
  await runReleaseAction(async () => {
1363
- const { enterPrerelease } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1363
+ const { enterPrerelease } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1364
1364
  await enterPrerelease(tag, { cwd });
1365
1365
  logger.success(localize(`Entered ${tag} prerelease mode.`, `已进入 ${tag} 预发布模式。`));
1366
1366
  });
1367
1367
  });
1368
1368
  preCommand.command("exit").description(localize("Exit the pnpm prerelease lane", "退出 pnpm prerelease lane")).action(async () => {
1369
1369
  await runReleaseAction(async () => {
1370
- const { exitPrerelease } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1370
+ const { exitPrerelease } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1371
1371
  const target = await exitPrerelease({ cwd });
1372
1372
  logger.success(localize(`Exited prerelease mode. Stable target: ${target.branch}.`, `已退出预发布模式,正式目标分支:${target.branch}。`));
1373
1373
  });
@@ -1384,7 +1384,7 @@ const skillTargets = [
1384
1384
  ];
1385
1385
  function registerSkillsCommands(program, cwd) {
1386
1386
  program.command("skills").alias("sk").description(localize("AI skill commands", "技能工具集")).command("sync").description(localize("Synchronize the repoctl skill to global agent directories", "同步 resources/skills/repoctl 到全局目录")).alias("s").option("--codex", localize("Synchronize to ~/.codex/skills", "同步到 ~/.codex/skills")).option("--claude", localize("Synchronize to ~/.claude/skills", "同步到 ~/.claude/skills")).option("--cursor", localize("Synchronize to ~/.cursor/skills", "同步到 ~/.cursor/skills")).option("--agents", localize("Synchronize to ~/.agents/skills", "同步到 ~/.agents/skills")).option("--grok", localize("Synchronize to ~/.grok/skills", "同步到 ~/.grok/skills")).option("--all", localize("Synchronize every target", "同步全部目标")).action(async (opts) => {
1387
- const { syncSkills } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1387
+ const { syncSkills } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1388
1388
  const selected = /* @__PURE__ */ new Set();
1389
1389
  if (opts.all) for (const target of skillTargets) selected.add(target);
1390
1390
  else {
@@ -1420,7 +1420,7 @@ async function emitTemplateReport(value, options) {
1420
1420
  //#region src/cli/commands/template-instances/drift.ts
1421
1421
  function registerTemplateDriftCommand(templates) {
1422
1422
  templates.command("drift").description(localize("Inspect template versions and managed file drift without changing assets", "只读诊断模板版本、基线和受管文件漂移")).option("--source-dir <directory>", localize("Compare with metadata from an extracted template package", "与已解压模板包的真实版本元数据比较")).option("--remote", localize("Explicitly query the public npm latest dist-tag", "显式查询公共 npm 仓库的 latest 版本")).option("--strict", localize("Fail on active warnings, including unavailable evidence", "存在有效告警或证据不可用时失败")).option("--json", localize("Output structured JSON", "输出结构化 JSON")).option("--markdown", localize("Output a Markdown report (default)", "输出 Markdown 报告(默认)")).option("--out <file>", localize("Write only the report to this file", "仅将诊断报告写入指定文件")).action(async (options, command) => {
1423
- const { checkTemplateDrift, formatTemplateDriftReport, hasTemplateDriftIssues } = await import("./template-drift-Bn1QcF7D.mjs").then((n) => n.n);
1423
+ const { checkTemplateDrift, formatTemplateDriftReport, hasTemplateDriftIssues } = await import("./template-drift-CELODRPj.mjs").then((n) => n.n);
1424
1424
  const merged = {
1425
1425
  ...command.optsWithGlobals(),
1426
1426
  ...options
@@ -1439,7 +1439,7 @@ function registerTemplateDriftCommand(templates) {
1439
1439
  //#region src/cli/commands/template-instances/upgrade.ts
1440
1440
  function registerTemplateUpgradeCommands(templates) {
1441
1441
  templates.command("upgrade").description(localize("Preview a selected template instance upgrade, preserving business changes", "预览所选模板实例的增量升级,保留业务修改")).argument("<instance>", localize("Registered instance ID or target path", "已登记实例 ID 或目标路径")).requiredOption("--source-version <version>", localize("Exact target template package version", "目标模板包的精确版本")).option("--source-dir <directory>", localize("Read an extracted target template package", "只读使用已解压的目标模板包")).option("--exclude <paths...>", localize("Keep these relative files or directories unmanaged in future upgrades", "将这些相对文件或目录持久标记为不受管")).option("--apply", localize("Apply a conflict-free instance upgrade", "应用无冲突的实例升级")).option("--json", localize("Output structured JSON", "输出结构化 JSON")).option("--out <file>", localize("Write the report to a file", "将报告写入文件")).action(async (instance, options, command) => {
1442
- const { planTemplateUpgrade, applyTemplateUpgradePlan } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.d);
1442
+ const { planTemplateUpgrade, applyTemplateUpgradePlan } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.d);
1443
1443
  const plan = await planTemplateUpgrade({
1444
1444
  cwd: await templateWorkspaceRoot(),
1445
1445
  instance,
@@ -1453,7 +1453,7 @@ function registerTemplateUpgradeCommands(templates) {
1453
1453
  });
1454
1454
  });
1455
1455
  templates.command("recover-upgrade").description(localize("Inspect or restore an interrupted instance upgrade", "检查或恢复中断的实例升级")).argument("<instance>", localize("Registered instance ID or target path", "已登记实例 ID 或目标路径")).option("--apply", localize("Restore the recorded instance and changed files", "恢复记录中的实例信息及受影响文件")).option("--json", localize("Output structured JSON", "输出结构化 JSON")).option("--out <file>", localize("Write the report to a file", "将报告写入文件")).action(async (instance, options, command) => {
1456
- const { recoverTemplateUpgrade } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.d);
1456
+ const { recoverTemplateUpgrade } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.d);
1457
1457
  await emitTemplateReport(await recoverTemplateUpgrade(await templateWorkspaceRoot(), instance, options.apply), {
1458
1458
  ...command.optsWithGlobals(),
1459
1459
  ...options
@@ -1466,7 +1466,7 @@ function registerTemplateInstanceCommands(templates) {
1466
1466
  registerTemplateDriftCommand(templates);
1467
1467
  registerTemplateUpgradeCommands(templates);
1468
1468
  templates.command("instances").description(localize("Inspect registered template instances without changing files", "只读查询已登记模板实例")).argument("[target]", localize("Instance ID or workspace-relative target", "实例 ID 或相对工作区路径")).option("--json", localize("Output structured JSON", "输出结构化 JSON")).option("--out <file>", localize("Write the report to a file", "将报告写入文件")).action(async (target, options, command) => {
1469
- const { listTemplateInstances } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.d);
1469
+ const { listTemplateInstances } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.d);
1470
1470
  const instances = await listTemplateInstances(await templateWorkspaceRoot());
1471
1471
  const selected = target ? instances.filter((item) => item.instance.id === target || item.instance.target === target) : instances;
1472
1472
  if (target && !selected.length) throw new Error(`Unknown template instance: ${target}`);
@@ -1479,7 +1479,7 @@ function registerTemplateInstanceCommands(templates) {
1479
1479
  });
1480
1480
  });
1481
1481
  templates.command("link").description(localize("Preview an explicit historical template association; --apply writes metadata only", "预览历史模板关联;--apply 仅写登记信息")).argument("<target>", localize("Existing workspace-relative project path", "存量项目相对工作区路径")).requiredOption("--template <key>", localize("Stable template key", "稳定模板标识")).requiredOption("--source-version <version>", localize("Exact historical template package version", "模板包的精确历史版本")).option("--source-dir <directory>", localize("Read an extracted historical template package without executing it", "只读使用已解压的历史模板包,不执行其脚本")).option("--profile <profile>", localize("workspace-copy-v1 or repo-new-v1", "workspace-copy-v1 或 repo-new-v1"), "repo-new-v1").option("--package-name <name>", localize("Historical generated package name", "历史生成包名")).option("--rename-json", localize("Historical output used package.mock.json", "历史生成时使用了 package.mock.json")).option("--unverified", localize("Explicitly allow metadata-only association when the source is unavailable", "来源不可用时显式允许未验证关联")).option("--apply", localize("Apply the reviewed association without changing project files", "应用关联,不改写项目文件")).option("--json", localize("Output the plan as JSON", "以 JSON 输出计划")).option("--out <file>", localize("Write the plan or result to a file", "将计划或结果写入文件")).action(async (target, options, command) => {
1482
- const { applyTemplateLinkPlan, planTemplateLink } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.d);
1482
+ const { applyTemplateLinkPlan, planTemplateLink } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.d);
1483
1483
  const plan = await planTemplateLink({
1484
1484
  cwd: await templateWorkspaceRoot(),
1485
1485
  target,
@@ -1499,14 +1499,14 @@ function registerTemplateInstanceCommands(templates) {
1499
1499
  });
1500
1500
  });
1501
1501
  templates.command("relocate").description(localize("Associate a missing instance with an identical destination, without moving files", "显式关联已移动且可验证的实例,不移动业务文件")).argument("<instance>", localize("Registered instance ID or old path", "已登记实例 ID 或旧路径")).argument("<target>", localize("New workspace-relative path", "新相对工作区路径")).option("--apply", localize("Update the registered path", "更新登记路径")).option("--json", localize("Output JSON", "输出 JSON")).option("--out <file>", localize("Write the report to a file", "将报告写入文件")).action(async (instance, target, options, command) => {
1502
- const { relocateTemplateInstance } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.d);
1502
+ const { relocateTemplateInstance } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.d);
1503
1503
  await emitTemplateReport(await relocateTemplateInstance(await templateWorkspaceRoot(), instance, target, options.apply), {
1504
1504
  ...command.optsWithGlobals(),
1505
1505
  ...options
1506
1506
  });
1507
1507
  });
1508
1508
  templates.command("rebuild-baseline").description(localize("Reconstruct a retained baseline into a new isolated directory", "在新的隔离目录中重建留存基线")).argument("<instance>", localize("Instance ID or target", "实例 ID 或目标路径")).requiredOption("--destination <directory>", localize("A directory that does not exist", "尚不存在的目录")).option("--original", localize("Reconstruct the original template before repoctl transformations", "重建 repoctl 处理前的原始模板")).action(async (instance, options) => {
1509
- const { rebuildTemplateInstanceBaseline } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.d);
1509
+ const { rebuildTemplateInstanceBaseline } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.d);
1510
1510
  await emitTemplateReport({
1511
1511
  instance: (await rebuildTemplateInstanceBaseline(await templateWorkspaceRoot(), instance, path.resolve(options.destination), options.original ? "original" : "rendered")).id,
1512
1512
  destination: path.resolve(options.destination)
@@ -1711,7 +1711,7 @@ function registerTemplatesCommands(program) {
1711
1711
  const templates = program.command("templates").alias("tpl").description(localize("List built-in and configured templates", "列出内置与自定义模板")).argument("[key]", localize("Show details for a template key", "查看指定模板详情")).option("-c, --category <category>", localize("Filter by library, app, service, docs, or tool", "按模板分类过滤:library / app / service / docs / tool")).option("--check", localize("Check template configuration, metadata and directories", "检查模板配置、元数据、目录和临时文件")).option("--json", localize("Output JSON for scripts", "输出 JSON,方便脚本消费")).option("--markdown", localize("Output Markdown for documentation", "输出 Markdown,方便同步文档")).option("--out <file>", localize("Write output to a file", "把当前输出写入文件")).action(async (key, opts) => {
1712
1712
  const { isTemplateCategory, suggestTemplateKey, templateCategories } = await import("@icebreakers/monorepo-templates");
1713
1713
  if (opts.check) {
1714
- const { checkTemplates } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1714
+ const { checkTemplates } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1715
1715
  const report = await checkTemplates();
1716
1716
  if (opts.json) await emitTemplateOutput(JSON.stringify(report, null, 2), opts);
1717
1717
  else await emitTemplateOutput(formatTemplateHealthReport(report, !opts.out), opts);
@@ -1835,7 +1835,7 @@ function registerCapabilityCommands(toolingCommand, cwd) {
1835
1835
  function registerDevContainerCommand(command, cwd) {
1836
1836
  command.command("devcontainer").description(localize("Preview a pnpm Dev Container preset, or apply a reviewed plan", "预览 pnpm Dev Container 预设,或应用已审查的计划")).option("--node-version <version>", localize("Choose an exact Node version allowed by engines.node", "选择 engines.node 允许的精确 Node 版本")).option("--apply <plan>", localize("Apply a saved JSON plan without starting containers", "应用已保存的 JSON 计划,不启动容器")).option("--dry-run", localize("Preview only (the default)", "只读预览(默认行为)")).option("--json", localize("Output JSON with generated files and diffs", "输出包含生成文件与差异的 JSON")).option("--out <file>", localize("Save the JSON preview to a new file", "将 JSON 预览保存到一个新文件")).action(async (_options, current) => {
1837
1837
  const options = current.optsWithGlobals();
1838
- const { applyDevContainerPlan, planDevContainer } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1838
+ const { applyDevContainerPlan, planDevContainer } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1839
1839
  if (options.apply) {
1840
1840
  if (options.nodeVersion || options.dryRun || options.out) throw new Error("--apply cannot be combined with preview or selection options.");
1841
1841
  const filename = path.resolve(cwd, options.apply);
@@ -1887,7 +1887,7 @@ function registerToolingCommands(program, cwd) {
1887
1887
  registerDevContainerCommand(toolingCommand, cwd);
1888
1888
  toolingCommand.command("init").description(localize(`Generate tooling configuration (${initToolingTargets.join(", ")})`, `生成 tooling 配置(可选值:${initToolingTargets.join(", ")})`)).alias("i").argument("[tooling...]").option("-a, --all", localize("Generate every tooling configuration", "生成全部 tooling 配置")).option("-f, --force", localize("Overwrite existing tooling configuration files", "覆盖已存在的 tooling 配置文件")).action(async (tooling = [], opts) => {
1889
1889
  const normalizedTooling = normalizeToolingTargets(tooling);
1890
- const { initTooling } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
1890
+ const { initTooling } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
1891
1891
  await initTooling(cwd, {
1892
1892
  ...normalizedTooling ? { targets: normalizedTooling } : {},
1893
1893
  ...opts.all !== void 0 ? { all: opts.all } : {},
@@ -1911,8 +1911,8 @@ function registerCacheAnalysis(check, cwd) {
1911
1911
  const markdown = options.markdown || parent["markdown"] === true;
1912
1912
  if (json && markdown) throw new Error("--json and --markdown cannot be combined");
1913
1913
  const own = command.opts();
1914
- const { analyzeTurboRuns } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.G);
1915
- const { formatTurboAnalysis } = await import("./format-Y47YebNT.mjs");
1914
+ const { analyzeTurboRuns } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.G);
1915
+ const { formatTurboAnalysis } = await import("./format-7modMu0M.mjs");
1916
1916
  const result = await analyzeTurboRuns(path.resolve(cwd, current), {
1917
1917
  ...previous !== void 0 ? { previous: path.resolve(cwd, previous) } : {},
1918
1918
  ...own.slowest !== void 0 ? { slowest: Number(own.slowest) } : {}
@@ -1940,7 +1940,7 @@ function registerKnipCheck(check, cwd) {
1940
1940
  };
1941
1941
  if (opts.saveBaseline && (opts.baseline || opts.newOnly || opts.dryRun || opts.recommendConfig)) throw new Error("--save-baseline cannot be combined with --baseline, --new-only, --dry-run or --recommend-config.");
1942
1942
  if (opts.recommendConfig && (opts.config || opts.baseline || opts.newOnly || opts.timeout || opts.production || opts.strict)) throw new Error("--recommend-config only provides native configuration suggestions; it cannot run or compare an analysis.");
1943
- const { getKnipConfigurationSuggestions, planKnipCheck, runKnipCheck, saveKnipBaseline } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.L);
1943
+ const { getKnipConfigurationSuggestions, planKnipCheck, runKnipCheck, saveKnipBaseline } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.L);
1944
1944
  if (opts.recommendConfig) {
1945
1945
  process.stdout.write(`${JSON.stringify(await getKnipConfigurationSuggestions(cwd), null, 2)}\n`);
1946
1946
  return;
@@ -2095,7 +2095,7 @@ function registerCheckCommand(program, cwd) {
2095
2095
  ...opts.globalInput ? { globalInputs: opts.globalInput } : {}
2096
2096
  };
2097
2097
  if (opts.matrix) {
2098
- const { resolveAffectedCheckMatrix } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2098
+ const { resolveAffectedCheckMatrix } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2099
2099
  const matrix = await resolveAffectedCheckMatrix({
2100
2100
  ...options,
2101
2101
  ...opts.shards !== void 0 ? { shards: Number(opts.shards) } : {}
@@ -2109,19 +2109,19 @@ function registerCheckCommand(program, cwd) {
2109
2109
  if (opts.dryRun || opts.json || opts.markdown || opts.out) throw new Error("--report cannot be combined with preview options: --dry-run, --json, --markdown, --out");
2110
2110
  const format = opts.reportFormat ?? "json";
2111
2111
  if (format !== "json" && format !== "markdown") throw new Error("--report-format must be json or markdown");
2112
- const { runCheckExecution } = await import("./execute-80jn36j9.mjs");
2112
+ const { runCheckExecution } = await import("./execute-DoZY8w8f.mjs");
2113
2113
  await runCheckExecution(options, opts.report, format, opts.redact);
2114
2114
  return;
2115
2115
  }
2116
- const { resolveRecommendedCheckPlan, runRecommendedCheck } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2116
+ const { resolveRecommendedCheckPlan, runRecommendedCheck } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2117
2117
  if (opts.dryRun || opts.json || opts.markdown || opts.out) {
2118
2118
  if (opts.affected) {
2119
- const { resolveAffectedCheckPlan } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2119
+ const { resolveAffectedCheckPlan } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2120
2120
  await emitCheckPlan(await resolveAffectedCheckPlan(options), opts, cwd);
2121
2121
  return;
2122
2122
  }
2123
2123
  if (opts.full) {
2124
- const { resolveFullWorkspaceCheckPlan } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2124
+ const { resolveFullWorkspaceCheckPlan } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2125
2125
  await emitCheckPlan(await resolveFullWorkspaceCheckPlan(cwd), opts, cwd);
2126
2126
  return;
2127
2127
  }
@@ -2129,7 +2129,7 @@ function registerCheckCommand(program, cwd) {
2129
2129
  return;
2130
2130
  }
2131
2131
  if (opts.affected) {
2132
- const { runCheckExecution } = await import("./execute-80jn36j9.mjs");
2132
+ const { runCheckExecution } = await import("./execute-DoZY8w8f.mjs");
2133
2133
  await runCheckExecution(options);
2134
2134
  return;
2135
2135
  }
@@ -2295,7 +2295,7 @@ async function emitDoctorReport(report, opts, cwd) {
2295
2295
  }
2296
2296
  function registerDoctorCommand(program, cwd) {
2297
2297
  registerInstallSecurityCommand(program.command("doctor").description(localize("Diagnose whether the current repository is ready to use", "诊断当前仓库是否适合直接开始使用")).option("--json", localize("Output JSON for CI or scripts", "输出 JSON 报告,方便 CI 或脚本消费")).option("--markdown", localize("Output Markdown for an issue or pull request", "输出 Markdown 报告,方便粘贴到 issue 或 PR")).option("--out <file>", localize("Write the diagnostic report to a file", "把诊断报告写入文件")).option("--redact", localize("Redact workspace, cwd, and home paths", "脱敏 workspace/cwd/home 绝对路径后再输出")).option("--strict", localize("Treat warnings as failures", "把 warning 也视为失败,适合 CI 门禁")).option("--rules <ids>", localize("Select exact check IDs, separated by commas", "选择精确检查 ID,以逗号分隔")).option("--list-rules", localize("List all available check IDs", "列出全部可用检查 ID")).option("--fix", localize("Preview safe fixes without writing", "预览安全修复,不写入文件")).option("--apply <plan>", localize("Apply a reviewed doctor fix JSON plan", "应用已审核的 doctor 修复 JSON 计划")).action(async (opts) => {
2298
- const commands = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2298
+ const commands = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2299
2299
  if (opts.fix && opts.apply || opts.apply && opts.rules !== void 0 || opts.listRules && (opts.fix || opts.apply || opts.rules !== void 0)) throw new Error("Use one of --list-rules, --fix, or --apply; --apply cannot change the reviewed rule selection.");
2300
2300
  if (opts.listRules || opts.fix || opts.apply) {
2301
2301
  if (opts.markdown || opts.redact) throw new Error("--markdown and --redact apply to diagnostic reports, not rule lists or executable plans.");
@@ -2364,7 +2364,7 @@ function registerUpgradeCommand(parent, cwd, alias) {
2364
2364
  //#region src/cli/commands/top-level.ts
2365
2365
  function registerTopLevelCommands(program, cwd) {
2366
2366
  program.command("init").description(localize("Initialize the current workspace with recommended configuration", "初始化当前 workspace,并生成推荐配置")).option("--preset <preset>", localize("Initialization preset: minimal or standard", "初始化预设:minimal / standard")).option("-f, --force", localize("Overwrite existing tooling configuration files", "覆盖已存在的 tooling 配置文件")).option("--overwrite", localize("Overwrite existing managed files", "覆盖受管的已存在文件")).option("-y, --yes", localize("Use defaults without prompting; suitable for CI", "使用默认值跳过所有交互,适合 CI")).action(async (opts) => {
2367
- const { init } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2367
+ const { init } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2368
2368
  const config = await loadMonorepoConfig(cwd);
2369
2369
  const { preset } = resolveCommandValues("init", config.commands?.init, { preset: opts.preset }, { entry: "cli" }).values;
2370
2370
  await init(cwd, {
@@ -2377,7 +2377,7 @@ function registerTopLevelCommands(program, cwd) {
2377
2377
  logger.info(localize("Next: run `pnpm install` and `pnpm build`.", "下一步:运行 `pnpm install` 和 `pnpm build`。"));
2378
2378
  });
2379
2379
  program.command("new").description(localize("Create a new package or application", "创建新的 package / app")).argument("[name]").option("--offline", localize("Use only verified cached remote assets", "只使用通过校验的远程资产缓存")).option("--data <file>", localize("Read typed template parameters from a JSON file", "从 JSON 文件读取类型化模板参数")).option("--cache-dir <directory>", localize("Template asset cache directory", "模板资产缓存目录")).option("-t, --template <template>", localize("Use a template key without prompting", "直接使用指定模板,跳过模板选择")).option("--dry-run", localize("Preview directories and package metadata without writing", "预览将要创建的目录与 package 信息,不写入文件")).option("--json", localize("Output the creation preview as JSON; implies --dry-run", "以 JSON 输出创建预览,隐含 --dry-run")).option("--out <file>", localize("Write the creation preview to a file; implies --dry-run", "把创建预览写入文件,隐含 --dry-run")).action(async (inputName, opts) => {
2380
- const { runCreateFlow } = await import("./create-flow-CR_aZooC.mjs");
2380
+ const { runCreateFlow } = await import("./create-flow-BOBOsDC1.mjs");
2381
2381
  const result = await runCreateFlow(cwd, inputName, {
2382
2382
  ...opts.offline !== void 0 ? { offline: opts.offline } : {},
2383
2383
  ...opts.cacheDir ? { cacheDir: opts.cacheDir } : {},
@@ -2400,22 +2400,22 @@ function registerTopLevelCommands(program, cwd) {
2400
2400
  function registerVerifyCommands(program, cwd) {
2401
2401
  const verifyCommand = program.command("verify").alias("v").description(localize("Local verification commands", "本地校验工具集"));
2402
2402
  verifyCommand.command("pre-push").description(localize("Run build, test, and tsd checks for pushed changes", "按推送变更范围执行 build/test/tsd 校验")).alias("push").action(async () => {
2403
- const { verifyPrePush } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2403
+ const { verifyPrePush } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2404
2404
  await verifyPrePush({ cwd });
2405
2405
  });
2406
2406
  verifyCommand.command("pre-commit").description(localize("Run lint-staged verification", "执行 lint-staged 校验")).alias("commit").action(async () => {
2407
- const { verifyPreCommit } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2407
+ const { verifyPreCommit } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2408
2408
  await verifyPreCommit({ cwd });
2409
2409
  });
2410
2410
  verifyCommand.command("commit-msg").description(localize("Run commitlint verification", "执行 commitlint 校验")).alias("msg").argument("<edit-file>").action(async (editFile) => {
2411
- const { verifyCommitMsg } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2411
+ const { verifyCommitMsg } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2412
2412
  await verifyCommitMsg({
2413
2413
  cwd,
2414
2414
  editFile
2415
2415
  });
2416
2416
  });
2417
2417
  verifyCommand.command("staged-typecheck").description(localize("Run typecheck in workspaces containing staged files", "按暂存文件所在 workspace 执行 typecheck")).alias("tc").argument("[files...]").action(async (files = []) => {
2418
- const { verifyStagedTypecheck } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2418
+ const { verifyStagedTypecheck } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2419
2419
  verifyStagedTypecheck(files, { cwd });
2420
2420
  });
2421
2421
  }
@@ -2779,12 +2779,12 @@ function registerWorkspaceCommands(program, cwd) {
2779
2779
  registerWorkspaceRemoval(workspaceCommand, cwd);
2780
2780
  registerWorkspaceMove(workspaceCommand, cwd);
2781
2781
  workspaceCommand.command("init").description(localize("Initialize workspace metadata and repository files", "初始化工作区元信息(README、package.json、pnpm intent、issue template)")).alias("i").action(async () => {
2782
- const { initMetadata } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2782
+ const { initMetadata } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2783
2783
  await initMetadata(cwd);
2784
2784
  logger.success(localize("Workspace initialization finished.", "Workspace 初始化完成。"));
2785
2785
  });
2786
2786
  workspaceCommand.command("list").description(localize("List workspace packages", "列出 workspace 包")).alias("ls").option("--json", localize("Output JSON", "输出 JSON")).option("--markdown", localize("Output Markdown", "输出 Markdown,方便粘贴到 issue 或 PR")).option("--redact", localize("Redact workspace, cwd, and home paths", "脱敏 workspace/cwd/home 绝对路径后再输出")).option("--include-private", localize("Include private packages", "包含 private 包")).option("--include-root", localize("Include the workspace root package", "包含 workspace 根包")).option("-p, --pattern <glob>", localize("Append a workspace glob; repeatable", "追加自定义 workspace glob,可重复"), collectValues).option("--out <file>", localize("Write the package list to a file", "把当前列表输出写入文件")).action(async (opts) => {
2787
- const { getWorkspacePackageSummaries } = await import("./workspace-tasks-BfRYdDKd.mjs").then((n) => n.Kt);
2787
+ const { getWorkspacePackageSummaries } = await import("./workspace-tasks-Ot3BQsSQ.mjs").then((n) => n.Kt);
2788
2788
  await emitWorkspaceList(await getWorkspacePackageSummaries(cwd, {
2789
2789
  ignorePrivatePackage: !opts.includePrivate,
2790
2790
  ignoreRootPackage: !opts.includeRoot,
@@ -2792,7 +2792,7 @@ function registerWorkspaceCommands(program, cwd) {
2792
2792
  }), opts);
2793
2793
  });
2794
2794
  workspaceCommand.command("clean").description(localize("Remove selected workspace packages", "清除选中的包")).alias("rm").option("-y, --yes", localize("Select all eligible workspace packages without prompting", "跳过交互并选择所有符合条件的工作区包")).option("--dry-run", localize("Preview directory deletions and metadata changes without writing", "预览目录删除和元数据变更,不写入文件")).option("--include-private", localize("Include private packages", "包含 private 包")).option("--pinned-version <version>", localize("Override the repoctl version written to the root package", "覆盖写入的 repoctl 版本")).action(async (opts) => {
2795
- const { cleanProjects } = await import("./commands-JrCj9vzP.mjs").then((n) => n.t);
2795
+ const { cleanProjects } = await import("./commands-CB-HD_yZ.mjs").then((n) => n.t);
2796
2796
  await cleanProjects(cwd, normalizeCleanOptions(opts));
2797
2797
  });
2798
2798
  }
@@ -1,12 +1,12 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
2
- import { A as referenceTarget, B as saveKnipBaseline, C as loadCompiler, D as ownershipFile, E as exists$1, Gt as getWorkspacePackages, Ht as clearWorkspaceCache, I as getKnipConfigurationSuggestions, J as getWorkspaceGraph, Jt as GitClient, K as mergeText, M as formatEnvironmentCache, O as readText, P as checkEnvironmentCache, R as planKnipCheck, S as configReader, St as localize, T as compare$1, Tt as resolveRepoctlLocale, Ut as getWorkspaceData, W as analyzeTurboRuns, Wt as getWorkspacePackageSummaries, Z as getWorkspaceImpact, _ as planTemplateLink, _t as assetsDir$1, at as record$3, b as planGenerate, c as loadTemplateInstanceRegistry$1, ct as renderCreateNewProject, dt as migrateLegacyToolingReferences, et as compareGraphValues, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, gt as validateCleanTargets, h as loadTemplateUpgradeJournal, ht as isWithin, it as readInput, j as relativeFile, jt as fs$2, k as referencePath, l as rebuildTemplateInstanceBaseline, lt as rewriteTemplateSnapshotReferences, m as planTemplateUpgrade, mt as assertSafePath, nt as workspaceDependencyTypes, o as listTemplateInstances, ot as safeFile, p as applyTemplateUpgradePlan, pt as stageFileTransaction, q as withOperationLock, qt as findWorkspacePackages, rt as hash$1, s as loadTemplateBaseline$1, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, w as validateGraph, x as generators, xt as templatesDir, y as applyGeneratePlan, yt as packageDir$1, z as runKnipCheck } from "./workspace-tasks-BfRYdDKd.mjs";
3
- import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, d as runPnpmCommand, f as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, n as resolveAffectedCheckContext, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport, u as verifyStagedTypecheck } from "./execute-BIQFrHey.mjs";
4
- import { B as presetPackageName, C as checkedFile, E as relativeFile$1, F as normalizeTemplateSourceRequest, G as commandConfigDirectory, L as sourceRequestKey, O as package_default$1, P as normalizeTemplateRemoteSource, R as templateSourcePath, S as canonicalDirectory, T as readOptional$1, U as appendConfigPath, V as presetVersion, _ as listToolingCapabilities, b as presetRelativePath, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, g as presetAssetTarget, j as ConfigValidationError, k as version$2, n as defineTsconfigConfig, p as resolveCommandConfig, u as getRepoctlConfigCandidates, v as installedPresetDirectory, w as hash$2, x as readPresetFile, y as parsePresetJson } from "./tsconfig-B838WBPA.mjs";
5
- import { c as selectCommandOverrides, i as rangesOverlap, l as chinaMirrorsEnvs, r as parseSpecifier, s as resolveCommandValues } from "./scan-CCQ1FRFz.mjs";
6
- import { A as record$4, C as baselineDirectory, D as parseBaseline, E as isRootAsset, F as toWorkspaceAssetPath, M as summarizeChecks, O as templatePackage, S as checkDependencyAdmission, T as encodeBaseline, a as applyDoctorSuppressions, b as parseWorkspaceLockfile, c as collectSelectedDoctorChecks, d as recommendedRepoScripts, f as inspectInstallSecurity, g as isLegacyReleaseWorkflow, h as supportedVersion, i as hasTemplateDriftIssues, j as getWorkspacePatterns, k as getAssetTargets, l as getDoctorRuleIds, m as settingState, o as validateDoctorSuppressions, p as readSecuritySources, r as formatTemplateDriftReport, s as validateDoctorConfiguration, t as checkTemplateDrift, u as selectDoctorRules, v as inspectPnpmRuntime, w as baselinePath, y as lockfileRecord } from "./template-drift-Bn1QcF7D.mjs";
7
- import { t as writeDependencyTransaction } from "./transaction-Cx-nCnUb.mjs";
8
- import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-tL2RNCri.mjs";
9
- import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-K659zU-l.mjs";
2
+ import { A as referenceTarget, B as saveKnipBaseline, C as loadCompiler, D as ownershipFile, E as exists$1, Gt as getWorkspacePackages, Ht as clearWorkspaceCache, I as getKnipConfigurationSuggestions, J as getWorkspaceGraph, Jt as GitClient, K as mergeText, M as formatEnvironmentCache, O as readText, P as checkEnvironmentCache, R as planKnipCheck, S as configReader, St as localize, T as compare$1, Tt as resolveRepoctlLocale, Ut as getWorkspaceData, W as analyzeTurboRuns, Wt as getWorkspacePackageSummaries, Z as getWorkspaceImpact, _ as planTemplateLink, _t as assetsDir$1, at as record$3, b as planGenerate, c as loadTemplateInstanceRegistry$1, ct as renderCreateNewProject, dt as migrateLegacyToolingReferences, et as compareGraphValues, f as recoverTemplateUpgrade, ft as setByPath, g as applyTemplateLinkPlan, gt as validateCleanTargets, h as loadTemplateUpgradeJournal, ht as isWithin, it as readInput, j as relativeFile, jt as fs$2, k as referencePath, l as rebuildTemplateInstanceBaseline, lt as rewriteTemplateSnapshotReferences, m as planTemplateUpgrade, mt as assertSafePath, nt as workspaceDependencyTypes, o as listTemplateInstances, ot as safeFile, p as applyTemplateUpgradePlan, pt as stageFileTransaction, q as withOperationLock, qt as findWorkspacePackages, rt as hash$1, s as loadTemplateBaseline$1, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, w as validateGraph, x as generators, xt as templatesDir, y as applyGeneratePlan, yt as packageDir$1, z as runKnipCheck } from "./workspace-tasks-Ot3BQsSQ.mjs";
3
+ import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, d as runPnpmCommand, f as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, n as resolveAffectedCheckContext, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport, u as verifyStagedTypecheck } from "./execute-CZS0wnHj.mjs";
4
+ import { B as presetPackageName, C as checkedFile, E as relativeFile$1, F as normalizeTemplateSourceRequest, G as commandConfigDirectory, L as sourceRequestKey, O as package_default$1, P as normalizeTemplateRemoteSource, R as templateSourcePath, S as canonicalDirectory, T as readOptional$1, U as appendConfigPath, V as presetVersion, _ as listToolingCapabilities, b as presetRelativePath, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, g as presetAssetTarget, j as ConfigValidationError, k as version$2, n as defineTsconfigConfig, p as resolveCommandConfig, u as getRepoctlConfigCandidates, v as installedPresetDirectory, w as hash$2, x as readPresetFile, y as parsePresetJson } from "./tsconfig-BQOKveM4.mjs";
5
+ import { c as selectCommandOverrides, i as rangesOverlap, l as chinaMirrorsEnvs, r as parseSpecifier, s as resolveCommandValues } from "./scan-BHoiG3IA.mjs";
6
+ import { A as record$4, C as baselineDirectory, D as parseBaseline, E as isRootAsset, F as toWorkspaceAssetPath, M as summarizeChecks, O as templatePackage, S as checkDependencyAdmission, T as encodeBaseline, a as applyDoctorSuppressions, b as parseWorkspaceLockfile, c as collectSelectedDoctorChecks, d as recommendedRepoScripts, f as inspectInstallSecurity, g as isLegacyReleaseWorkflow, h as supportedVersion, i as hasTemplateDriftIssues, j as getWorkspacePatterns, k as getAssetTargets, l as getDoctorRuleIds, m as settingState, o as validateDoctorSuppressions, p as readSecuritySources, r as formatTemplateDriftReport, s as validateDoctorConfiguration, t as checkTemplateDrift, u as selectDoctorRules, v as inspectPnpmRuntime, w as baselinePath, y as lockfileRecord } from "./template-drift-CELODRPj.mjs";
7
+ import { t as writeDependencyTransaction } from "./transaction-YB2N4pVh.mjs";
8
+ import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-BopnoDAY.mjs";
9
+ import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-IPCPXwDR.mjs";
10
10
  import { createRequire, isBuiltin } from "node:module";
11
11
  import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
12
12
  import { readWorkspaceManifest } from "@pnpm/workspace.read-manifest";
@@ -1460,7 +1460,7 @@ async function downloadGitTemplate(source, directory, timeout) {
1460
1460
  async function resolveRemoteTemplateSource(source, templatePath = ".", options = {}) {
1461
1461
  const request = normalizeTemplateSourceRequest(source, templatePath);
1462
1462
  const cwd = path$1.resolve(options.cwd ?? process.cwd());
1463
- const npm = request.source.kind === "npm" ? await import("./npm-CpVwaVHm.mjs") : void 0;
1463
+ const npm = request.source.kind === "npm" ? await import("./npm-Tcs0KkCe.mjs") : void 0;
1464
1464
  const configuration = request.source.kind === "npm" ? await npm.npmTemplateConfiguration(request.source, cwd) : void 0;
1465
1465
  if (request.source.kind === "npm") request.source.registry = configuration.registry;
1466
1466
  const cacheDir = path$1.resolve(cwd, options.cacheDir ?? path$1.join(process.env["XDG_CACHE_HOME"] ?? path$1.join(homedir(), ".cache"), "repoctl", "template-sources-v1"));
@@ -3677,6 +3677,7 @@ var package_default = {
3677
3677
  "test:types": "turbo run test:types",
3678
3678
  "check:no-tracked-build-artifacts": "node ./scripts/check-no-tracked-build-artifacts.mjs",
3679
3679
  "check:workflows": "node ./scripts/check-workflows.mjs",
3680
+ "check:nimbus-upgrade": "node ./scripts/nimbus/check-upgrade.mjs",
3680
3681
  "audit": "pnpm audit --audit-level=moderate",
3681
3682
  "audit:fix": "pnpm audit --fix",
3682
3683
  "cf-typegen": "pnpm --filter @icebreakers/client --filter @icebreakers/server run cf-typegen",
@@ -1,6 +1,6 @@
1
- import { Ht as clearWorkspaceCache, Wt as getWorkspacePackageSummaries, rt as hash } from "./workspace-tasks-BfRYdDKd.mjs";
2
- import { t as knipConfigurationInputs } from "./inputs-CqnwY0-J.mjs";
3
- import { knipRoot } from "./plan-BQo4HYr-.mjs";
1
+ import { Ht as clearWorkspaceCache, Wt as getWorkspacePackageSummaries, rt as hash } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
+ import { t as knipConfigurationInputs } from "./inputs-XLxGSdQJ.mjs";
3
+ import { knipRoot } from "./plan-DL1kgsuX.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-BfRYdDKd.mjs";
2
- import { f as logger } from "./execute-BIQFrHey.mjs";
3
- import { Ct as defaultTemplate, St as createNewProject, jt as loadTemplateCatalogContext, kt as createTemplateCatalog, wt as resolveCreateNewProjectPlan } from "./commands-JrCj9vzP.mjs";
1
+ import { St as localize, jt as fs$1 } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
+ import { f as logger } from "./execute-CZS0wnHj.mjs";
3
+ import { Ct as defaultTemplate, St as createNewProject, jt as loadTemplateCatalogContext, kt as createTemplateCatalog, wt as resolveCreateNewProjectPlan } from "./commands-CB-HD_yZ.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-BfRYdDKd.mjs";
3
- import { t as scanDependencies } from "./scan-CCQ1FRFz.mjs";
4
- import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-Cx-nCnUb.mjs";
2
+ import { Ht as clearWorkspaceCache, St as localize } from "./workspace-tasks-Ot3BQsSQ.mjs";
3
+ import { t as scanDependencies } from "./scan-BHoiG3IA.mjs";
4
+ import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-YB2N4pVh.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-BfRYdDKd.mjs";
2
- import { d as loadMonorepoConfig, m as resolveToolingConfig } from "./tsconfig-B838WBPA.mjs";
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-Ot3BQsSQ.mjs";
2
+ import { d as loadMonorepoConfig, m as resolveToolingConfig } from "./tsconfig-BQOKveM4.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-BfRYdDKd.mjs";
2
- import { f as logger, t as runCheckWithReport } from "./execute-BIQFrHey.mjs";
1
+ import { St as localize, jt as fs } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
+ import { f as logger, t as runCheckWithReport } from "./execute-CZS0wnHj.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-BfRYdDKd.mjs";
1
+ import { St as localize } from "./workspace-tasks-Ot3BQsSQ.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.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, Jt as GitClient, 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, 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-BfRYdDKd.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-BIQFrHey.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-JrCj9vzP.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-B838WBPA.mjs";
5
- import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-CCQ1FRFz.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-Bn1QcF7D.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-BSttRDkQ.mjs";
8
- import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-tL2RNCri.mjs";
9
- import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-K659zU-l.mjs";
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, Jt as GitClient, 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, 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-Ot3BQsSQ.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-CZS0wnHj.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-CB-HD_yZ.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-BQOKveM4.mjs";
5
+ import { c as selectCommandOverrides, s as resolveCommandValues } from "./scan-BHoiG3IA.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-CELODRPj.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-CMv6d2Ad.mjs";
8
+ import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-BopnoDAY.mjs";
9
+ import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-IPCPXwDR.mjs";
10
10
  import crypto from "node:crypto";
11
11
  import { Buffer } from "node:buffer";
12
12
  //#region src/utils/hash.ts
@@ -1,4 +1,4 @@
1
- import { at as record, rt as hash } from "./workspace-tasks-BfRYdDKd.mjs";
1
+ import { at as record, rt as hash } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
2
  import path from "pathe";
3
3
  import { lstat, readFile } from "node:fs/promises";
4
4
  import YAML from "yaml";
@@ -1,4 +1,4 @@
1
- import { I as registryUrl } from "./tsconfig-B838WBPA.mjs";
1
+ import { I as registryUrl } from "./tsconfig-BQOKveM4.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { createWriteStream } from "node:fs";
4
4
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { at as record, yt as packageDir } from "./workspace-tasks-BfRYdDKd.mjs";
1
+ import { at as record, yt as packageDir } from "./workspace-tasks-Ot3BQsSQ.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-BfRYdDKd.mjs";
2
- import { t as knipConfigurationInputs } from "./inputs-CqnwY0-J.mjs";
3
- import { planKnipCheck } from "./plan-BQo4HYr-.mjs";
4
- import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-B41egFwu.mjs";
1
+ import { U as stopCheckProcessTree } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
+ import { t as knipConfigurationInputs } from "./inputs-XLxGSdQJ.mjs";
3
+ import { planKnipCheck } from "./plan-DL1kgsuX.mjs";
4
+ import { i as summarizeKnip, r as parseKnipOutput, t as compareKnipBaseline } from "./baseline-DJXYvLtY.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-BfRYdDKd.mjs";
2
- import { knipRoot } from "./plan-BQo4HYr-.mjs";
3
- import { n as validateKnipBaseline } from "./baseline-B41egFwu.mjs";
1
+ import { ht as isWithin, mt as assertSafePath, ot as safeFile } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
+ import { knipRoot } from "./plan-DL1kgsuX.mjs";
3
+ import { n as validateKnipBaseline } from "./baseline-DJXYvLtY.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, qt as findWorkspacePackages, rt as hash } from "./workspace-tasks-BfRYdDKd.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-B838WBPA.mjs";
1
+ import { St as localize, at as record, it as readInput, qt as findWorkspacePackages, rt as hash } from "./workspace-tasks-Ot3BQsSQ.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-BQOKveM4.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,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-BfRYdDKd.mjs";
3
- import { E as relativeFile, T as readOptional, f as loadMonorepoConfigDetails, j as ConfigValidationError, w as hash$1 } from "./tsconfig-B838WBPA.mjs";
4
- import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-CCQ1FRFz.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-Ot3BQsSQ.mjs";
3
+ import { E as relativeFile, T as readOptional, f as loadMonorepoConfigDetails, j as ConfigValidationError, w as hash$1 } from "./tsconfig-BQOKveM4.mjs";
4
+ import { a as dependencySections, i as rangesOverlap, r as parseSpecifier, t as scanDependencies } from "./scan-BHoiG3IA.mjs";
5
5
  import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
6
6
  import path from "pathe";
7
7
  import process from "node:process";
@@ -1,3 +1,3 @@
1
- import { i as loadMonorepoToolingConfig, n as defineTsconfigConfig, t as createMonorepoTsconfig } from "./tsconfig-B838WBPA.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-BSttRDkQ.mjs";
1
+ import { i as loadMonorepoToolingConfig, n as defineTsconfigConfig, t as createMonorepoTsconfig } from "./tsconfig-BQOKveM4.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-CMv6d2Ad.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-BfRYdDKd.mjs";
2
- import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-CCQ1FRFz.mjs";
1
+ import { St as localize, at as record, ot as safeFile, pt as stageFileTransaction, rt as hash, st as updateManifest } from "./workspace-tasks-Ot3BQsSQ.mjs";
2
+ import { a as dependencySections, i as rangesOverlap, n as equivalentRanges, o as matchGroup, r as parseSpecifier } from "./scan-BHoiG3IA.mjs";
3
3
  import { isDeepStrictEqual } from "node:util";
4
4
  //#region src/commands/deps/report.ts
5
5
  function classify(group) {
@@ -755,7 +755,7 @@ function mergeConfigValues(layers) {
755
755
  //#endregion
756
756
  //#region package.json
757
757
  var name = "@icebreakers/monorepo";
758
- var version = "5.10.2";
758
+ var version = "5.10.3";
759
759
  var package_default = {
760
760
  name,
761
761
  type: "module",
@@ -880,7 +880,7 @@ var package_default = {
880
880
  "@types/validate-npm-package-name": "^4.0.2",
881
881
  "ci-info": "^4.4.0",
882
882
  "fdir": "^6.5.0",
883
- "knip": "6.40.0"
883
+ "knip": "6.41.0"
884
884
  },
885
885
  publishConfig: {
886
886
  "access": "public",
@@ -1,4 +1,4 @@
1
- import { a as loadToolingSection, o as resolveConfigInput, r as isDefineConfigWrapper } from "./tsconfig-B838WBPA.mjs";
1
+ import { a as loadToolingSection, o as resolveConfigInput, r as isDefineConfigWrapper } from "./tsconfig-BQOKveM4.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import process from "node:process";
4
4
  import fs from "node:fs";
@@ -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-B838WBPA.mjs";
2
+ import { f as loadMonorepoConfigDetails, j as ConfigValidationError, k as version, u as getRepoctlConfigCandidates } from "./tsconfig-BQOKveM4.mjs";
3
3
  import { createRequire } from "node:module";
4
4
  import gitUrlParse from "git-url-parse";
5
5
  import { simpleGit } from "simple-git";
@@ -1987,16 +1987,16 @@ var knip_exports = /* @__PURE__ */ __exportAll({
1987
1987
  saveKnipBaseline: () => saveKnipBaseline
1988
1988
  });
1989
1989
  async function planKnipCheck(cwd, options = {}) {
1990
- return (await import("./plan-BQo4HYr-.mjs")).planKnipCheck(cwd, options);
1990
+ return (await import("./plan-DL1kgsuX.mjs")).planKnipCheck(cwd, options);
1991
1991
  }
1992
1992
  async function runKnipCheck(cwd, options = {}) {
1993
- return (await import("./run-D5Wze-yM.mjs")).runKnipCheck(cwd, options);
1993
+ return (await import("./run-DMRmGk0Q.mjs")).runKnipCheck(cwd, options);
1994
1994
  }
1995
1995
  async function getKnipConfigurationSuggestions(cwd) {
1996
- return (await import("./config-B3Uv2jGU.mjs")).getKnipConfigurationSuggestions(cwd);
1996
+ return (await import("./config-BKDsR8_r.mjs")).getKnipConfigurationSuggestions(cwd);
1997
1997
  }
1998
1998
  async function saveKnipBaseline(cwd, report, file) {
1999
- return (await import("./save-0qQOVb6R.mjs")).saveKnipBaseline(cwd, report, file);
1999
+ return (await import("./save-DYRk6S30.mjs")).saveKnipBaseline(cwd, report, file);
2000
2000
  }
2001
2001
  //#endregion
2002
2002
  //#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.10.2",
4
+ "version": "5.10.3",
5
5
  "description": "Core engine and programmatic APIs for repoctl",
6
6
  "author": "ice breaker <hi@sonofmagic.top>",
7
7
  "license": "MIT",
@@ -79,8 +79,8 @@
79
79
  "@arethetypeswrong/core": "0.18.5",
80
80
  "@babel/parser": "^7.29.9",
81
81
  "@icebreakers/commitlint-config": "4.1.2",
82
- "@icebreakers/eslint-config": "8.0.8",
83
- "@icebreakers/monorepo-templates": "2.3.2",
82
+ "@icebreakers/eslint-config": "8.0.9",
83
+ "@icebreakers/monorepo-templates": "2.3.3",
84
84
  "@icebreakers/stylelint-config": "5.1.3",
85
85
  "@npmcli/config": "10.14.0",
86
86
  "@pnpm/find-workspace-dir": "^1000.1.5",
@@ -123,7 +123,7 @@
123
123
  "@types/validate-npm-package-name": "^4.0.2",
124
124
  "ci-info": "^4.4.0",
125
125
  "fdir": "^6.5.0",
126
- "knip": "6.40.0"
126
+ "knip": "6.41.0"
127
127
  },
128
128
  "publishConfig": {
129
129
  "access": "public",