Skip to content

Commit 7537711

Browse files
committed
Encode URI; update ts; move to pnpm
1 parent f308381 commit 7537711

20 files changed

+5516
-5440
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM node:22-alpine
33
RUN mkdir -p /usr/src/app
44
WORKDIR /usr/src/app
55

6-
RUN yarn global add node-gyp
6+
# Install pnpm
7+
RUN npm install -g pnpm
78

89
RUN apk update
910
RUN apk add --no-cache \
@@ -15,14 +16,14 @@ RUN apk add --no-cache \
1516
giflib-dev
1617

1718
COPY package.json /usr/src/app
18-
COPY yarn.lock /usr/src/app
19+
COPY pnpm-lock.yaml /usr/src/app
1920

20-
RUN yarn install
21+
RUN pnpm install
2122

2223
COPY . /usr/src/app
2324

24-
RUN npm run build
25+
RUN pnpm run build
2526

2627
EXPOSE 3000
2728

28-
CMD ["npm", "start"]
29+
CMD ["pnpm", "start"]

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@
99
},
1010
"author": "Daniel Saewitz",
1111
"license": "MIT",
12+
"type": "module",
1213
"scripts": {
1314
"test": "",
1415
"start": "node build/server.js",
1516
"dev": "tsx watch src/server.ts",
1617
"build": "tsc",
17-
"lint": "eslint src/**/*.js"
18+
"lint": "eslint src/**/*.ts"
1819
},
1920
"dependencies": {
2021
"canvas": "^2.11.2",
2122
"express": "5.1.0",
2223
"instrumental-agent": "alecgorge/instrumental_agent-node#master",
23-
"soap": "1.1.11",
24+
"soap": "1.3.0",
2425
"thenby": "^1.3.4",
2526
"winston": "^3.17.0"
2627
},
2728
"devDependencies": {
28-
"@switz/eslint-config": "^12.3.2",
29-
"@types/express": "^5.0.1",
30-
"eslint": "^9.25.1",
31-
"tsx": "^4.19.3",
32-
"typescript": "^5.8.3"
33-
},
34-
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
35-
}
29+
"@switz/eslint-config": "^12.3.3",
30+
"@types/express": "^5.0.3",
31+
"eslint": "^9.33.0",
32+
"tsx": "^4.20.4",
33+
"typescript": "^5.9.2"
34+
}
35+
}

0 commit comments

Comments
 (0)