Stelle den Frontend-MVP und die v0.3-API auf develop bereit, damit Dev API und PWA zusammen deployen.
Deploy Development / deploy (push) Successful in 1m19s
Test Suite / pytest-backend (push) Successful in 31s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-checks (push) Successful in 28s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-04 13:04:59 +02:00
1 parent 827e6a2a11
commit b276758ee1
152 files changed
+25846 -34

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
/// <reference types="vitest/config" />
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { VitePWA } from "vite-plugin-pwa";
export default defineConfig({
plugins: [
react(),
VitePWA({
registerType: "autoUpdate",
manifest: {
name: "Buying Agent",
short_name: "BuyingAgent",
start_url: "/",
display: "standalone",
background_color: "#111318",
theme_color: "#111318",
icons: [
{ src: "/icon.svg", sizes: "any", type: "image/svg+xml", purpose: "any" },
],
},
workbox: {
navigateFallback: "/offline.html",
runtimeCaching: [
{
urlPattern: ({ request }) => request.mode === "navigate",
handler: "NetworkFirst",
},
],
},
}),
],
server: {
port: 5173,
proxy: {
"/api": "http://127.0.0.1:8000",
"/health": "http://127.0.0.1:8000",
},
},
test: {
environment: "jsdom",
globals: true,
setupFiles: "./src/test-setup.ts",
exclude: ["e2e/**", "node_modules/**"],
},
});