Skip to content

PackageJsonAdapter ​

The subset of RuntimeAdapter needed for manifest discovery.

Using a narrow pick keeps the function easy to test and makes the dependency explicit.

Signatures ​

ts
type PackageJsonAdapter = Pick<RuntimeAdapter, "readFile" | "cwd">;

See Also ​

Released under the MIT License.