fix(frontend): eliminate all tsconfig and vite proxy build deprecation warnings
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 21s
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 9s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 10s
Validators (Pushes and Pull Requests) / Security & Secrets (push) Successful in 12s
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Failing after 14s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been skipped
Frontend CI Pipeline / ci-frontend-8-steps (push) Failing after 2m59s

This commit is contained in:
2026-07-26 15:01:39 +09:00
parent 4695de8783
commit d5097ad809
2 changed files with 6 additions and 6 deletions
+3 -4
View File
@@ -24,11 +24,10 @@
"noImplicitReturns": true,
/* Path Aliases */
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@shared/*": ["src/shared/*"],
"@modules/*": ["src/modules/*"]
"@/*": ["./src/*"],
"@shared/*": ["./src/shared/*"],
"@modules/*": ["./src/modules/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
+3 -2
View File
@@ -26,8 +26,9 @@ export default defineConfig({
changeOrigin: true,
secure: false,
configure: (proxy) => {
proxy.on('error', (_err, _req, res: any) => {
if (res && !res.headersSent) {
proxy.on('error', (...args: any[]) => {
const res = args[2];
if (res && typeof res.writeHead === 'function' && !res.headersSent) {
res.writeHead(200, { 'Content-Type': 'application/json' });
res.end(JSON.stringify({ status: 'OFFLINE_MOCK_ACTIVE', data: [], versions: [] }));
}