@snevins/repo-mapper 1.3.0 → 1.4.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 (2) hide show
  1. package/dist/output.js +1 -1
  2. package/package.json +1 -1
package/dist/output.js CHANGED
@@ -222,7 +222,7 @@ export function formatOutput(defs, graph, fileRanks, focusFiles, maxFilesPerModu
222
222
  continue;
223
223
  const fileRank = fileRanks.get(file) ?? 0;
224
224
  const deps = getFileDependents(file, graph);
225
- const depsStr = deps.length > 0 ? ` (used-by: ${deps.slice(0, 3).join(", ")}${deps.length > 3 ? ", ..." : ""})` : "";
225
+ const depsStr = deps.length > 0 ? ` (used-by: ${deps.slice(0, 10).join(", ")}${deps.length > 10 ? ", ..." : ""})` : "";
226
226
  lines.push(`${file}: ${formatRankDisplay(fileRank, allRanks)}${depsStr}`);
227
227
  // Sort definitions by line ascending
228
228
  const sorted = [...fileDefs].sort((a, b) => a.tag.line - b.tag.line);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snevins/repo-mapper",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Generate token-budgeted repo maps for LLM context using tree-sitter and PageRank",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",