- Refactored to introduce handleSsr function in @open-gsio/client/server/index.ts for streamlined SSR handling.

- Replaced inline SSR logic in `AssetService.ts` with `handleSsr` import.
- Enhanced `build:client` script to ensure server directory creation.
- Updated dependencies and devDependencies across multiple packages for compatibility improvements.
This commit is contained in:
geoffsee
2025-06-25 16:03:13 -04:00
parent 93bec55585
commit f9249f3496
8 changed files with 364 additions and 218 deletions

View File

@@ -10,10 +10,15 @@
"generate:robotstxt": "bun ./scripts/generate_robots_txt.js open-gsio.seemueller.workers.dev",
"generate:fonts": "cp -r ../../node_modules/katex/dist/fonts public/static"
},
"dependencies": {
"exports": {
"./server/index.ts": {
"import": "./server/index.ts",
"types": "./server/index.ts"
}
},
"devDependencies": {
"@open-gsio/env": "workspace:*",
"@open-gsio/scripts": "workspace:*",
"@anthropic-ai/sdk": "^0.32.1",
"@chakra-ui/react": "^2.10.6",
"@cloudflare/workers-types": "^4.20241205.0",
"@emotion/react": "^11.13.5",
@@ -48,11 +53,11 @@
"react-textarea-autosize": "^8.5.5",
"shiki": "^1.24.0",
"typescript": "^5.7.2",
"vike": "0.4.193",
"vite": "^6.3.5",
"vike": "^0.4.235",
"vite": "^7.0.0",
"vite-plugin-pwa": "^1.0.0",
"vitest": "^3.1.4",
"bun": "*",
"@types/bun": "*"
"bun": "^1.2.17",
"@types/bun": "^1.2.17"
}
}