chore(project): Update dependencies, vite config, and clean up repository

This commit is contained in:
Kurdistan Tech Ministry committed 2025-11-19 18:45:00 +03:00
1 parent 49cdcb523c
commit a7c8d00afe
9 files changed
+3803 -889

No files matched your search

+9 -3
View File
@@ -1,16 +1,22 @@
import { defineConfig } from "vite";
/// <reference types="vitest" />
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react-swc";
import path from "path";
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
test: {
globals: true,
environment: 'jsdom',
setupFiles: './src/tests/setup.ts',
},
server: {
host: "::",
port: 8081,
port: 8082,
strictPort: false, // Allow automatic port selection if 8082 is busy
hmr: {
protocol: 'ws',
host: 'localhost',
port: 8081,
},
watch: {
usePolling: true,