pnpm: 11.1.2 -> 11.3.0 (#522531)
This commit is contained in:
@@ -146,6 +146,10 @@ in
|
||||
# Run any additional pnpm configuration commands that users provide.
|
||||
${prePnpmInstall}
|
||||
|
||||
echo "Final pnpm config:"
|
||||
pnpm config list
|
||||
echo
|
||||
|
||||
# pnpm is going to warn us about using --force
|
||||
# --force allows us to fetch all dependencies including ones that aren't meant for our host platform
|
||||
pnpm install \
|
||||
|
||||
@@ -28,6 +28,11 @@ pnpmConfigHook() {
|
||||
if versionAtLeast "$pnpmVersion" "11"; then
|
||||
# pnpm 11 uses a different mechanism to manage package manager versions
|
||||
export pnpm_config_pm_on_fail=ignore
|
||||
|
||||
# Disable lockfile verification against supply-chain policies. This is
|
||||
# already done in fetchPnpmDeps, so if these checks failed there, we
|
||||
# wouldn't be here in the first place
|
||||
export pnpm_config_trust_lockfile=true
|
||||
else
|
||||
pnpm config set manage-package-manager-versions false
|
||||
fi
|
||||
@@ -84,6 +89,10 @@ pnpmConfigHook() {
|
||||
|
||||
runHook prePnpmInstall
|
||||
|
||||
echo "Final pnpm config:"
|
||||
pnpm config list
|
||||
echo
|
||||
|
||||
if ! pnpm install \
|
||||
--offline \
|
||||
--ignore-scripts \
|
||||
|
||||
@@ -26,8 +26,8 @@ let
|
||||
hash = "sha256-jnDdxmSbGLw9iVzzqQjAKR6kw4A5rYcixH4Bja8enPw=";
|
||||
};
|
||||
"11" = {
|
||||
version = "11.1.2";
|
||||
hash = "sha256-v+TSssejIQVlu6YpKfnv5JPrXyRicgGhAupFFOroz4A=";
|
||||
version = "11.3.0";
|
||||
hash = "sha256-Wt4e9RzzZEH0oAkx6vkANlRonro2hJOfcNdXay37hHQ=";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user