Skip to content

chore: update dependencies and bump pnpm to v11#14

Open
thelooter wants to merge 1 commit into
mainfrom
chore/update-dependencies
Open

chore: update dependencies and bump pnpm to v11#14
thelooter wants to merge 1 commit into
mainfrom
chore/update-dependencies

Conversation

@thelooter

Copy link
Copy Markdown
Contributor

Summary

  • Bump vue 3.5.13 → 3.5.39, vitepress 1.5.0 → 1.6.4, prettier 3.4.2 → 3.9.4
  • Bump pnpm 9.12.2 → 11.9.0
  • Update CI build matrix from Node 18/20/lts/latest → 22/lts/latest, since pnpm 11 requires Node.js 22+
  • Add pnpm-workspace.yaml with allowBuilds: { esbuild: true }, since pnpm 11 blocks postinstall scripts by default
  • Add the engines.pnpm field to package.json, which the CI workflow's version-detection step already referenced but which never actually existed (the step was silently writing an empty version and falling back to the packageManager field)
  • Regenerate pnpm-lock.yaml and package-lock.json

Notes

  • pnpm audit still reports 7 vulnerabilities (2 high, 5 moderate) in vite/esbuild/rollup/postcss/mdast-util-to-hast, all transitive deps pinned by vitepress 1.6.4 (latest stable 1.x). The fixes only landed in vite 6.x, which vitepress 1.x doesn't support yet (VitePress 2.0 is still alpha, no GA timeline). No safe fix available until vitepress ships vite 6 support.

Test plan

  • pnpm install --frozen-lockfile succeeds
  • pnpm run docs:build succeeds
  • pnpm run docs:dev serves the site (verified HTTP 200 on localhost)
  • pnpm run lint:check passes

Bump vue, vitepress, and prettier to their latest patch/minor releases,
and pnpm from 9.12.2 to 11.9.0. pnpm 11 requires Node.js 22+, so the CI
build matrix drops Node 18/20 in favor of 22/lts/latest, and it blocks
postinstall scripts by default, so pnpm-workspace.yaml now allowlists
esbuild's build script. Also adds the missing engines.pnpm field that
the CI workflow's version-detection step was silently failing to read.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ab3cd5f
Status: ✅  Deploy successful!
Preview URL: https://e73ea09a.docs-7os.pages.dev
Branch Preview URL: https://chore-update-dependencies.docs-7os.pages.dev

View logs

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.

2 participants