Skip to content

Commit

Permalink
chore: require Node 14 (#5812)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Oct 28, 2021
1 parent 7a6607c commit 1ce6253
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
node-version: [14.x]
steps:
- uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/v2-tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['12', '14']
node: ['14', '16']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/v2-tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
node: ['12', '14']
node: ['14', '16']
steps:
- name: Support longpaths
run: git config --system core.longpaths true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/v2-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['12', '14']
node: ['14', '16']
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@
]
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/create-docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"tslib": "^2.3.1"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
},
"devDependencies": {
"@types/supports-color": "^8.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"license": "MIT",
"engines": {
"node": ">=10.9.0"
"node": ">=14"
},
"scripts": {
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-client-redirects/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=10.9.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-content-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-google-gtag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-ideal-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-sitemap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-preset-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-remark-plugin-npm2yarn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-live-codeblock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-search-algolia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-utils-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"tslib": "^2.3.1"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-utils-validation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"tslib": "^2.3.1"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"tslib": "^2.3.1"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
},
"devDependencies": {
"@types/dedent": "^0.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
}
}
2 changes: 1 addition & 1 deletion packages/lqip-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"sharp": "^0.29.1"
},
"engines": {
"node": ">=12.13.0"
"node": ">=14"
},
"devDependencies": {
"@types/sharp": "^0.29.2"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Use **[docusaurus.new](https://docusaurus.new)** to test Docusaurus immediately

## Requirements {#requirements}

- [Node.js](https://nodejs.org/en/download/) version >= 12.13.0 or above (which can be checked by running `node -v`). You can use [nvm](https://github.com/nvm-sh/nvm) for managing multiple Node versions on a single machine installed
- [Node.js](https://nodejs.org/en/download/) version >= 14 or above (which can be checked by running `node -v`). You can use [nvm](https://github.com/nvm-sh/nvm) for managing multiple Node versions on a single machine installed
- [Yarn](https://yarnpkg.com/en/) version >= 1.5 (which can be checked by running `yarn --version`). Yarn is a performant package manager for JavaScript and replaces the `npm` client. It is not strictly necessary but highly encouraged.

## Scaffold project website {#scaffold-project-website}
Expand Down

0 comments on commit 1ce6253

Please sign in to comment.