Skip to content

chore: rename @sinclair/typebox to typebox#825

Merged
Fdawgs merged 1 commit intofastify:mainfrom
Tony133:chore/rename-typebox-package
Feb 10, 2026
Merged

chore: rename @sinclair/typebox to typebox#825
Fdawgs merged 1 commit intofastify:mainfrom
Tony133:chore/rename-typebox-package

Conversation

@Tony133
Copy link
Contributor

@Tony133 Tony133 commented Feb 6, 2026

Proposals:

  • Replaced @sinclair/typebox with typebox in package.json (dependency reference and version bump to ^1.0.81)
  • Updated test files (test/typebox.test.js)

@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

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

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the test dependency from the legacy @sinclair/typebox package to the current typebox package (TypeBox 1.x), aligning the repo’s TypeBox usage with the modern published package name.

Changes:

  • Replaced @sinclair/typebox with typebox in package.json devDependencies (bumping to ^1.0.81).
  • Updated the TypeBox import in test/typebox.test.js to require from typebox.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/typebox.test.js Updates the TypeBox import path used by the unit test.
package.json Swaps devDependency from @sinclair/typebox to typebox at a 1.x version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Fdawgs Fdawgs merged commit d805181 into fastify:main Feb 10, 2026
20 checks passed
@Tony133 Tony133 deleted the chore/rename-typebox-package branch February 11, 2026 14:12
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.

4 participants