Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages: Update the minimum required Node.js version to 14 for tools #43141

Merged
merged 3 commits into from Aug 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/create-block.yml
Expand Up @@ -22,9 +22,6 @@ jobs:
matrix:
node: [14]
os: [macos-latest, ubuntu-latest, windows-latest]
include:
- node: 12
os: ubuntu-latest

steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['12', '14']
node: ['14']

steps:
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
Expand Down
26 changes: 13 additions & 13 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions packages/babel-plugin-import-jsx-pragma/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Change

- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).

## 3.0.0 (2021-01-21)

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-import-jsx-pragma/README.md
Expand Up @@ -14,7 +14,7 @@ Install the module to your project using [npm](https://www.npmjs.com/).
npm install @wordpress/babel-plugin-import-jsx-pragma
```

**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.
**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-import-jsx-pragma/package.json
Expand Up @@ -24,7 +24,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12"
"node": ">=14"
gziolo marked this conversation as resolved.
Show resolved Hide resolved
},
"files": [
"index.js"
Expand Down
4 changes: 4 additions & 0 deletions packages/babel-plugin-makepot/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Change

- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).

## 4.0.0 (2021-01-21)

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-makepot/README.md
Expand Up @@ -21,7 +21,7 @@ Install the module:
npm install @wordpress/babel-plugin-makepot --save-dev
```

**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.
**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions.

## Contributing to this package

Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-makepot/package.json
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12"
"node": ">=14"
},
"files": [
"index.js"
Expand Down
4 changes: 4 additions & 0 deletions packages/babel-preset-default/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Change

- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).

## 6.4.0 (2021-11-15)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-default/README.md
Expand Up @@ -12,7 +12,7 @@ Install the module
npm install @wordpress/babel-preset-default --save-dev
```

**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.
**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions.

### Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-default/package.json
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12"
"node": ">=14"
},
"files": [
"build",
Expand Down
4 changes: 4 additions & 0 deletions packages/browserslist-config/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Change

- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).

## 4.0.0 (2021-05-14)

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config/README.md
Expand Up @@ -10,7 +10,7 @@ Install the module
$ npm install browserslist @wordpress/browserslist-config --save-dev
```

**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.
**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config/package.json
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12"
"node": ">=14"
},
"files": [
"index.js"
Expand Down
4 changes: 4 additions & 0 deletions packages/create-block/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Change

- Increase the minimum Node.js version to 14 and minimum npm version to 6.14.4 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).

## 3.6.0 (2022-07-13)

### Enhancement
Expand Down
2 changes: 1 addition & 1 deletion packages/create-block/README.md
Expand Up @@ -20,7 +20,7 @@ $ cd todo-list
$ npm start
```

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

It creates a WordPress plugin that you need to [install manually](https://wordpress.org/support/article/managing-plugins/#manual-plugin-installation).

Expand Down
4 changes: 2 additions & 2 deletions packages/create-block/package.json
Expand Up @@ -20,8 +20,8 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12",
"npm": ">=6.9"
"node": ">=14",
"npm": ">=6.14.4"
},
"files": [
"lib"
Expand Down
4 changes: 4 additions & 0 deletions packages/dependency-extraction-webpack-plugin/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Change

- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).

## 3.7.0 (2022-07-13)

### New Features
Expand Down
2 changes: 1 addition & 1 deletion packages/dependency-extraction-webpack-plugin/README.md
Expand Up @@ -17,7 +17,7 @@ Install the module
npm install @wordpress/dependency-extraction-webpack-plugin --save-dev
```

**Note**: This package requires Node.js 12.0.0 or later. It also requires webpack 4.8.3 and newer. It is not compatible with older versions.
**Note**: This package requires Node.js 14.0.0 or later. It also requires webpack 4.8.3 and newer. It is not compatible with older versions.

## Usage

Expand Down
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12"
"node": ">=14"
},
"files": [
"lib",
Expand Down
4 changes: 4 additions & 0 deletions packages/e2e-test-utils/CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking Change

- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).

## 7.2.0 (2022-04-08)

### Enhancement
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e-test-utils/README.md
Expand Up @@ -2,7 +2,7 @@

End-To-End (E2E) test utils for WordPress.

_It works properly with the minimum version of Gutenberg `9.2.0` or the minimum version of WordPress `5.6.0`._
_It works properly with the minimum version of Gutenberg `13.8.0` or the minimum version of WordPress `6.0.0`._

**Note that there's currently an ongoing [project](https://github.com/WordPress/gutenberg/issues/38851) to migrate E2E tests to Playwright instead. This package is deprecated and will only accept bug fixes until fully migrated.**

Expand All @@ -14,7 +14,7 @@ Install the module
npm install @wordpress/e2e-test-utils --save-dev
```

**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.
**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions.

## API

Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-test-utils/package.json
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12"
"node": ">=14"
},
"files": [
"build",
Expand Down
6 changes: 5 additions & 1 deletion packages/e2e-tests/CHANGELOG.md
Expand Up @@ -2,11 +2,15 @@

## Unreleased

### Breaking Change

- Increase the minimum Node.js version to 14 ([#43141](https://github.com/WordPress/gutenberg/pull/43141)).

## 4.0.0 (2022-04-08)

### Breaking Changes

- There's currently an ongoing [project](https://github.com/WordPress/gutenberg/issues/38851) to migrate E2E tests to Playwright instead. This package is deprecated and will only accept bug fixes until fully migrated.
- There's currently an ongoing [project](https://github.com/WordPress/gutenberg/issues/38851) to migrate E2E tests to Playwright instead. This package is deprecated and will only accept bug fixes until fully migrated.

## 3.0.0 (2022-01-27)

Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/README.md
Expand Up @@ -80,7 +80,7 @@ Debugging in a Chrome browser can be replaced with `vscode`'s debugger by adding

This will run jest, targetting the spec file currently open in the editor. `vscode`'s debugger can now be used to add breakpoints and inspect tests as you would in Chrome DevTools.

**Note**: This package requires Node.js 12.0.0 or later. It is not compatible with older versions.
**Note**: This package requires Node.js 14.0.0 or later. It is not compatible with older versions.

## Contributing to this package

Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-tests/package.json
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12"
"node": ">=14"
},
"dependencies": {
"@wordpress/e2e-test-utils": "file:../e2e-test-utils",
Expand Down