feat: initialize monorepo with package.json for CCW workflow platform

This commit is contained in:
catlog22
2026-02-03 14:42:20 +08:00
parent 5483a72e9f
commit 39b80b3386
267 changed files with 99597 additions and 2658 deletions

View File

@@ -26,14 +26,25 @@ export default defineConfig({
// strictPort: true ensures the specified port is used or fails
strictPort: true,
proxy: {
// Backend API proxy
'/api': {
target: 'http://localhost:3456',
changeOrigin: true,
},
// WebSocket proxy for real-time updates
'/ws': {
target: 'ws://localhost:3456',
ws: true,
},
// Docusaurus documentation site proxy
// Forwards /docs requests to Docusaurus dev server running on port 3001
'/docs': {
target: 'http://localhost:3001',
changeOrigin: true,
// Remove /docs prefix when forwarding to Docusaurus
// Example: /docs/getting-started -> http://localhost:3001/getting-started
rewrite: (path) => path.replace(/^\/docs/, ''),
},
},
},
build: {