don't depend on hono

This commit is contained in:
Chris Wanstrath 2026-01-16 13:40:31 -08:00
parent bec56d8815
commit 6f99e4b08e
2 changed files with 3 additions and 6 deletions

View File

@ -7,14 +7,14 @@
"dev": "bun run --hot test/server.tsx"
},
"devDependencies": {
"@types/bun": "latest"
"@types/bun": "latest",
"hono": "^4.10.7"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"forge": "git+https://git.nose.space/defunkt/forge",
"hono": "^4.10.7",
"lucide-static": "^0.555.0"
}
}

View File

@ -1,6 +1,3 @@
import "hono/jsx"
import type { JSX } from "hono/jsx"
export type TailwindSize = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 72 | 80 | 96
/**
@ -9,6 +6,6 @@ export type TailwindSize = 0 | 0.5 | 1 | 1.5 | 2 | 2.5 | 3 | 3.5 | 4 | 5 | 6 | 7
export type CommonHTMLProps = {
class?: string
id?: string
style?: JSX.CSSProperties
style?: Record<string, unknown>
ref?: any
}