prod broken
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 3m56s

This commit is contained in:
2025-11-22 21:06:42 -08:00
parent aed59a80c5
commit 7bdbd708c1
4 changed files with 5 additions and 1258 deletions

1253
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,7 @@
"build": "vite build",
"preview": "vite preview",
"clean": "rimraf coverage .coverage",
"test:coverage": "npm run clean && npm run test && npm run test:integration && nyc merge .coverage .coverage/coverage.json && nyc report --reporter=html --reporter=text --temp-dir .coverage",
"test:coverage": "npm run clean && vitest run --coverage",
"test": "vitest run --coverage",
"test:integration": "vitest run --coverage -c vitest.config.integration.ts",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
@@ -20,6 +20,7 @@
},
"dependencies": {
"@google/genai": "^1.30.0",
"bcrypt": "^5.1.1",
"cookie-parser": "^1.4.7",
"date-fns": "^4.1.0",
"express": "^5.1.0",
@@ -40,7 +41,6 @@
"react-router-dom": "^7.9.6",
"recharts": "^3.4.1",
"tsx": "^4.20.6",
"bcrypt": "^5.1.1",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
@@ -76,7 +76,6 @@
"glob": "^13.0.0",
"globals": "16.5.0",
"jsdom": "^27.2.0",
"nyc": "^17.1.0",
"postcss": "^8.5.6",
"rimraf": "^6.1.2",
"tailwindcss": "^4.1.17",

View File

@@ -26,6 +26,7 @@ export default defineConfig({
// Vitest-specific configuration for the 'unit' test project.
test: {
// The name for this project is defined by the filename in the workspace config.
name: 'unit',
environment: 'jsdom',
globalSetup: './src/tests/setup/global-setup.ts',
setupFiles: ['./src/tests/setup/unit-setup.ts'],

View File

@@ -19,8 +19,8 @@ export default defineConfig({
coverage: {
provider: 'v8',
// We remove 'text' here. The final text report will be generated by `nyc` after merging.
reporter: ['html', 'json'],
reportsDirectory: './.coverage/integration',
reporter: ['html', 'json-summary', 'json'],
reportsDirectory: '.coverage/integration',
clean: true,
},
},