Fork @sinclair/typemap to @alkdev/typemap with @alkdev/typebox backend
- Rename package to @alkdev/typemap, update peerDeps to @alkdev/typebox - Replace all @sinclair/typebox imports with @alkdev/typebox - Replace @sinclair/hammer build system with standalone build.mjs - Remove upstream-only files (.github, .vscode, design/, typemap.png) - Update readme with fork notice and new package names - Add fork copyright to license
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Assert } from './assert'
|
||||
import { TypeBox, Valibot, Zod, Compile } from '@sinclair/typemap'
|
||||
import { TypeBox, Valibot, Zod, Compile } from '@alkdev/typemap'
|
||||
import { ZodPathFromJsonPointer } from 'src/compile/path'
|
||||
|
||||
describe('Compile', () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Assert } from './assert'
|
||||
import { TypeBox, Valibot, Zod } from '@sinclair/typemap'
|
||||
import { TypeBox, Valibot, Zod } from '@alkdev/typemap'
|
||||
|
||||
describe('SyntaxOptions', () => {
|
||||
it('Should map Options (Zod)', () => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Assert } from './assert'
|
||||
import { TypeBox, Valibot, Zod } from '@sinclair/typemap'
|
||||
import { KindGuard } from '@sinclair/typebox'
|
||||
import { TypeBox, Valibot, Zod } from '@alkdev/typemap'
|
||||
import { KindGuard } from '@alkdev/typebox'
|
||||
|
||||
describe('Parameters', () => {
|
||||
it('Should map Parameters (Zod)', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { TypeBox } from '@sinclair/typemap'
|
||||
import { TypeGuard } from '@sinclair/typebox'
|
||||
import { TypeBox } from '@alkdev/typemap'
|
||||
import { TypeGuard } from '@alkdev/typebox'
|
||||
import { Assert } from './assert'
|
||||
import * as t from '@sinclair/typebox'
|
||||
import * as t from '@alkdev/typebox'
|
||||
import * as v from 'valibot'
|
||||
|
||||
describe('TypeBox from Valibot', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { TypeBox } from '@sinclair/typemap'
|
||||
import { TypeGuard } from '@sinclair/typebox'
|
||||
import { TypeBox } from '@alkdev/typemap'
|
||||
import { TypeGuard } from '@alkdev/typebox'
|
||||
import { Assert } from './assert'
|
||||
import * as t from '@sinclair/typebox'
|
||||
import * as t from '@alkdev/typebox'
|
||||
import * as z from 'zod'
|
||||
|
||||
describe('TypeBox From Zod', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { TypeBox, Valibot } from '@sinclair/typemap'
|
||||
import { TypeGuard } from '@sinclair/typebox'
|
||||
import { TypeBox, Valibot } from '@alkdev/typemap'
|
||||
import { TypeGuard } from '@alkdev/typebox'
|
||||
import { Assert } from './assert'
|
||||
import * as t from '@sinclair/typebox'
|
||||
import * as t from '@alkdev/typebox'
|
||||
import * as v from 'valibot'
|
||||
|
||||
describe('Valibot from TypeBox', () => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { TypeBox, Zod } from '@sinclair/typemap'
|
||||
import { TypeGuard } from '@sinclair/typebox'
|
||||
import { TypeBox, Zod } from '@alkdev/typemap'
|
||||
import { TypeGuard } from '@alkdev/typebox'
|
||||
import { Assert } from './assert'
|
||||
import * as t from '@sinclair/typebox'
|
||||
import * as t from '@alkdev/typebox'
|
||||
import * as z from 'zod'
|
||||
|
||||
describe('Zod From TypeBox', () => {
|
||||
|
||||
Reference in New Issue
Block a user