@icebreakers/monorepo 5.0.2 → 5.0.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.
package/README.md CHANGED
@@ -128,6 +128,7 @@ export default defineMonorepoConfig({
128
128
  - `pre-commit` 只检查 staged 文件
129
129
  - 样式文件会执行 `stylelint --fix --allow-empty-input`
130
130
  - `js`、`jsx`、`mjs`、`ts`、`tsx`、`mts`、`cts`、`vue` 文件会执行 `eslint --fix`
131
+ - `**/package.json` 改动会按所在 workspace 继续执行 `typecheck`
131
132
  - `ts` / `tsx` / `mts` / `cts` / `vue` staged 文件会按最近的 workspace 执行 `typecheck`
132
133
  - Vue workspace 的 `typecheck` 通常是 `vue-tsc -b`
133
134
  - 纯 TypeScript workspace 的 `typecheck` 通常是 `tsc -p tsconfig.json`
package/dist/cli.d.mts CHANGED
@@ -1 +1 @@
1
- export { };
1
+ export {}
package/dist/cli.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { d as logger, g as fs, r as cliName, t as initToolingTargets, u as version } from "./types-BXMAv9aF.mjs";
1
+ import { d as logger, g as fs, r as cliName, t as initToolingTargets, u as version } from "./types-DYEKpMcN.mjs";
2
2
  import path from "pathe";
3
3
  import process from "node:process";
4
4
  import os from "node:os";
@@ -8,7 +8,7 @@ import { Command } from "commander";
8
8
  async function handleAiPromptCreate(cwd, opts) {
9
9
  const [{ input }, { createTimestampFolderName, defaultAgenticBaseDir, generateAgenticTemplate, generateAgenticTemplates, loadAgenticTasks }, { resolveCommandConfig }] = await Promise.all([
10
10
  import("@icebreakers/monorepo-templates"),
11
- import("./commands-CLoncxyA.mjs").then((n) => n.t),
11
+ import("./commands-KNarzvFs.mjs").then((n) => n.t),
12
12
  import("./config-p842Knhq.mjs").then((n) => n.n)
13
13
  ]);
14
14
  const aiConfig = await resolveCommandConfig("ai", cwd);
@@ -123,7 +123,7 @@ async function emitConfigInspection(inspection, opts, cwd) {
123
123
  }
124
124
  function registerConfigCommands(program, cwd) {
125
125
  program.command("config").alias("cfg").description("配置命令").command("inspect").description("输出当前 repoctl 配置文件和已解析配置").alias("i").option("--json", "输出 JSON,方便脚本消费").option("--markdown", "输出 Markdown,方便粘贴到 issue 或 PR").option("--out <file>", "把当前输出写入文件").option("--redact", "脱敏 cwd/configDir/home 绝对路径后再输出").action(async (opts) => {
126
- const { inspectMonorepoConfig } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
126
+ const { inspectMonorepoConfig } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
127
127
  await emitConfigInspection(await inspectMonorepoConfig(cwd), opts, cwd);
128
128
  });
129
129
  }
@@ -443,23 +443,23 @@ async function emitEnvSupportBundle(bundle, opts, cwd) {
443
443
  function registerEnvCommands(program, cwd) {
444
444
  const envCommand = program.command("env").alias("e").description("环境命令");
445
445
  envCommand.command("info").description("输出当前仓库环境信息").alias("i").option("--json", "输出 JSON,方便脚本消费").option("--markdown", "输出 Markdown,方便粘贴到 issue 或 PR").option("--out <file>", "把当前输出写入文件").option("--redact", "脱敏 workspace/cwd/home 绝对路径后再输出").action(async (opts) => {
446
- const { collectEnvInfo } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
446
+ const { collectEnvInfo } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
447
447
  await emitEnvInfo(await collectEnvInfo(cwd), opts, cwd);
448
448
  });
449
449
  envCommand.command("snapshot").description("输出排障快照,包含环境、doctor 和 check 计划").alias("s").option("--json", "输出 JSON,方便脚本消费").option("--markdown", "输出 Markdown,方便粘贴到 issue 或 PR").option("--out <file>", "把当前输出写入文件").option("--redact", "脱敏 workspace/cwd/home 绝对路径后再输出").option("--strict", "输出快照后,如果 doctor 有 fail 或 warn 则返回失败码").action(async (opts) => {
450
- const { collectEnvSnapshot } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
450
+ const { collectEnvSnapshot } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
451
451
  await emitEnvSnapshot(await collectEnvSnapshot(cwd), opts, cwd);
452
452
  });
453
453
  envCommand.command("paths").description("输出当前仓库关键路径和报告建议位置").alias("p").option("--json", "输出 JSON,方便脚本消费").option("--markdown", "输出 Markdown,方便粘贴到 issue 或 PR").option("--out <file>", "把当前输出写入文件").option("--redact", "脱敏 workspace/cwd/home 绝对路径后再输出").action(async (opts) => {
454
- const { collectEnvPaths } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
454
+ const { collectEnvPaths } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
455
455
  await emitEnvPaths(await collectEnvPaths(cwd), opts, cwd);
456
456
  });
457
457
  envCommand.command("support").description("输出完整排障包,包含环境、路径、配置、doctor 和 check 计划").alias("b").option("--json", "输出 JSON,方便脚本消费").option("--markdown", "输出 Markdown,方便粘贴到 issue 或 PR").option("--out <file>", "把当前输出写入文件").option("--redact", "脱敏 workspace/cwd/home 绝对路径后再输出").option("--strict", "输出排障包后,如果 doctor 有 fail 或 warn 则返回失败码").action(async (opts) => {
458
- const { collectEnvSupportBundle } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
458
+ const { collectEnvSupportBundle } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
459
459
  await emitEnvSupportBundle(await collectEnvSupportBundle(cwd), opts, cwd);
460
460
  });
461
461
  envCommand.command("mirror").description("设置 VS Code binary mirror").alias("m").action(async () => {
462
- const { setVscodeBinaryMirror } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
462
+ const { setVscodeBinaryMirror } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
463
463
  await setVscodeBinaryMirror(cwd);
464
464
  logger.success("env mirror finished!");
465
465
  });
@@ -468,7 +468,7 @@ function registerEnvCommands(program, cwd) {
468
468
  //#region src/cli/commands/package.ts
469
469
  function registerPackageCommands(program, cwd) {
470
470
  program.command("package").alias("pkg").description("子包命令").command("create").description("创建一个新的子包").alias("new").argument("[name]").option("-t, --template <template>", "直接使用指定模板,跳过模板选择").option("--dry-run", "预览将要创建的目录与 package 信息,不写入文件").option("--json", "以 JSON 输出创建预览,隐含 --dry-run").option("--out <file>", "把创建预览写入文件,隐含 --dry-run").action(async (inputName, opts) => {
471
- const { runCreateFlow } = await import("./create-flow-co0NSyuc.mjs");
471
+ const { runCreateFlow } = await import("./create-flow-D2KdMg-m.mjs");
472
472
  const result = await runCreateFlow(cwd, inputName, {
473
473
  ...opts.template !== void 0 ? { template: opts.template } : {},
474
474
  ...opts.dryRun || opts.json || opts.out ? { dryRun: true } : {},
@@ -493,7 +493,7 @@ function registerReleaseCommands(program, cwd) {
493
493
  const releaseCommand = program.command("release").description("发布与 Changesets prerelease 工具集");
494
494
  releaseCommand.command("stable").description("在 main 分支执行正式发布").action(async () => {
495
495
  await runReleaseAction(async () => {
496
- const { releaseStable } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
496
+ const { releaseStable } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
497
497
  await releaseStable({ cwd });
498
498
  logger.success("stable release finished!");
499
499
  });
@@ -501,21 +501,21 @@ function registerReleaseCommands(program, cwd) {
501
501
  const preCommand = releaseCommand.command("pre").description("执行或管理 prerelease 发布");
502
502
  preCommand.command("publish").alias("run").description("在 alpha/beta/rc/next 分支发布 prerelease").action(async () => {
503
503
  await runReleaseAction(async () => {
504
- const { releasePrerelease } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
504
+ const { releasePrerelease } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
505
505
  await releasePrerelease({ cwd });
506
506
  logger.success("prerelease finished!");
507
507
  });
508
508
  });
509
509
  preCommand.command("enter").description("进入 Changesets prerelease 模式").argument("<tag>", "alpha / beta / rc / next").action(async (tag) => {
510
510
  await runReleaseAction(async () => {
511
- const { enterPrerelease } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
511
+ const { enterPrerelease } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
512
512
  enterPrerelease(tag, { cwd });
513
513
  logger.success(`entered ${tag} prerelease mode!`);
514
514
  });
515
515
  });
516
516
  preCommand.command("exit").description("退出 Changesets prerelease 模式").action(async () => {
517
517
  await runReleaseAction(async () => {
518
- const { exitPrerelease } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
518
+ const { exitPrerelease } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
519
519
  exitPrerelease({ cwd });
520
520
  logger.success("exited prerelease mode!");
521
521
  });
@@ -526,7 +526,7 @@ function registerReleaseCommands(program, cwd) {
526
526
  const skillTargets = ["codex", "claude"];
527
527
  function registerSkillsCommands(program, cwd) {
528
528
  program.command("skills").alias("sk").description("技能工具集").command("sync").description("同步 resources/skills/icebreakers-monorepo-cli 到全局目录").alias("s").option("--codex", "同步到 ~/.codex/skills").option("--claude", "同步到 ~/.claude/skills").option("--all", "同步全部目标").action(async (opts) => {
529
- const { syncSkills } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
529
+ const { syncSkills } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
530
530
  const selected = /* @__PURE__ */ new Set();
531
531
  if (opts.all) for (const target of skillTargets) selected.add(target);
532
532
  else {
@@ -646,7 +646,7 @@ function registerTemplatesCommands(program) {
646
646
  program.command("templates").alias("tpl").description("列出可用的内置模板").argument("[key]", "查看指定模板详情").option("-c, --category <category>", "按模板分类过滤:library / app / service / docs / tool").option("--check", "检查内置模板元数据、目录和临时文件").option("--json", "输出 JSON,方便脚本消费").option("--markdown", "输出 Markdown,方便同步文档").option("--out <file>", "把当前输出写入文件").action(async (key, opts) => {
647
647
  const { getTemplateChoice, getTemplateChoices, isTemplateCategory, suggestTemplateKey, templateCategories } = await import("@icebreakers/monorepo-templates");
648
648
  if (opts.check) {
649
- const { checkTemplates } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
649
+ const { checkTemplates } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
650
650
  const report = await checkTemplates();
651
651
  if (opts.json) await emitTemplateOutput(JSON.stringify(report, null, 2), opts);
652
652
  else await emitTemplateOutput(formatTemplateHealthReport(report, !opts.out), opts);
@@ -725,7 +725,7 @@ function normalizeToolingTargets(tooling) {
725
725
  function registerToolingCommands(program, cwd) {
726
726
  program.command("tooling").alias("tg").description("工程化配置命令").command("init").description(`生成 tooling 配置(可选值:${initToolingTargets.join(", ")})`).alias("i").argument("[tooling...]").option("-a, --all", "生成全部 tooling 配置").option("-f, --force", "覆盖已存在的 tooling 配置文件").action(async (tooling = [], opts) => {
727
727
  const normalizedTooling = normalizeToolingTargets(tooling);
728
- const { initTooling } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
728
+ const { initTooling } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
729
729
  await initTooling(cwd, {
730
730
  ...normalizedTooling ? { targets: normalizedTooling } : {},
731
731
  ...opts.all !== void 0 ? { all: opts.all } : {},
@@ -896,7 +896,7 @@ async function emitCheckPlan(plan, opts, cwd) {
896
896
  }
897
897
  function registerTopLevelCommands(program, cwd) {
898
898
  program.command("init").description("初始化当前 workspace,并生成推荐配置").option("--preset <preset>", "初始化预设:minimal / standard", "standard").option("-f, --force", "覆盖已存在的 tooling 配置文件").option("--overwrite", "覆盖 setup 管理的已存在文件").option("-y, --yes", "使用默认值跳过所有交互,适合 CI").action(async (opts) => {
899
- const { init } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
899
+ const { init } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
900
900
  await init(cwd, {
901
901
  ...opts.preset !== void 0 ? { preset: opts.preset } : {},
902
902
  ...opts.force !== void 0 ? { force: opts.force } : {},
@@ -907,7 +907,7 @@ function registerTopLevelCommands(program, cwd) {
907
907
  logger.info("next: run `pnpm install` and `pnpm build`");
908
908
  });
909
909
  program.command("new").description("创建新的 package / app").argument("[name]").option("-t, --template <template>", "直接使用指定模板,跳过模板选择").option("--dry-run", "预览将要创建的目录与 package 信息,不写入文件").option("--json", "以 JSON 输出创建预览,隐含 --dry-run").option("--out <file>", "把创建预览写入文件,隐含 --dry-run").action(async (inputName, opts) => {
910
- const { runCreateFlow } = await import("./create-flow-co0NSyuc.mjs");
910
+ const { runCreateFlow } = await import("./create-flow-D2KdMg-m.mjs");
911
911
  const result = await runCreateFlow(cwd, inputName, {
912
912
  ...opts.template !== void 0 ? { template: opts.template } : {},
913
913
  ...opts.dryRun || opts.json || opts.out ? { dryRun: true } : {},
@@ -925,10 +925,10 @@ function registerTopLevelCommands(program, cwd) {
925
925
  ...opts.staged !== void 0 ? { staged: opts.staged } : {},
926
926
  ...opts.editFile !== void 0 ? { editFile: opts.editFile } : {}
927
927
  };
928
- const { resolveRecommendedCheckPlan, runRecommendedCheck } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
928
+ const { resolveRecommendedCheckPlan, runRecommendedCheck } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
929
929
  if (opts.dryRun || opts.json || opts.markdown || opts.out) {
930
930
  if (opts.full) {
931
- const { resolveFullWorkspaceCheckPlan } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
931
+ const { resolveFullWorkspaceCheckPlan } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
932
932
  await emitCheckPlan(await resolveFullWorkspaceCheckPlan(cwd), opts, cwd);
933
933
  return;
934
934
  }
@@ -939,7 +939,7 @@ function registerTopLevelCommands(program, cwd) {
939
939
  logger.success("check finished!");
940
940
  });
941
941
  program.command("doctor").description("诊断当前仓库是否适合直接开始使用").option("--json", "输出 JSON 报告,方便 CI 或脚本消费").option("--markdown", "输出 Markdown 报告,方便粘贴到 issue 或 PR").option("--out <file>", "把诊断报告写入文件").option("--redact", "脱敏 workspace/cwd/home 绝对路径后再输出").option("--strict", "把 warning 也视为失败,适合 CI 门禁").action(async (opts) => {
942
- const { runDoctor } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
942
+ const { runDoctor } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
943
943
  const report = await runDoctor(cwd);
944
944
  await emitDoctorReport(report, opts, cwd);
945
945
  if (opts.out || opts.json || opts.markdown) {
@@ -962,7 +962,7 @@ function registerTopLevelCommands(program, cwd) {
962
962
  logger.success("doctor finished!");
963
963
  });
964
964
  program.command("upgrade").description("同步仓库标准资产与脚本").option("-i,--interactive").option("-c,--core", "仅同步核心配置,跳过 GitHub 相关资产").option("--outDir <dir>", "Output directory").option("-s,--skip-overwrite", "skip overwrite").option("-y, --yes", "跳过交互并覆盖 drifted 标准资产").option("--overwrite", "覆盖 drifted 标准资产").option("--no-overwrite", "不覆盖 drifted 标准资产").action(async (opts) => {
965
- const { upgradeMonorepo } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
965
+ const { upgradeMonorepo } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
966
966
  await upgradeMonorepo(normalizeCliOpts(cwd, opts));
967
967
  logger.success("upgrade finished!");
968
968
  });
@@ -972,22 +972,22 @@ function registerTopLevelCommands(program, cwd) {
972
972
  function registerVerifyCommands(program, cwd) {
973
973
  const verifyCommand = program.command("verify").alias("v").description("本地校验工具集");
974
974
  verifyCommand.command("pre-push").description("按推送变更范围执行 build/test/tsd 校验").alias("push").action(async () => {
975
- const { verifyPrePush } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
975
+ const { verifyPrePush } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
976
976
  await verifyPrePush({ cwd });
977
977
  });
978
978
  verifyCommand.command("pre-commit").description("执行 lint-staged 校验").alias("commit").action(async () => {
979
- const { verifyPreCommit } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
979
+ const { verifyPreCommit } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
980
980
  await verifyPreCommit({ cwd });
981
981
  });
982
982
  verifyCommand.command("commit-msg").description("执行 commitlint 校验").alias("msg").argument("<edit-file>").action(async (editFile) => {
983
- const { verifyCommitMsg } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
983
+ const { verifyCommitMsg } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
984
984
  await verifyCommitMsg({
985
985
  cwd,
986
986
  editFile
987
987
  });
988
988
  });
989
989
  verifyCommand.command("staged-typecheck").description("按暂存文件所在 workspace 执行 typecheck").alias("tc").argument("[files...]").action(async (files = []) => {
990
- const { verifyStagedTypecheck } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
990
+ const { verifyStagedTypecheck } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
991
991
  verifyStagedTypecheck(files, { cwd });
992
992
  });
993
993
  }
@@ -1066,12 +1066,12 @@ async function emitWorkspaceList(result, opts) {
1066
1066
  function registerWorkspaceCommands(program, cwd) {
1067
1067
  const workspaceCommand = program.command("workspace").alias("ws").description("工作区命令");
1068
1068
  workspaceCommand.command("upgrade").description("升级/同步 monorepo 相关包").alias("up").option("-i,--interactive").option("-c,--core", "仅同步核心配置,跳过 GitHub 相关资产").option("--outDir <dir>", "Output directory").option("-s,--skip-overwrite", "skip overwrite").option("-y, --yes", "跳过交互并覆盖 drifted 标准资产").option("--overwrite", "覆盖 drifted 标准资产").option("--no-overwrite", "不覆盖 drifted 标准资产").action(async (opts) => {
1069
- const { upgradeMonorepo } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
1069
+ const { upgradeMonorepo } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
1070
1070
  await upgradeMonorepo(normalizeCliOpts(cwd, opts));
1071
1071
  logger.success("workspace upgrade finished!");
1072
1072
  });
1073
1073
  workspaceCommand.command("init").description("初始化工作区元信息(README、package.json、changeset、issue template)").alias("i").action(async () => {
1074
- const { initMetadata } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
1074
+ const { initMetadata } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
1075
1075
  await initMetadata(cwd);
1076
1076
  logger.success("workspace init finished!");
1077
1077
  });
@@ -1084,7 +1084,7 @@ function registerWorkspaceCommands(program, cwd) {
1084
1084
  }), opts);
1085
1085
  });
1086
1086
  workspaceCommand.command("clean").description("清除选中的包").alias("rm").option("-y, --yes", "跳过交互直接清理(等价 autoConfirm)").option("--include-private", "包含 private 包").option("--pinned-version <version>", "覆盖写入的 repoctl 版本").action(async (opts) => {
1087
- const { cleanProjects } = await import("./commands-CLoncxyA.mjs").then((n) => n.t);
1087
+ const { cleanProjects } = await import("./commands-KNarzvFs.mjs").then((n) => n.t);
1088
1088
  await cleanProjects(cwd, normalizeCleanOptions(opts));
1089
1089
  logger.success("workspace clean finished!");
1090
1090
  });
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
2
2
  import { i as getWorkspacePackages, n as getWorkspaceData, r as getWorkspacePackageSummaries } from "./workspace-MCKewElu.mjs";
3
- import { _ as isIgnorableFsError, c as devDependencies$1, d as logger, g as fs$1, i as packageDir, n as assetsDir, o as templatesDir, s as dependencies, t as initToolingTargets, u as version$1 } from "./types-BXMAv9aF.mjs";
3
+ import { _ as isIgnorableFsError, c as devDependencies$1, d as logger, g as fs$1, i as packageDir, n as assetsDir, o as templatesDir, s as dependencies, t as initToolingTargets, u as version$1 } from "./types-DYEKpMcN.mjs";
4
4
  import { a as loadMonorepoConfig, c as resolveToolingConfig, i as getRepoctlConfigCandidates, o as loadMonorepoConfigDetails, s as resolveCommandConfig } from "./config-p842Knhq.mjs";
5
- import { f as defineTsconfigConfig } from "./tooling-auYlGr3v.mjs";
5
+ import { f as defineTsconfigConfig } from "./tooling-Bn3XOfO0.mjs";
6
6
  import gitUrlParse from "git-url-parse";
7
7
  import { simpleGit } from "simple-git";
8
8
  import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
@@ -168,6 +168,7 @@ const typecheckExtensions = /* @__PURE__ */ new Set([
168
168
  ".cts",
169
169
  ".vue"
170
170
  ]);
171
+ const typecheckBasenames = /* @__PURE__ */ new Set(["package.json"]);
171
172
  const whitespacePattern = /\s+/;
172
173
  const gitDirName = ".git";
173
174
  const defaultWorkspaceOrder = [
@@ -382,7 +383,10 @@ async function verifyPrePush(options = {}) {
382
383
  function verifyStagedTypecheck(stagedFiles, options = {}) {
383
384
  const cwd = options.cwd ?? process.cwd();
384
385
  const spawn = options.spawn ?? spawnSync;
385
- const workspaceDirs = [...new Set(stagedFiles.filter((file) => typecheckExtensions.has(path$1.extname(file))).map((file) => resolveTypecheckWorkspaceDir(file, cwd)))];
386
+ const workspaceDirs = [...new Set(stagedFiles.filter((file) => {
387
+ const basename = path$1.basename(file);
388
+ return typecheckExtensions.has(path$1.extname(file)) || typecheckBasenames.has(basename);
389
+ }).map((file) => resolveTypecheckWorkspaceDir(file, cwd)))];
386
390
  if (workspaceDirs.length === 0) return;
387
391
  for (const workspaceDir of workspaceDirs) runPnpmCommand(cwd, `[lint-staged:typecheck] ${path$1.relative(cwd, workspaceDir) || "."}`, [
388
392
  "--dir",
@@ -1718,20 +1722,20 @@ async function setReadme_default(ctx, options = {}) {
1718
1722
  //#endregion
1719
1723
  //#region ../../package.json
1720
1724
  var devDependencies = {
1721
- "@changesets/cli": "^2.31.1",
1725
+ "@changesets/cli": "^3.0.0",
1722
1726
  "@commitlint/cli": "^21.2.1",
1723
1727
  "@icebreakers/changelog-github": "^2.0.0",
1724
1728
  "@icebreakers/monorepo": "workspace:*",
1725
- "@types/node": "^26.1.1",
1726
- "@types/semver": "^7.7.1",
1729
+ "@types/node": "^26.2.0",
1730
+ "@types/semver": "^7.8.0",
1727
1731
  "@vitest/coverage-v8": "~4.1.10",
1728
1732
  "ci-info": "^4.4.0",
1729
1733
  "cross-env": "^10.1.0",
1730
1734
  "defu": "^6.1.7",
1731
- "es-toolkit": "^1.49.0",
1732
- "eslint": "^10.7.0",
1735
+ "es-toolkit": "^1.50.0",
1736
+ "eslint": "^10.8.1",
1733
1737
  "husky": "^9.1.7",
1734
- "lint-staged": "^17.1.0",
1738
+ "lint-staged": "^17.3.0",
1735
1739
  "only-allow": "^1.2.2",
1736
1740
  "pathe": "^2.0.3",
1737
1741
  "pkg-types": "^2.3.1",
@@ -1739,10 +1743,10 @@ var devDependencies = {
1739
1743
  "stylelint": "^17.14.1",
1740
1744
  "tailwindcss": "^4.3.3",
1741
1745
  "tsd": "^0.33.0",
1742
- "tsdown": "0.22.12",
1746
+ "tsdown": "0.22.14",
1743
1747
  "tslib": "^2.8.1",
1744
- "tsx": "^4.23.1",
1745
- "turbo": "^2.10.5",
1748
+ "tsx": "^4.23.12",
1749
+ "turbo": "^2.10.9",
1746
1750
  "type-fest": "^5.8.0",
1747
1751
  "typescript": "^6.0.3",
1748
1752
  "vitest": "~4.1.10",
@@ -1756,7 +1760,7 @@ const packageDependencies = {
1756
1760
  type: "module",
1757
1761
  version: "0.0.0",
1758
1762
  "private": true,
1759
- packageManager: "pnpm@11.15.1",
1763
+ packageManager: "pnpm@11.21.0",
1760
1764
  author: "ice breaker <hi@sonofmagic.top>",
1761
1765
  repository: {
1762
1766
  "type": "git",
@@ -1774,6 +1778,8 @@ const packageDependencies = {
1774
1778
  "tsd": "turbo run tsd",
1775
1779
  "audit": "pnpm audit --audit-level=moderate",
1776
1780
  "audit:fix": "pnpm audit --fix",
1781
+ "cf-typegen": "pnpm --filter @icebreakers/client --filter @icebreakers/server run cf-typegen",
1782
+ "cf-typegen:check": "pnpm --filter @icebreakers/client --filter @icebreakers/server run cf-typegen:check",
1777
1783
  "typecheck": "turbo run typecheck",
1778
1784
  "format": "eslint . --fix",
1779
1785
  "validate": "pnpm run build && pnpm run lint && pnpm run typecheck && pnpm run tsd && pnpm run test",
@@ -2171,6 +2177,13 @@ async function readPreState(cwd) {
2171
2177
  return null;
2172
2178
  }
2173
2179
  }
2180
+ async function hasPendingChangesets(cwd) {
2181
+ try {
2182
+ return (await readdir(path.join(cwd, ".changeset"), { withFileTypes: true })).some((entry) => entry.isFile() && entry.name.endsWith(".md"));
2183
+ } catch {
2184
+ return false;
2185
+ }
2186
+ }
2174
2187
  function resolveBranch(options) {
2175
2188
  return options.branch?.trim() || process.env["GITHUB_REF_NAME"]?.trim() || capture("git", [
2176
2189
  "rev-parse",
@@ -2185,11 +2198,6 @@ async function releaseStable(options) {
2185
2198
  run("pnpm", ["run", "build"], options);
2186
2199
  run("pnpm", ["run", "lint"], options);
2187
2200
  run("pnpm", ["run", "test"], options);
2188
- run("pnpm", [
2189
- "exec",
2190
- "changeset",
2191
- "version"
2192
- ], options);
2193
2201
  run("pnpm", [
2194
2202
  "exec",
2195
2203
  "changeset",
@@ -2204,6 +2212,7 @@ async function releasePrerelease(options) {
2204
2212
  run("pnpm", ["run", "build"], options);
2205
2213
  run("pnpm", ["run", "lint"], options);
2206
2214
  run("pnpm", ["run", "test"], options);
2215
+ if (!await hasPendingChangesets(options.cwd)) return;
2207
2216
  run("pnpm", [
2208
2217
  "exec",
2209
2218
  "changeset",
@@ -1,5 +1,5 @@
1
- import { C as resolveCreateNewProjectPlan, b as defaultTemplate, x as getCreateChoices, y as createNewProject } from "./commands-CLoncxyA.mjs";
2
- import { d as logger, g as fs } from "./types-BXMAv9aF.mjs";
1
+ import { C as resolveCreateNewProjectPlan, b as defaultTemplate, x as getCreateChoices, y as createNewProject } from "./commands-KNarzvFs.mjs";
2
+ import { d as logger, g as fs } from "./types-DYEKpMcN.mjs";
3
3
  import { s as resolveCommandConfig } from "./config-p842Knhq.mjs";
4
4
  import path from "pathe";
5
5
  import process from "node:process";
@@ -855,6 +855,7 @@ declare function defineTsconfigConfig(input?: DefineConfigOptions<TsconfigToolin
855
855
  * - `*.{js,jsx,mjs,ts,tsx,mts,cts}` 运行 `eslint --fix`
856
856
  * - `*.vue` 同时运行 `eslint --fix` 与 `stylelint --fix --allow-empty-input`
857
857
  * - `*.{ts,tsx,mts,cts,vue}` 调用 `pnpm exec repo verify staged-typecheck`
858
+ * - `package.json` files in any workspace also trigger `pnpm exec repo verify staged-typecheck`
858
859
  * - 样式文件运行 `stylelint --fix --allow-empty-input`
859
860
  *
860
861
  * @param options 可配置 `repoCommand`,默认值为 `pnpm exec repo`
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as initTooling, A as loadMonorepoToolingConfig, B as HuskyToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, F as CleanCommandConfig, G as StylelintToolingConfig, H as LintStagedToolingConfig, I as CommitlintToolingConfig, J as UpgradeCommandConfig, K as ToolingConfig, L as CreateChoiceOption, M as SimpleGit, N as SimpleGitOptions, O as defineVitestConfig, P as AiCommandConfig, Q as initMetadata, R as CreateCommandConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, U as MirrorCommandConfig, V as InitCommandConfig, W as MonorepoConfig, X as VitestToolingConfig, Y as VitestProjectToolingConfig, Z as init, _ as createMonorepoEslintConfig, _t as CliOpts, a as MonorepoCommitlintConfig, at as getCreateChoices, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, ct as templateMap, d as MonorepoVitestConfigOptions, dt as GenerateAgenticTemplateOptions, et as normalizeInitToolingTargets, f as MonorepoVitestConfigOverrides, ft as createTimestampFolderName, g as createMonorepoCommitlintConfig, gt as loadAgenticTasks, h as MonorepoVitestProjectConfigResult, ht as generateAgenticTemplates, i as DefineVitestProjectConfigOptions, it as CreateNewProjectPlan, j as ConfigValues, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, lt as AgenticTemplateFormat, m as MonorepoVitestProjectConfigOptions, mt as generateAgenticTemplate, n as DefineEslintConfigOptions, nt as createNewProject, o as MonorepoEslintConfig, ot as getTemplateMap, p as MonorepoVitestConfigResult, pt as defaultAgenticBaseDir, q as TsconfigToolingConfig, r as DefineVitestConfigOptions, rt as CreateNewProjectOptions, s as MonorepoLintStagedConfig, st as resolveCreateNewProjectPlan, t as DefineConfigOptions, tt as initToolingTargets, u as MonorepoTsconfig, ut as AgenticTemplateTask, v as createMonorepoLintStagedConfig, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig, z as EslintToolingConfig } from "./index-DKfWpvBF.mjs";
1
+ import { $ as initTooling, A as loadMonorepoToolingConfig, B as HuskyToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, F as CleanCommandConfig, G as StylelintToolingConfig, H as LintStagedToolingConfig, I as CommitlintToolingConfig, J as UpgradeCommandConfig, K as ToolingConfig, L as CreateChoiceOption, M as SimpleGit, N as SimpleGitOptions, O as defineVitestConfig, P as AiCommandConfig, Q as initMetadata, R as CreateCommandConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, U as MirrorCommandConfig, V as InitCommandConfig, W as MonorepoConfig, X as VitestToolingConfig, Y as VitestProjectToolingConfig, Z as init, _ as createMonorepoEslintConfig, _t as CliOpts, a as MonorepoCommitlintConfig, at as getCreateChoices, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, ct as templateMap, d as MonorepoVitestConfigOptions, dt as GenerateAgenticTemplateOptions, et as normalizeInitToolingTargets, f as MonorepoVitestConfigOverrides, ft as createTimestampFolderName, g as createMonorepoCommitlintConfig, gt as loadAgenticTasks, h as MonorepoVitestProjectConfigResult, ht as generateAgenticTemplates, i as DefineVitestProjectConfigOptions, it as CreateNewProjectPlan, j as ConfigValues, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, lt as AgenticTemplateFormat, m as MonorepoVitestProjectConfigOptions, mt as generateAgenticTemplate, n as DefineEslintConfigOptions, nt as createNewProject, o as MonorepoEslintConfig, ot as getTemplateMap, p as MonorepoVitestConfigResult, pt as defaultAgenticBaseDir, q as TsconfigToolingConfig, r as DefineVitestConfigOptions, rt as CreateNewProjectOptions, s as MonorepoLintStagedConfig, st as resolveCreateNewProjectPlan, t as DefineConfigOptions, tt as initToolingTargets, u as MonorepoTsconfig, ut as AgenticTemplateTask, v as createMonorepoLintStagedConfig, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig, z as EslintToolingConfig } from "./index-Ltm2Ry5E.mjs";
2
2
  import gitUrlParse from "git-url-parse";
3
3
  import { mkdtemp, readFile, readdir, stat, writeFile } from "node:fs/promises";
4
4
  import { execFileSync, spawnSync } from "node:child_process";
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { A as escapeStringRegexp, B as resolveFullWorkspaceCheckPlan, C as resolveCreateNewProjectPlan, D as getSkillTargetPaths, E as cleanProjects, F as isGitignoreFile, G as verifyPrePush, H as runRecommendedCheck, I as toPublishGitignorePath, J as defaultAgenticBaseDir, K as verifyStagedTypecheck, L as toWorkspaceGitignorePath, M as setByPath, N as getFileHash, O as skillTargets, P as isFileChanged, Q as GitClient, R as updateIssueTemplateConfig, S as getTemplateMap, T as inspectMonorepoConfig, U as verifyCommitMsg, V as resolveRecommendedCheckPlan, W as verifyPreCommit, X as generateAgenticTemplates, Y as generateAgenticTemplate, Z as loadAgenticTasks, _ as collectEnvSupportBundle, a as exitPrerelease, c as setVscodeBinaryMirror, d as initTooling, f as normalizeInitToolingTargets, g as collectEnvSnapshot, h as collectEnvPaths, i as enterPrerelease, j as isMatch, k as syncSkills, l as init, m as collectEnvInfo, n as upgradeMonorepo, o as releasePrerelease, p as createContext, q as createTimestampFolderName, r as checkTemplates, s as releaseStable, u as initMetadata, v as runDoctor, w as templateMap, x as getCreateChoices, y as createNewProject, z as getKnownRepoCheckCommands } from "./commands-CLoncxyA.mjs";
1
+ import { A as escapeStringRegexp, B as resolveFullWorkspaceCheckPlan, C as resolveCreateNewProjectPlan, D as getSkillTargetPaths, E as cleanProjects, F as isGitignoreFile, G as verifyPrePush, H as runRecommendedCheck, I as toPublishGitignorePath, J as defaultAgenticBaseDir, K as verifyStagedTypecheck, L as toWorkspaceGitignorePath, M as setByPath, N as getFileHash, O as skillTargets, P as isFileChanged, Q as GitClient, R as updateIssueTemplateConfig, S as getTemplateMap, T as inspectMonorepoConfig, U as verifyCommitMsg, V as resolveRecommendedCheckPlan, W as verifyPreCommit, X as generateAgenticTemplates, Y as generateAgenticTemplate, Z as loadAgenticTasks, _ as collectEnvSupportBundle, a as exitPrerelease, c as setVscodeBinaryMirror, d as initTooling, f as normalizeInitToolingTargets, g as collectEnvSnapshot, h as collectEnvPaths, i as enterPrerelease, j as isMatch, k as syncSkills, l as init, m as collectEnvInfo, n as upgradeMonorepo, o as releasePrerelease, p as createContext, q as createTimestampFolderName, r as checkTemplates, s as releaseStable, u as initMetadata, v as runDoctor, w as templateMap, x as getCreateChoices, y as createNewProject, z as getKnownRepoCheckCommands } from "./commands-KNarzvFs.mjs";
2
2
  import { i as getWorkspacePackages, n as getWorkspaceData, r as getWorkspacePackageSummaries, t as clearWorkspaceCache } from "./workspace-MCKewElu.mjs";
3
- import { C as readJson, E as writeJson, S as readJSON, T as writeJSON, _ as isIgnorableFsError, a as rootDir, b as outputJson, d as logger, f as copy, h as exists, i as packageDir, l as name, m as ensureFile, n as assetsDir, o as templatesDir, p as ensureDir, r as cliName, t as initToolingTargets, u as version, v as outputFile, w as remove, x as pathExists, y as outputJSON } from "./types-BXMAv9aF.mjs";
3
+ import { C as readJson, E as writeJson, S as readJSON, T as writeJSON, _ as isIgnorableFsError, a as rootDir, b as outputJson, d as logger, f as copy, h as exists, i as packageDir, l as name, m as ensureFile, n as assetsDir, o as templatesDir, p as ensureDir, r as cliName, t as initToolingTargets, u as version, v as outputFile, w as remove, x as pathExists, y as outputJSON } from "./types-DYEKpMcN.mjs";
4
4
  import { a as loadMonorepoConfig, c as resolveToolingConfig, i as getRepoctlConfigCandidates, o as loadMonorepoConfigDetails, r as defineMonorepoConfig, s as resolveCommandConfig, t as configExtensions } from "./config-p842Knhq.mjs";
5
- import { a as createMonorepoTsconfig, c as defineCommitlintConfig, d as defineStylelintConfig, f as defineTsconfigConfig, h as loadMonorepoToolingConfig, i as createMonorepoStylelintConfig, l as defineEslintConfig, m as defineVitestProjectConfig, n as createMonorepoEslintConfig, o as createMonorepoVitestConfig, p as defineVitestConfig, r as createMonorepoLintStagedConfig, s as createMonorepoVitestProjectConfig, t as createMonorepoCommitlintConfig, u as defineLintStagedConfig } from "./tooling-auYlGr3v.mjs";
5
+ import { a as createMonorepoTsconfig, c as defineCommitlintConfig, d as defineStylelintConfig, f as defineTsconfigConfig, h as loadMonorepoToolingConfig, i as createMonorepoStylelintConfig, l as defineEslintConfig, m as defineVitestProjectConfig, n as createMonorepoEslintConfig, o as createMonorepoVitestConfig, p as defineVitestConfig, r as createMonorepoLintStagedConfig, s as createMonorepoVitestProjectConfig, t as createMonorepoCommitlintConfig, u as defineLintStagedConfig } from "./tooling-Bn3XOfO0.mjs";
6
6
  export { GitClient, assetsDir, checkTemplates, cleanProjects, clearWorkspaceCache, cliName, collectEnvInfo, collectEnvPaths, collectEnvSnapshot, collectEnvSupportBundle, configExtensions, copy, createContext, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, createNewProject, createTimestampFolderName, defaultAgenticBaseDir, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineMonorepoConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, ensureDir, ensureFile, enterPrerelease, escapeStringRegexp, exists, exitPrerelease, generateAgenticTemplate, generateAgenticTemplates, getCreateChoices, getFileHash, getKnownRepoCheckCommands, getRepoctlConfigCandidates, getSkillTargetPaths, getTemplateMap, getWorkspaceData, getWorkspacePackageSummaries, getWorkspacePackages, init, initMetadata, initTooling, initToolingTargets, inspectMonorepoConfig, isFileChanged, isGitignoreFile, isIgnorableFsError, isMatch, loadAgenticTasks, loadMonorepoConfig, loadMonorepoConfigDetails, loadMonorepoToolingConfig, logger, normalizeInitToolingTargets, outputFile, outputJSON, outputJson, packageDir, name as packageName, pathExists, readJSON, readJson, releasePrerelease, releaseStable, remove, resolveCommandConfig, resolveCreateNewProjectPlan, resolveFullWorkspaceCheckPlan, resolveRecommendedCheckPlan, resolveToolingConfig, rootDir, runDoctor, runRecommendedCheck, setByPath, setVscodeBinaryMirror, skillTargets, syncSkills, templateMap, templatesDir, toPublishGitignorePath, toWorkspaceGitignorePath, updateIssueTemplateConfig, upgradeMonorepo, verifyCommitMsg, verifyPreCommit, verifyPrePush, verifyStagedTypecheck, version, writeJSON, writeJson };
@@ -264,6 +264,7 @@ async function defineTsconfigConfig(input = {}) {
264
264
  * - `*.{js,jsx,mjs,ts,tsx,mts,cts}` 运行 `eslint --fix`
265
265
  * - `*.vue` 同时运行 `eslint --fix` 与 `stylelint --fix --allow-empty-input`
266
266
  * - `*.{ts,tsx,mts,cts,vue}` 调用 `pnpm exec repo verify staged-typecheck`
267
+ * - `package.json` files in any workspace also trigger `pnpm exec repo verify staged-typecheck`
267
268
  * - 样式文件运行 `stylelint --fix --allow-empty-input`
268
269
  *
269
270
  * @param options 可配置 `repoCommand`,默认值为 `pnpm exec repo`
@@ -289,6 +290,11 @@ function createMonorepoLintStagedConfig(options = {}) {
289
290
  if (uniqueFiles.length === 0) return [];
290
291
  return `${repoCommand} verify staged-typecheck ${uniqueFiles.map(escapeForShell).join(" ")}`;
291
292
  },
293
+ "**/package.json": (files) => {
294
+ const uniqueFiles = [...new Set(files)];
295
+ if (uniqueFiles.length === 0) return [];
296
+ return `${repoCommand} verify staged-typecheck ${uniqueFiles.map(escapeForShell).join(" ")}`;
297
+ },
292
298
  "*.{json,md,mdx,html,yml,yaml}": ["eslint --fix"],
293
299
  "*.{css,scss,sass,less}": ["stylelint --fix --allow-empty-input"]
294
300
  };
@@ -1,2 +1,2 @@
1
- import { A as loadMonorepoToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, O as defineVitestConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, _ as createMonorepoEslintConfig, a as MonorepoCommitlintConfig, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, d as MonorepoVitestConfigOptions, f as MonorepoVitestConfigOverrides, g as createMonorepoCommitlintConfig, h as MonorepoVitestProjectConfigResult, i as DefineVitestProjectConfigOptions, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, m as MonorepoVitestProjectConfigOptions, n as DefineEslintConfigOptions, o as MonorepoEslintConfig, p as MonorepoVitestConfigResult, r as DefineVitestConfigOptions, s as MonorepoLintStagedConfig, t as DefineConfigOptions, u as MonorepoTsconfig, v as createMonorepoLintStagedConfig, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig } from "./index-DKfWpvBF.mjs";
1
+ import { A as loadMonorepoToolingConfig, C as defineCommitlintConfig, D as defineTsconfigConfig, E as defineStylelintConfig, O as defineVitestConfig, S as createMonorepoVitestProjectConfig, T as defineLintStagedConfig, _ as createMonorepoEslintConfig, a as MonorepoCommitlintConfig, b as createMonorepoTsconfig, c as MonorepoLintStagedConfigOptions, d as MonorepoVitestConfigOptions, f as MonorepoVitestConfigOverrides, g as createMonorepoCommitlintConfig, h as MonorepoVitestProjectConfigResult, i as DefineVitestProjectConfigOptions, k as defineVitestProjectConfig, l as MonorepoStylelintConfig, m as MonorepoVitestProjectConfigOptions, n as DefineEslintConfigOptions, o as MonorepoEslintConfig, p as MonorepoVitestConfigResult, r as DefineVitestConfigOptions, s as MonorepoLintStagedConfig, t as DefineConfigOptions, u as MonorepoTsconfig, v as createMonorepoLintStagedConfig, w as defineEslintConfig, x as createMonorepoVitestConfig, y as createMonorepoStylelintConfig } from "./index-Ltm2Ry5E.mjs";
2
2
  export { DefineConfigOptions, DefineEslintConfigOptions, DefineVitestConfigOptions, DefineVitestProjectConfigOptions, MonorepoCommitlintConfig, MonorepoEslintConfig, MonorepoLintStagedConfig, MonorepoLintStagedConfigOptions, MonorepoStylelintConfig, MonorepoTsconfig, MonorepoVitestConfigOptions, MonorepoVitestConfigOverrides, MonorepoVitestConfigResult, MonorepoVitestProjectConfigOptions, MonorepoVitestProjectConfigResult, createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
@@ -1,2 +1,2 @@
1
- import { a as createMonorepoTsconfig, c as defineCommitlintConfig, d as defineStylelintConfig, f as defineTsconfigConfig, h as loadMonorepoToolingConfig, i as createMonorepoStylelintConfig, l as defineEslintConfig, m as defineVitestProjectConfig, n as createMonorepoEslintConfig, o as createMonorepoVitestConfig, p as defineVitestConfig, r as createMonorepoLintStagedConfig, s as createMonorepoVitestProjectConfig, t as createMonorepoCommitlintConfig, u as defineLintStagedConfig } from "./tooling-auYlGr3v.mjs";
1
+ import { a as createMonorepoTsconfig, c as defineCommitlintConfig, d as defineStylelintConfig, f as defineTsconfigConfig, h as loadMonorepoToolingConfig, i as createMonorepoStylelintConfig, l as defineEslintConfig, m as defineVitestProjectConfig, n as createMonorepoEslintConfig, o as createMonorepoVitestConfig, p as defineVitestConfig, r as createMonorepoLintStagedConfig, s as createMonorepoVitestProjectConfig, t as createMonorepoCommitlintConfig, u as defineLintStagedConfig } from "./tooling-Bn3XOfO0.mjs";
2
2
  export { createMonorepoCommitlintConfig, createMonorepoEslintConfig, createMonorepoLintStagedConfig, createMonorepoStylelintConfig, createMonorepoTsconfig, createMonorepoVitestConfig, createMonorepoVitestProjectConfig, defineCommitlintConfig, defineEslintConfig, defineLintStagedConfig, defineStylelintConfig, defineTsconfigConfig, defineVitestConfig, defineVitestProjectConfig, loadMonorepoToolingConfig };
@@ -142,16 +142,16 @@ const logger = createConsola();
142
142
  //#endregion
143
143
  //#region package.json
144
144
  var name = "@icebreakers/monorepo";
145
- var version = "5.0.2";
145
+ var version = "5.0.3";
146
146
  var dependencies = {
147
147
  "@icebreakers/commitlint-config": "^4.0.2",
148
- "@icebreakers/eslint-config": "^7.0.1",
148
+ "@icebreakers/eslint-config": "^7.0.2",
149
149
  "@icebreakers/monorepo-templates": "workspace:*",
150
- "@icebreakers/stylelint-config": "^5.0.2",
150
+ "@icebreakers/stylelint-config": "^5.0.3",
151
151
  "@pnpm/find-workspace-dir": "^1000.1.5",
152
152
  "@pnpm/logger": "^1100.0.0",
153
- "@pnpm/types": "^1101.4.0",
154
- "@pnpm/worker": "^1100.2.5",
153
+ "@pnpm/types": "^1101.9.0",
154
+ "@pnpm/worker": "^1100.2.10",
155
155
  "@pnpm/workspace.find-packages": "^1000.0.65",
156
156
  "@pnpm/workspace.read-manifest": "^1000.3.1",
157
157
  "c12": "^3.3.4",
@@ -160,8 +160,8 @@ var dependencies = {
160
160
  "consola": "^3.4.2",
161
161
  "git-url-parse": "^16.1.0",
162
162
  "klaw": "^4.1.0",
163
- "lint-staged": "^17.1.0",
164
- "p-queue": "^9.3.1",
163
+ "lint-staged": "^17.3.0",
164
+ "p-queue": "^9.3.3",
165
165
  "pathe": "^2.0.3",
166
166
  "picocolors": "^1.1.1",
167
167
  "semver": "^7.8.5",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/monorepo",
3
3
  "type": "module",
4
- "version": "5.0.2",
4
+ "version": "5.0.3",
5
5
  "description": "Core engine behind the repoctl monorepo CLI",
6
6
  "author": "ice breaker <hi@sonofmagic.top>",
7
7
  "license": "MIT",
@@ -80,12 +80,12 @@
80
80
  },
81
81
  "dependencies": {
82
82
  "@icebreakers/commitlint-config": "^4.0.2",
83
- "@icebreakers/eslint-config": "^7.0.1",
84
- "@icebreakers/stylelint-config": "^5.0.2",
83
+ "@icebreakers/eslint-config": "^7.0.2",
84
+ "@icebreakers/stylelint-config": "^5.0.3",
85
85
  "@pnpm/find-workspace-dir": "^1000.1.5",
86
86
  "@pnpm/logger": "^1100.0.0",
87
- "@pnpm/types": "^1101.4.0",
88
- "@pnpm/worker": "^1100.2.5",
87
+ "@pnpm/types": "^1101.9.0",
88
+ "@pnpm/worker": "^1100.2.10",
89
89
  "@pnpm/workspace.find-packages": "^1000.0.65",
90
90
  "@pnpm/workspace.read-manifest": "^1000.3.1",
91
91
  "c12": "^3.3.4",
@@ -94,15 +94,15 @@
94
94
  "consola": "^3.4.2",
95
95
  "git-url-parse": "^16.1.0",
96
96
  "klaw": "^4.1.0",
97
- "lint-staged": "^17.1.0",
98
- "p-queue": "^9.3.1",
97
+ "lint-staged": "^17.3.0",
98
+ "p-queue": "^9.3.3",
99
99
  "pathe": "^2.0.3",
100
100
  "picocolors": "^1.1.1",
101
101
  "semver": "^7.8.5",
102
102
  "simple-git": "^3.36.0",
103
103
  "vitest": "^4.1.10",
104
104
  "yaml": "^2.9.0",
105
- "@icebreakers/monorepo-templates": "1.0.14"
105
+ "@icebreakers/monorepo-templates": "1.0.15"
106
106
  },
107
107
  "devDependencies": {
108
108
  "@types/klaw": "^3.0.7",