Skip to content

Commit e077be6

Browse files
authored
Merge pull request #6041 from PromptExecution/chore/node22-min
chore: require Node.js 22+
2 parents 2c44471 + 3a90692 commit e077be6

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PM2 is constantly assailed by [more than 1800 tests](https://github.com/Unitech/
3838

3939
Official website: [https://pm2.keymetrics.io/](https://pm2.keymetrics.io/)
4040

41-
Works on Linux (stable) & macOS (stable) & Windows (stable). All Node.js versions are supported starting Node.js 12.X and Bun since v1
41+
Works on Linux (stable) & macOS (stable) & Windows (stable). All Node.js versions are supported starting Node.js 22.x and Bun since v1
4242

4343

4444
## Installing PM2

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"preferGlobal": true,
44
"version": "6.0.13",
55
"engines": {
6-
"node": ">=16.0.0"
6+
"node": ">=22.0.0"
77
},
88
"directories": {
99
"bin": "./bin",

packager/alpine/pm2/APKBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ pkgdesc="PM2 CE: Production Process Manager for Node.js apps with a built-in Loa
77
url="http://pm2.io"
88
arch="noarch"
99
license="GNU-AGPL-3.0"
10-
depends="nodejs"
11-
makedepends="make nodejs-npm"
10+
depends="nodejs>=22"
11+
makedepends="make nodejs-npm>=22"
1212
install="" # "$pkgname.pre-install $pkgname.post-install"
1313
subpackages="" # "$pkgname-dev $pkgname-doc"
1414
source="

packager/build-deb-rpm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ fpm --input-type dir --chdir $PACKAGE_TMPDIR \
127127
--before-remove packager/rhel/prerm \
128128
--after-remove packager/rhel/postrm \
129129
--architecture noarch \
130-
--depends nodejs \
130+
--depends "nodejs >= 22.0.0" \
131131
--output-type rpm .
132132

133133
##### Adapt files for Debian-like distro

packager/debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: pm2
22
Version: __VERSION__
3-
Depends: nodejs (>= 6.12.2)
4-
Conflicts: nodejs (<< 0.12.0)
3+
Depends: nodejs (>= 22.0.0)
4+
Conflicts: nodejs (<< 22.0.0)
55
Section: devel
66
Priority: optional
77
Architecture: all

0 commit comments

Comments
 (0)