Skip to content

Commit

Permalink
chore(deps): update all dependencies (major) (#139)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Peïo Thibault <[email protected]>
  • Loading branch information
renovate[bot] and potb authored Apr 30, 2024
1 parent 470ba89 commit bf3c336
Show file tree
Hide file tree
Showing 7 changed files with 2,382 additions and 1,999 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.7.3
22.0.0
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:21.7.3-alpine as base
FROM node:22.0.0-alpine as base

WORKDIR /app

Expand All @@ -7,7 +7,8 @@ RUN apk add --no-cache python3 make g++
COPY package.json pnpm-lock.yaml ./
RUN corepack enable

RUN pnpm fetch
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store/v3 \
pnpm fetch

FROM base as build

Expand All @@ -16,18 +17,19 @@ WORKDIR /app
COPY tsup.config.ts ./
COPY src ./src

RUN pnpm install --frozen-lockfile --offline && \
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store/v3 \
pnpm install --frozen-lockfile --offline && \
pnpm run build

FROM base as production-dependencies

WORKDIR /app

RUN pnpm prune --prod && \
pnpm install --production --frozen-lockfile --offline && \
pnpm store prune
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store/v3 \
pnpm prune --prod && \
pnpm install --production --frozen-lockfile --offline

FROM node:21.7.3-alpine as application
FROM node:22.0.0-alpine as application

WORKDIR /app

Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@
},
"dependencies": {
"@keyv/redis": "2.8.4",
"change-case": "5.2.0",
"cheerio": "1.0.0-rc.12",
"constant-case": "3.0.4",
"cron": "3.1.7",
"discord.js": "14.14.1",
"keyv": "4.5.4",
"open-graph-scraper": "6.5.1",
"param-case": "3.0.4",
"zod": "3.23.5"
},
"devDependencies": {
Expand All @@ -36,16 +35,16 @@
"eslint-plugin-only-error": "1.0.2",
"eslint-plugin-simple-import-sort": "12.1.0",
"eslint-plugin-sonarjs": "0.25.1",
"eslint-plugin-unused-imports": "3.1.0",
"eslint-plugin-unused-imports": "3.2.0",
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
"tsup": "8.0.2",
"type-fest": "4.18.0",
"typescript": "5.4.5",
"vitest": "1.5.3"
},
"packageManager": "pnpm@8.15.8",
"packageManager": "pnpm@9.0.6",
"engines": {
"node": "21.7.3"
"node": "22.0.0"
}
}
Loading

0 comments on commit bf3c336

Please sign in to comment.