@icebreakers/monorepo 6.5.4 → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{baseline-CQVDciG4.mjs → baseline-BS_u59AV.mjs} +1 -1
  2. package/dist/{catalog-6_tT0U3p.mjs → catalog-CiaAmiTm.mjs} +4 -4
  3. package/dist/cli.mjs +62 -62
  4. package/dist/{commands-CAyU1yqP.mjs → commands-DWtDkzcp.mjs} +176 -89
  5. package/dist/{config-CT_nsp4o.mjs → config-CmB-5xZ5.mjs} +3 -3
  6. package/dist/{create-flow-BV2NTOIE.mjs → create-flow-DNWJQGrz.mjs} +3 -3
  7. package/dist/{deps-CIrWBABk.mjs → deps-DWFcbBQu.mjs} +4 -4
  8. package/dist/{execute-e7SGX_Y0.mjs → execute-Bd-yrRBO.mjs} +2 -2
  9. package/dist/{execute-Y_6G_tEl.mjs → execute-CowTATMR.mjs} +2 -2
  10. package/dist/{format-jsSjadNe.mjs → format-C2UJ-Xzb.mjs} +1 -1
  11. package/dist/{index-C7KR7hT8.d.mts → index-CFxo1hPA.d.mts} +4 -1
  12. package/dist/index.d.mts +2 -2
  13. package/dist/index.mjs +9 -9
  14. package/dist/{inputs-DOUYGoHq.mjs → inputs-Pn_oLgyr.mjs} +1 -1
  15. package/dist/{npm-tUIGIuFQ.mjs → npm-D3cb3ygy.mjs} +1 -1
  16. package/dist/{plan-DC33-_or.mjs → plan-C4S0SIsH.mjs} +2 -2
  17. package/dist/{run-DT6Q-jbq.mjs → run-5k6GII0n.mjs} +4 -4
  18. package/dist/{save-Foea-Ao9.mjs → save-LOJWHI5C.mjs} +3 -3
  19. package/dist/{scan-DA7VmNjC.mjs → scan-C6ZqUxK0.mjs} +9 -2
  20. package/dist/{template-drift-B18bgxT6.mjs → template-drift-D3Hwedod.mjs} +3 -3
  21. package/dist/tooling-entry.d.mts +1 -1
  22. package/dist/tooling-entry.mjs +2 -2
  23. package/dist/{transaction-B4vPaBcK.mjs → transaction-Cpnd5xhK.mjs} +2 -2
  24. package/dist/{tsconfig-DpOi_7HA.mjs → tsconfig-BSF6chfb.mjs} +49 -32
  25. package/dist/{vitest-Dh5Qm_3L.mjs → vitest-CgpUDzkr.mjs} +1 -1
  26. package/dist/{workspace-tasks-Ca1zWNKr.mjs → workspace-tasks-DucdLmBS.mjs} +51 -51
  27. package/package.json +6 -6
@@ -1,11 +1,11 @@
1
- import { A as packageDir$1, B as normalizeTemplateSourceRequest, C as checkedFile, D as relativeFile, E as readOptionalSource, G as isUpgradeExpiry, H as sourceRequestKey, I as ConfigValidationError, J as presetPackageName, K as defaultNightlyQualityTimeoutMs, M as rootDir, N as templatesDir, O as assetsDir$1, P as version$1, Q as isRecord$2, S as canonicalDirectory, T as readOptional$1, U as templateSourcePath, X as withLegacyHookConfig, Y as presetVersion, _ as listToolingCapabilities, b as presetRelativePath, d as loadMonorepoConfig, et as appendConfigPath, f as loadMonorepoConfigDetails, g as presetAssetTarget, n as defineTsconfigConfig, nt as commandConfigDirectory, p as resolveCommandConfig, q as resolveNightlyConfig, rt as __exportAll, u as getRepoctlConfigCandidates, v as installedPresetDirectory, w as hash$1, x as readPresetFile, y as parsePresetJson, z as normalizeTemplateRemoteSource } from "./tsconfig-DpOi_7HA.mjs";
2
- import { A as referenceTarget, B as saveKnipBaseline, Bt as getWorkspacePackages, C as loadCompiler, D as ownershipFile, E as exists$1, Et as fs$2, Ht as findWorkspacePackages, I as getKnipConfigurationSuggestions, J as getWorkspaceGraph, K as mergeText, Lt as clearWorkspaceCache, M as formatEnvironmentCache, O as readText, P as checkEnvironmentCache, R as planKnipCheck, Rt as getWorkspaceData, S as configReader, T as compare$1, Ut as GitClient, W as analyzeTurboRuns, Z as getWorkspaceImpact, _ as planTemplateLink, _t as localize, at as record$6, b as planGenerate, bt as resolveRepoctlLocale, 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$1, 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, rt as hash$2, s as loadTemplateBaseline$1, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, w as validateGraph, x as generators, y as applyGeneratePlan, z as runKnipCheck, zt as getWorkspacePackageSummaries } from "./workspace-tasks-Ca1zWNKr.mjs";
3
- import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, d as logger, i as getKnownRepoCheckCommands, l as verifyPreCommit, n as resolveAffectedCheckContext, o as resolveRecommendedCheckPlan, r as resolveAffectedCheckPlan, s as runRecommendedCheck, t as runCheckWithReport, u as runPnpmCommand } from "./execute-Y_6G_tEl.mjs";
4
- import { c as selectCommandOverrides, i as rangesOverlap, l as chinaMirrorsEnvs, o as matchGroup, r as parseSpecifier, s as resolveCommandValues, t as scanDependencies } from "./scan-DA7VmNjC.mjs";
5
- import { A as isRootAsset, B as toWorkspaceAssetPath, C as lockfileRecord, D as baselineDirectory, E as checkDependencyAdmission, F as getWorkspacePatterns, I as summarizeChecks, L as legacyStagedConfigNames, M as templatePackage, N as getAssetTargets, O as baselinePath, P as record$7, S as inspectPnpmRuntime, a as applyDoctorSuppressions, b as resolveReleaseBranches, c as collectSelectedDoctorChecks, d as recommendedRepoScripts, f as inspectInstallSecurity, g as isLegacyReleaseWorkflow, h as supportedVersion, i as hasTemplateDriftIssues, j as parseBaseline, k as encodeBaseline, 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 renderReleaseWorkflow, w as parseWorkspaceLockfile, x as ReleaseCommandError, y as releasePullRequestHead } from "./template-drift-B18bgxT6.mjs";
6
- import { t as writeDependencyTransaction } from "./transaction-B4vPaBcK.mjs";
7
- import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-CIrWBABk.mjs";
8
- import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-6_tT0U3p.mjs";
1
+ import { $ as isRecord$2, A as packageDir$1, B as normalizeTemplateSourceRequest, C as checkedFile, D as relativeFile, E as readOptionalSource, G as isUpgradeExpiry, H as sourceRequestKey, I as ConfigValidationError, J as resolveNightlyConfig, K as defaultNightlyQualityTimeoutMs, M as rootDir, N as templatesDir, O as assetsDir$1, P as version$1, S as canonicalDirectory, T as readOptional$1, U as templateSourcePath, X as presetVersion, Y as presetPackageName, Z as withLegacyHookConfig, _ as listToolingCapabilities, b as presetRelativePath, d as loadMonorepoConfig, f as loadMonorepoConfigDetails, g as presetAssetTarget, it as __exportAll, n as defineTsconfigConfig, p as resolveCommandConfig, rt as commandConfigDirectory, tt as appendConfigPath, u as getRepoctlConfigCandidates, v as installedPresetDirectory, w as hash$1, x as readPresetFile, y as parsePresetJson, z as normalizeTemplateRemoteSource } from "./tsconfig-BSF6chfb.mjs";
2
+ import { A as referenceTarget, B as saveKnipBaseline, Bt as getWorkspacePackages, C as loadCompiler, D as ownershipFile, E as exists$1, Et as fs$2, Ht as findWorkspacePackages, I as getKnipConfigurationSuggestions, J as getWorkspaceGraph, K as mergeText, Lt as clearWorkspaceCache, M as formatEnvironmentCache, O as readText, P as checkEnvironmentCache, R as planKnipCheck, Rt as getWorkspaceData, S as configReader, T as compare$1, Ut as GitClient, W as analyzeTurboRuns, Z as getWorkspaceImpact, _ as planTemplateLink, _t as localize, at as record$6, b as planGenerate, bt as resolveRepoctlLocale, 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$1, 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, rt as hash$2, s as loadTemplateBaseline$1, tt as resolveWorkspaceGraphNode, u as relocateTemplateInstance, w as validateGraph, x as generators, y as applyGeneratePlan, z as runKnipCheck, zt as getWorkspacePackageSummaries } from "./workspace-tasks-DucdLmBS.mjs";
3
+ import { a as resolveFullWorkspaceCheckPlan, c as verifyCommitMsg, d 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 runPnpmCommand } from "./execute-CowTATMR.mjs";
4
+ import { c as selectCommandOverrides, i as rangesOverlap, l as chinaMirrorsEnvs, o as matchGroup, r as parseSpecifier, s as resolveCommandValues, t as scanDependencies } from "./scan-C6ZqUxK0.mjs";
5
+ import { A as isRootAsset, B as toWorkspaceAssetPath, C as lockfileRecord, D as baselineDirectory, E as checkDependencyAdmission, F as getWorkspacePatterns, I as summarizeChecks, L as legacyStagedConfigNames, M as templatePackage, N as getAssetTargets, O as baselinePath, P as record$7, S as inspectPnpmRuntime, a as applyDoctorSuppressions, b as resolveReleaseBranches, c as collectSelectedDoctorChecks, d as recommendedRepoScripts, f as inspectInstallSecurity, g as isLegacyReleaseWorkflow, h as supportedVersion, i as hasTemplateDriftIssues, j as parseBaseline, k as encodeBaseline, 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 renderReleaseWorkflow, w as parseWorkspaceLockfile, x as ReleaseCommandError, y as releasePullRequestHead } from "./template-drift-D3Hwedod.mjs";
6
+ import { t as writeDependencyTransaction } from "./transaction-Cpnd5xhK.mjs";
7
+ import { i as applyDependencyFixPlan, r as planDependencyFix, t as checkDependencies } from "./deps-DWFcbBQu.mjs";
8
+ import { i as applyCatalogMigrationPlan, n as checkCatalogs, r as planCatalogMigration } from "./catalog-CiaAmiTm.mjs";
9
9
  import { createRequire, isBuiltin } from "node:module";
10
10
  import { findWorkspaceDir } from "@pnpm/find-workspace-dir";
11
11
  import { readWorkspaceManifest } from "@pnpm/workspace.read-manifest";
@@ -1521,7 +1521,7 @@ async function downloadGitTemplate(source, directory, timeout) {
1521
1521
  async function resolveRemoteTemplateSource(source, templatePath = ".", options = {}) {
1522
1522
  const request = normalizeTemplateSourceRequest(source, templatePath);
1523
1523
  const cwd = path$1.resolve(options.cwd ?? process.cwd());
1524
- const npm = request.source.kind === "npm" ? await import("./npm-tUIGIuFQ.mjs") : void 0;
1524
+ const npm = request.source.kind === "npm" ? await import("./npm-D3cb3ygy.mjs") : void 0;
1525
1525
  const configuration = request.source.kind === "npm" ? await npm.npmTemplateConfiguration(request.source, cwd) : void 0;
1526
1526
  if (request.source.kind === "npm") request.source.registry = configuration.registry;
1527
1527
  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"));
@@ -1601,7 +1601,7 @@ const legacyOrder = new Map([
1601
1601
  "nimbus",
1602
1602
  "react-lib"
1603
1603
  ].map((key, index) => [key, index]));
1604
- const legacyChoices = [...templateChoices].sort((left, right) => (legacyOrder.get(left.key) ?? Infinity) - (legacyOrder.get(right.key) ?? Infinity));
1604
+ const legacyChoices = [...templateChoices].sort((left, right) => (legacyOrder.get(left.key) ?? 1e400) - (legacyOrder.get(right.key) ?? 1e400));
1605
1605
  const templateMap = Object.fromEntries(legacyChoices.map(({ key, source, target }) => [key, {
1606
1606
  source,
1607
1607
  target
@@ -6586,7 +6586,7 @@ async function assertSnapshotAuthorization(options) {
6586
6586
  } else if (!["schedule", "workflow_dispatch"].includes(env["GITHUB_EVENT_NAME"] ?? "")) throw new Error("Nightly snapshot publication requires a schedule or workflow_dispatch event.");
6587
6587
  }
6588
6588
  // src/commands/release/snapshot/prepared/schema.ts
6589
- function object$2(value) {
6589
+ function object$1(value) {
6590
6590
  if (!value || typeof value !== "object" || Array.isArray(value)) throw new Error("Snapshot data must be a JSON object.");
6591
6591
  return value;
6592
6592
  }
@@ -6606,7 +6606,7 @@ function packageName(value) {
6606
6606
  return typeof value === "string" && validatePackageName(value).validForNewPackages;
6607
6607
  }
6608
6608
  function validateSnapshotSource(value) {
6609
- const source = object$2(value);
6609
+ const source = object$1(value);
6610
6610
  exactKeys(source, [
6611
6611
  "repository",
6612
6612
  "repositoryId",
@@ -6648,7 +6648,7 @@ function snapshotPlanDigest(plan) {
6648
6648
  }
6649
6649
  /** Validate the complete frozen contract before using any artifact-controlled values. */
6650
6650
  function validateSnapshotBuildPlan(value) {
6651
- const plan = object$2(value);
6651
+ const plan = object$1(value);
6652
6652
  exactKeys(plan, [
6653
6653
  "schemaVersion",
6654
6654
  "source",
@@ -6660,7 +6660,7 @@ function validateSnapshotBuildPlan(value) {
6660
6660
  "packages"
6661
6661
  ]);
6662
6662
  const source = validateSnapshotSource(plan["source"]);
6663
- const identity = object$2(plan["identity"]);
6663
+ const identity = object$1(plan["identity"]);
6664
6664
  exactKeys(identity, [
6665
6665
  "kind",
6666
6666
  "pullRequest",
@@ -6680,7 +6680,7 @@ function validateSnapshotBuildPlan(value) {
6680
6680
  const names = /* @__PURE__ */ new Set();
6681
6681
  const directories = /* @__PURE__ */ new Set();
6682
6682
  for (const value of plan["packages"]) {
6683
- const pkg = object$2(value);
6683
+ const pkg = object$1(value);
6684
6684
  exactKeys(pkg, [
6685
6685
  "name",
6686
6686
  "directory",
@@ -6694,10 +6694,10 @@ function validateSnapshotBuildPlan(value) {
6694
6694
  directories.add(pkg["directory"]);
6695
6695
  }
6696
6696
  for (const value of plan["packages"]) {
6697
- const pkg = object$2(value);
6697
+ const pkg = object$1(value);
6698
6698
  const edges = /* @__PURE__ */ new Set();
6699
6699
  for (const value of pkg["dependencies"]) {
6700
- const edge = object$2(value);
6700
+ const edge = object$1(value);
6701
6701
  exactKeys(edge, [
6702
6702
  "field",
6703
6703
  "alias",
@@ -16112,6 +16112,23 @@ async function checkProjectReferences(cwd) {
16112
16112
  async function syncProjectReferences(cwd) {
16113
16113
  return applyProjectReferencesPlan(await planProjectReferences(cwd));
16114
16114
  }
16115
+ // src/commands/release/snapshot/install.ts
16116
+ function snapshotInstallation(packages, registry) {
16117
+ const args = [
16118
+ "add",
16119
+ ...packages.map((pkg) => `${pkg.name}@${pkg.version}`),
16120
+ "--registry",
16121
+ registry
16122
+ ];
16123
+ const quote = (value) => /^[\w@./:-]+$/.test(value) ? value : `'${value.replaceAll("'", "'\\''")}'`;
16124
+ return {
16125
+ install: {
16126
+ executable: "pnpm",
16127
+ args
16128
+ },
16129
+ installCommand: `pnpm ${args.map(quote).join(" ")}`
16130
+ };
16131
+ }
16115
16132
  // src/commands/release/snapshot/source/paths.ts
16116
16133
  /** 产物和 Git tree 使用逻辑路径;只在文件系统边界转换分隔符。 */
16117
16134
  function sourceRelativePath(value) {
@@ -16239,13 +16256,6 @@ async function createSnapshotPlan(options) {
16239
16256
  ...options,
16240
16257
  cwd: source
16241
16258
  });
16242
- const installArgs = [
16243
- "add",
16244
- ...packages.map((pkg) => `${pkg.name}@${pkg.version}`),
16245
- "--registry",
16246
- registry.href
16247
- ];
16248
- const quote = (value) => /^[\w@./:-]+$/.test(value) ? value : `'${value.replaceAll("'", "'\\''")}'`;
16249
16259
  return {
16250
16260
  schemaVersion: 1,
16251
16261
  identity,
@@ -16258,11 +16268,7 @@ async function createSnapshotPlan(options) {
16258
16268
  status: "planned",
16259
16269
  packages,
16260
16270
  nativePlan,
16261
- install: {
16262
- executable: "pnpm",
16263
- args: installArgs
16264
- },
16265
- installCommand: `pnpm ${installArgs.map(quote).join(" ")}`
16271
+ ...snapshotInstallation(packages, registry.href)
16266
16272
  };
16267
16273
  }
16268
16274
  // src/commands/release/snapshot/source/archive.ts
@@ -16673,6 +16679,14 @@ async function releaseSnapshot(options) {
16673
16679
  await checkpoint();
16674
16680
  return report;
16675
16681
  }
16682
+ // src/commands/release/consumer/workspace.ts
16683
+ /** 使用可原位编辑的 YAML,允许 pnpm 为新依赖追加精确版本例外。 */
16684
+ function consumerWorkspace(packages) {
16685
+ return stringify({
16686
+ packages: [],
16687
+ ...packages ? { minimumReleaseAgeExclude: packages.map((pkg) => `${pkg.name}@${pkg.version}`) } : {}
16688
+ }, { collectionStyle: "block" });
16689
+ }
16676
16690
  // src/commands/release/nightly/consumer/missing-version.ts
16677
16691
  function isRecord(value) {
16678
16692
  return value !== null && typeof value === "object" && !Array.isArray(value);
@@ -16829,10 +16843,7 @@ async function verifyNightlyConsumer(report, options) {
16829
16843
  };
16830
16844
  await Promise.all([
16831
16845
  writeFile(path$1.join(directory, "package.json"), `${JSON.stringify(manifest, null, 2)}\n`),
16832
- writeFile(path$1.join(directory, "pnpm-workspace.yaml"), `${JSON.stringify({
16833
- packages: [],
16834
- ...report.provider === "npm" ? { minimumReleaseAgeExclude: report.packages.map((pkg) => `${pkg.name}@${pkg.version}`) } : {}
16835
- }, null, 2)}\n`),
16846
+ writeFile(path$1.join(directory, "pnpm-workspace.yaml"), consumerWorkspace(report.provider === "npm" ? report.packages : void 0)),
16836
16847
  writeFile(path$1.join(directory, "user.npmrc"), ""),
16837
16848
  writeFile(path$1.join(directory, "global.npmrc"), "")
16838
16849
  ]);
@@ -16964,10 +16975,30 @@ function nightlyQualityCommand(report, options, executable, args, timeout = defa
16964
16975
  }
16965
16976
  return nightlyCommand(report, options, executable, args, timeout);
16966
16977
  }
16967
- // src/commands/release/nightly/providers/npm.ts
16978
+ // src/commands/release/nightly/versioning/date.ts
16979
+ function nightlyBaseVersion(version) {
16980
+ const parsed = parse(version);
16981
+ if (!parsed) throw new Error(`Invalid nightly base version: ${version}.`);
16982
+ return `${parsed.major}.${parsed.minor}.${parsed.patch}`;
16983
+ }
16984
+ /** Accept only canonical SemVer with a real UTC calendar date and safe counter. */
16985
+ function parseDateNightlyVersion(version) {
16986
+ const match = /^(\d+\.\d+\.\d+)-dev\.(\d{4})(\d{2})(\d{2})\.([1-9]\d*)$/u.exec(version);
16987
+ if (!match || !valid(version)) return null;
16988
+ const date = `${match[2]}${match[3]}${match[4]}`;
16989
+ const instant = /* @__PURE__ */ new Date(`${match[2]}-${match[3]}-${match[4]}T00:00:00.000Z`);
16990
+ const sequence = Number(match[5]);
16991
+ if (!Number.isFinite(instant.getTime()) || instant.toISOString().slice(0, 10).replaceAll("-", "") !== date || !Number.isSafeInteger(sequence)) return null;
16992
+ return {
16993
+ base: match[1],
16994
+ date,
16995
+ sequence
16996
+ };
16997
+ }
16998
+ // src/commands/release/nightly/providers/npm/registry.ts
16968
16999
  const registry = "https://registry.npmjs.org/";
16969
- const tag = "snapshot-nightly";
16970
- function object$1(value) {
17000
+ const nightlyTag = "snapshot-nightly";
17001
+ function registryObject(value) {
16971
17002
  return value !== null && typeof value === "object" && !Array.isArray(value);
16972
17003
  }
16973
17004
  function createNightlyRegistry(options) {
@@ -16977,35 +17008,58 @@ function createNightlyRegistry(options) {
16977
17008
  let response;
16978
17009
  try {
16979
17010
  response = await (options.registryFetch ?? fetch)(new URL(pathname, registry), {
16980
- headers: { accept: "application/json" },
17011
+ redirect: "error",
17012
+ headers: {
17013
+ "accept": "application/json",
17014
+ "cache-control": "no-cache"
17015
+ },
16981
17016
  signal: AbortSignal.timeout(Math.max(1, Math.floor(timeout)))
16982
17017
  });
16983
17018
  } catch {
16984
17019
  throw new Error(`Nightly registry request failed for ${pathname}; publication state is unknown.`);
16985
17020
  }
16986
- if (response.status === 404) return null;
16987
- if (!response.ok) throw new Error(`Nightly registry returned HTTP ${response.status} for ${pathname}; publication state is unknown.`);
17021
+ if (response.status === 404) {
17022
+ await response.body?.cancel();
17023
+ return null;
17024
+ }
17025
+ if (!response.ok) {
17026
+ await response.body?.cancel();
17027
+ throw new Error(`Nightly registry returned HTTP ${response.status} for ${pathname}; publication state is unknown.`);
17028
+ }
16988
17029
  const value = await response.json().catch(() => null);
16989
- if (!object$1(value)) throw new Error(`Nightly registry returned invalid metadata for ${pathname}.`);
17030
+ if (!registryObject(value)) throw new Error(`Nightly registry returned invalid metadata for ${pathname}.`);
16990
17031
  return value;
16991
17032
  }
16992
- return { async publication(name, allowMissingVersion = false, deadline) {
16993
- const tags = await request(`-/package/${encodeURIComponent(name)}/dist-tags`, deadline);
16994
- if (tags && Object.values(tags).some((value) => typeof value !== "string" || !value)) throw new Error(`Nightly registry returned invalid dist-tags for ${name}.`);
16995
- const version = tags?.[tag];
16996
- const metadata = version ? await request(`${encodeURIComponent(name)}/${encodeURIComponent(version)}`, deadline) : null;
16997
- if (version && !metadata && !allowMissingVersion) throw new Error(`Nightly tag for ${name} points at unavailable metadata; publication state is unknown.`);
16998
- if (metadata && (metadata["name"] !== name || metadata["version"] !== version)) throw new Error(`Nightly registry metadata does not match ${name}@${version}.`);
16999
- return {
17000
- latest: tags?.["latest"] ?? null,
17001
- version: version ?? null,
17002
- metadata
17003
- };
17004
- } };
17033
+ return {
17034
+ async versions(name) {
17035
+ const metadata = await request(encodeURIComponent(name));
17036
+ if (!metadata) return [];
17037
+ if (metadata["name"] !== name || !registryObject(metadata["versions"])) throw new Error(`Nightly registry returned invalid version history for ${name}.`);
17038
+ return Object.entries(metadata["versions"]).map(([version, entry]) => {
17039
+ if (!valid(version) || !registryObject(entry) || entry["name"] !== name || entry["version"] !== version) throw new Error(`Nightly registry version history does not match ${name}@${version}.`);
17040
+ return entry;
17041
+ });
17042
+ },
17043
+ async publication(name, allowMissingVersion = false, deadline) {
17044
+ const tags = await request(`-/package/${encodeURIComponent(name)}/dist-tags`, deadline);
17045
+ if (tags && Object.values(tags).some((value) => typeof value !== "string" || !value)) throw new Error(`Nightly registry returned invalid dist-tags for ${name}.`);
17046
+ const version = tags?.[nightlyTag];
17047
+ const metadata = version ? await request(`${encodeURIComponent(name)}/${encodeURIComponent(version)}`, deadline) : null;
17048
+ if (version && !metadata && !allowMissingVersion) throw new Error(`Nightly tag for ${name} points at unavailable metadata; publication state is unknown.`);
17049
+ if (metadata && (metadata["name"] !== name || metadata["version"] !== version)) throw new Error(`Nightly registry metadata does not match ${name}@${version}.`);
17050
+ return {
17051
+ latest: tags?.["latest"] ?? null,
17052
+ version: version ?? null,
17053
+ metadata
17054
+ };
17055
+ }
17056
+ };
17005
17057
  }
17058
+ // src/commands/release/nightly/providers/npm/identity.ts
17059
+ /** Naming is independent of identity; both formats require the same immutable evidence. */
17006
17060
  function validPublishedIdentity(metadata) {
17007
17061
  const value = metadata?.repoctlSnapshot;
17008
- if (!object$1(value) || Object.keys(value).sort().join(",") !== "buildId,commit,identityKey,kind,tag" || value["kind"] !== "nightly" || value["tag"] !== tag || typeof value["commit"] !== "string" || typeof value["buildId"] !== "string" || !/^sha512-[\w+/]{86}==$/.test(metadata?.dist?.integrity ?? "")) return null;
17062
+ if (!registryObject(value) || Object.keys(value).sort().join(",") !== "buildId,commit,identityKey,kind,tag" || value["kind"] !== "nightly" || value["tag"] !== "snapshot-nightly" || typeof value["commit"] !== "string" || typeof value["buildId"] !== "string" || !/^sha512-[\w+/]{86}==$/.test(metadata?.dist?.integrity ?? "")) return null;
17009
17063
  const identity = {
17010
17064
  kind: "nightly",
17011
17065
  commit: value["commit"],
@@ -17016,14 +17070,19 @@ function validPublishedIdentity(metadata) {
17016
17070
  cwd: "",
17017
17071
  identity
17018
17072
  });
17019
- return value["identityKey"] === key && metadata?.version.endsWith(`-snapshot.nightly.c${identity.commit}.b${key}`) ? {
17073
+ if (value["identityKey"] !== key || !metadata || !valid(metadata.version)) return null;
17074
+ const daily = parseDateNightlyVersion(metadata.version);
17075
+ const legacy = metadata.version.endsWith(`-snapshot.nightly.c${identity.commit}.b${key}`);
17076
+ return daily || legacy ? {
17020
17077
  ...identity,
17021
- key
17078
+ key,
17079
+ batch: daily ? `date:${daily.date}.${daily.sequence}` : "snapshot"
17022
17080
  } : null;
17023
17081
  } catch {
17024
17082
  return null;
17025
17083
  }
17026
17084
  }
17085
+ // src/commands/release/nightly/providers/npm/index.ts
17027
17086
  /** Freeze latest before upload and skip only a complete channel sharing one build. */
17028
17087
  async function inspectNpmNightly(report, options) {
17029
17088
  const client = createNightlyRegistry(options);
@@ -17038,8 +17097,9 @@ async function inspectNpmNightly(report, options) {
17038
17097
  complete = false;
17039
17098
  continue;
17040
17099
  }
17041
- sharedIdentity ??= identity.key;
17042
- if (identity.key !== sharedIdentity) complete = false;
17100
+ const batch = `${identity.key}:${identity.batch}`;
17101
+ sharedIdentity ??= batch;
17102
+ if (batch !== sharedIdentity) complete = false;
17043
17103
  }
17044
17104
  return complete;
17045
17105
  }
@@ -17208,8 +17268,8 @@ function formatNightlySummary(report) {
17208
17268
  if (report.reason || report.error) lines.push(escape(report.error ?? report.reason), "");
17209
17269
  if (verified) {
17210
17270
  lines.push("Install the complete batch (including internal peers):", "", `\`pnpm add ${report.packages.map((pkg) => escape(pkg.locator)).join(" ")}\``, "");
17211
- lines.push("| Package | Install |", "| --- | --- |");
17212
- for (const pkg of report.packages) lines.push(`| ${escape(pkg.name)} | \`pnpm add ${escape(pkg.locator)}\` |`);
17271
+ lines.push("| Package | Version | Install |", "| --- | --- | --- |");
17272
+ for (const pkg of report.packages) lines.push(`| ${escape(pkg.name)} | \`${escape(pkg.version)}\` | \`pnpm add ${escape(pkg.locator)}\` |`);
17213
17273
  lines.push("", report.provider === "npm" ? "All snapshot-nightly tags match this build; latest tags are unchanged." : "All full-commit preview URLs match the verified tarballs.", "");
17214
17274
  } else if (report.status === "prepared") lines.push("Artifacts are prepared and validated. Publication was not requested.", "");
17215
17275
  else if (report.status === "failed" && report.confirmed && report.consumer?.status === "failed") {
@@ -17221,6 +17281,32 @@ function formatNightlySummary(report) {
17221
17281
  async function writeNightlySummary(report, filename) {
17222
17282
  if (filename) await appendFile(filename, formatNightlySummary(report));
17223
17283
  }
17284
+ // src/commands/release/nightly/versioning/index.ts
17285
+ /** Freeze one batch before building. Published versions reserve counters even if their tags moved. */
17286
+ async function planDateNightlyVersions(report, options) {
17287
+ const date = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10).replaceAll("-", "");
17288
+ const registry = createNightlyRegistry(options);
17289
+ let maximum = 0;
17290
+ let recovered;
17291
+ for (const pkg of report.packages) {
17292
+ const versions = await registry.versions(pkg.name);
17293
+ for (const metadata of versions) {
17294
+ const daily = parseDateNightlyVersion(metadata.version);
17295
+ if (daily?.date === date) maximum = Math.max(maximum, daily.sequence);
17296
+ if (!registryObject(metadata.repoctlSnapshot) || metadata.repoctlSnapshot["identityKey"] !== report.identityKey) continue;
17297
+ if (!daily || daily.base !== nightlyBaseVersion(pkg.version) || !validPublishedIdentity(metadata) || !matchesSnapshotMetadata(metadata.repoctlSnapshot, report)) throw new Error(`Published nightly build identity conflicts at ${pkg.name}@${metadata.version}. Use a new run or attempt.`);
17298
+ if (recovered && (recovered.date !== daily.date || recovered.sequence !== daily.sequence)) throw new Error("Published nightly build identity spans conflicting dates or sequences. Use a new run or attempt.");
17299
+ recovered = daily;
17300
+ }
17301
+ }
17302
+ const batch = recovered ?? {
17303
+ date,
17304
+ sequence: maximum + 1
17305
+ };
17306
+ if (!Number.isSafeInteger(batch.sequence)) throw new TypeError("Nightly daily version sequence exceeds the safe integer limit.");
17307
+ for (const pkg of report.packages) pkg.version = `${nightlyBaseVersion(pkg.version)}-dev.${batch.date}.${batch.sequence}`;
17308
+ Object.assign(report, snapshotInstallation(report.packages, report.registry));
17309
+ }
17224
17310
  // src/commands/release/nightly/index.ts
17225
17311
  function updatePackages(report) {
17226
17312
  report.packages = report.snapshot.packages.map((pkg) => ({
@@ -17289,6 +17375,10 @@ async function nightly(options, execute) {
17289
17375
  report.reason = "Every public package already matches this commit and the same nightly build identity.";
17290
17376
  return report;
17291
17377
  }
17378
+ if (config.versioning === "date") {
17379
+ await planDateNightlyVersions(report.snapshot, options);
17380
+ updatePackages(report);
17381
+ }
17292
17382
  if (!execute || options.dryRun) return report;
17293
17383
  if (options.publish) {
17294
17384
  await assertSnapshotAuthorization(snapshotOptions);
@@ -17395,8 +17485,8 @@ async function createReleasePlan(options) {
17395
17485
  }
17396
17486
  // src/commands/release/snapshot/prepared/validate.ts
17397
17487
  function validatePackedManifest(value, pkg, plan) {
17398
- const manifest = object$2(value);
17399
- const publish = object$2(manifest["publishConfig"]);
17488
+ const manifest = object$1(value);
17489
+ const publish = object$1(manifest["publishConfig"]);
17400
17490
  if (Object.keys(publish).some((key) => ![
17401
17491
  "registry",
17402
17492
  "tag",
@@ -17412,7 +17502,7 @@ function validatePackedManifest(value, pkg, plan) {
17412
17502
  "optionalDependencies",
17413
17503
  "peerDependencies",
17414
17504
  "devDependencies"
17415
- ]) if (manifest[field] !== void 0 && Object.entries(object$2(manifest[field])).some(([alias, range]) => !packageName(alias) || typeof range !== "string")) throw new Error(`Prepared snapshot dependency map is invalid for ${pkg.name}.`);
17505
+ ]) if (manifest[field] !== void 0 && Object.entries(object$1(manifest[field])).some(([alias, range]) => !packageName(alias) || typeof range !== "string")) throw new Error(`Prepared snapshot dependency map is invalid for ${pkg.name}.`);
17416
17506
  const seen = /* @__PURE__ */ new Set();
17417
17507
  for (const reference of dependencyReferences(manifest, ".", true)) {
17418
17508
  if (reference.protocol !== "registry" || !packageName(reference.name) || !validRange(reference.range)) throw new Error(`Prepared snapshot contains an unsupported dependency: ${pkg.name} ${reference.alias}.`);
@@ -17430,7 +17520,7 @@ function validatePackedManifest(value, pkg, plan) {
17430
17520
  /** Inspect data and bytes only. Never extract, load configuration, install or execute candidate code. */
17431
17521
  async function validatePreparedSnapshot(value, trustedPlan, files) {
17432
17522
  const plan = validateSnapshotBuildPlan(trustedPlan);
17433
- const manifest = object$2(value);
17523
+ const manifest = object$1(value);
17434
17524
  exactKeys(manifest, [
17435
17525
  "schemaVersion",
17436
17526
  "plan",
@@ -17442,12 +17532,12 @@ async function validatePreparedSnapshot(value, trustedPlan, files) {
17442
17532
  if (manifest["schemaVersion"] !== 1 || canonicalSnapshotJson(manifest["plan"]) !== canonicalSnapshotJson(plan) || manifest["planDigest"] !== snapshotPlanDigest(plan) || !Array.isArray(manifest["packages"]) || manifest["packages"].length !== plan.packages.length) throw new Error("Prepared snapshot does not match the trusted frozen plan.");
17443
17533
  const encoded = files.get("snapshot-manifest.json");
17444
17534
  if (!encoded || canonicalSnapshotJson(JSON.parse(new TextDecoder().decode(encoded))) !== canonicalSnapshotJson(manifest)) throw new Error("Prepared snapshot manifest bytes do not match the supplied manifest.");
17445
- const checks = object$2(manifest["checks"]);
17535
+ const checks = object$1(manifest["checks"]);
17446
17536
  exactKeys(checks, ["build", "packages"]);
17447
17537
  if (checks["build"] !== "passed" || !Array.isArray(checks["packages"]) || checks["packages"].length !== plan.packages.length) throw new Error("Prepared snapshot lacks successful build and package validation evidence.");
17448
17538
  const expectedFiles = /* @__PURE__ */ new Set(["snapshot-manifest.json"]);
17449
17539
  for (const [index, pkg] of plan.packages.entries()) {
17450
- const artifact = object$2(manifest["packages"][index]);
17540
+ const artifact = object$1(manifest["packages"][index]);
17451
17541
  exactKeys(artifact, [
17452
17542
  "name",
17453
17543
  "version",
@@ -17464,7 +17554,7 @@ async function validatePreparedSnapshot(value, trustedPlan, files) {
17464
17554
  const packed = entries.find((entry) => entry.path === "package/package.json" && entry.type === "File");
17465
17555
  if (!packed || entries.some((entry) => entry.mode & 3584)) throw new Error(`Prepared snapshot has missing package metadata or unsafe archive permissions: ${pkg.name}.`);
17466
17556
  validatePackedManifest(JSON.parse(packed.data.toString("utf8")), pkg, plan);
17467
- const check = object$2(checks["packages"][index]);
17557
+ const check = object$1(checks["packages"][index]);
17468
17558
  exactKeys(check, [
17469
17559
  "name",
17470
17560
  "status",
@@ -17639,12 +17729,12 @@ function snapshotPublicationReport(manifest, directory) {
17639
17729
  // src/commands/release/snapshot/prepared/consumer/installed.ts
17640
17730
  /** Validate the entire installed batch before any candidate entrypoint can run. */
17641
17731
  async function installedSnapshotPackages(manifest, directory, applicable) {
17642
- const packages = object$2(object$2(parse$1(await readFile(path$1.join(directory, "pnpm-lock.yaml"), "utf8")))["packages"]);
17732
+ const packages = object$1(object$1(parse$1(await readFile(path$1.join(directory, "pnpm-lock.yaml"), "utf8")))["packages"]);
17643
17733
  const snapshot = snapshotPublicationReport(manifest, directory);
17644
17734
  const validated = [];
17645
17735
  for (const pkg of manifest.packages) {
17646
17736
  if (applicable && !applicable.has(pkg.name)) continue;
17647
- if (object$2(object$2(packages[`${pkg.name}@${pkg.version}`])["resolution"])["integrity"] !== pkg.integrity) throw new Error(`Snapshot consumer installation did not retain the verified integrity for ${pkg.name}.`);
17737
+ if (object$1(object$1(packages[`${pkg.name}@${pkg.version}`])["resolution"])["integrity"] !== pkg.integrity) throw new Error(`Snapshot consumer installation did not retain the verified integrity for ${pkg.name}.`);
17648
17738
  const installed = await realpath(path$1.join(directory, "node_modules", pkg.name));
17649
17739
  const relative = path$1.relative(directory, installed);
17650
17740
  if (!relative || relative === ".." || relative.startsWith(`..${path$1.sep}`) || path$1.isAbsolute(relative)) throw new Error(`Snapshot consumer resolved ${pkg.name} outside its isolated directory.`);
@@ -17710,10 +17800,7 @@ async function verifyPreparedSnapshotConsumer(options) {
17710
17800
  dependencies,
17711
17801
  ...toolchain ? { devDependencies: toolchain.devDependencies } : {}
17712
17802
  }, null, 2)}\n`),
17713
- writeFile(path$1.join(directory, "pnpm-workspace.yaml"), `${JSON.stringify({
17714
- packages: [],
17715
- minimumReleaseAgeExclude: manifest.packages.map((pkg) => `${pkg.name}@${pkg.version}`)
17716
- }, null, 2)}\n`),
17803
+ writeFile(path$1.join(directory, "pnpm-workspace.yaml"), consumerWorkspace(manifest.packages)),
17717
17804
  writeFile(path$1.join(directory, "user.npmrc"), ""),
17718
17805
  writeFile(path$1.join(directory, "global.npmrc"), "")
17719
17806
  ]);
@@ -18840,11 +18927,11 @@ function playwrightFiles(settings) {
18840
18927
  "typecheck": "tsc --noEmit"
18841
18928
  };
18842
18929
  const dependencies = {
18843
- "@playwright/test": "1.63.0",
18930
+ "@playwright/test": "1.65.0",
18844
18931
  "@types/node": "^22.0.0",
18845
- "eslint": "^10.0.0",
18932
+ "eslint": "^10.14.0",
18846
18933
  "repoctl": `^${version$1}`,
18847
- "typescript": "^6.0.2",
18934
+ "typescript": "^6.0.3",
18848
18935
  [target.name]: "workspace:*"
18849
18936
  };
18850
18937
  const targetUrl = `${path.relative(workspace.directory, target.directory).split("/").map(encodeURIComponent).join("/")}/`;
@@ -18955,7 +19042,7 @@ function playwrightWorkflow({ workspace }) {
18955
19042
  { uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" },
18956
19043
  { uses: "pnpm/action-setup@9bbca1e9dc2902adb87e8780fe5c98796985a62d" },
18957
19044
  {
18958
- uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020",
19045
+ uses: "actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1",
18959
19046
  with: { "node-version": defaultNodeVersion }
18960
19047
  },
18961
19048
  {
@@ -18985,7 +19072,7 @@ function playwrightWorkflow({ workspace }) {
18985
19072
  {
18986
19073
  name: "Upload report and failure traces",
18987
19074
  if: ["$", "{{ always() }}"].join(""),
18988
- uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a",
19075
+ uses: "actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9",
18989
19076
  with: {
18990
19077
  "name": workspace.name.replace(/[^a-z0-9-]/gi, "-"),
18991
19078
  "path": `${workspace.directory}/playwright-report\n${workspace.directory}/test-results`,
@@ -19320,18 +19407,18 @@ function storybookFiles(settings) {
19320
19407
  "typecheck": "tsc --noEmit"
19321
19408
  };
19322
19409
  const dependencies = {
19323
- "@storybook/addon-vitest": "10.6.1",
19324
- [`@storybook/${framework}`]: "10.6.1",
19410
+ "@storybook/addon-vitest": "10.6.7",
19411
+ [`@storybook/${framework}`]: "10.6.7",
19325
19412
  "@types/node": "^22.0.0",
19326
- "@vitest/browser-playwright": "5.0.3",
19327
- [`@vitejs/plugin-${options.framework}`]: options.framework === "vue" ? "^6.0.9" : "^6.1.1",
19328
- "eslint": "^10.0.0",
19329
- "playwright": "1.63.0",
19413
+ "@vitest/browser-playwright": "5.1.0",
19414
+ [`@vitejs/plugin-${options.framework}`]: options.framework === "vue" ? "^6.0.10" : "^6.3.0",
19415
+ "eslint": "^10.14.0",
19416
+ "playwright": "1.65.0",
19330
19417
  "repoctl": `^${version$1}`,
19331
- "storybook": "10.6.1",
19418
+ "storybook": "10.6.7",
19332
19419
  "typescript": "^6.0.3",
19333
- "vite": "^8.3.2",
19334
- "vitest": "5.0.3",
19420
+ "vite": "^8.3.8",
19421
+ "vitest": "5.1.0",
19335
19422
  [options.framework]: runtimeRange,
19336
19423
  [target.name]: "workspace:*"
19337
19424
  };
@@ -19466,7 +19553,7 @@ function storybookWorkflow({ workspace }) {
19466
19553
  { uses: "actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1" },
19467
19554
  { uses: "pnpm/action-setup@9bbca1e9dc2902adb87e8780fe5c98796985a62d" },
19468
19555
  {
19469
- uses: "actions/setup-node@820762786026740c76f36085b0efc47a31fe5020",
19556
+ uses: "actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1",
19470
19557
  with: { "node-version": defaultNodeVersion }
19471
19558
  },
19472
19559
  {
@@ -19496,7 +19583,7 @@ function storybookWorkflow({ workspace }) {
19496
19583
  {
19497
19584
  name: "Upload static stories and test report",
19498
19585
  if: ["$", "{{ always() }}"].join(""),
19499
- uses: "actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a",
19586
+ uses: "actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9",
19500
19587
  with: {
19501
19588
  "name": workspace.name.replace(/[^a-z0-9-]/gi, "-"),
19502
19589
  "path": `${workspace.directory}/storybook-static\n${workspace.directory}/test-results`,
@@ -1,6 +1,6 @@
1
- import { Lt as clearWorkspaceCache, rt as hash, zt as getWorkspacePackageSummaries } from "./workspace-tasks-Ca1zWNKr.mjs";
2
- import { t as knipConfigurationInputs } from "./inputs-DOUYGoHq.mjs";
3
- import { knipRoot } from "./plan-DC33-_or.mjs";
1
+ import { Lt as clearWorkspaceCache, rt as hash, zt as getWorkspacePackageSummaries } from "./workspace-tasks-DucdLmBS.mjs";
2
+ import { t as knipConfigurationInputs } from "./inputs-Pn_oLgyr.mjs";
3
+ import { knipRoot } from "./plan-C4S0SIsH.mjs";
4
4
  // src/commands/check/knip/config.ts
5
5
  /** Return native settings for manual merging; existing Knip config always remains authoritative. */
6
6
  async function getKnipConfigurationSuggestions(cwd) {
@@ -1,6 +1,6 @@
1
- import { $t as resolveCreateNewProjectPlan, Qt as defaultTemplate, Zt as createNewProject, in as createTemplateCatalog, on as loadTemplateCatalogContext } from "./commands-CAyU1yqP.mjs";
2
- import { d as logger } from "./execute-Y_6G_tEl.mjs";
3
- import { Et as fs$1, _t as localize } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { $t as resolveCreateNewProjectPlan, Qt as defaultTemplate, Zt as createNewProject, in as createTemplateCatalog, on as loadTemplateCatalogContext } from "./commands-DWtDkzcp.mjs";
2
+ import { d as logger } from "./execute-CowTATMR.mjs";
3
+ import { Et as fs$1, _t as localize } from "./workspace-tasks-DucdLmBS.mjs";
4
4
  import path from "pathe";
5
5
  import process from "node:process";
6
6
  import { readFile } from "node:fs/promises";
@@ -1,7 +1,7 @@
1
- import { rt as __exportAll } from "./tsconfig-DpOi_7HA.mjs";
2
- import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-B4vPaBcK.mjs";
3
- import { t as scanDependencies } from "./scan-DA7VmNjC.mjs";
4
- import { Lt as clearWorkspaceCache, _t as localize } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { it as __exportAll } from "./tsconfig-BSF6chfb.mjs";
2
+ import { a as prepareDependencyFix, i as dependencyNextSteps, n as inspectDependencyPlanInputs, o as dependencyReport, r as validateDependencyPlan, t as writeDependencyTransaction } from "./transaction-Cpnd5xhK.mjs";
3
+ import { t as scanDependencies } from "./scan-C6ZqUxK0.mjs";
4
+ import { Lt as clearWorkspaceCache, _t as localize } from "./workspace-tasks-DucdLmBS.mjs";
5
5
  import { isDeepStrictEqual } from "node:util";
6
6
  // src/commands/deps/apply.ts
7
7
  async function applyDependencyFixPlan(cwd, plan) {
@@ -1,5 +1,5 @@
1
- import { d as logger, t as runCheckWithReport } from "./execute-Y_6G_tEl.mjs";
2
- import { Et as fs, _t as localize } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { d as logger, t as runCheckWithReport } from "./execute-CowTATMR.mjs";
2
+ import { Et as fs, _t as localize } from "./workspace-tasks-DucdLmBS.mjs";
3
3
  import { t as formatAffectedCheckPlan } from "./cli.mjs";
4
4
  import path from "pathe";
5
5
  import process from "node:process";
@@ -1,5 +1,5 @@
1
- import { d as loadMonorepoConfig } from "./tsconfig-DpOi_7HA.mjs";
2
- import { Et as fs$1, H as signalExitCode, J as getWorkspaceGraph, V as executeCheckTask, Z as getWorkspaceImpact, _t as localize, tt as resolveWorkspaceGraphNode } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { d as loadMonorepoConfig } from "./tsconfig-BSF6chfb.mjs";
2
+ import { Et as fs$1, H as signalExitCode, J as getWorkspaceGraph, V as executeCheckTask, Z as getWorkspaceImpact, _t as localize, tt as resolveWorkspaceGraphNode } from "./workspace-tasks-DucdLmBS.mjs";
3
3
  import process from "node:process";
4
4
  import { createConsola } from "consola";
5
5
  import { execFileSync, spawnSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- import { _t as localize } from "./workspace-tasks-Ca1zWNKr.mjs";
1
+ import { _t as localize } from "./workspace-tasks-DucdLmBS.mjs";
2
2
  // src/commands/check/cache/format.ts
3
3
  function label(value, markdown) {
4
4
  return markdown ? value.replace(/[\\`*_{}[\]()#+.!|<>~-]/gu, "\\$&") : value;