Update package dependencies, refactor TypeScript configuration, and enhance API server code with improved type definitions. Modify GitHub Actions workflow to verify API build success and streamline build scripts for better maintainability.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"build:dev": "tsc && vite build --mode development",
|
||||
"build:api": "tsc src/server.ts --outDir dist --target es2020 --module commonjs --esModuleInterop --allowSyntheticDefaultImports --resolveJsonModule --skipLibCheck",
|
||||
"build:api": "tsc --project tsconfig.api.json",
|
||||
"start:api": "node dist/server.js",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
"preview": "vite preview",
|
||||
@ -51,14 +51,18 @@
|
||||
"@radix-ui/react-tooltip": "^1.1.4",
|
||||
"@tanstack/react-query": "^5.56.2",
|
||||
"@types/bcrypt": "^6.0.0",
|
||||
"@types/cors": "^2.8.19",
|
||||
"@types/express": "^5.0.3",
|
||||
"@types/jsonwebtoken": "^9.0.10",
|
||||
"bcrypt": "^6.0.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.0.0",
|
||||
"cors": "^2.8.5",
|
||||
"date-fns": "^3.6.0",
|
||||
"drizzle-orm": "^0.37.0",
|
||||
"embla-carousel-react": "^8.3.0",
|
||||
"express": "^5.1.0",
|
||||
"input-otp": "^1.2.4",
|
||||
"jsonwebtoken": "^9.0.2",
|
||||
"lucide-react": "^0.462.0",
|
||||
|
Reference in New Issue
Block a user