Skip to content

Commit

Permalink
Update Node.js requirement in create-block docs. (WordPress#60962)
Browse files Browse the repository at this point in the history
Co-authored-by: kovshenin <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: carolinan <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
5 people authored May 5, 2024
1 parent bc0dcce commit ea2e969
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/create-block/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm start
The `slug` provided (`todo-list` in the example) defines the folder name for the scaffolded plugin and the internal block name. The WordPress plugin generated must [be installed manually](https://wordpress.org/documentation/article/manage-plugins/#manual-plugin-installation-1).


_(requires `node` version `14.0.0` or above, and `npm` version `6.14.4` or above)_
_(requires `node` version `18.0.0` or above, and `npm` version `10.5.0` or above)_


> [Watch a video introduction to create-block on Learn.wordpress.org](https://learn.wordpress.org/tutorial/using-the-create-block-tool/)
Expand Down
4 changes: 2 additions & 2 deletions packages/create-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=14",
"npm": ">=6.14.4"
"node": ">=18",
"npm": ">=10.5.0"
},
"files": [
"lib"
Expand Down

0 comments on commit ea2e969

Please sign in to comment.