Skip to content

Commit a8c30ee

Browse files
build: bump dependencies, drop node 14 (#1311)
BREAKING CHANGE: drop support for node 14 --------- Co-authored-by: meteorlxy <meteor.lxy@foxmail.com>
1 parent eb0d0ea commit a8c30ee

File tree

22 files changed

+1699
-1758
lines changed

22 files changed

+1699
-1758
lines changed

.github/workflows/check-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-latest, windows-latest, macos-latest]
21-
node: ['14', '16', '18']
21+
node: ['16', '18', '20']
2222
bundler: ['vite', 'webpack']
2323

2424
runs-on: ${{ matrix.os }}

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu-latest, windows-latest, macos-latest]
21-
node: ['14', '16', '18']
21+
node: ['16', '18', '20']
2222

2323
runs-on: ${{ matrix.os }}
2424

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
env:
20-
NODE_VERSION: '16'
20+
NODE_VERSION: '18'
2121

2222
steps:
2323
- uses: actions/checkout@v3

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
env:
1616
DOCS_GA_ID: G-CTB8FQ7VMW
17-
NODE_VERSION: '16'
17+
NODE_VERSION: '18'
1818

1919
steps:
2020
- uses: actions/checkout@v3

docs/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ In the `ecosystem` directory:
3131

3232
Pre-requirement:
3333

34-
- [Node.js](http://nodejs.org) **version 14.18.0+**
35-
- [pnpm](https://pnpm.io/) **version 7+**
34+
- [Node.js](http://nodejs.org) **version 18.16.0+**
35+
- [pnpm](https://pnpm.io/) **version 8+**
3636

3737
Clone the repo, and install dependencies:
3838

docs/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VuePress v2 is currently in `beta` stage. It's ready to be used for building you
66

77
## Prerequisites
88

9-
- [Node.js v14.18.0+](https://nodejs.org/)
9+
- [Node.js v16.19.0+](https://nodejs.org/)
1010
- [Yarn v1 classic](https://classic.yarnpkg.com/en/) (Optional)
1111

1212
::: tip

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@vuepress/theme-default": "workspace:*",
2424
"@vuepress/utils": "workspace:*",
2525
"anywhere": "^1.6.0",
26-
"sass-loader": "^13.2.1",
26+
"sass-loader": "^13.2.2",
2727
"vue": "^3.2.47"
2828
}
2929
}

docs/zh/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ sidebar: auto
3131

3232
开发要求:
3333

34-
- [Node.js](http://nodejs.org) **version 14.18.0+**
35-
- [pnpm](https://pnpm.io/zh/) **version 7+**
34+
- [Node.js](http://nodejs.org) **version 18.16.0+**
35+
- [pnpm](https://pnpm.io/zh/) **version 8+**
3636

3737
克隆代码仓库,并安装依赖:
3838

docs/zh/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VuePress v2 目前仍处于 `beta` 阶段。你已经可以用它来构建你的
66

77
## 依赖环境
88

9-
- [Node.js v14.18.0+](https://nodejs.org/)
9+
- [Node.js v16.19.0+](https://nodejs.org/)
1010
- [Yarn v1 classic](https://classic.yarnpkg.com/zh-Hans/) (可选)
1111

1212
::: tip

ecosystem/plugin-docsearch/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
"copy": "cpx \"src/**/*.css\" lib"
3838
},
3939
"dependencies": {
40-
"@docsearch/css": "^3.3.3",
41-
"@docsearch/js": "^3.3.3",
42-
"@docsearch/react": "^3.3.3",
40+
"@docsearch/css": "^3.3.4",
41+
"@docsearch/js": "^3.3.4",
42+
"@docsearch/react": "^3.3.4",
4343
"@vuepress/client": "workspace:*",
4444
"@vuepress/core": "workspace:*",
4545
"@vuepress/shared": "workspace:*",
4646
"@vuepress/utils": "workspace:*",
47-
"@vueuse/core": "^9.13.0",
47+
"@vueuse/core": "^10.1.2",
4848
"ts-debounce": "^4.0.0",
4949
"vue": "^3.2.47",
5050
"vue-router": "^4.1.6"

0 commit comments

Comments
 (0)