Conversation
There was a problem hiding this comment.
Pull request overview
Updates JavaScript tooling dependencies for the project’s WordPress block template scaffolding.
Changes:
- Bumped
@wordpress/scriptsfrom^26.0.0to^31.4.0inpackage.json. - Minor formatting cleanup in
package.jsonand a trailing newline change in.gitignore.
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates @wordpress/scripts dependency version. |
| .gitignore | Adds an extra blank line at EOF. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "license": "GPL-2.0-or-later", | ||
| "dependencies": { | ||
| "@wordpress/scripts": "^26.0.0", | ||
| "@wordpress/scripts": "^31.4.0", |
There was a problem hiding this comment.
Bumping @wordpress/scripts to ^31.4.0 raises the required runtime: the lockfile declares @wordpress/scripts (and related @wordpress/* tooling) needs Node >=18.12.0 (and npm >=8.19.2). package.json still advertises engines.node >=12, which is now misleading and may allow unsupported setups; please update the engines field (and consider adding an npm engine) to match the new dependency requirements.
There was a problem hiding this comment.
@copilot open a new pull request to apply changes based on this feedback
Updated package.json and package-lock.json