Skip to content

Commit e4ef861

Browse files
committed
feat: creates a react-app to serve the benchmarks
1 parent a2f94d1 commit e4ef861

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+4027
-0
lines changed

components.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/global.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
21+
}

eslint.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import reactHooks from "eslint-plugin-react-hooks";
4+
import reactRefresh from "eslint-plugin-react-refresh";
5+
import tseslint from "typescript-eslint";
6+
import { globalIgnores } from "eslint/config";
7+
8+
export default tseslint.config([
9+
globalIgnores(["dist"]),
10+
{
11+
files: ["**/*.{ts,tsx}"],
12+
extends: [
13+
js.configs.recommended,
14+
tseslint.configs.recommended,
15+
reactHooks.configs["recommended-latest"],
16+
reactRefresh.configs.vite,
17+
],
18+
languageOptions: {
19+
ecmaVersion: 2020,
20+
globals: globals.browser,
21+
},
22+
rules: {
23+
"react-refresh/only-export-components": "off",
24+
"react-hooks/exhaustive-deps": "off",
25+
},
26+
},
27+
]);

index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!doctype html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>vlt benchmarks</title>
8+
<link href="/src/global.css" rel="stylesheet">
9+
<link rel="icon" type="image/png" href="/favicon/favicon-96x96.png" sizes="96x96" />
10+
<link rel="icon" type="image/svg+xml" href="/favicon/favicon.svg" />
11+
<link rel="shortcut icon" href="/favicon/favicon.ico" />
12+
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
13+
<link rel="manifest" href="/favicon/site.webmanifest" />
14+
</head>
15+
16+
<body>
17+
<div id="root"></div>
18+
<script type="module" src="/src/main.tsx"></script>
19+
</body>
20+
21+
</html>

package.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "vltpkg-benchmarks",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc -b && vite build",
9+
"lint": "eslint .",
10+
"preview": "vite preview"
11+
},
12+
"dependencies": {
13+
"@radix-ui/react-dropdown-menu": "^2.1.15",
14+
"@radix-ui/react-slot": "^1.2.3",
15+
"@tailwindcss/vite": "^4.1.11",
16+
"@tanstack/react-table": "^8.21.3",
17+
"class-variance-authority": "^0.7.1",
18+
"clsx": "^2.1.1",
19+
"lucide-react": "^0.534.0",
20+
"react": "^19.1.0",
21+
"react-dom": "^19.1.0",
22+
"react-router": "^7.7.1",
23+
"recharts": "^3.1.0",
24+
"tailwind-merge": "^3.3.1",
25+
"tailwindcss": "^4.1.11"
26+
},
27+
"devDependencies": {
28+
"@eslint/js": "^9.30.1",
29+
"@types/react": "^19.1.8",
30+
"@types/react-dom": "^19.1.6",
31+
"@vitejs/plugin-react": "^4.6.0",
32+
"eslint": "^9.30.1",
33+
"eslint-plugin-react-hooks": "^5.2.0",
34+
"eslint-plugin-react-refresh": "^0.4.20",
35+
"globals": "^16.3.0",
36+
"tw-animate-css": "^1.3.6",
37+
"typescript": "~5.8.3",
38+
"typescript-eslint": "^8.35.1",
39+
"vite": "^7.0.4"
40+
}
41+
}

public/favicon/apple-touch-icon.png

2.46 KB
Loading

public/favicon/favicon-96x96.png

912 Bytes
Loading

public/favicon/favicon.ico

14.7 KB
Binary file not shown.

public/favicon/favicon.svg

Lines changed: 3 additions & 0 deletions
Loading

public/favicon/site.webmanifest

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "MyWebSite",
3+
"short_name": "MySite",
4+
"icons": [
5+
{
6+
"src": "/web-app-manifest-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png",
9+
"purpose": "maskable"
10+
},
11+
{
12+
"src": "/web-app-manifest-512x512.png",
13+
"sizes": "512x512",
14+
"type": "image/png",
15+
"purpose": "maskable"
16+
}
17+
],
18+
"theme_color": "#ffffff",
19+
"background_color": "#ffffff",
20+
"display": "standalone"
21+
}
2.55 KB
Loading

0 commit comments

Comments
 (0)