fix: location of full metadata cache (#9967)

close #9963
This commit is contained in:
Zoltan Kochan
2025-09-13 19:00:56 +02:00
committed by GitHub
parent c1540ea035
commit 6365bc4c3a
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
---
"@pnpm/constants": patch
"pnpm": patch
---
The full metadata cache should be stored not at the same location as the abbreviated metadata. This fixes a bug where pnpm was loading the abbreviated metadata from cache and couldn't find the "time" field as a result [#9963](https://github.com/pnpm/pnpm/issues/9963).

View File

@@ -15,7 +15,7 @@ export const WORKSPACE_MANIFEST_FILENAME = 'pnpm-workspace.yaml'
// of one package/version
export const ABBREVIATED_META_DIR = 'metadata-v1.3'
export const FULL_META_DIR = 'metadata-full-v1.3' // This is currently not used at all
export const FULL_FILTERED_META_DIR = 'metadata-v1.3'
export const FULL_FILTERED_META_DIR = 'metadata-ff-v1.3'
export const USEFUL_NON_ROOT_PNPM_FIELDS = ['executionEnv'] as const