feat: bump minimum node version to 14.18.0 (#8662)

This commit is contained in:
Bjorn Lu 2022-06-20 01:50:37 +08:00 committed by GitHub
parent c0e74e5f68
commit 8a05432e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 11 additions and 11 deletions

View File

@ -137,13 +137,13 @@ module.exports = defineConfig({
'node/no-unsupported-features/es-builtins': [
'error',
{
version: '>=14.6.0'
version: '>=14.18.0'
}
],
'node/no-unsupported-features/node-builtins': [
'error',
{
version: '>=14.6.0'
version: '>=14.18.0'
}
]
}

View File

@ -38,7 +38,7 @@ The supported template presets are:
## Scaffolding Your First Vite Project
::: tip Compatibility Note
Vite requires [Node.js](https://nodejs.org/en/) version >=14.6.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
Vite requires [Node.js](https://nodejs.org/en/) version >=14.18.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
:::
With NPM:

View File

@ -2,7 +2,7 @@
"name": "vite-monorepo",
"private": true,
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"homepage": "https://vitejs.dev/",
"keywords": [

View File

@ -3,7 +3,7 @@
## Scaffolding Your First Vite Project
> **Compatibility Note:**
> Vite requires [Node.js](https://nodejs.org/en/) version >=14.6.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
> Vite requires [Node.js](https://nodejs.org/en/) version >=14.18.0. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With NPM:

View File

@ -14,7 +14,7 @@
],
"main": "index.js",
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",

View File

@ -23,7 +23,7 @@
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",

View File

@ -27,7 +27,7 @@
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",

View File

@ -23,7 +23,7 @@
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",

View File

@ -23,7 +23,7 @@
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",

View File

@ -31,7 +31,7 @@
"types"
],
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",