What's new
Fix: tsconfig JSONC parsing (#700)
_read_tsconfig_aliases() now handles the format every TypeScript tool generates — // comments, /* */ block comments, trailing commas. Previously json.loads threw JSONDecodeError which was silently swallowed, causing alias resolution to return {} for essentially every real TS project (SvelteKit, NestJS, T3, Astro, Vite, Nx). The extends-following logic from v0.7.1 was correct all along — it was just unreachable. Both now work together.
Fix: Svelte dynamic import edges (#701)
Two bugs in the extract_svelte() regex fallback that caused 100% of generated edges to be dropped:
- Bug A: Aliased imports (
$lib/...,$partials/...,@/...) were skipped by a.startswith('.')filter — now resolved via the tsconfig alias map - Bug B: Synthetic node IDs used the wrong
_make_idsignature so both endpoints were phantom nodes; fixed to match_extract_genericand_import_jsconventions
For a real 1,870-file SvelteKit app: 4,246 $lib/... + 478 $partials/... imports now resolve correctly, recovering ~150 previously orphaned .svelte files.