Skip to content

Commit 00097b5

Browse files
committed
chore: update supported node versions
As a library this should support multiple Nextcloud versions which might still use Node 20 (Nextcloud < 31) or Node 22 (Nextcloud 31) or even Node 24 which would be Nextcloud 32 or 33. This package is not bound to Ndoe as this is a browser library, so we can even support all LTS versions. Instead we only should ensure we have a consistent development engine. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent fb3033b commit 00097b5

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

package-lock.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,16 @@
5151
"vitest": "^3.1.3"
5252
},
5353
"engines": {
54-
"node": "^20.0.0",
55-
"npm": "^10.0.0"
54+
"node": "^20.0.0 || ^22.0.0 || ^24.0.0"
55+
},
56+
"devEngines": {
57+
"packageManager": {
58+
"name": "npm",
59+
"version": "^10.0.0"
60+
},
61+
"runtime": {
62+
"name": "node",
63+
"version": "^22.0.0"
64+
}
5665
}
5766
}

0 commit comments

Comments
 (0)