Skip to content

Commit 2cd589f

Browse files
authored
Merge pull request #280 from TaloDev/develop
Release 0.31.1
2 parents b583def + dcae0fd commit 2cd589f

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ COPY package-lock.json .
66
EXPOSE 80
77

88
FROM base AS dev
9-
RUN npm install
9+
RUN npm ci
1010
CMD [ "npm", "run", "watch" ]
1111

1212
FROM base AS build
1313
COPY tsconfig.build.json .
14-
RUN npm install
14+
RUN npm ci
1515
COPY src ./src
1616
RUN npm run build
1717

1818
FROM base AS prod
1919
ENV NODE_ENV production
20-
RUN npm install
20+
RUN npm ci
2121
COPY --from=build /usr/backend/dist .
2222
CMD [ "node", "index.js" ]

package-lock.json

Lines changed: 8 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "game-services",
3-
"version": "0.31.0",
3+
"version": "0.31.1",
44
"description": "",
55
"main": "src/index.ts",
66
"scripts": {
@@ -16,7 +16,7 @@
1616
"migration:create": "DB_HOST=127.0.0.1 mikro-orm migration:create",
1717
"migration:up": "DB_HOST=127.0.0.1 mikro-orm migration:up",
1818
"service:create": "hygen service new",
19-
"prepare": "husky install",
19+
"prepare": "husky || true",
2020
"lint": "eslint src/**/*.ts tests/**/*.ts"
2121
},
2222
"author": "Sleepy Studios",
@@ -36,7 +36,7 @@
3636
"casual": "^1.6.2",
3737
"eslint": "^8.26.0",
3838
"hefty": "^1.1.0",
39-
"husky": ">=6",
39+
"husky": "^9.0.11",
4040
"hygen": "^6.2.11",
4141
"lint-staged": ">=10",
4242
"supertest": "^6.3.1",

0 commit comments

Comments
 (0)