PackageJsonAdapter
The subset of RuntimeAdapter needed for package.json discovery.
Using a narrow pick keeps the function easy to test and makes the dependency explicit.
- Import:
@kjanat/dreamcli - Export kind: type
- Declared in:
src/core/config/package-json.ts - Source link:
packages/dreamcli/src/core/config/package-json.ts:44
Signatures
ts
type PackageJsonAdapter = Pick<RuntimeAdapter, "readFile" | "cwd">;