mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
**Refactor:** Restructure server
package to streamline imports and improve file organization
- Moved `providers`, `services`, `models`, `lib`, and related files to `src` directory within `server` package. - Adjusted imports across the codebase to reflect the new paths. - Renamed several `.ts` files for consistency. - Introduced an `index.ts` in the `ai/providers` package to export all providers. This improves maintainability and aligns with the project's updated directory structure.
This commit is contained in:
@@ -3,14 +3,16 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"clean": "rm -rf ../../node_modules && rm -rf .wrangler && rm -rf dist && rm -rf coverage && rm -rf html",
|
||||
"dev": "bun ./server.ts",
|
||||
"dev": "bun src/server/server.ts",
|
||||
"tests": "vitest run",
|
||||
"build": "bun run build.ts",
|
||||
"build": "bun run src/server/build.ts",
|
||||
"tests:coverage": "vitest run --coverage.enabled=true"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@open-gsio/env": "workspace:*",
|
||||
"@open-gsio/client": "workspace:*",
|
||||
"@open-gsio/durable-objects": "workspace:*",
|
||||
"@open-gsio/ai": "workspace:*",
|
||||
"@anthropic-ai/sdk": "^0.32.1",
|
||||
"bun-sqlite-key-value": "^1.13.1",
|
||||
"@cloudflare/workers-types": "^4.20241205.0",
|
||||
|
Reference in New Issue
Block a user