Public changes compared with the previous published export: 19 files changed. Affected areas: - backend/app: 3 files - dependencies: 2 files - documentation: 1 file - frontend: 2 files - frontend/src: 10 files - tests: 1 file Changed files: - Updated: "backend/app/acquisition.py" - Added: "backend/app/icons.py" - Updated: "backend/app/main.py" - Added: "backend/tests/test_icons.py" - Updated: "docs/ARCHITECTURE.md" - Updated: "frontend/package-lock.json" - Updated: "frontend/package.json" - Updated: "frontend/playwright.config.ts" - Updated: "frontend/src/App.tsx" - Updated: "frontend/src/components/DashboardView.tsx" - Added: "frontend/src/components/HealthRing.tsx" - Updated: "frontend/src/components/HistoryView.tsx" - Added: "frontend/src/components/Icon.tsx" - Updated: "frontend/src/components/PortfolioAtlas.tsx" - Updated: "frontend/src/components/RemediationCenter.tsx" - Added: "frontend/src/components/RepoAvatar.tsx" - Updated: "frontend/src/main.tsx" - Updated: "frontend/src/styles.css" - Updated: "frontend/vite.config.ts" Export provenance/manifests refreshed; excluded from the change summary. Publish curated RepoPulse source from 7a60c53ee2c1daebecd66a01656e323f1db72e56
26 lines
759 B
TypeScript
26 lines
759 B
TypeScript
import { loadEnv } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import { configDefaults, defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig(({ mode }) => {
|
|
const environment = loadEnv(mode, '.', '')
|
|
const apiTarget = environment.REPOPULSE_API_PROXY || 'http://localhost:8000'
|
|
|
|
return {
|
|
plugins: [react()],
|
|
// The Architecture view is lazy-loaded; pre-bundle React Flow so the dev server never
|
|
// re-optimizes and reloads mid-session when that chunk is first requested.
|
|
optimizeDeps: { include: ['@xyflow/react'] },
|
|
server: {
|
|
port: 5174,
|
|
proxy: {
|
|
'/api': apiTarget,
|
|
'/health': apiTarget,
|
|
},
|
|
},
|
|
test: {
|
|
exclude: [...configDefaults.exclude, 'e2e/**'],
|
|
},
|
|
}
|
|
})
|