Skip to content

Commit 6beef43

Browse files
committed
chore(deps): major updates without code migrations
chalk 6, jsdom 30.0.1 (+@types/jsdom 30), katex 0.18.4. Node 22 -> 24 everywhere: jsdom 30 floors at ^22.22.2, so keeping engines at >=22 was a lie. .prototools, Dockerfile, CI and engines move together to hold dev/prod parity. nodejs/node#62125 (the Windows fail-fast the old pin guarded against) is closed as not planned; E2E passes on 24, which is the real gate. katex 0.18 prefixed ~20 internal classes, so public/katex/ is re-copied from the dist in the same commit: our selectors only touch .katex-display, but the vendored stylesheet the redline iframe loads has to match the new markup. Drop @types/katex (katex ships its own); move @types/archiver to devDependencies.
1 parent 5091525 commit 6beef43

7 files changed

Lines changed: 152 additions & 122 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ updates:
3838
minor-and-patch:
3939
update-types: [minor, patch]
4040

41-
# Root Dockerfile excluded: node:22 is pinned to match production, not a stale base image.
41+
# Root Dockerfile excluded: node:24 is pinned to match production, not a stale base image.
4242
- package-ecosystem: docker
4343
directories:
4444
- /services/docx-api

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: actions/setup-node@v4
2323
with:
24-
node-version: 22
24+
node-version: 24
2525
cache: pnpm
2626

2727
- run: pnpm install --frozen-lockfile

‎.prototools‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
node = "~22"
1+
node = "~24"
22
pnpm = "latest"
33
uv = "latest"

‎Dockerfile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22-alpine AS build
1+
FROM node:24-alpine AS build
22

33
WORKDIR /app
44

@@ -24,7 +24,7 @@ RUN mkdir /prisma-runtime && cd /prisma-runtime \
2424
&& npm install prisma dotenv --save-exact \
2525
&& npm cache clean --force
2626

27-
FROM node:22-alpine AS migrate
27+
FROM node:24-alpine AS migrate
2828

2929
WORKDIR /app
3030

@@ -35,7 +35,7 @@ COPY --from=build /prisma-runtime/node_modules ./node_modules
3535

3636
CMD ["npx", "prisma", "migrate", "deploy"]
3737

38-
FROM node:22-alpine
38+
FROM node:24-alpine
3939

4040
# Build metadata (passed via docker-bake args); exposed at runtime via /api/version
4141
ARG GIT_COMMIT=unknown

‎package.json‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@
7070
"@tanstack/react-start": "^1.168.42",
7171
"@tanstack/react-store": "^0.11.1",
7272
"@tanstack/react-table": "^8.21.3",
73-
"@types/archiver": "^8.0.0",
7473
"adm-zip": "^0.6.0",
7574
"archiver": "^8.0.0",
7675
"better-auth": "1.7.1",
77-
"chalk": "^5.6.2",
76+
"chalk": "^6.0.0",
7877
"class-variance-authority": "^0.7.1",
7978
"clsx": "^2.1.1",
8079
"cmdk": "^1.1.1",
@@ -93,8 +92,8 @@
9392
"filenamify": "^7.0.2",
9493
"html-react-parser": "^6.1.5",
9594
"html-to-text": "^10.0.0",
96-
"jsdom": "^29.1.1",
97-
"katex": "^0.17.0",
95+
"jsdom": "^30.0.1",
96+
"katex": "^0.18.4",
9897
"latinize": "^2.0.0",
9998
"lucide-react": "^1.31.0",
10099
"maplibre-gl": "^5.24.0",
@@ -128,10 +127,10 @@
128127
"@tanstack/devtools-vite": "^0.8.3",
129128
"@testing-library/dom": "^10.4.1",
130129
"@testing-library/react": "^16.3.2",
130+
"@types/archiver": "^8.0.0",
131131
"@types/diff-match-patch": "^1.0.36",
132132
"@types/html-to-text": "^9.0.4",
133-
"@types/jsdom": "^28.0.3",
134-
"@types/katex": "^0.16.8",
133+
"@types/jsdom": "^30.0.0",
135134
"@types/latinize": "^0.2.18",
136135
"@types/node": "^26.2.0",
137136
"@types/nodemailer": "^8.0.1",
@@ -160,6 +159,6 @@
160159
"zod-compiler": "^1.27.0"
161160
},
162161
"engines": {
163-
"node": ">=22"
162+
"node": ">=24"
164163
}
165164
}

0 commit comments

Comments
 (0)