-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Require Node.js >= 25 (engines, installers, Dockerfile, snap, CI, docs) #7749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,10 +85,9 @@ If a package previously had an `NPM_TOKEN` secret in CI: | |
|
|
||
| ## Requirements | ||
|
|
||
| - **Node.js**: >= 22.12 on the runner. npm 11 requires `>=22.9.0` and | ||
| `oxc-minify` (a vitepress peer for the docs build) requires `>=22.12.0`, | ||
| both of which `setup-node@v6 with version: 22` satisfies (resolves to the | ||
| latest 22.x). The project's `engines.node` requires `>=22.12.0`. | ||
| - **Node.js**: >= 25 on the runner. `setup-node@v6 with version: 25` | ||
| resolves to the latest 25.x. The project's `engines.node` requires | ||
| `>=25.0.0`. | ||
|
Comment on lines
+88
to
+90
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. engines.node requirement misdocumented The documentation now claims the project's engines.node requires >=25.0.0 and implies workflows should use Node 25, but the repository still declares >=22.13.0 and the referenced publishing workflow template uses Node 22. This creates a misleading, unnecessary breaking requirement in user-facing guidance about supported Node versions. Agent Prompt
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in c6b6eb5 — |
||
| - **npm CLI**: >= 11.5.1. The publish workflow runs `npm install -g npm@latest` | ||
| before publishing so the bundled npm version doesn't matter. | ||
| - **Runner**: must be a GitHub-hosted (cloud) runner. Self-hosted runners are | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -226,7 +226,7 @@ publish your plugin. | |
| "author": "USERNAME (REAL NAME) <MAIL@EXAMPLE.COM>", | ||
| "contributors": [], | ||
| "dependencies": {"MODULE": "0.3.20"}, | ||
| "engines": {"node": ">=12.17.0"} | ||
| "engines": {"node": ">=25.0.0"} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3. Plugin engines example incompatible The plugin metadata examples now recommend engines.node: ">=25.0.0", which conflicts with Etherpad’s currently declared support (>=22.13.0) and official Node 22 distributions, encouraging plugin authors to publish plugins that are incompatible with supported installs. Agent Prompt
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in c6b6eb5 — Etherpad now declares |
||
| } | ||
| ``` | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Readme node minimum inconsistent
📘 Rule violation≡ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation toolsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in c6b6eb5 —
engines.nodeis now>=25.0.0andbin/installer.{sh,ps1},bin/functions.sh,Dockerfile, andsnap/snapcraft.yamlall moved to 25. README no longer overstates the requirement relative to what the runtime enforces.