diff --git a/e2e/pnpm_lockfiles/base/package.json b/e2e/pnpm_lockfiles/base/package.json index 66fb5b557..8dbca01c3 100644 --- a/e2e/pnpm_lockfiles/base/package.json +++ b/e2e/pnpm_lockfiles/base/package.json @@ -26,7 +26,7 @@ "patchedDependencies": { "meaning-of-life@1.0.0": "patches/meaning-of-life@1.0.0-pnpm.patch" }, - "onlyBuildDependencies": [ + "onlyBuiltDependencies": [ "@aspect-test/c" ] } diff --git a/npm/private/npm_translate_lock_state.bzl b/npm/private/npm_translate_lock_state.bzl index 28e941567..b944cb156 100644 --- a/npm/private/npm_translate_lock_state.bzl +++ b/npm/private/npm_translate_lock_state.bzl @@ -538,7 +538,7 @@ def _patched_dependencies(priv): return priv["patched_dependencies"] def _only_built_dependencies(priv): - return _root_package_json(priv).get("pnpm", {}).get("onlyBuildDependencies", None) + return _root_package_json(priv).get("pnpm", {}).get("onlyBuiltDependencies", None) def _num_patches(priv): return priv["num_patches"]