Skip to content

fix: mark typescript peer dependency as optional and widen version range - #210

Open
mpaydar wants to merge 1 commit into
bcnmy:developfrom
mpaydar:fix/typescript-peer-dep-compat
Open

fix: mark typescript peer dependency as optional and widen version range#210
mpaydar wants to merge 1 commit into
bcnmy:developfrom
mpaydar:fix/typescript-peer-dep-compat

Conversation

@mpaydar

@mpaydar mpaydar commented Jul 26, 2026

Copy link
Copy Markdown

Widened typescript peer dep from ^5.8.2 to >=5.8.2 to support TS 6.x+, and added peerDependenciesMeta to mark it optional so installs don't error when typescript is absent or at a non-matching version.


PR-Codex overview

This PR updates the package.json file to modify the version specification for typescript, add peerDependenciesMeta, and include an exports section.

Detailed summary

  • Changed typescript version from "^5.8.2" to ">=5.8.2".
  • Added peerDependenciesMeta for typescript, marking it as optional.
  • Introduced an exports section with a path to the types file: "./dist/_types/index.d.ts".

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Widened typescript peer dep from ^5.8.2 to >=5.8.2 to support TS 6.x+,
and added peerDependenciesMeta to mark it optional so installs don't
error when typescript is absent or at a non-matching version.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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