jmove/tests
loki5512344 1ddf79b508
feat: warn about non-import references to moved files
The import graph only rewrites import/export-from/require. Files are
also named from markdown links, package.json fields, jest.mock strings
and tsconfig file lists, and a move that dangles those must not pass
silently. mv now scans text formats plus source strings for the moved
paths, module names and old specifier forms (word-boundary matched,
lockfiles/hidden dirs skipped) and reports each occurrence once per
line on stderr and as non_import_refs[] in --json (dry-run included).
References are never edited; exit codes are unchanged.

Also moves normalize_scope into Index (its only consumer) and the
Change/ChangedFile JSON structs into output where they are built, to
stay inside the 250-line-per-file budget.
2026-09-15 19:48:18 +02:00
..
common feat(java): Phase 1.5 — tree-sitter Java frontend, package-aware mv, e2e fixtures 2026-09-13 17:29:07 +02:00
go feat: MVP — move files, rewrite imports, atomically 2026-09-10 11:41:03 +02:00
java feat(check): java public-class ⇄ file-name mismatch — layout finding with a ready jmove mv repair 2026-09-15 19:05:54 +02:00
python feat: MVP — move files, rewrite imports, atomically 2026-09-10 11:41:03 +02:00
typescript feat: warn about non-import references to moved files 2026-09-15 19:48:18 +02:00
apply.rs feat: directory moves — mirrored batch relocation of every indexed file under a dir 2026-09-15 18:30:33 +02:00
cli.rs feat(check): java public-class ⇄ file-name mismatch — layout finding with a ready jmove mv repair 2026-09-15 19:05:54 +02:00
cli_alias.rs feat: tsconfig compilerOptions.paths — aliased bare specifiers join the graph and follow moves 2026-09-15 19:17:06 +02:00
cli_dir.rs feat: directory moves — mirrored batch relocation of every indexed file under a dir 2026-09-15 18:30:33 +02:00
cli_fix.rs feat: directory moves — mirrored batch relocation of every indexed file under a dir 2026-09-15 18:30:33 +02:00
cli_git.rs feat: directory moves — mirrored batch relocation of every indexed file under a dir 2026-09-15 18:30:33 +02:00
cli_java.rs feat: global --source-root — index/mv/check/fix one subtree; deterministic Java FQN resolution in monorepos with duplicate packages (guava vs android/guava); move mv_reject to output.rs 2026-09-15 16:48:57 +02:00
cli_missing_import.rs feat: directory moves — mirrored batch relocation of every indexed file under a dir 2026-09-15 18:30:33 +02:00
cli_name_check.rs feat(check): java public-class ⇄ file-name mismatch — layout finding with a ready jmove mv repair 2026-09-15 19:05:54 +02:00
cli_refs.rs feat: warn about non-import references to moved files 2026-09-15 19:48:18 +02:00