Skip to content

chore: rename @sinclair/typebox to typebox#6494

Merged
Eomm merged 2 commits intofastify:mainfrom
Tony133:chore/rename-typebox-package
Feb 15, 2026
Merged

chore: rename @sinclair/typebox to typebox#6494
Eomm merged 2 commits intofastify:mainfrom
Tony133:chore/rename-typebox-package

Conversation

@Tony133
Copy link
Member

@Tony133 Tony133 commented Feb 6, 2026

Proposals:

  • Updated all imports from @sinclair/typebox to typebox
  • Replaced @sinclair/typebox with typebox in package.json (dependency reference and version bump to ^1.0.81)
  • Updated references in docs/Reference/Type-Providers.md
  • Updated references in docs/Reference/TypeScript.md
  • Updated test files (test/types/type-provider.test-d.ts)

@sinclair/typebox is the legacy package for TypeBox versions pre-1.0 (0.34.x). TypeBox versions 1.0 and above are published under the typebox package name ( see screenshot ). This PR migrates to the current package to use TypeBox 1.x.

screenshot

Note:

This update has already been made in this repository as well: https://github.com/fastify/fastify-type-provider-typebox

@github-actions github-actions bot added documentation Improvements or additions to documentation typescript TypeScript related labels Feb 6, 2026
Copy link
Member

@gurgunday gurgunday 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

Copy link

@codeCraft-Ritik codeCraft-Ritik left a comment

Choose a reason for hiding this comment

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

Nice approach — the logic flows well and is readable

Copy link
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

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

lgtm

@Eomm Eomm merged commit 33e6705 into fastify:main Feb 15, 2026
34 checks passed
@Tony133 Tony133 deleted the chore/rename-typebox-package branch February 15, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation typescript TypeScript related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants