feat: 完成 ApiState Temporal native 开发链

This commit is contained in:
root
2026-07-17 03:41:59 +02:00
parent d203b22183
commit 02b21ad891
17 changed files with 214 additions and 81 deletions
+3 -2
View File
@@ -7,7 +7,7 @@
"cli": "bun scripts/apistate-cli.ts --config config/sub2rank.yaml",
"api": "bun --hot src/api.ts --config config/sub2rank.yaml --runtime native",
"worker": "bun src/worker.ts --config config/sub2rank.yaml --runtime native",
"dev:web": "bun --hot src/dev-web.ts --config config/sub2rank.yaml --runtime native",
"dev:web": "APISTATE_CONFIG_PATH=config/sub2rank.yaml APISTATE_RUNTIME_ID=native bunx vite --config vite.config.ts",
"server": "bun src/api.ts --config config/sub2rank.yaml --runtime k8s",
"check": "bunx tsc --noEmit"
},
@@ -21,7 +21,8 @@
"devDependencies": {
"@types/bun": "^1.2.21",
"@types/luxon": "^3.7.1",
"typescript": "^5.9.2"
"typescript": "^5.9.2",
"vite": "^8.1.5"
},
"trustedDependencies": [
"@swc/core",