chore(deps): upgrade bun to 1.4.4 and migrate to bun fmt (#488)

- Upgrade Bun to 1.4.4 across Dockerfiles, CI workflows, and release configurations.
- Update @types/bun and bun-types.
- Remove eslint-plugin-prettier and update format script to use native bun fmt.
- Configure .prettierignore to exclude packages/webui/public and minified files.
This commit is contained in:
Yiling-J
2026-10-22 20:25:54 +08:00
committed by GitHub
parent 0d5fe48a3a
commit 5cf6d31794
19 changed files with 34 additions and 75 deletions
@@ -243,8 +243,7 @@ export function ChatbotSidebar({
const msgObj = msg as unknown as Record<string, unknown>
if (msg.role === 'custom' && msgObj.customType === 'context_display_info') {
const details = msgObj.details as
| { assets?: Array<{ id: string; name: string; type: string }> }
| undefined
{ assets?: Array<{ id: string; name: string; type: string }> } | undefined
const assets = details?.assets || []
if (assets.length === 0) return null
return (
@@ -62,8 +62,7 @@ function TeamPage() {
const { metadata, setMetadata: setUserMetadata } = useUserMetadataStore()
const sortKey = `team:${teamId}:projects:sort`
const savedSort = metadata[sortKey] as
| { sortBy?: string; sortDirection?: 'asc' | 'desc' }
| undefined
{ sortBy?: string; sortDirection?: 'asc' | 'desc' } | undefined
const [sortBy, setSortBy] = useState<string>(() => savedSort?.sortBy || 'name')
const [sortDirection, setSortDirection] = useState<'asc' | 'desc'>(