mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-02 05:54:44 +00:00
refactor(monorepo): decouple api and webui into workspaces packages
This commit is contained in:
@@ -162,6 +162,24 @@
|
||||
"@temporalio/workflow": "^1.16.1",
|
||||
},
|
||||
},
|
||||
"packages/api": {
|
||||
"name": "@shumai/api",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@hono/zod-validator": "^0.7.6",
|
||||
"@shumai/agent": "workspace:*",
|
||||
"@shumai/core": "workspace:*",
|
||||
"@shumai/db": "workspace:*",
|
||||
"@shumai/dtos": "workspace:*",
|
||||
"@shumai/transcode": "workspace:*",
|
||||
"@shumai/worker-db": "workspace:*",
|
||||
"@shumai/workflow-core": "workspace:*",
|
||||
"better-auth": "^1.6.6",
|
||||
"hono": "^4.12.14",
|
||||
"pino": "^10.3.1",
|
||||
"zod": "^4.4.3",
|
||||
},
|
||||
},
|
||||
"packages/core": {
|
||||
"name": "@shumai/core",
|
||||
"version": "0.1.0",
|
||||
@@ -209,6 +227,13 @@
|
||||
"sharp": "^0.34.5",
|
||||
},
|
||||
},
|
||||
"packages/webui": {
|
||||
"name": "@shumai/webui",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@shumai/api": "workspace:*",
|
||||
},
|
||||
},
|
||||
"packages/worker-db": {
|
||||
"name": "@shumai/worker-db",
|
||||
"version": "0.1.0",
|
||||
@@ -1015,6 +1040,8 @@
|
||||
|
||||
"@shumai/agent": ["@shumai/agent@workspace:packages/agent"],
|
||||
|
||||
"@shumai/api": ["@shumai/api@workspace:packages/api"],
|
||||
|
||||
"@shumai/core": ["@shumai/core@workspace:packages/core"],
|
||||
|
||||
"@shumai/db": ["@shumai/db@workspace:packages/db"],
|
||||
@@ -1023,6 +1050,8 @@
|
||||
|
||||
"@shumai/transcode": ["@shumai/transcode@workspace:packages/transcode"],
|
||||
|
||||
"@shumai/webui": ["@shumai/webui@workspace:packages/webui"],
|
||||
|
||||
"@shumai/worker-db": ["@shumai/worker-db@workspace:packages/worker-db"],
|
||||
|
||||
"@shumai/workflow-core": ["@shumai/workflow-core@workspace:packages/workflow-core"],
|
||||
|
||||
Reference in New Issue
Block a user