Skip to content

fix(mcp): support npm 10 dependency installation - #210

Merged
jdevalk merged 1 commit into
mainfrom
codex/fix-mcp-dependency-install
Sep 10, 2026
Merged

fix(mcp): support npm 10 dependency installation#210
jdevalk merged 1 commit into
mainfrom
codex/fix-mcp-dependency-install

Conversation

@jdevalk

@jdevalk jdevalk commented Sep 10, 2026

Copy link
Copy Markdown
Owner

The MCP deployment after #209 failed during npm ci: npm 10.9.8 did not apply the nested Miniflare/Sharp override consistently with the committed lockfile. Local validation had used npm 11, so it missed the deployment failure.

Moves the existing Sharp override to the MCP package level. Sharp is only used by Miniflare in this dependency tree, and the resolved packages and lockfile remain unchanged. Adds a Node 22 MCP CI job for clean installation, auditing, data generation, and type checking so the deployment's installation path runs before merging.

Reproduced the original lockfile error with npm 10.9.8; the corrected package passes a clean install with the same version, reports zero audit vulnerabilities, and passes data generation and type checking.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying specification-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef057c4
Status: ✅  Deploy successful!
Preview URL: https://160cfdf8.specification-website.pages.dev
Branch Preview URL: https://codex-fix-mcp-dependency-ins.specification-website.pages.dev

View logs

@jdevalk
jdevalk merged commit cfd4854 into main Sep 10, 2026
9 checks passed
@jdevalk
jdevalk deleted the codex/fix-mcp-dependency-install branch September 10, 2026 08:58
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