统一甲屿云命名体系
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
## 当前 SQL 规则
|
||||
|
||||
- `0.0.1` 空库初始化 SQL 基线:`scripts/sql/init/FingertipDesigner.sql`。
|
||||
- `0.0.1` 空库初始化 SQL 基线:`scripts/sql/init/JayuCloud.sql`。
|
||||
- 开发、测试、上线空库初始化只执行该文件。
|
||||
- 从 `0.0.1` 起不再修改初始化 SQL。
|
||||
- 后续新增表、字段、索引、权限种子、系统参数、运行必需种子数据或数据修复时,必须新增 `scripts/sql/migrations/` 下的版本变更 SQL。
|
||||
@@ -23,12 +23,12 @@
|
||||
|
||||
```powershell
|
||||
rtk git --no-pager diff --check
|
||||
rtk mvn -f FD-Core/pom.xml test
|
||||
rtk mvn -f FD-Gateway/pom.xml test
|
||||
rtk mvn -f JY-Core/pom.xml test
|
||||
rtk mvn -f JY-Gateway/pom.xml test
|
||||
```
|
||||
|
||||
小程序静态语法检查可使用:
|
||||
|
||||
```powershell
|
||||
rtk node -e "const fs=require('fs');const path=require('path');let n=0;function walk(d){for(const e of fs.readdirSync(d,{withFileTypes:true})){const p=path.join(d,e.name);if(e.isDirectory())walk(p);else if(e.isFile()&&p.endsWith('.js')){new Function(fs.readFileSync(p,'utf8'));n++;}}}['FM-Wechat-Fronted/api','FM-Wechat-Fronted/utils','FM-Wechat-Fronted/pages'].forEach(walk);console.log('checked '+n+' js files')"
|
||||
rtk node -e "const fs=require('fs');const path=require('path');let n=0;function walk(d){for(const e of fs.readdirSync(d,{withFileTypes:true})){const p=path.join(d,e.name);if(e.isDirectory())walk(p);else if(e.isFile()&&p.endsWith('.js')){new Function(fs.readFileSync(p,'utf8'));n++;}}}['JY-Salon-WeChat/api','JY-Salon-WeChat/utils','JY-Salon-WeChat/pages'].forEach(walk);console.log('checked '+n+' js files')"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user