fix(valibot-validator): import valibot from jsr (#1287)

pull/1290/head
Jonathan Haines 2025-07-07 17:28:07 +10:00 committed by GitHub
parent 08981e9e78
commit a843d1c95f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 10 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/valibot-validator': patch
---
Import `jsr:@valibot/valibot`

View File

@ -16,7 +16,7 @@
"version": "yarn version:npm && yarn version:jsr",
"version:npm": "changeset version",
"version:jsr": "yarn workspaces foreach --all --no-private --parallel run version:jsr",
"version:set": "tmp=$(mktemp) && jq --arg version $0 '.version = $version' $INIT_CWD/deno.json > $tmp && mv $tmp $INIT_CWD/deno.json",
"version:set": "tmp=$(mktemp) && jq --arg version $0 '.version = $version' $INIT_CWD/deno.json > $tmp && mv $tmp $INIT_CWD/deno.json && prettier --write $INIT_CWD/deno.json",
"typecheck": "yarn tsc --build",
"typecheck:clean": "yarn tsc --build --clean",
"typecheck:watch": "yarn tsc --build --watch",

View File

@ -6,16 +6,11 @@
".": "./src/index.ts"
},
"imports": {
"hono": "jsr:@hono/hono@^4.8.3"
"hono": "jsr:@hono/hono@^4.8.3",
"valibot": "jsr:@valibot/valibot@^1.1.0"
},
"publish": {
"include": [
"deno.json",
"README.md",
"src/**/*.ts"
],
"exclude": [
"src/**/*.test.ts"
]
"include": ["deno.json", "README.md", "src/**/*.ts"],
"exclude": ["src/**/*.test.ts"]
}
}