@tomjs/hbuilderx-cli 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -2
- package/package.json +7 -1
package/dist/index.js
CHANGED
|
@@ -167,8 +167,7 @@ function getCommandCode(contributes, opts) {
|
|
|
167
167
|
const commandType = getValuesDtsType((contributes?.commands || []).map((s) => s.command));
|
|
168
168
|
const builtinType = getValuesDtsType([...new Set(opts.commands || [])]);
|
|
169
169
|
if (!commandType && !builtinType) return "";
|
|
170
|
-
return `
|
|
171
|
-
/**
|
|
170
|
+
return ` /**
|
|
172
171
|
* 命令管理
|
|
173
172
|
*/
|
|
174
173
|
export const commands: CommandManager;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tomjs/hbuilderx-cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"description": "为 HBuilderX 开发插件提供便利的 cli 工具,根据 package.json 中的 contributes 配置,为 hbuilderx 的命令、视图等 API 提供 id 提示",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Tom Gao",
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
"url": "git+https://github.com/tomjs/hbuilderx.git",
|
|
14
14
|
"directory": "packages/hbuilderx-cli"
|
|
15
15
|
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"hbuilderx",
|
|
18
|
+
"cli",
|
|
19
|
+
"extension",
|
|
20
|
+
"webview"
|
|
21
|
+
],
|
|
16
22
|
"bin": {
|
|
17
23
|
"hx-cli": "./dist/index.js"
|
|
18
24
|
},
|