Fork from @sinclair/typebox 0.34.49 as @alkdev/typebox

- Rename package from @sinclair/typebox to @alkdev/typebox
- Update author, repository, and homepage to alkdev
- Remove GitHub workflows, .vscode config, and branding assets
- Update all source, test, example, changelog, and task imports
- Update tsconfig.json path mappings
- Clean up readme header (remove upstream badges/branding)
This commit is contained in:
2026-04-23 13:22:31 +00:00
parent 11f18ac6e9
commit bd758c2342
981 changed files with 1676 additions and 2054 deletions

View File

@@ -1,6 +1,6 @@
/*--------------------------------------------------------------------------
@sinclair/typebox/typedef
@alkdev/typebox/typedef
The MIT License (MIT)

View File

@@ -12,7 +12,7 @@ License MIT
## Usage
TypeBox currently doesn't publish TypeDef as part of the mainline package. However the TypeDef functionality is written to be a standalone module you can copy into your project. You will also need `@sinclair/typebox` installed. You can obtain the `typedef` module from `example/typedef/typedef.ts` contained within this repository.
TypeBox currently doesn't publish TypeDef as part of the mainline package. However the TypeDef functionality is written to be a standalone module you can copy into your project. You will also need `@alkdev/typebox` installed. You can obtain the `typedef` module from `example/typedef/typedef.ts` contained within this repository.
```typescript
import { Type, Static } from './typedef'
@@ -245,8 +245,8 @@ TypeDef types are partially supported with the `TypeCompiler` and `Value` checki
The following is TypeDef used with TypeBox's type checking infrastructure.
```typescript
import { TypeCompiler } from '@sinclair/typebox/compiler'
import { Value } from '@sinclair/typebox/value'
import { TypeCompiler } from '@alkdev/typebox/compiler'
import { Value } from '@alkdev/typebox/value'
const T = Type.Struct({
x: Type.Float32(),

View File

@@ -1,6 +1,6 @@
/*--------------------------------------------------------------------------
@sinclair/typebox/typedef
@alkdev/typebox/typedef
The MIT License (MIT)
@@ -26,8 +26,8 @@ THE SOFTWARE.
---------------------------------------------------------------------------*/
import { SetErrorFunction, DefaultErrorFunction } from '@sinclair/typebox/errors'
import * as Types from '@sinclair/typebox/type'
import { SetErrorFunction, DefaultErrorFunction } from '@alkdev/typebox/errors'
import * as Types from '@alkdev/typebox/type'
// --------------------------------------------------------------------------
// Metadata