Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: update deps, drop node14 #1311

Merged
merged 7 commits into from May 11, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-docs.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['14', '16', '18']
node: ['16', '18', '20']
bundler: ['vite', 'webpack']

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['14', '16', '18']
node: ['16', '18', '20']

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

env:
NODE_VERSION: '16'
NODE_VERSION: '18'

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Expand Up @@ -14,7 +14,7 @@ jobs:

env:
DOCS_GA_ID: G-CTB8FQ7VMW
NODE_VERSION: '16'
NODE_VERSION: '18'

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions docs/contributing.md
Expand Up @@ -31,8 +31,8 @@ In the `ecosystem` directory:

Pre-requirement:

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

Clone the repo, and install dependencies:

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/getting-started.md
Expand Up @@ -6,7 +6,7 @@ VuePress v2 is currently in `beta` stage. It's ready to be used for building you

## Prerequisites

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

::: tip
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Expand Up @@ -23,7 +23,7 @@
"@vuepress/theme-default": "workspace:*",
"@vuepress/utils": "workspace:*",
"anywhere": "^1.6.0",
"sass-loader": "^13.2.1",
"sass-loader": "^13.2.2",
"vue": "^3.2.47"
}
}
4 changes: 2 additions & 2 deletions docs/zh/contributing.md
Expand Up @@ -31,8 +31,8 @@ sidebar: auto

开发要求:

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

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

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/getting-started.md
Expand Up @@ -6,7 +6,7 @@ VuePress v2 目前仍处于 `beta` 阶段。你已经可以用它来构建你的

## 依赖环境

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

::: tip
Expand Down
8 changes: 4 additions & 4 deletions ecosystem/plugin-docsearch/package.json
Expand Up @@ -37,14 +37,14 @@
"copy": "cpx \"src/**/*.css\" lib"
},
"dependencies": {
"@docsearch/css": "^3.3.3",
"@docsearch/js": "^3.3.3",
"@docsearch/react": "^3.3.3",
"@docsearch/css": "^3.3.4",
"@docsearch/js": "^3.3.4",
"@docsearch/react": "^3.3.4",
"@vuepress/client": "workspace:*",
"@vuepress/core": "workspace:*",
"@vuepress/shared": "workspace:*",
"@vuepress/utils": "workspace:*",
"@vueuse/core": "^9.13.0",
"@vueuse/core": "^10.1.2",
"ts-debounce": "^4.0.0",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
Expand Down
2 changes: 1 addition & 1 deletion ecosystem/plugin-shiki/package.json
Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@vuepress/core": "workspace:*",
"shiki": "^0.14.1"
"shiki": "^0.14.2"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions ecosystem/theme-default/package.json
Expand Up @@ -55,8 +55,8 @@
"@vuepress/plugin-theme-data": "workspace:*",
"@vuepress/shared": "workspace:*",
"@vuepress/utils": "workspace:*",
"@vueuse/core": "^9.13.0",
"sass": "^1.59.3",
"@vueuse/core": "^10.1.2",
"sass": "^1.62.1",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
},
Expand Down
3 changes: 3 additions & 0 deletions ecosystem/vuepress-vite/package.json
Expand Up @@ -50,5 +50,8 @@
"peerDependencies": {
"@vuepress/client": "workspace:*",
"vue": "^3.2.47"
},
"engines": {
"node": ">=16.19.0"
}
}
5 changes: 4 additions & 1 deletion ecosystem/vuepress-webpack/package.json
Expand Up @@ -43,9 +43,12 @@
"@vuepress/cli": "workspace:*",
"@vuepress/core": "workspace:*",
"@vuepress/theme-default": "workspace:*",
"sass-loader": "^13.2.1"
"sass-loader": "^13.2.2"
},
"peerDependencies": {
"vue": "^3.2.47"
},
"engines": {
"node": ">=16.19.0"
}
}
3 changes: 3 additions & 0 deletions ecosystem/vuepress/package.json
Expand Up @@ -39,5 +39,8 @@
},
"dependencies": {
"vuepress-vite": "workspace:*"
},
"engines": {
"node": ">=16.19.0"
}
}
30 changes: 15 additions & 15 deletions package.json
Expand Up @@ -36,32 +36,32 @@
},
"prettier": "prettier-config-vuepress",
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@types/node": "^18.15.3",
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@types/node": "^20.1.2",
"@types/webpack-env": "^1.18.0",
"@vitest/coverage-istanbul": "^0.29.3",
"bumpp": "^9.0.0",
"@vitest/coverage-istanbul": "^0.31.0",
"bumpp": "^9.1.0",
"conventional-changelog-cli": "^2.2.2",
"cpx2": "^4.2.2",
"eslint": "^8.36.0",
"cpx2": "^4.2.3",
"eslint": "^8.40.0",
"eslint-config-vuepress": "^4.1.0",
"eslint-config-vuepress-typescript": "^4.1.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.5",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"prettier-config-vuepress": "^4.0.0",
"rimraf": "^4.4.0",
"rimraf": "^5.0.0",
"sort-package-json": "^2.4.1",
"tsconfig-vuepress": "^4.1.0",
"tsup": "^6.7.0",
"typescript": "^5.0.2",
"vite": "~4.2.0",
"vitest": "^0.29.3"
"typescript": "^5.0.4",
"vite": "~4.3.5",
"vitest": "^0.31.0"
},
"packageManager": "pnpm@7.30.0",
"packageManager": "pnpm@8.5.0",
"engines": {
"node": ">=14.18.0"
"node": ">=18.16.0"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
8 changes: 4 additions & 4 deletions packages/bundler-vite/package.json
Expand Up @@ -33,17 +33,17 @@
"clean": "rimraf dist"
},
"dependencies": {
"@vitejs/plugin-vue": "^4.1.0",
"@vitejs/plugin-vue": "^4.2.1",
"@vuepress/client": "workspace:*",
"@vuepress/core": "workspace:*",
"@vuepress/shared": "workspace:*",
"@vuepress/utils": "workspace:*",
"autoprefixer": "^10.4.14",
"connect-history-api-fallback": "^2.0.0",
"postcss": "^8.4.21",
"postcss": "^8.4.23",
"postcss-load-config": "^4.0.1",
"rollup": "^3.20.0",
"vite": "~4.2.0",
"rollup": "^3.21.6",
"vite": "~4.2.2",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/bundler-webpack/package.json
Expand Up @@ -46,20 +46,20 @@
"chokidar": "^3.5.3",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.3",
"esbuild-loader": "~2.21.0",
"esbuild-loader": "~3.0.1",
"express": "^4.18.2",
"html-webpack-plugin": "^5.5.0",
"html-webpack-plugin": "^5.5.1",
"mini-css-extract-plugin": "^2.7.5",
"postcss": "^8.4.21",
"postcss": "^8.4.23",
"postcss-csso": "^6.0.1",
"postcss-loader": "^7.1.0",
"postcss-loader": "^7.3.0",
"style-loader": "^3.3.2",
"vue": "^3.2.47",
"vue-loader": "^17.0.1",
"vue-loader": "^17.1.0",
"vue-router": "^4.1.6",
"webpack": "^5.76.2",
"webpack": "^5.82.0",
"webpack-chain": "^6.5.1",
"webpack-dev-server": "^4.13.1",
"webpack-dev-server": "^4.15.0",
"webpack-merge": "^5.8.0"
},
"publishConfig": {
Expand Down
1 change: 0 additions & 1 deletion packages/bundler-webpack/src/config/handleModuleJs.ts
Expand Up @@ -53,7 +53,6 @@ export const handleModuleJs = ({
.loader(require.resolve('esbuild-loader'))
.options({
target: 'es2015',
loader: 'jsx',
...resolveEsbuildJsxOptions(),
})
.end()
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Expand Up @@ -42,7 +42,7 @@
"cac": "^6.7.14",
"chokidar": "^3.5.3",
"envinfo": "^7.8.1",
"esbuild": "~0.17.12"
"esbuild": "~0.17.18"
},
"devDependencies": {
"@types/envinfo": "^7.8.1"
Expand Down
6 changes: 3 additions & 3 deletions packages/utils/package.json
Expand Up @@ -36,10 +36,10 @@
"@types/hash-sum": "^1.0.0",
"@vuepress/shared": "workspace:*",
"debug": "^4.3.4",
"fs-extra": "^11.1.0",
"globby": "^13.1.3",
"fs-extra": "^11.1.1",
"globby": "^13.1.4",
"hash-sum": "^2.0.0",
"ora": "^6.2.0",
"ora": "^6.3.0",
"picocolors": "^1.0.0",
"upath": "^2.0.1"
},
Expand Down