fix: missing dependencies + clean build before producing it

This commit is contained in:
mattia
2025-01-06 21:05:54 +01:00
parent 99859177b3
commit 8ce48e04fa

View File

@@ -10,14 +10,13 @@
"dev": "concurrently -c magenta,blue,green npm:dev:*",
"build:server": "tsc --project ./src/server/tsconfig.json",
"build:client": "vite build ./src/client",
"build": "concurrently -c magenta,blue npm:build:*",
"build": "rimraf build && concurrently -c magenta,blue npm:build:*",
"start": "node dist/server/index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@anatine/zod-openapi": "^2.2.6",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@fontsource/roboto": "^5.1.1",
@@ -25,7 +24,6 @@
"@mui/material": "^6.3.1",
"@mui/x-date-pickers": "^7.23.3",
"@tanstack/react-query": "^4.0.0",
"@ts-rest/open-api": "^3.51.0",
"@ts-rest/react-query": "^3.51.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.0.0",
@@ -43,14 +41,15 @@
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router": "^7.1.1",
"swagger-ui-express": "^5.0.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.7.2",
"vite": "^6.0.7"
},
"dependencies": {
"@anatine/zod-openapi": "^2.2.6",
"@ts-rest/core": "^3.51.0",
"@ts-rest/express": "^3.51.0",
"@ts-rest/open-api": "^3.51.0",
"async-wrapper-express-ts": "^3.1.6",
"cors": "^2.8.5",
"dotenv": "^16.4.7",
@@ -58,6 +57,7 @@
"kysely": "^0.27.5",
"multer": "^1.4.5-lts.1",
"mysql2": "^3.12.0",
"swagger-ui-express": "^5.0.1",
"zod": "^3.24.1"
}
}