build: migrate workspace tooling to Oxc

Replace Turbo task orchestration with Bun workspace scripts and remove the Prettier configuration. Add Oxlint and Oxfmt project configuration, including Tailwind class sorting, generated-file exclusions, and unified check/fix commands. Apply the new formatter and resolve Hook dependency errors surfaced by Oxlint.
This commit is contained in:
Maofeng
2026-07-30 15:50:51 +08:00
parent 8cf3a1f03a
commit d36028d67b
47 changed files with 337 additions and 233 deletions
+1 -5
View File
@@ -2,10 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light dark" />
<title>Message Studio</title>
</head>
@@ -14,4 +11,3 @@
<script type="module" src="/main.tsx"></script>
</body>
</html>
@@ -86,7 +86,8 @@ describe("MessagePanel", () => {
it("keeps the current content visible during a background refresh", async () => {
let resolveRefresh:
((messages: readonly DevtoolMessage[]) => void) | undefined
| ((messages: readonly DevtoolMessage[]) => void)
| undefined
const repository: MessageRepository = {
getMessages: vi
.fn()
+2 -1
View File
@@ -21,7 +21,8 @@ export type MessageCatalog = Record<string, unknown>
export type MessageCatalogs = Record<string, MessageCatalog>
export type MissingTranslationHandler =
string | ((locale: string, id: string) => string)
| string
| ((locale: string, id: string) => string)
export type LocaleDirection = "ltr" | "rtl"