Skip to content

Commit

Permalink
build!: remove node v12 support (#7833)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed May 5, 2022
1 parent e32a3a8 commit eeac2d2
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [12, 14, 16, 17, 18]
node_version: [14, 16, 18]
include:
- os: macos-latest
node_version: 16
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 >=12.2.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.6.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": ">=12.2.0"
"node": ">=14.6.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 >=12.2.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.6.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 @@ -13,7 +13,7 @@
],
"main": "index.js",
"engines": {
"node": ">=12.0.0"
"node": ">=14.6.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-legacy/package.json
Expand Up @@ -10,7 +10,7 @@
"main": "index.js",
"types": "index.d.ts",
"engines": {
"node": ">=12.0.0"
"node": ">=14.6.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-react/package.json
Expand Up @@ -21,7 +21,7 @@
"prepublishOnly": "(cd ../vite && npm run build) && npm run build"
},
"engines": {
"node": ">=12.0.0"
"node": ">=14.6.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue-jsx/package.json
Expand Up @@ -10,7 +10,7 @@
"main": "index.js",
"types": "index.d.ts",
"engines": {
"node": ">=12.0.0"
"node": ">=14.6.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue/package.json
Expand Up @@ -19,7 +19,7 @@
"prepublishOnly": "(cd ../vite && npm run build) && npm run build"
},
"engines": {
"node": ">=12.0.0"
"node": ">=14.6.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/package.json
Expand Up @@ -17,7 +17,7 @@
"types"
],
"engines": {
"node": ">=12.2.0"
"node": ">=14.6.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit eeac2d2

Please sign in to comment.