From 8ce48e04fa089c501b04545951e3688c5b017036 Mon Sep 17 00:00:00 2001 From: mattia Date: Mon, 6 Jan 2025 21:05:54 +0100 Subject: [PATCH] fix: missing dependencies + clean build before producing it --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 798f615..5f3d637 100644 --- a/package.json +++ b/package.json @@ -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" } }