Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ Thumbs.db

# Build tools
.turbo

# Rolldown analysis output
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,31 @@ The deployment process:

## 🔧 Development

### Rolldown Version Testing

The repository includes a tool for testing different rolldown-vite versions:

```bash
# List available versions
pnpm rolldown:list

# Switch to a specific version (by index)
pnpm rolldown:use 2

# Switch to a specific version (by version string)
pnpm rolldown:use 7.1.2

# Use experimental versions from pkg.pr.new
pnpm rolldown:use pkg.pr.new/rolldown-rs/vite@1234
```

The tool automatically:
- Updates the package.json with the new version
- Installs dependencies
- Rebuilds the application

See [`tool/README.md`](tool/README.md) for detailed usage instructions.

### Adding New Metrics

1. Add your data to the respective data arrays in `apps/dashboard/src/App.tsx`
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"lint": "oxlint .",
"test": "pnpm -r test",
"clean": "pnpm -r clean",
"build-deploy": "pnpm lint && pnpm build"
"build-deploy": "pnpm lint && pnpm build",
"rolldown:list": "node tool/override-rolldown.js --list",
"rolldown:use": "node tool/override-rolldown.js",
"rolldown:stats": "node tool/override-rolldown.js --stats"
},
"keywords": ["dashboard", "charts", "metrics", "frontend"],
"author": "",
Expand Down
Loading
Loading