Repository navigation
build(deps): bump dependencies to latest compatible versions - #1885
Conversation
- 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]>
|
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. |
|
🚀 Cloudflare Workers Preview has been successfully deployed! Preview URL: https://md-pr-1885.doocs.workers.dev Built with commit a5c9fd6 |
|
🚀 Surge Preview has been successfully deployed! Preview URL: https://doocs-md-preview-pr-1885.surge.sh Built with commit a5c9fd6 |
There was a problem hiding this comment.
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.0viapnpm/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. |
Co-authored-by: Cursor <[email protected]>
|
🗑️ Cloudflare Workers preview deployment has been cleaned up. |
Summary
Complete dependency upgrade across the monorepo, CI workflows, and Docker base images.
pnpm update -r+pnpm dedupe):@cloudflare/vite-plugin1.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.3hono^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)11.11.0→11.18.0in 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, …).1.21.6-alpine→1.30.4-alpine(1.21.x is EOL), golang1.25.2-alpine→1.26.5-alpine, alpine3.20→3.24(.env+ Dockerfile ARG defaults kept in sync).Deliberately not upgraded:
prettierstays pinned at2.8.8per repo policy (catalog + overrides).typescriptstays on~6.0.3(latest 6.x): TS 7 is the Go native port andts-loader/vue-tscare not compatible with it yet.@codemirror/view6.43.7,juice12.1.1,front-matter4.0.2) unchanged — all still latest, patches intact.Type of Change
Test Procedure
pnpm outdated -rafter 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 inpackages/shared).Note:
pnpm vscode test'scountStatussmoke case fails identically on a cleanmaincheckout (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
pnpm run lintpasses)pnpm run type-check)pnpm test)