Skip to content

build(deps): bump dependencies to latest compatible versions - #1885

Merged
yanglbme merged 2 commits into
mainfrom
build/bump-deps-20260801
Aug 1, 2026
Merged

yanglbme merged 2 commits into
mainfrom
build/bump-deps-20260801

Conversation

@yanglbme

@yanglbme yanglbme commented Aug 1, 2026

Copy link
Copy Markdown
Member

Summary

Complete dependency upgrade across the monorepo, CI workflows, and Docker base images.

  • npm (via pnpm update -r + pnpm dedupe):
    • @cloudflare/vite-plugin 1.47.0 → 1.50.0 (was exact-pinned)
    • vite ^8.1.5 → ^8.2.0, wrangler ^4.114.0 → ^4.118.0, @cloudflare/workers-types ^5.20260801.1
    • @aws-sdk/client-s3 / s3-request-presigner ^3.1101.0, @lucide/vue ^1.28.0, vue-tsc ^3.3.9, wxt ^0.21.3
    • hono ^4.12.33, lint-staged ^17.3.0, isomorphic-dompurify ^3.21.0 (also the vscode runtime exact pin 3.19.0 → 3.21.0)
    • All remaining in-range direct and transitive deps refreshed in the lockfile
  • GitHub Actions: pnpm pinned 11.11.0 → 11.18.0 in 6 workflows; pnpm/action-setup#276 (the reason for the old pin) is fixed, so the workaround comment is removed. All actions audited — already on their latest majors (checkout@v7, setup-node@v7, upload-artifact@v7, github-script@v9, stale@v11, deploy-pages@v5, wrangler-action@v4, docker/*@v4, …).
  • Docker: nginx 1.21.6-alpine → 1.30.4-alpine (1.21.x is EOL), golang 1.25.2-alpine → 1.26.5-alpine, alpine 3.20 → 3.24 (.env + Dockerfile ARG defaults kept in sync).

Deliberately not upgraded:

  • prettier stays pinned at 2.8.8 per repo policy (catalog + overrides).
  • typescript stays on ~6.0.3 (latest 6.x): TS 7 is the Go native port and ts-loader/vue-tsc are not compatible with it yet.
  • Patched deps (@codemirror/view 6.43.7, juice 12.1.1, front-matter 4.0.2) unchanged — all still latest, patches intact.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactor
  • Documentation
  • Build / dependencies
  • CI / workflow

Test Procedure

  • pnpm outdated -r after upgrade shows only the two intentional holds (prettier, typescript).
  • pnpm run lint — clean.
  • pnpm run type-check (vue-tsc + tsc across all packages) — clean.
  • pnpm test — 191/191 unit tests pass (core 39, web 122, api 30).
  • pnpm web build (vite 8.2.0 production) — success.
  • pnpm vscode build (webpack production) — success; runtime deps copy resolves [email protected].
  • pnpm install --frozen-lockfile — lockfile in sync (catalog specifiers preserved in packages/shared).

Note: pnpm vscode test's countStatus smoke case fails identically on a clean main checkout (pre-existing since #1781 localized the word-count template; the smoke script still asserts the old Chinese default). Unrelated to this PR; left untouched to keep the diff focused.

Pre-flight Checklist

  • Code follows project ESLint / Prettier rules (pnpm run lint passes)
  • Type check passes (pnpm run type-check)
  • Unit tests pass (pnpm test)
  • Production builds verified (web + vscode extension)
  • No security overrides removed; patched dependencies unchanged

- npm: aws-sdk 3.1101.0, @cloudflare/vite-plugin 1.50.0, vite 8.2.0,
  wrangler 4.118.0, hono 4.12.33, wxt 0.21.3, vue-tsc 3.3.9,
  lint-staged 17.3.0, isomorphic-dompurify 3.21.0 (incl. vscode
  runtime pin), plus all in-range direct/transitive updates
- ci: pin pnpm 11.18.0 in workflows (pnpm/action-setup#276 fixed);
  all actions verified on their latest majors
- docker: nginx 1.30.4-alpine, golang 1.26.5-alpine, alpine 3.24
- hold prettier 2.8.8 (pinned) and typescript 6.x (ts-loader/vue-tsc
  not yet compatible with the TS 7 native port)

Co-authored-by: Cursor <[email protected]>
Copilot AI review requested due to automatic review settings August 1, 2026 10:03
@cursor

cursor Bot commented Aug 1, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions

github-actions Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

🚀 Cloudflare Workers Preview has been successfully deployed!

Preview URL: https://md-pr-1885.doocs.workers.dev

Built with commit a5c9fd6

@github-actions

github-actions Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

🚀 Surge Preview has been successfully deployed!

Preview URL: https://doocs-md-preview-pr-1885.surge.sh

Built with commit a5c9fd6

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates dependency and tooling versions across the pnpm monorepo, CI workflows, and Docker images to keep the project current while respecting existing pinning/patch policies.

Changes:

  • Refresh pnpm catalog + direct dependencies (web, api, vscode runtime) to newer compatible versions.
  • Update GitHub Actions workflows to use pnpm 11.18.0 via pnpm/action-setup@v6.
  • Bump Docker base image versions (nginx, golang, alpine) and keep .env/Dockerfile args in sync.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pnpm-workspace.yaml Bumps shared catalog versions (workers-types, dompurify, wrangler).
package.json Updates root tooling dependency (lint-staged).
docker/latest/Dockerfile.standalone Updates Go + Alpine base versions for standalone image build.
docker/latest/Dockerfile.nginx Updates nginx base version for static assets image.
docker/latest/.env Keeps Docker version env vars aligned with Dockerfiles.
apps/web/package.json Updates web app deps/devDeps (AWS SDK, lucide, vite, vue-tsc, wxt, CF plugin).
apps/vscode/runtime/package.json Updates VS Code runtime dependency pin for isomorphic-dompurify.
apps/api/package.json Updates API deps (hono, uuid).
.github/workflows/surge-preview-build.yml Bumps pnpm version used in CI.
.github/workflows/release-cli.yml Bumps pnpm version used in CI.
.github/workflows/lint.yml Bumps pnpm version used in CI (multiple jobs).
.github/workflows/deploy.yml Bumps pnpm version used in CI (multiple jobs).
.github/workflows/deploy-gitee.yml Bumps pnpm version used in CI.
.github/workflows/cloudflare-preview.yml Bumps pnpm version used in CI.

Comment thread apps/web/package.json Resolved
Comment thread apps/api/package.json Resolved
@yanglbme
yanglbme merged commit 5664b7f into main Aug 1, 2026
5 checks passed
@yanglbme
yanglbme deleted the build/bump-deps-20260801 branch August 1, 2026 23:14
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

🗑️ Cloudflare Workers preview deployment has been cleaned up.

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