Skip to content

Commit

Permalink
Merge pull request #280 from TaloDev/develop
Browse files Browse the repository at this point in the history
Release 0.31.1
  • Loading branch information
tudddorrr authored Apr 28, 2024
2 parents b583def + dcae0fd commit 2cd589f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ COPY package-lock.json .
EXPOSE 80

FROM base AS dev
RUN npm install
RUN npm ci
CMD [ "npm", "run", "watch" ]

FROM base AS build
COPY tsconfig.build.json .
RUN npm install
RUN npm ci
COPY src ./src
RUN npm run build

FROM base AS prod
ENV NODE_ENV production
RUN npm install
RUN npm ci
COPY --from=build /usr/backend/dist .
CMD [ "node", "index.js" ]
17 changes: 8 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "game-services",
"version": "0.31.0",
"version": "0.31.1",
"description": "",
"main": "src/index.ts",
"scripts": {
Expand All @@ -16,7 +16,7 @@
"migration:create": "DB_HOST=127.0.0.1 mikro-orm migration:create",
"migration:up": "DB_HOST=127.0.0.1 mikro-orm migration:up",
"service:create": "hygen service new",
"prepare": "husky install",
"prepare": "husky || true",
"lint": "eslint src/**/*.ts tests/**/*.ts"
},
"author": "Sleepy Studios",
Expand All @@ -36,7 +36,7 @@
"casual": "^1.6.2",
"eslint": "^8.26.0",
"hefty": "^1.1.0",
"husky": ">=6",
"husky": "^9.0.11",
"hygen": "^6.2.11",
"lint-staged": ">=10",
"supertest": "^6.3.1",
Expand Down

0 comments on commit 2cd589f

Please sign in to comment.