Member Junction
    Preparing search index...
    • Locates a workspace package by name under an app repo's source directory (one level deep, matching code.sourceDirectory), returning its directory. Used when the process runs inside the app's own repository: the package is a workspace member there, but under pnpm's strict layout nothing at the repo root can require.resolve it, so we find it on disk instead.

      Parameters

      • repoDir: string
      • sourceDirectory: string
      • packageName: string

      Returns string | null