Skip to content

Commit 18a5a40

Browse files
committed
update deps and use corepack for pnpm
1 parent 37cdc12 commit 18a5a40

File tree

4 files changed

+45
-34
lines changed

4 files changed

+45
-34
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.3.3] - 2023-08-20
9+
10+
### Security
11+
12+
- Updated dependencies.
13+
814
## [1.3.2] - 2023-06-24
915

1016
### Security

Dockerfile

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
FROM node:20-alpine as base
2+
# PNPM
3+
ENV PNPM_HOME="/pnpm"
4+
ENV PATH="$PNPM_HOME:$PATH"
5+
RUN corepack enable
6+
# Setup
7+
ENV CI=true
28
WORKDIR /app
3-
RUN npm -g i pnpm
9+
ADD ./package.json ./pnpm-lock.yaml ./
410

511

612
FROM base as builder
7-
ADD ./package.json ./pnpm-lock.yaml ./
8-
RUN pnpm install --frozen-lockfile
13+
RUN pnpm install
914
ADD . .
1015
RUN pnpm run build
1116

1217
FROM base
13-
ADD ./package.json ./pnpm-lock.yaml ./
14-
RUN pnpm install --frozen-lockfile --prod
18+
RUN pnpm install --prod
1519
COPY --from=builder /app/dist/ /app/dist/
1620

1721
STOPSIGNAL SIGTERM

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
2-
"packageManager": "[email protected]",
3-
"version": "1.3.2",
2+
"version": "1.3.3",
43
"license": "MIT",
54
"type": "module",
65
"main": "dist",
76
"scripts": {
8-
"dev": "tsc -w",
97
"build": "tsc",
8+
"dev": "tsc -w",
109
"start": "node ."
1110
},
1211
"dependencies": {
1312
"axios": "^1.4.0",
1413
"dotenv": "^16.3.1",
1514
"node-cron": "^3.0.2",
16-
"winston": "^3.9.0"
15+
"winston": "^3.10.0"
1716
},
1817
"devDependencies": {
19-
"@types/node": "^20.3.1",
20-
"@types/node-cron": "^3.0.7",
21-
"typescript": "^5.1.3"
22-
}
18+
"@types/node": "^20.5.1",
19+
"@types/node-cron": "^3.0.8",
20+
"typescript": "^5.1.6"
21+
},
22+
"packageManager": "[email protected]"
2323
}

pnpm-lock.yaml

+22-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)