Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all dependencies (major) #139

Merged
merged 4 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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