kn-cli 1.0.76 → 1.0.78
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 +1 -1
- package/readme.md +7 -1
- package/src/getTools.js +3 -0
- package/templates/template_admin/jsconfig.json +1 -1
- package/templates/template_app/jsconfig.json +1 -1
- package/templates/template_oa/jsconfig.json +1 -1
- package/templates/template_oa_jwt/jsconfig.json +1 -1
- package/templates/template_offcial/jsconfig.json +1 -1
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
# cli 其它常用方法
|
|
25
25
|
1. 查看版本号: `kn-cli -v`
|
|
26
26
|
2. 创建辅助工具:`kn-cli --tool`
|
|
27
|
-
目前辅助工具有:图片压缩、word转html、iconfont
|
|
27
|
+
目前辅助工具有:图片压缩、word转html、iconfont、资源引用检查
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
# cli.config.js - 构建配置文件
|
|
@@ -97,6 +97,12 @@ module.exports = {
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
# 更新日志
|
|
100
|
+
* 1.0.76
|
|
101
|
+
cli工具内增加资源引用检查工具,用来检查是否有大小写不匹配的资源引用
|
|
102
|
+
|
|
103
|
+
* 1.0.75
|
|
104
|
+
工程模版内jsconfig.json格式纠正
|
|
105
|
+
|
|
100
106
|
* 1.0.74
|
|
101
107
|
工程模版内增加vscode基础配置
|
|
102
108
|
|
package/src/getTools.js
CHANGED
|
@@ -24,6 +24,7 @@ module.exports=async ()=> {
|
|
|
24
24
|
'图片压缩',
|
|
25
25
|
'word转html',
|
|
26
26
|
'iconFont图标字体',
|
|
27
|
+
'资源引用检查'
|
|
27
28
|
],
|
|
28
29
|
default:''
|
|
29
30
|
},
|
|
@@ -33,6 +34,8 @@ module.exports=async ()=> {
|
|
|
33
34
|
case '图片压缩':{templateName='tinypng'}break;
|
|
34
35
|
case 'iconFont图标字体':{templateName='iconfont'}break;
|
|
35
36
|
case 'word转html':{templateName='word2html'}break;
|
|
37
|
+
case '资源引用检查':{templateName='fileCase'}break;
|
|
38
|
+
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
|