@opentapd/tplugin-cli 0.38.1-alpha.0 → 0.39.1-alpha.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.
Files changed (2) hide show
  1. package/cli.js +6 -6
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -89,13 +89,13 @@ program.command('encrypt <value>')
89
89
  .description('加密敏感变量')
90
90
  .action(actionRunner(value => require('./lib/encrypt')(value)));
91
91
 
92
- // resource 添加新的UI扩展模块
93
- program.command('resources')
94
- .description('添加扩展模块模板')
95
- .action(actionRunner(() => require('./lib/resources')()));
96
-
97
- // workspace 创建个人专属开发项目
98
92
  if (tpluginConf.tapd.pluginEnv !== 'cloud') {
93
+ // resource 添加新的UI扩展模块
94
+ program.command('resources')
95
+ .description('添加扩展模块模板')
96
+ .action(actionRunner(() => require('./lib/resources')()));
97
+
98
+ // workspace 创建个人专属开发项目
99
99
  program.command('workspace')
100
100
  .description('创建TAPD开发项目')
101
101
  .action(actionRunner(() => require('./lib/workspace')()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentapd/tplugin-cli",
3
- "version": "0.38.1-alpha.0",
3
+ "version": "0.39.1-alpha.0",
4
4
  "description": "tplugin-cli",
5
5
  "bin": {
6
6
  "tplugin-cli": "index.js"
@@ -78,5 +78,5 @@
78
78
  "node": ">=14.13.0"
79
79
  },
80
80
  "main": "index.js",
81
- "gitHead": "83c615587ad51a54f4edefaa05c8b810fded6417"
81
+ "gitHead": "3237e1a29988e4f95f87be3309f7ce27ef669866"
82
82
  }