Skip to content

chore: rename @sinclair/typebox to typebox#223

Open
Tony133 wants to merge 1 commit intofastify:mainfrom
Tony133:chore/rename-typebox-package
Open

chore: rename @sinclair/typebox to typebox#223
Tony133 wants to merge 1 commit intofastify:mainfrom
Tony133:chore/rename-typebox-package

Conversation

@Tony133
Copy link
Member

@Tony133 Tony133 commented Feb 7, 2026

Proposals:

  • Replaced @sinclair/typebox with typebox in package.json (dependency reference and version bump to ^1.0.81)
  • Updated references in README.md
  • Updated test files (types/index.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

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

@mcollina
Copy link
Member

mcollina commented Feb 8, 2026

@gurgunday can we ship as a minor or a major?

@gurgunday
Copy link
Member

Regarding Typebox v1, there are breaking changes in Type: https://github.com/sinclairzx81/typebox/blob/main/changelog/1.0.0-migration.md

Also, Version 1.0 is published as an ESM-only package

But this PR itself is a readme and devDependencies update, it wouldn't immediately break things

I suppose we can still release it as major as a warning that we will be testing with 1.0 from now on

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.

3 participants