You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React 19 + TypeScript + Vite 7 dashboard. pnpm monorepo.
4
+
5
+
## Commands
6
+
```bash
7
+
pnpm install # Install deps (~10s, timeout 60s+)
8
+
pnpm dev # Dev server at localhost:5173
9
+
pnpm build # Production build (~7s)
10
+
pnpm lint # Run ESLint
11
+
pnpm fmt # Format with dprint
12
+
```
13
+
14
+
## Structure
15
+
-`apps/dashboard/src/App.tsx` - Main dashboard with metrics
16
+
-`apps/dashboard/src/App.css` - Styles
17
+
- Root `package.json` - Workspace scripts
18
+
19
+
## Adding Metrics
20
+
Edit `App.tsx`: Add data array + metric object with id/name/icon/data/color.
21
+
22
+
## Search
23
+
You run in an environment where `ast-grep` is available; whenever a search requires syntax-aware or structural matching, default to `ast-grep --lang rust -p '<pattern>'` (or set `--lang` appropriately) and avoid falling back to text-only tools like `rg` or `grep` unless I explicitly request a plain-text search.
24
+
25
+
## Always
26
+
- Run `pnpm lint && pnpm build` before commits
27
+
- Prefer editing existing files over creating new ones
0 commit comments