Skip to content

fix: align Vue runtime, patch UnoCSS scrollbar, update deps, fix Wind… - #13

Merged
shahboura merged 1 commit into
mainfrom
fix/deps-alignment-and-unocss-scrollbar
Jul 5, 2026
Merged

fix: align Vue runtime, patch UnoCSS scrollbar, update deps, fix Wind…#13
shahboura merged 1 commit into
mainfrom
fix/deps-alignment-and-unocss-scrollbar

Conversation

@shahboura

Copy link
Copy Markdown
Owner

What

Fixes two critical runtime errors introduced by Dependabot dep bumps, plus build/CI hygiene.

Fixes

🔴 Vue 3.5.34 / @vue/runtime-dom 3.5.39 mismatch

Dependabot bumped @vue/runtime-dom to 3.5.39 without bumping vue (stuck at 3.5.34). Caused Uncaught ReferenceError: init_runtime_dom_esm_bundler is not defined in browser.
→ Bumped vue to ^3.5.39 to match.

🟡 UnoCSS unmatched utility on scrollbar shortcuts

unocss-preset-scrollbar v4.0.0 has a bug: the scrollbar shortcut references scrollbar-width-auto and scrollbar-color-[...] utilities that are only registered when compatible: true.
→ Set presetScrollbar({ compatible: true }).

🟡 Windows + Docker build failures

  • Windows: NODE_OPTIONS=… inline syntax is POSIX-only → added cross-env.
  • Docker: pnpm v11 requires allowBuilds in pnpm-workspace.yaml for esbuild native binaries → created config + switched Dockerfile to corepack enable.

Deps Updated

Package From To
@tiptap/pm 3.23.5 3.27.1
@tiptap/starter-kit 3.23.5 3.27.1
@tiptap/vue-3 3.23.5 3.27.1
@types/node ^25.9.1 ^26.1.0
unplugin-vue-markdown ^30.0.0 ^32.0.0
cross-env (new) ^10.0.0

CI

  • Node version: 22 → 24 (both LTS, 22 EOL Oct 2026)
  • Docker base: nginx:stable-alpinenginx:stable-alpine-slim

Verified

  • pnpm dev — zero UnoCSS warnings
  • pnpm build — passes on Windows (cross-env) and Linux

…ows/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
@shahboura
shahboura merged commit b5a6fd7 into main Jul 5, 2026
6 checks passed
@shahboura
shahboura deleted the fix/deps-alignment-and-unocss-scrollbar branch July 5, 2026 12:53
@shahboura
shahboura restored the fix/deps-alignment-and-unocss-scrollbar branch July 5, 2026 13:18
@shahboura
shahboura deleted the fix/deps-alignment-and-unocss-scrollbar branch July 13, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant