feat: initialize ERP base platform (extracted from HMS)

- Stripped 11 business crates (health, ai, dialysis, plugins)
- Cleaned AppState, AppConfig, main.rs from business coupling
- Reduced migrations from 169 to 53 (base-only)
- Removed health_provider trait from erp-core
- Removed business integration tests
- Removed gateway rate limiting middleware
- Base capabilities: auth, RBAC, JWT, config, workflow, message, plugin, audit, crypto, RLS, multi-tenant

Cargo check: OK
Cargo test: OK
This commit is contained in:
iven
2026-05-31 20:35:57 +08:00
commit 59856ac2fc
639 changed files with 124710 additions and 0 deletions

19
package.json Normal file
View File

@@ -0,0 +1,19 @@
{
"name": "erp",
"private": true,
"scripts": {
"start:dev": "powershell -ExecutionPolicy Bypass -File ./dev.ps1",
"start:stop": "powershell -ExecutionPolicy Bypass -File ./dev.ps1 -Stop",
"start:restart": "powershell -ExecutionPolicy Bypass -File ./dev.ps1 -Restart",
"start:status": "powershell -ExecutionPolicy Bypass -File ./dev.ps1 -Status",
"prepare": "simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"devDependencies": {
"js-yaml": "^4.1.1",
"lint-staged": "^15.0.0",
"simple-git-hooks": "^2.12.0"
}
}