diff --git a/packages/create-vant-cli-app/generators/vue2/package.json.tpl b/packages/create-vant-cli-app/generators/vue2/package.json.tpl index d9f68c53e..b8785f752 100644 --- a/packages/create-vant-cli-app/generators/vue2/package.json.tpl +++ b/packages/create-vant-cli-app/generators/vue2/package.json.tpl @@ -18,7 +18,6 @@ "build-site": "vant-cli build-site && gh-pages -d site-dist" }, "author": "", - "license": "MIT", "husky": { "hooks": { "pre-commit": "lint-staged", 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 ee3136dc9..32f909d01 100644 --- a/packages/create-vant-cli-app/generators/vue3/package.json.tpl +++ b/packages/create-vant-cli-app/generators/vue3/package.json.tpl @@ -22,7 +22,6 @@ "test:coverage": "open test/coverage/index.html" }, "author": "", - "license": "MIT", "lint-staged": { "*.md": "prettier --write", "*.{ts,tsx,js,vue,less,scss}": "prettier --write", diff --git a/packages/vant-cli/docs/commands.md b/packages/vant-cli/docs/commands.md index 1c6150442..91df93eb4 100644 --- a/packages/vant-cli/docs/commands.md +++ b/packages/vant-cli/docs/commands.md @@ -50,11 +50,11 @@ Build documentation website. Files will be output to `site` directory. Publish to npm. `build` and `changelog` will be automatically execute when run `release`. -## changelog +### changelog Generate changelog based on commit records. -## commit-lint +### commit-lint Validate the format of commit message. Need `husky` to do this. diff --git a/packages/vant-cli/docs/commands.zh-CN.md b/packages/vant-cli/docs/commands.zh-CN.md index e3987c305..1abd82958 100644 --- a/packages/vant-cli/docs/commands.zh-CN.md +++ b/packages/vant-cli/docs/commands.zh-CN.md @@ -52,11 +52,11 @@ npx vant-cli dev 发布组件库,发布前会自动执行 build 和 changelog 命令,并通过 [release-it](https://github.com/release-it/release-it) 发布 npm 包。 -## changelog +### changelog 基于 commit 记录生成更新日志,基于 [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) 实现。 -## commit-lint +### commit-lint 校验 commit message 的格式是否符合规范,需要配合 `husky` 在提交 commit 时触发。 diff --git a/packages/vant-cli/docs/config.md b/packages/vant-cli/docs/config.md index 2ad11451d..9bd0541a7 100644 --- a/packages/vant-cli/docs/config.md +++ b/packages/vant-cli/docs/config.md @@ -335,7 +335,7 @@ Should use [vConsole](https://github.com/Tencent/vConsole) to debug when dev. Fo PostCSS can be configured through the `postcss.config.js` file in the root directory. -### 默认配置 +### Default Config PostCSS default config: