Skip to content

Conversation

@sethamus
Copy link
Contributor

@sethamus sethamus commented Nov 5, 2025

Prerequisites checklist

What is the purpose of this pull request?

This pull request fixes CI failures caused by @modelcontextprotocol/[email protected] exporting type definitions that reference @cfworker/json-schema. Since that package is only declared as an optional peer dependency in the SDK, it is not installed automatically, which leads to the following TypeScript error:

TS2307: Cannot find module '@cfworker/json-schema' or its corresponding type declarations.

What changes did you make? (Give an overview)

I added @cfworker/json-schema to devDependencies so the type import can be resolved during the build.

Related Issues

https://github.com/eslint/rewrite/actions/runs/19061914344/job/54443304560
https://github.com/eslint/rewrite/actions/runs/19113488111/job/54616379148

Is there anything you'd like reviewers to focus on?

@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Nov 5, 2025
@lumirlumir lumirlumir moved this from Needs Triage to Triaging in Triage Nov 6, 2025
Copy link
Member

@lumirlumir lumirlumir left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

I've tried other approaches, but this seems the most reasonable way to fix the CI for now.

Would like one more check from the team before merging.

@lumirlumir lumirlumir moved this from Triaging to Second Review Needed in Triage Nov 6, 2025
@lumirlumir lumirlumir requested a review from a team November 6, 2025 07:02
@lumirlumir lumirlumir changed the title chore: add @cfworker/json-schema chore: add @cfworker/json-schema to fix CI Nov 6, 2025
Copy link
Member

@aladdin-add aladdin-add left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@aladdin-add aladdin-add merged commit 72a1eb5 into eslint:main Nov 6, 2025
25 checks passed
@github-project-automation github-project-automation bot moved this from Second Review Needed to Complete in Triage Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants