Revision 0.9.0 (#2)

- Adds ESM Support
This commit is contained in:
sinclairzx81
2025-01-15 15:34:29 +09:00
committed by GitHub
parent 81275b2a51
commit 6c3f34f5fe
23 changed files with 984 additions and 182 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@sinclair/typebox-adapter",
"version": "0.8.2",
"version": "0.9.0",
"description": "Integrate Valibot and Zod with TypeBox",
"author": "sinclairzx81",
"license": "MIT",
@@ -17,32 +17,12 @@
"build": "hammer task build",
"publish": "hammer task publish"
},
"main": "index.js",
"module": "index.js",
"exports": {
".": {
"import": "./index.js",
"types": "./index.d.ts"
},
"./typebox": {
"import": "./typebox.js",
"types": "./typebox.d.ts"
},
"./zod": {
"import": "./zod.js",
"types": "./zod.d.ts"
},
"./valibot": {
"import": "./valibot.js",
"types": "./valibot.d.ts"
}
},
"peerDependencies": {
"@sinclair/typebox": ">=0.34.13"
"@sinclair/typebox": "^0.34.13"
},
"optionalDependencies": {
"valibot": ">=1.0.0-beta.9",
"zod": ">=3.24.1"
"valibot": "^1.0.0-beta.11",
"zod": "^3.24.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.2",