Add @sinclair/typebox as dependency and remove shim

Removed the manual TypeBox type definitions from external-shims.d.ts and added @sinclair/typebox as a dependency in package.json and package.public.json. Bumped package version to 0.0.4 to reflect this change.
This commit is contained in:
手瓜一十雪 committed 2026-01-27 21:24:50 +08:00
1 parent 3c49dffb17
commit e0eec84f32
3 files changed
+5 -35

No files matched your search

+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "napcat-types",
"version": "0.0.3",
"version": "0.0.4",
"private": false,
"type": "module",
"types": "./napcat-types/index.d.ts",
@@ -15,7 +15,8 @@
"@types/multer": "^1.4.12",
"@types/winston": "^2.4.4",
"@types/yaml": "^1.9.7",
"@types/ip": "^1.1.3"
"@types/ip": "^1.1.3",
"@sinclair/typebox": "^0.34.38"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",