ci(app): testing and other app config changes

This commit is contained in:
2025-12-30 08:01:16 -06:00
parent 9efd6419b6
commit 9531401e56
10 changed files with 7252 additions and 82 deletions

View File

@@ -4,9 +4,9 @@
"description": "The tool that supports us in our everyday alplaprod",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "dotenvx run -f .env -- vitest",
"dev": "dotenvx run -f .env -- npm run dev:app",
"dev:app": "cd backend && tsx watch app.ts",
"dev:app": "cd backend && tsx watch server.ts",
"dev:db:migrate": "npx drizzle-kit push",
"dev:db:generate": "tsc && npx drizzle-kit generate --config=drizzle.config.ts",
"build": "npm run specCheck && npm run lint && npm run dev:db:generate && npm run dev:db:migrate && npm run build:app && rimraf dist/backend",
@@ -33,17 +33,24 @@
"@commitlint/cli": "^18.4.0",
"@commitlint/config-conventional": "^18.4.0",
"@scalar/express-api-reference": "^0.8.28",
"@swc/core": "^1.15.7",
"@swc/jest": "^0.2.39",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/morgan": "^1.9.10",
"@types/mssql": "^9.1.8",
"@types/node": "^24.10.1",
"@types/nodemailer": "^7.0.4",
"@types/nodemailer-express-handlebars": "^4.0.6",
"@types/pg": "^8.16.0",
"@types/supertest": "^6.0.3",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"@vercel/ncc": "^0.38.4",
"axios": "^1.13.2",
"better-auth": "^1.4.6",
"better-auth": "^1.4.9",
"commitizen": "^4.3.0",
"cors": "^2.8.5",
"cz-conventional-changelog": "^3.3.0",
"drizzle-kit": "^0.31.8",
"drizzle-orm": "^0.45.1",
@@ -52,18 +59,24 @@
"husky": "^8.0.3",
"morgan": "^1.10.1",
"mssql": "^12.2.0",
"nodemailer": "^7.0.12",
"nodemailer-express-handlebars": "^7.0.0",
"npm-check-updates": "^19.1.2",
"openapi-types": "^12.1.3",
"pg": "^8.16.3",
"pino": "^10.1.0",
"pino-pretty": "^13.1.3",
"postgres": "^3.4.7",
"supertest": "^7.1.4",
"ts-jest": "^29.4.6",
"ts-node-dev": "^2.0.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^6.0.3",
"vitest": "^4.0.16"
},
"dependencies": {
"@dotenvx/dotenvx": "^1.51.2",
"postgres": "^3.4.7"
"@dotenvx/dotenvx": "^1.51.2"
},
"config": {
"commitizen": {