Skip to content

Fix Wrangler workers-types peer compatibility - #18

Merged
fishknowsss merged 1 commit into
mainfrom
codex/fix-workers-types-peer
Oct 31, 2026
Merged

fishknowsss merged 1 commit into
mainfrom
codex/fix-workers-types-peer

Conversation

@fishknowsss

Copy link
Copy Markdown
Owner

问题

Dependabot 将 wrangler 更新到 4.156.0 后,仓库仍锁定 @cloudflare/workers-types 5.20261019.1。本地 npm ci 和 npm ls 将该版本标记为不满足 Wrangler 的可选 peer 要求 ^5.20261023.1。

修复

将 @cloudflare/workers-types 与 Wrangler 的最低兼容版本对齐到 5.20261023.1,只更新 package.json 和 package-lock.json。

验证

  • npm ci
  • npm ls wrangler undici @cloudflare/workers-types --all --depth=2
  • npm test(119 个测试文件,1152 个测试)
  • npm run typecheck
  • npm run typecheck:worker
  • npm run test:worker
  • npm run build:worker
  • npm run lint
  • npm run format:check

Copilot AI balanced review requested due to automatic review settings October 31, 2026 07:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@fishknowsss
fishknowsss merged commit 086c65a into main Oct 31, 2026
1 check passed
@fishknowsss
fishknowsss deleted the codex/fix-workers-types-peer branch October 31, 2026 07:49
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