Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: ./.github/actions/setup-node-pnpm

- name: Install Playwright browsers
run: pnpx playwright install chromium
run: pnpm exec playwright install chromium

- run: pnpm ready

Expand Down
1 change: 0 additions & 1 deletion apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@vitest/browser": "^4.0.3",
"@vitest/browser-playwright": "^4.0.3",
"@vitest/ui": "^4.0.3",
"happy-dom": "^20.0.0",
"playwright": "^1.55.0",
"rolldown-vite": "^7.1.10",
"tailwindcss": "^4.1.13",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function CompressionRatioChart({ data }: CompressionRatioChartProps) {
<LabelList
dataKey='value'
position='top'
formatter={(label: string) => `${label}%`}
formatter={(label) => `${label as number}%`}
style={{ fontSize: '10px', fill: '#94a3b8' }}
/>
</Bar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function MinificationTimeChart({ data }: MinificationTimeChartProps) {
<LabelList
dataKey='value'
position='top'
formatter={(label: string) => `${label}ms`}
formatter={(label) => `${label as number}ms`}
style={{ fontSize: '12px', fill: '#94a3b8' }}
/>
</Bar>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/components/rolldown/BuildTimeChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function BuildTimeChart() {
<LabelList
dataKey='value'
position='top'
formatter={(label: string) => `${label}ms`}
formatter={(label) => `${label as number}ms`}
style={{ fontSize: '11px', fill: '#94a3b8' }}
/>
</Bar>
Expand Down
2 changes: 0 additions & 2 deletions apps/dashboard/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ export default defineProject({
},
],
},
globals: true,
environment: 'happy-dom',
},
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@voidzero-dev/vite-plus": "latest",
"dprint": "^0.50.2",
"oxlint-tsgolint": "^0.3.0",
"playwright": "^1.56.1",
"top-github-dependents-by-stars": "^1.0.4",
"vitest": "^4.0.3"
},
Expand Down
123 changes: 64 additions & 59 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ minimumReleaseAgeExclude:
- 'vite'
- 'vitepress'
- 'vitest'
- '@vitest/*'