Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16', '18']
node: ['16.14', '16', '18']
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
node: ['14', '16', '18']
node: ['16.14', '16', '18']
steps:
- name: Support longpaths
run: git config --system core.longpaths true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16', '18']
node: ['16.14', '16', '18']
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.0
18
2 changes: 1 addition & 1 deletion packages/create-docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"@types/supports-color": "^8.1.1"
},
"engines": {
"node": ">=14"
"node": ">=16.14"
}
}
3 changes: 3 additions & 0 deletions packages/docusaurus-cssnano-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@
},
"devDependencies": {
"to-vfile": "^6.1.0"
},
"engines": {
"node": ">=16.14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"tslib": "^2.4.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -52,6 +52,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A CLI tool to migrate from older versions of Docusaurus.",
"license": "MIT",
"engines": {
"node": ">=14"
"node": ">=16.14"
},
"scripts": {
"build": "tsc --build",
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 @@ -36,6 +36,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -44,6 +44,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -56,6 +56,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -35,6 +35,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -34,6 +34,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -30,6 +30,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -30,6 +30,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -47,6 +47,6 @@
}
},
"engines": {
"node": ">=14"
"node": ">=16.14"
}
}
3 changes: 3 additions & 0 deletions packages/docusaurus-plugin-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=16.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 @@ -35,6 +35,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -35,6 +35,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -28,6 +28,6 @@
"to-vfile": "^6.1.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -58,6 +58,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -49,6 +49,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -42,6 +42,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -52,6 +52,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-translations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"lodash": "^4.17.21"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -25,6 +25,6 @@
"@docusaurus/types": "2.0.0-beta.20"
},
"engines": {
"node": ">=14"
"node": ">=16.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 @@ -25,6 +25,6 @@
"tslib": "^2.4.0"
},
"engines": {
"node": ">=14"
"node": ">=16.14"
}
}
2 changes: 1 addition & 1 deletion packages/docusaurus-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"webpack": "^5.72.1"
},
"engines": {
"node": ">=14"
"node": ">=16.14"
},
"devDependencies": {
"@docusaurus/types": "2.0.0-beta.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@
"react-dom": "^16.8.4 || ^17.0.0"
},
"engines": {
"node": ">=14"
"node": ">=16.14"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"eslint": ">=6"
},
"engines": {
"node": ">=14"
"node": ">=16.14"
}
}
2 changes: 1 addition & 1 deletion packages/lqip-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"tslib": "^2.4.0"
},
"engines": {
"node": ">=14"
"node": ">=16.14"
},
"devDependencies": {
"@types/file-loader": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion website/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Use **[docusaurus.new](https://docusaurus.new)** to test Docusaurus immediately

## Requirements {#requirements}

- [Node.js](https://nodejs.org/en/download/) version 14.13 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 16.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.
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.

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