Skip to content

Commit 00d6527

Browse files
committed
Update Node.js & NPM in project's engines
I chose this version of Node because: - Latest LTS stability: It's the most recent Long Term Support version, providing stability and security updates until April 2026, making it ideal for production use. - Maximum compatibility: It's the highest Node.js version that works seamlessly with all existing project dependencies without requiring any dependency upgrades.
1 parent 772e525 commit 00d6527

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build-script-helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def ensure_npm_is_installed(verbose=False):
7676
try:
7777
node_version = check_output(['node', '--version'], verbose=verbose)
7878
if not node_version.startswith('v18.16.'):
79-
warn_msg = "Unexpected version of 'node' installed. Swift-DocC-Render requires node 18.16.1. "\
79+
warn_msg = "Unexpected version of 'node' installed. Swift-DocC-Render requires node 22.17.0. "\
8080
"See the README.md file for more information about building Swift-DocC-Render."
8181
printerr('-- Warning: %s' % warn_msg)
8282
except:

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"vue-router": "^3.5.2"
6464
},
6565
"engines": {
66-
"node": ">=18.16.1 <21",
67-
"npm": ">=9.5.1"
66+
"node": ">=22.17.0 <23",
67+
"npm": ">=10.9.2"
6868
}
6969
}

0 commit comments

Comments
 (0)