MCPcopy Index your code
hub / github.com/remix-run/react-router / getPackageFile

Function getPackageFile

scripts/utils/packages.ts:25–30  ·  view source on GitHub ↗
(
  packageDirName: string,
  filename: string,
)

Source from the content-addressed store, hash-verified

23}
24
25export function getPackageFile(
26 packageDirName: string,
27 filename: string,
28): string {
29 return path.join(getPackagePath(packageDirName), filename);
30}
31
32/**
33 * Builds a mapping from npm package names to directory names by reading

Callers 9

parsePackageChangesFunction · 0.90
parseAllChangeFilesFunction · 0.90
parseChangelogFunction · 0.90
updatePackageJsonFunction · 0.90
updateChangelogFunction · 0.90
getUnpublishedPackagesFunction · 0.90
mainFunction · 0.90
packages.tsFile · 0.85

Calls 1

getPackagePathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…