refactor(parsers): share local-asset resolution across lint and studio-server

Moves assetResolution.ts from packages/lint into @hyperframes/parsers behind
a ./asset-resolution subpath export, mirroring the ./ff-binaries shape, and
points lint's two importers at it. Pure move: no behavior change. Unblocks
studio-server consuming the same helpers without a dependency cycle (the CLI
already depends on lint, so importing lint from studio-server is not an option).
This commit is contained in:
Miguel Angel Simon Sierra
2026-07-16 19:16:43 -04:00
parent 7980479083
commit 053e1274b1
5 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import {
isRemoteOrInlineUrl,
maskNonScannableRanges,
resolveExistingLocalAsset,
} from "./assetResolution.js";
} from "@hyperframes/parsers/asset-resolution";
import type { HyperframeLintFinding } from "./types.js";
/** Structurally compatible with `project.ts`'s (unexported) `HtmlSource` —