Skip to content

Commit be4d3f8

Browse files
committed
fix: align Vue runtime, patch UnoCSS scrollbar, update deps, fix Windows/Docker builds
- fix: bump vue to 3.5.39 to match @vue/runtime-dom (fixes init_runtime_dom_esm_bundler) - fix: add compatible:true to presetScrollbar (fixes unmatched scrollbar-color/width utilities) - fix: add cross-env for cross-platform NODE_OPTIONS in build script - fix: use corepack enable in Dockerfile (pins pnpm to packageManager version) - fix: add pnpm-workspace.yaml with allowBuilds:esbuild (pnpm v11 requirement) - chore: bump @tiptap/* to 3.27.1, @types/node to ^26, unplugin-vue-markdown to ^32 - chore: bump CI node-version 22->24, Docker nginx to alpine-slim
1 parent d06778d commit be4d3f8

9 files changed

Lines changed: 1211 additions & 1934 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- run: corepack enable
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 22
18+
node-version: 24
1919
cache: 'pnpm'
2020

2121
- name: Install dependencies

.github/workflows/docker-nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- run: corepack enable
3737
- uses: actions/setup-node@v4
3838
with:
39-
node-version: 22
39+
node-version: 24
4040
cache: 'pnpm'
4141

4242
- name: Install dependencies

.github/workflows/e2e-tests.yml

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

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 22
21+
node-version: 24
2222
cache: 'pnpm'
2323

2424
- name: Get Playwright version

.github/workflows/releases.yml

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

6969
- uses: actions/setup-node@v4
7070
with:
71-
node-version: 22
71+
node-version: 24
7272
cache: 'pnpm'
7373

7474
- name: Install dependencies

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ ENV VITE_VERCEL_GIT_COMMIT_SHA=$VITE_VERCEL_GIT_COMMIT_SHA
99
ARG VITE_RELEASE_TAG
1010
ENV VITE_RELEASE_TAG=$VITE_RELEASE_TAG
1111
WORKDIR /app
12-
COPY package.json pnpm-lock.yaml ./
13-
RUN npm install -g pnpm && pnpm i --frozen-lockfile
12+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
13+
RUN corepack enable && pnpm i --frozen-lockfile
1414
COPY . .
1515
RUN pnpm build
1616

1717
# production stage
18-
FROM nginx:stable-alpine AS production-stage
18+
FROM nginx:stable-alpine-slim AS production-stage
1919
COPY --from=build-stage /app/dist /usr/share/nginx/html
2020
COPY nginx.conf /etc/nginx/conf.d/default.conf
2121
EXPOSE 8080

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "it-tools",
33
"type": "module",
44
"version": "2024.10.22-7ca5933",
5-
"packageManager": "pnpm@9.11.0",
5+
"packageManager": "pnpm@11.9.0",
66
"description": "Collection of handy online tools for developers, with great UX. ",
77
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
88
"license": "GNU GPLv3",
@@ -23,7 +23,7 @@
2323
],
2424
"scripts": {
2525
"dev": "vite",
26-
"build": "vue-tsc --noEmit && NODE_OPTIONS=--max_old_space_size=4096 vite build",
26+
"build": "vue-tsc --noEmit && cross-env NODE_OPTIONS=--max_old_space_size=4096 vite build",
2727
"preview": "vite preview --port 5050",
2828
"test": "npm run test:unit",
2929
"test:unit": "vitest --environment jsdom",
@@ -42,9 +42,9 @@
4242
"@regexper/render": "^1.0.0",
4343
"@sindresorhus/slugify": "^3.0.0",
4444
"@tabler/icons-vue": "^3.44.0",
45-
"@tiptap/pm": "3.23.5",
46-
"@tiptap/starter-kit": "3.23.5",
47-
"@tiptap/vue-3": "3.23.5",
45+
"@tiptap/pm": "3.27.1",
46+
"@tiptap/starter-kit": "3.27.1",
47+
"@tiptap/vue-3": "3.27.1",
4848
"@types/markdown-it": "^14.1.2",
4949
"@vicons/material": "^0.13.0",
5050
"@vicons/tabler": "^0.13.0",
@@ -92,7 +92,7 @@
9292
"unicode-emoji-json": "^0.9.0",
9393
"unplugin-auto-import": "^21.0.0",
9494
"uuid": "^14.0.1",
95-
"vue": "^3.5.34",
95+
"vue": "^3.5.39",
9696
"vue-i18n": "^11.4.4",
9797
"vue-router": "^5.1.0",
9898
"vue-shadow-dom": "^4.2.0",
@@ -114,7 +114,7 @@
114114
"@types/lodash": "^4.17.24",
115115
"@types/mime-types": "^3.0.1",
116116
"@types/netmask": "^2.0.6",
117-
"@types/node": "^25.9.1",
117+
"@types/node": "^26.1.0",
118118
"@types/node-forge": "^1.3.14",
119119
"@types/qrcode": "^1.5.6",
120120
"@types/ua-parser-js": "^0.7.39",
@@ -126,6 +126,7 @@
126126
"@vue/test-utils": "^2.4.10",
127127
"@vue/tsconfig": "^0.9.1",
128128
"consola": "^3.4.2",
129+
"cross-env": "^10.0.0",
129130
"eslint": "^10.4.0",
130131
"hygen": "^6.2.11",
131132
"jsdom": "^29.1.1",
@@ -136,7 +137,7 @@
136137
"unocss-preset-scrollbar": "^4.0.0",
137138
"unplugin-icons": "^23.0.1",
138139
"unplugin-vue-components": "^32.1.0",
139-
"unplugin-vue-markdown": "^30.0.0",
140+
"unplugin-vue-markdown": "^32.0.0",
140141
"vite": "^8.0.16",
141142
"vite-plugin-pwa": "^1.3.0",
142143
"vite-svg-loader": "^5.1.1",

0 commit comments

Comments
 (0)