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 2 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-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 ([#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.9.0` 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
2 changes: 1 addition & 1 deletion packages/create-block/package.json
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12",
"node": ">=14",
"npm": ">=6.9"
gziolo marked this conversation as resolved.
Show resolved Hide resolved
},
"files": [
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
6 changes: 5 additions & 1 deletion packages/eslint-plugin/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)).

## 12.8.0 (2022-07-27)

### Code Quality

- Remove deprecated rules `no-negated-in-lhs` replaced with `no-unsafe-negation`, and `jsx-a11y/label-has-for` replaced with `jsx-a11/label-has-associated-control` ([#42654](https://github.com/WordPress/gutenberg/pull/42654)).
- Remove deprecated rules `no-negated-in-lhs` replaced with `no-unsafe-negation`, and `jsx-a11y/label-has-for` replaced with `jsx-a11/label-has-associated-control` ([#42654](https://github.com/WordPress/gutenberg/pull/42654)).

## 12.6.0 (2022-06-29)

Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/README.md
Expand Up @@ -10,7 +10,7 @@ Install the module
npm install @wordpress/eslint-plugin --save-dev
```

**Note**: This package requires `node` 12.0.0 or later, and `npm` 6.9.0 or later. It is not compatible with older versions.
**Note**: This package requires `node` 14.0.0 or later, and `npm` 6.9.0 or later. It is not compatible with older versions.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12",
"node": ">=14",
"npm": ">=6.9"
gziolo marked this conversation as resolved.
Show resolved Hide resolved
},
"files": [
Expand Down
4 changes: 4 additions & 0 deletions packages/jest-console/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)).

## 5.1.0 (2022-05-18)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-console/README.md
Expand Up @@ -18,7 +18,7 @@ Install the module:
npm install @wordpress/jest-console --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.

### Setup

Expand Down
2 changes: 1 addition & 1 deletion packages/jest-console/package.json
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/WordPress/gutenberg/issues"
},
"engines": {
"node": ">=12"
"node": ">=14"
gziolo marked this conversation as resolved.
Show resolved Hide resolved
},
"files": [
"build",
Expand Down
4 changes: 4 additions & 0 deletions packages/jest-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)).

## 8.0.0 (2022-01-27)

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-preset-default/README.md
Expand Up @@ -10,7 +10,7 @@ Install the module
npm install @wordpress/jest-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.

## Setup

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

## 4.0.0 (2021-01-21)

### Breaking Change

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

### Breaking Changes

- Increase the minimum Node.js version to 12 ([#27934](https://github.com/WordPress/gutenberg/pull/27934)).
Expand Down
2 changes: 1 addition & 1 deletion packages/npm-package-json-lint-config/README.md
Expand Up @@ -10,7 +10,7 @@ Install the module
$ npm install @wordpress/npm-package-json-lint-config
```

**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