Skip to content

[Docs] Update node supported version#3240

Open
fellyph wants to merge 3 commits intotrunkfrom
pump-node-supported-version
Open

[Docs] Update node supported version#3240
fellyph wants to merge 3 commits intotrunkfrom
pump-node-supported-version

Conversation

@fellyph
Copy link
Collaborator

@fellyph fellyph commented Feb 3, 2026

This pull request updates the documentation for the Playground CLI and contributing guides across multiple languages to require Node.js version 22.12 or newer (previously 20.18 or newer). This ensures consistency and clarity about the minimum Node.js version needed for development and contribution.

Documentation updates for Node.js version requirements:

  • Updated the required Node.js version for the Playground CLI from 20.18 to 22.12 in the main English documentation (04-wp-playground-cli.md) and its translations in Spanish, Japanese, and Brazilian Portuguese.
  • Updated the Node.js version requirement in contributor guides for English, Bengali, Spanish, Gujarati, Italian, Japanese, and Brazilian Portuguese, ensuring all mention Node.js 22.12 or newer.

Minor formatting corrections:

  • Fixed code block formatting in the Spanish contributor guide for proper display of bash commands.

…lect Node.js version change to 22.12 LTS and improve formatting for clarity.
@fellyph fellyph marked this pull request as ready for review February 3, 2026 21:58
Copilot AI review requested due to automatic review settings February 3, 2026 21:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates multilingual documentation to require Node.js 22.12+ for using and contributing to the Playground CLI, and fixes a small formatting issue in the Spanish contributor guide.

Changes:

  • Bumped the documented minimum Node.js version from 20.18 to 22.12 in Playground CLI docs (requirements sections) across English, Spanish, Japanese, and Brazilian Portuguese.
  • Updated contributor-day guides in English, Bengali, Spanish, Gujarati, Italian, Japanese, and Brazilian Portuguese to reference Node.js 22.12+ in both local-language and embedded English text.
  • Corrected a missing closing code fence in the Spanish contributor guide so the bash commands render correctly.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/contributing/contributor-day.md Updates CLI prerequisites text to require Node.js 22.12+ in Portuguese and embedded English comment.
packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/developers/05-local-development/04-wp-playground-cli.md Raises Playground CLI Node.js requirement to 22.12+ in Portuguese and commented English note.
packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/contributing/contributor-day.md Updates Japanese and commented English prerequisites for CLI to Node.js 22.12+.
packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/developers/05-local-development/04-wp-playground-cli.md Changes Japanese and commented English requirements to Node.js 22.12+.
packages/docs/site/i18n/it/docusaurus-plugin-content-docs/current/main/contributing/contributor-day.md Updates Italian and English prerequisite sections in multiple places to require Node.js 22.12+.
packages/docs/site/i18n/gu/docusaurus-plugin-content-docs/current/main/contributing/contributor-day.md Bumps Gujarati and embedded English CLI prerequisites to Node.js 22.12+.
packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/main/contributing/contributor-day.md Updates Spanish and commented English prerequisites to Node.js 22.12+ and adds a missing closing code fence.
packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/developers/05-local-development/04-wp-playground-cli.md Raises Spanish Playground CLI Node.js requirement to 22.12+.
packages/docs/site/i18n/bn/docusaurus-plugin-content-docs/current/main/contributing/contributor-day.md Updates Bengali and commented English prerequisite text to Node.js 22.12+.
packages/docs/site/docs/main/contributing/contributor-day.md Adjusts English contributor-day prerequisites to Node.js 22.12+.
packages/docs/site/docs/developers/05-local-development/04-wp-playground-cli.md Raises English Playground CLI Node.js requirement to 22.12+.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@brandonpayton
Copy link
Member

@fellyph it looks like our declared minimum Node.js version is still v20.x here:

"engines": {
"node": ">=20.18.3",
"npm": ">=10.1.0"
},

Is this something we need to change?

@fellyph
Copy link
Collaborator Author

fellyph commented Feb 4, 2026

@brandonpayton, we had a change on nvmrc https://github.com/WordPress/wordpress-playground/pull/3114/changes to 22.12. Should we change the package.json as well? I would send this change in a separate PR

@brandonpayton
Copy link
Member

@brandonpayton, we had a change on nvmrc https://github.com/WordPress/wordpress-playground/pull/3114/changes to 22.12. Should we change the package.json as well? I would send this change in a separate PR

@fellyph yep, we need to update it in package.json, package-lock.json, and maybe more places. It would be a good idea to search for other references to 20.18.3 in the project as well.

@fellyph
Copy link
Collaborator Author

fellyph commented Feb 4, 2026

@brandonpayton I have created a PR to update the package.json: #3247

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants