Navigation Menu

Skip to content

Commit

Permalink
feat: bump minimum node version to 14.18.0 (#8662)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jun 19, 2022
1 parent c0e74e5 commit 8a05432
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Expand Up @@ -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'
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/index.md
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "vite-monorepo",
"private": true,
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"homepage": "https://vitejs.dev/",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/README.md
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/package.json
Expand Up @@ -14,7 +14,7 @@
],
"main": "index.js",
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-legacy/package.json
Expand Up @@ -23,7 +23,7 @@
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-react/package.json
Expand Up @@ -27,7 +27,7 @@
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue-jsx/package.json
Expand Up @@ -23,7 +23,7 @@
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue/package.json
Expand Up @@ -23,7 +23,7 @@
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/package.json
Expand Up @@ -31,7 +31,7 @@
"types"
],
"engines": {
"node": ">=14.6.0"
"node": ">=14.18.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 8a05432

Please sign in to comment.