Skip to main content

Function: getNearestPackageManifest()

function getNearestPackageManifest(filePath: string): Readonly<{
dependencyNames: ReadonlySet<string>;
packageJsonPath: string;
}> | null;

Defined in: _internal/package-manifest.ts:100

Find and cache the nearest package manifest for a config file path.

Parametersโ€‹

filePathโ€‹

string

Returnsโ€‹

| Readonly<{ dependencyNames: ReadonlySet<string>; packageJsonPath: string; }> | null