Skip to content

Commit ad15149

Browse files
committed
fix: update deps
1 parent db0797a commit ad15149

File tree

4 files changed

+389
-358
lines changed

4 files changed

+389
-358
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM node:16-alpine
22

3+
34
# * Same version as in Watchtower
45
ARG EXPRESS_VERSION=4.18.1
56
ENV EXPRESS_VERSION $EXPRESS_VERSION
@@ -29,7 +30,7 @@ RUN apk update && apk upgrade && \
2930
apk add --no-cache git openssh
3031

3132
# * Install packages that are required for this docker image to run
32-
RUN npm install -g pnpm nodemon express@$EXPRESS_VERSION morgan glob tsx @antfu/ni
33+
RUN npm install -g pnpm nodemon express@$EXPRESS_VERSION morgan glob@8.1.0 tsx @antfu/ni
3334

3435
# * The pnpm store should be mounted in the same volume as node_modules (requires hard links)
3536
# * See https://pnpm.io/6.x/npmrc#store-dir
@@ -40,4 +41,4 @@ COPY nodemon.json start.sh server.ts tsconfig.json $SERVER_PATH/
4041

4142
# * Change working directory to the Nhost project directory
4243
WORKDIR $NHOST_PROJECT_PATH
43-
CMD $SERVER_PATH/start.sh
44+
ENTRYPOINT $SERVER_PATH/start.sh

nodemon.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"!(package.json)"
44
],
55
"execMap": {
6-
"json": "cd $FUNCTIONS_WORKING_DIR ; ni ; nodemon --ext 'js,ts' -w $FUNCTIONS_RELATIVE_PATH -x 'tsx' $SERVER_PATH/server.ts"
6+
"json": "cd $FUNCTIONS_WORKING_DIR ; ni ; nodemon -L --ext 'js,ts' -w $FUNCTIONS_RELATIVE_PATH -x 'tsx' $SERVER_PATH/server.ts"
77
},
88
"ext": "json"
9-
}
9+
}

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@
2222
"homepage": "https://github.com/nhost/functions#readme",
2323
"devDependencies": {
2424
"@antfu/ni": "^0.17.2",
25-
"@swc-node/register": "^1.5.1",
26-
"@types/express": "^4.17.13",
25+
"@swc-node/register": "^1.6.5",
26+
"@types/express": "^4.17.17",
2727
"@types/glob": "^7.2.0",
28-
"@types/morgan": "^1.9.3",
29-
"@types/node": "^18.7.6",
28+
"@types/morgan": "^1.9.4",
29+
"@types/node": "^18.16.14",
3030
"express": "4.18.1",
31-
"glob": "^8.0.3",
31+
"glob": "^8.1.0",
3232
"morgan": "^1.10.0",
33-
"nodemon": "^2.0.19",
34-
"pnpm": "^7.9.0",
35-
"typescript": "^4.7.4"
33+
"nodemon": "^2.0.22",
34+
"pnpm": "^7.32.4",
35+
"typescript": "^4.9.5"
3636
}
3737
}

0 commit comments

Comments
 (0)