From bc8bacfa6c7d03eed1c4c305c6a8e7de87efec1a Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 26 Feb 2023 10:18:43 +0800 Subject: [PATCH] docs(@vant/cli): changelog v6.0.0 (#11619) --- .../create-vant-cli-app/generators/vue3/package.json.tpl | 2 +- packages/vant-cli/changelog.md | 5 ++++- packages/vant-cli/docs/config.md | 2 +- packages/vant-cli/docs/config.zh-CN.md | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/create-vant-cli-app/generators/vue3/package.json.tpl b/packages/create-vant-cli-app/generators/vue3/package.json.tpl index 7a3cf4f8c..c7647ac71 100644 --- a/packages/create-vant-cli-app/generators/vue3/package.json.tpl +++ b/packages/create-vant-cli-app/generators/vue3/package.json.tpl @@ -31,7 +31,7 @@ "vue": "^3.0.0" }, "devDependencies": { - "@vant/cli": "^5.0.0", + "@vant/cli": "^6.0.0", "vue": "^3.0.0", "sass": "^1.49.7" }, diff --git a/packages/vant-cli/changelog.md b/packages/vant-cli/changelog.md index 4eb6aaf51..4528abd01 100644 --- a/packages/vant-cli/changelog.md +++ b/packages/vant-cli/changelog.md @@ -1,11 +1,14 @@ # 更新日志 -## v6.0.0 [unreleased] +## v6.0.0 + +`2023-02-26` - vite: 由 v3 升级至 v4 - @vitejs/plugin-vue: 由 v3 升级至 v4 - @vitejs/plugin-vue-jsx: 由 v2 升级至 v3 - 移除 `site.searchConfig` 配置项 +- 修复 build 时解析 markdown 可能报错的问题 ## v5.1.0 diff --git a/packages/vant-cli/docs/config.md b/packages/vant-cli/docs/config.md index 100e09ea8..d47ee521d 100644 --- a/packages/vant-cli/docs/config.md +++ b/packages/vant-cli/docs/config.md @@ -219,7 +219,7 @@ If you need to configure some vite plugins, please create a `vite.config.ts` fil ### build.packageManager - Type: `'npm' | 'yarn' | 'pnpm'` -- Default: `undefined` +- Default: `yarn` `npm` package manager. diff --git a/packages/vant-cli/docs/config.zh-CN.md b/packages/vant-cli/docs/config.zh-CN.md index 4eb0199ff..73c6000bc 100644 --- a/packages/vant-cli/docs/config.zh-CN.md +++ b/packages/vant-cli/docs/config.zh-CN.md @@ -221,7 +221,7 @@ module.exports = { ### build.packageManager - Type: `'npm' | 'yarn' | 'pnpm'` -- Default: `undefined` +- Default: `yarn` 指定使用的包管理器。