Version
graphify 0.9.72 (uv tool upgrade graphifyy reports Nothing to upgrade), Python 3.10, macOS.
Minimal reproduction
index.ts:
export type * from "./types.js";
types.ts:
export type FetchFn = typeof globalThis.fetch;
Example.svelte:
<script lang="ts">
let { value = 0 }: { value?: number } = $props();
const doubled = $derived(value * 2);
function increment() { value += 1; }
</script>
<button onclick={increment}>{doubled}</button>
Run structural extraction using graphify.extract.extract([Path("index.ts"), Path("Example.svelte")], parallel=False) or a code-only extraction.
Observed
The TypeScript barrel reports a syntax error on export type * and no symbols. Svelte files report syntax errors at <script> (line 1), and larger Svelte 5 templates can emit spurious if() function nodes from markup. On our application the health warning listed 175 partially extracted files, mostly Svelte, plus unresolved barrel symbols. Named type exports (or removal of unused type re-exports) avoid the barrel error, but not Svelte template errors.
Expected
Support TS 5 type-star exports. Parse Svelte script blocks as TS/JS and Svelte markup with a compatible grammar, preserving original source locations; template {#if} blocks must not become functions. Parser gaps should be clearly recorded in the graph/report, since they skew cohesion and hub rankings.
Version
graphify 0.9.72 (uv tool upgrade graphifyy reports Nothing to upgrade), Python 3.10, macOS.
Minimal reproduction
index.ts:types.ts:Example.svelte:Run structural extraction using
graphify.extract.extract([Path("index.ts"), Path("Example.svelte")], parallel=False)or a code-only extraction.Observed
The TypeScript barrel reports a syntax error on
export type *and no symbols. Svelte files report syntax errors at<script>(line 1), and larger Svelte 5 templates can emit spuriousif()function nodes from markup. On our application the health warning listed 175 partially extracted files, mostly Svelte, plus unresolved barrel symbols. Named type exports (or removal of unused type re-exports) avoid the barrel error, but not Svelte template errors.Expected
Support TS 5 type-star exports. Parse Svelte script blocks as TS/JS and Svelte markup with a compatible grammar, preserving original source locations; template
{#if}blocks must not become functions. Parser gaps should be clearly recorded in the graph/report, since they skew cohesion and hub rankings.