Skip to content

Commit 9fd9fcf

Browse files
authored
chore: use array for packageManager as workaround (#392)
Use an array for packageManager in devEngines as a workaround for dependabot/dependabot-core#13722 that breaks Dependabot updates. This is due to nodejs/corepack#729, which Dependabot uses under the hood. The fix is based on nextcloud-libraries/nextcloud-vite-config#679, nextcloud-libraries/nextcloud-vite-config@64400cd.
1 parent 30590c4 commit 9fd9fcf

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,13 @@
8484
"version": "^18 || ^20 || ^22",
8585
"onFail": "warn"
8686
},
87-
"packageManager": {
88-
"name": "npm",
89-
"version": "^10 || ^11",
90-
"onFail": "warn"
91-
}
87+
"packageManager": [
88+
{
89+
"name": "npm",
90+
"version": "^10 || ^11",
91+
"onFail": "warn"
92+
}
93+
]
9294
},
9395
"lint-staged": {
9496
"*": "npm run lint:fix"

0 commit comments

Comments
 (0)