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:
+10
-7
@@ -3,15 +3,18 @@
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "turbo build",
|
||||
"dev": "turbo dev",
|
||||
"format": "turbo format",
|
||||
"typecheck": "turbo typecheck"
|
||||
"build": "bun run --filter web build",
|
||||
"check": "bun run format:check && bun run lint && bun run typecheck",
|
||||
"dev": "bun run --filter web dev",
|
||||
"format": "oxfmt apps packages package.json tsconfig.json .oxlintrc.json .oxfmtrc.json",
|
||||
"format:check": "oxfmt --check apps packages package.json tsconfig.json .oxlintrc.json .oxfmtrc.json",
|
||||
"lint": "oxlint .",
|
||||
"lint:fix": "oxlint --fix .",
|
||||
"typecheck": "bun run --workspaces typecheck"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.8.3",
|
||||
"prettier-plugin-tailwindcss": "^0.8.0",
|
||||
"turbo": "^2.9.18",
|
||||
"oxfmt": "^0.61.0",
|
||||
"oxlint": "^1.76.0",
|
||||
"typescript": "~6"
|
||||
},
|
||||
"packageManager": "bun@1.3.5",
|
||||
|
||||
Reference in New Issue
Block a user