Skip to content

Commit d1167d6

Browse files
committed
chore: work around bug in corepack blocking dependency updates
dependabot uses `corepack` for all updates of node dependencies. The problem here is that `corepack` breaks if the `devEngines.packageManager` does not define a **full semantic version** meaning it does not support semantic ranges. We can work around this by just using the array syntax with only one entry. For reference the *corepack* bug report: nodejs/corepack#729 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 1cebd7a commit d1167d6

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@
8181
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
8282
},
8383
"devEngines": {
84-
"packageManager": {
85-
"name": "npm",
86-
"version": "^10.0.0"
87-
},
84+
"packageManager": [
85+
{
86+
"name": "npm",
87+
"version": "^10.0.0"
88+
}
89+
],
8890
"runtime": {
8991
"name": "node",
9092
"version": "^22.0.0"

0 commit comments

Comments
 (0)