Skip to content

Commit ace3454

Browse files
Boshenclaude
andcommitted
chore: simplify tooling by using vite-plus built-ins
- Remove custom debugger.js plugin, use built-in no-debugger rule - Simplify dashboard build: remove tsc -b step (vite handles it) - Add typecheck script to dashboard for vite run -r typecheck - Remove stale dprint from onlyBuiltDependencies - Enable import plugin for ESM import validation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5ccf7a6 commit ace3454

4 files changed

Lines changed: 7 additions & 27 deletions

File tree

.oxlintrc.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
"oxc",
66
"react",
77
"vitest",
8-
"jsx-a11y"
9-
],
10-
"jsPlugins": [
11-
"./plugins/debugger.js"
8+
"jsx-a11y",
9+
"import"
1210
],
1311
"categories": {
1412
"correctness": "deny",
@@ -17,7 +15,8 @@
1715
},
1816
"rules": {
1917
"react/react-in-jsx-scope": "off",
20-
"vibe/no-debugger": "error"
18+
"no-debugger": "error",
19+
"import/no-unassigned-import": ["error", { "allow": ["**/*.css"] }]
2120
},
2221
"settings": {
2322
"jsx-a11y": {

apps/dashboard/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite dev",
8-
"build": "tsc -b && vite build",
8+
"build": "vite build",
99
"preview": "vite preview",
1010
"clean": "rm -rf dist",
11-
"test": "vite test"
11+
"test": "vite test",
12+
"typecheck": "tsc --noEmit"
1213
},
1314
"dependencies": {
1415
"@vibe/shared": "workspace:*",

plugins/debugger.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

pnpm-workspace.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ overrides:
4343

4444
onlyBuiltDependencies:
4545
- "@tailwindcss/oxide"
46-
- dprint
4746
- esbuild
4847

4948
peerDependencyRules:

0 commit comments

Comments
 (0)