crabatool 1.0.70 → 1.0.71

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crabatool",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "description": "crabatool",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tool/checkgspx.js CHANGED
@@ -56,14 +56,14 @@ function readGspxToJSON(fileName, data) {
56
56
 
57
57
  // 建议优化页面汇总
58
58
  if (warnTags.includes(name)) {
59
- if (!data.warnList[fileName]) data.warnList[fileName] = [];
60
59
  if (name == 'CancelButton' || name == 'CloseButton') {
61
- if (attrs.Visible === 'false' || attrs.Visible === false) {
62
- data.warnList[fileName].push(name);
60
+ if (attrs.Visible !== 'false' && attrs.Visible !== false) {
61
+ return;
63
62
  }
64
- } else {
65
- data.warnList[fileName].push(name);
66
63
  }
64
+
65
+ if (!data.warnList[fileName]) data.warnList[fileName] = [];
66
+ data.warnList[fileName].push(name);
67
67
  }
68
68
  },
69
69
  ontext: function(text) {
package/tool/checkjs.js CHANGED
@@ -230,7 +230,7 @@ module.exports.start = function() {
230
230
 
231
231
  // 推送到钉钉
232
232
  if (status != '无异常') { // 检查结果检查就不发到钉钉了; ps:健康也发到钉钉,鼓励开发继续保持;
233
- postWebhooks(id, reportUrl, webhookList);
233
+ //postWebhooks(id, reportUrl, webhookList);
234
234
  }
235
235
  }
236
236
 
package/tool/start.js CHANGED
@@ -30,7 +30,7 @@ class Start {
30
30
  "7. 安装或更新vscode环境。\t\t主要包含:从<内网>拉取环境相关资源,包括智能语法、新增页面模板、ctrl+alt+n、alt+j快捷键",
31
31
  "8. 新建Craba项目。\t\t\t主要包含:从<内网>拉取环境相关资源,根据模板创建新项目,避免手工拷贝文件",
32
32
  "9. 结束 \t\t\t\t按Ctrl+C即可退出",
33
- "#. 如果你对[nodejs版本的平台助手]有更多建议或想法可反馈给技术架构组改进哦",
33
+ "#. 如果你对[nodejs版本的平台助手]有更多建议或想法可反馈给技术架构组改进哦,使用文档和介绍: http://crabadoc.ca.com/index.html?#~/Pages/Guide.gspx?id=1655080677276",
34
34
  "已实现功能:1、2、3、4、8、9",
35
35
  "---------------------------------------------------------------------------------------------------------",
36
36
  "请输入对应功能的编号(数字):"