mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-18 22:02:53 -04:00
fix: return bundled manifest for local dependency (#6702)
This commit is contained in:
@@ -613,6 +613,11 @@ Actual package in the store by the given integrity: ${pkgFilesIndex.name}@${pkgF
|
||||
filesIndex: fetchedPackage.filesIndex,
|
||||
packageImportMethod: (fetchedPackage as DirectoryFetcherResult).packageImportMethod,
|
||||
}
|
||||
if (fetchedPackage.filesIndex['package.json'] != null) {
|
||||
readBundledManifest(fetchedPackage.filesIndex['package.json'])
|
||||
.then(bundledManifest.resolve)
|
||||
.catch(bundledManifest.reject)
|
||||
}
|
||||
}
|
||||
|
||||
if (isLocalTarballDep && (opts.pkg.resolution as TarballResolution).integrity) {
|
||||
|
||||
Reference in New Issue
Block a user