Skip to content

Commit

Permalink
fix(cli): avoid bin name conflicts (close #869)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed May 2, 2022
1 parent 8d69ffb commit 6d7db43
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Expand Up @@ -2,9 +2,9 @@
"name": "docs",
"private": true,
"scripts": {
"docs:build": "vuepress build --clean-cache",
"docs:build": "vuepress-cli build --clean-cache",
"docs:clean": "rimraf .vuepress/.temp .vuepress/.cache .vuepress/dist",
"docs:dev": "vuepress dev --clean-cache",
"docs:dev": "vuepress-cli dev --clean-cache",
"docs:serve": "anywhere -s -h localhost -d .vuepress/dist"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/cli.md
Expand Up @@ -2,7 +2,7 @@

<NpmBadge package="@vuepress/cli" />

VuePress CLI is provided by [@vuepress/cli](https://www.npmjs.com/package/@vuepress/cli) package. It is a dependency of the [vuepress](https://www.npmjs.com/package/vuepress) package, and you can also install it separately.
VuePress CLI is provided by [@vuepress/cli](https://www.npmjs.com/package/@vuepress/cli) package. It is included by the [vuepress](https://www.npmjs.com/package/vuepress) package, and you can also install it separately.

Run `vuepress --help` to get following help messages:

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/reference/cli.md
Expand Up @@ -2,7 +2,7 @@

<NpmBadge package="@vuepress/cli" />

VuePress 命令行接口是由 [@vuepress/cli](https://www.npmjs.com/package/@vuepress/cli) 包提供的。它是 [vuepress](https://www.npmjs.com/package/vuepress) 包的依赖之一,当然你也可以单独安装它。
VuePress 命令行接口是由 [@vuepress/cli](https://www.npmjs.com/package/@vuepress/cli) 包提供的。它包含在 [vuepress](https://www.npmjs.com/package/vuepress) 包之中,当然你也可以单独安装它。

执行 `vuepress --help` 来获取下列帮助信息:

Expand Down
2 changes: 1 addition & 1 deletion packages/@vuepress/cli/package.json
Expand Up @@ -19,7 +19,7 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"vuepress": "bin/vuepress.js"
"vuepress-cli": "bin/vuepress.js"
},
"files": [
"bin",
Expand Down

0 comments on commit 6d7db43

Please sign in to comment.