-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(market): support experimental command usage for plugin manage
- Loading branch information
Showing
6 changed files
with
136 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
commands.plugin: | ||
description: 插件管理 | ||
|
||
commands.plugin.install: | ||
description: 安装依赖 | ||
messages: | ||
expect-name: 请输入依赖名。 | ||
already-installed: 该依赖已安装。 | ||
unknown-error: 遇到未知错误。 | ||
success: 安装成功! | ||
|
||
commands.plugin.uninstall: | ||
description: 卸载依赖 | ||
messages: | ||
expect-name: 请输入依赖名。 | ||
not-installed: 该依赖未安装。 | ||
unknown-error: 遇到未知错误。 | ||
success: 卸载成功! | ||
|
||
commands.plugin.upgrade: | ||
description: 升级依赖 | ||
messages: | ||
all-updated: 所有依赖已是最新版本。 | ||
available: 有可用的依赖更新: | ||
prompt: 输入「Y」升级全部依赖,输入「N」取消操作。 | ||
cancelled: 已取消操作。 | ||
unknown-error: 遇到未知错误。 | ||
success: 升级成功! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
registry: | ||
$description: 插件源设置 | ||
endpoint: 插件的下载源。默认跟随当前项目的 npm config。 | ||
timeout: 获取插件数据的超时时间。 | ||
|
||
search: | ||
$description: 搜索设置 | ||
endpoint: 用于搜索插件市场的网址。默认跟随插件源设置。 | ||
timeout: 搜索插件市场的超时时间。 | ||
proxyAgent: 用于搜索插件市场的代理。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters