Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.23.4
24.22.1
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The review rules ARE the coding rules: the files Copilot reviews against are the

- **PHP 8.2+**, Composer, PSR-4: `Project_Name\Features\` → `inc/`; tests `Project_Name\Features\Tests\` → `tests/php/` (namespace === directory, filename === class).
- **PHPUnit + `wp-phpunit`** in `tests/php/` (mirrors `inc/`), run under `wp-env`. **PHPCS** (the shared `rtCampWP` ruleset from `rtcamp/wp-phpcs`: WPCS + VIP + Docs + Slevomat) and **PHPStan** (level 5, the `rtcamp/wp-phpstan` baseline): zero errors before merge.
- **Node 22**, build via `@wordpress/scripts` + a custom `webpack.config.js`. Source in `src/{blocks,css,js}`, output in `assets/build/`.
- **Node 24**, build via `@wordpress/scripts` + a custom `webpack.config.js`. Source in `src/{blocks,css,js}`, output in `assets/build/`.

## Structure

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a href="https://www.repostatus.org/#active"><img src="https://www.repostatus.org/badges/latest/active.svg" alt="Project Status: Active"></a>
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-GPL--2.0--or--later-blue.svg" alt="License: GPL-2.0-or-later"></a>
<img src="https://img.shields.io/badge/PHP-8.2%2B-777bb4.svg" alt="PHP 8.2+">
<img src="https://img.shields.io/badge/Node-22-5fa04e.svg" alt="Node 22">
<img src="https://img.shields.io/badge/Node-24-5fa04e.svg" alt="Node 24">
</p>

<p align="center">
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This guide turns the skeleton into a working plugin: you'll create a personalize
- **Git**
- **Composer 2**
- **PHP 8.2+** (for Composer and the host-side PHPCS/PHPStan checks)
- **Node and npm** matching [`.nvmrc`](../.nvmrc) (Node 22.23.4; 24.22.1+ and 26.12.1+ also meet `engines` in `package.json`) — use `nvm` or another version manager
- **Node and npm** matching [`.nvmrc`](../.nvmrc) (Node 24.22.1; 26.12.1+ also meets `engines` in `package.json`, and `@wordpress/env` 12 needs Node 24) — use `nvm` or another version manager
Comment thread
aryanjasala marked this conversation as resolved.
Resolved
- **Docker**, running, for the bundled `wp-env` site and the PHP test suite

An existing local WordPress installation can replace the `wp-env` site; Docker is still needed for the container-based PHP test command.
Expand Down
Loading
Loading