Skip to content

Commit

Permalink
Update to use pnpm 9 (microsoft#23318)
Browse files Browse the repository at this point in the history
## Description

Update to pnpm 9

Same as microsoft#21328 but not
from a fork to work around issues with how dependency scanning works for
PRs.

Lock files updates with:
`pnpm exec flub exec --releaseGroupRoot=all -- "pnpm i --lockfile-only"`
`pnpm exec flub exec --packages -- "pnpm i --lockfile-only"`

## Breaking Changes

Developers will have to update to pnpm 9
  • Loading branch information
CraigMacomber authored Jan 16, 2025
1 parent 52a40cb commit de5bfac
Show file tree
Hide file tree
Showing 45 changed files with 74,182 additions and 56,640 deletions.
3 changes: 1 addition & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
engine-strict=true
frozen-lockfile=true
strict-peer-dependencies=true
link-workspace-packages=true

# Disable pnpm update notifications since we use corepack to install package managers
update-notifier=false
# Don't use new lockfile format because component governance does not yet support it
use-lockfile-v6=false
# Use the number of cores on the machine by default.
workspace-concurrency=0

Expand Down
3 changes: 1 addition & 2 deletions build-tools/.npmrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
engine-strict=true
frozen-lockfile=true
strict-peer-dependencies=true
link-workspace-packages=true

# Disable pnpm update notifications since we use corepack to install package managers
update-notifier=false
# Don't use new lockfile format because component governance does not yet support it
use-lockfile-v6=false
# Use the number of cores on the machine by default.
workspace-concurrency=0
2 changes: 1 addition & 1 deletion build-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"syncpack": "^9.8.6",
"typescript": "~5.4.5"
},
"packageManager": "pnpm@8.15.8+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392",
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a",
"engines": {
"node": ">=18.17.1"
},
Expand Down
13,659 changes: 8,030 additions & 5,629 deletions build-tools/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions common/build/build-common/.npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ strict-peer-dependencies=true

# Disable pnpm update notifications since we use corepack to install package managers
update-notifier=false
# Don't use new lockfile format because component governance does not yet support it
use-lockfile-v6=false
2 changes: 1 addition & 1 deletion common/build/build-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"devDependencies": {
"prettier": "~3.0.3"
},
"packageManager": "pnpm@8.15.8+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392"
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
}
9 changes: 6 additions & 3 deletions common/build/build-common/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions common/build/eslint-config-fluid/.npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ strict-peer-dependencies=true

# Disable pnpm update notifications since we use corepack to install package managers
update-notifier=false
# Don't use new lockfile format because component governance does not yet support it
use-lockfile-v6=false
2 changes: 1 addition & 1 deletion common/build/eslint-config-fluid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
"sort-json": "^2.0.1",
"typescript": "~5.1.6"
},
"packageManager": "pnpm@8.15.8+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392"
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
}
Loading

0 comments on commit de5bfac

Please sign in to comment.