src/graph/import-resolution
Interfaces
| Interface | Description |
|---|---|
| ImportUsedBy | Resolve import specifiers to modules within a known package — no FS, linear string ops only. |
Functions
| Function | Description |
|---|---|
| exportUsedByKey | - |
| moduleTargetFromImport | If specifier targets packageName, return the package-relative module path without extension (e.g. form-artifact-paths, queries/matter/create). Relative imports only resolve when the importer lives under packageDirectory. |
| packageLocalPath | Package-local path for display: strip the package directory prefix. |
| resolveRelative | POSIX-ish resolve of fromDir/specifier without touching the filesystem. |
| stripTsExt | - |