Skip to content

Commit

Permalink
Increase Node.js version for create-block package
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Dec 30, 2020
1 parent b4635f1 commit 47a4605
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/create-block/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Changes

- Increase the minimum Node.js version to 12.

### New Feature

- Adds the `npmPackages` field to the template configuration. It allows listing remote npm packages that will be installed in the scaffolded project ([#27880](https://github.com/WordPress/gutenberg/pull/27880)).
Expand Down
2 changes: 1 addition & 1 deletion packages/create-block/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $ cd todo-list
$ npm start
```

_(requires `node` version `10.0.0` or above, and `npm` version `6.9.0` or above)_
_(requires `node` version `12.0.0` or above, and `npm` version `6.9.0` or above)_

You don’t need to install or configure tools like [webpack](https://webpack.js.org), [Babel](https://babeljs.io) or [ESLint](https://eslint.org) yourself. They are preconfigured and hidden so that you can focus on the code.

Expand Down
2 changes: 1 addition & 1 deletion packages/create-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=10",
"node": ">=12",
"npm": ">=6.9"
},
"files": [
Expand Down

0 comments on commit 47a4605

Please sign in to comment.