Add nodejs version constraint documentation

This commit is contained in:
Yakov Till 2025-11-07 23:40:17 +01:00
parent 6eb69c9684
commit ff86acb83b

View file

@ -9,6 +9,9 @@ arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
url="https://n8n.io"
license=("custom:Sustainable Use License")
backup=("etc/default/${pkgname}")
# Check upstream nodejs version constraints with:
# curl -s "https://registry.npmjs.org/n8n/${pkgver}" | jq -r '.engines.node'
# Example output: ">=20.19 <= 24.x" means nodejs>=20.19.0 and nodejs<25
depends=("nodejs>=20.19.0" "nodejs<25")
makedepends=("npm" "jq" "curl")
source=("${pkgname}.env"