chore: updated version of almost everything
This commit is contained in:
1
.env.example
Normal file
1
.env.example
Normal file
@@ -0,0 +1 @@
|
||||
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
|
||||
@@ -1,4 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx --no-install commitlint --edit $1
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
yarn format
|
||||
yarn lint-staged
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
# Development stage
|
||||
FROM node:18 as builder
|
||||
FROM node:20 as builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json yarn.lock ./
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN yarn build
|
||||
|
||||
# Production stage
|
||||
FROM node:18-slim
|
||||
FROM node:20-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y openssl
|
||||
|
||||
@@ -21,7 +21,7 @@ COPY --from=builder /app/package*.json ./
|
||||
COPY --from=builder /app/build ./build
|
||||
COPY --from=builder /app/prisma ./prisma
|
||||
|
||||
RUN yarn install --frozen-lockfile --production
|
||||
RUN yarn install --production
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
backend:
|
||||
build:
|
||||
|
||||
14040
package-lock.json
generated
14040
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
40
package.json
40
package.json
@@ -29,47 +29,43 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@prisma/client": "5.1.1",
|
||||
"@prisma/client": "^5.17.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^4.19.2",
|
||||
"express-rate-limit": "^6.11.0",
|
||||
"express-rate-limit": "^7.3.1",
|
||||
"express-rate-limiter": "^1.3.1",
|
||||
"express-session": "^1.18.0",
|
||||
"helmet": "^7.1.0",
|
||||
"prisma": "^5.12.1",
|
||||
"winston": "^3.13.0",
|
||||
"winston-daily-rotate-file": "^4.7.1",
|
||||
"zod": "^3.23.0",
|
||||
"zod-validation-error": "^3.1.0"
|
||||
"prisma": "^5.17.0",
|
||||
"winston": "^3.13.1",
|
||||
"winston-daily-rotate-file": "^5.0.0",
|
||||
"zod": "^3.23.8",
|
||||
"zod-validation-error": "^3.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^19.2.2",
|
||||
"@commitlint/cli": "^19.3.0",
|
||||
"@commitlint/config-conventional": "^19.2.2",
|
||||
"@swc/core": "^1.4.16",
|
||||
"@swc/core": "^1.7.0",
|
||||
"@swc/jest": "^0.2.36",
|
||||
"@types/cors": "^2.8.17",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/express-session": "^1.18.0",
|
||||
"@types/jest": "^29.5.12",
|
||||
"@types/node": "^20.12.7",
|
||||
"@types/node": "^20.14.11",
|
||||
"@types/supertest": "^6.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
||||
"@typescript-eslint/parser": "^7.7.1",
|
||||
"eslint": "^8.44.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-tsdoc": "^0.2.17",
|
||||
"husky": "^9.0.11",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-tsdoc": "^0.3.0",
|
||||
"husky": "^9.1.1",
|
||||
"jest": "^29.7.0",
|
||||
"lint-staged": "^15.2.2",
|
||||
"nodemon": "^3.1.0",
|
||||
"lint-staged": "^15.2.7",
|
||||
"nodemon": "^3.1.4",
|
||||
"prettier": "^3.2.5",
|
||||
"supertest": "^6.3.4",
|
||||
"ts-jest": "^29.1.2",
|
||||
"supertest": "^7.0.0",
|
||||
"ts-jest": "^29.2.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
"resolutions": {
|
||||
"@babel/traverse": "^7.23.2",
|
||||
"formidable": "^3.2.4"
|
||||
"typescript": "^5.5.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user