fix: Strip JSR deps before publishing and add deno.json

JSR itself does not accept 'jsr:' dependencies in package.json, remove
them in the publish workflow before publishing. Add $schema to jsr.json.
This commit is contained in:
Shibo Lyu 2025-11-30 10:28:57 +08:00
parent 34e710f036
commit b51545ab39
3 changed files with 22 additions and 0 deletions

5
deno.json Normal file
View file

@ -0,0 +1,5 @@
{
"imports": {
"@std/cli": "jsr:@std/cli@1"
}
}