Skip to content
Open
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 frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"plugins": ["prettier-plugin-svelte"]
"plugins": ["prettier-plugin-tailwindcss"]
}
43 changes: 0 additions & 43 deletions frontend/README.md

This file was deleted.

749 changes: 749 additions & 0 deletions frontend/bun.lock

Large diffs are not rendered by default.

Binary file removed frontend/bun.lockb
Binary file not shown.
21 changes: 21 additions & 0 deletions frontend/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "",
"css": "src/index.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
}
}
33 changes: 20 additions & 13 deletions frontend/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
import js from "@eslint/js";
import reactHooks from "eslint-plugin-react-hooks";
import reactRefresh from "eslint-plugin-react-refresh";
import globals from "globals";
import svelte from "eslint-plugin-svelte";
import tseslint from "typescript-eslint";

export default [
js.configs.recommended,
...svelte.configs["flat/recommended"],
export default tseslint.config(
{ ignores: ["dist"] },
{
files: ["**/*.{js,mjs,cjs,svelte}"],
files: ["**/*.{ts,tsx}"],
extends: [
js.configs.recommended,
...tseslint.configs.recommended,
reactHooks.configs["recommended-latest"],
reactRefresh.configs.vite,
],
languageOptions: {
globals: {
...globals.browser,
},
},
rules: {
"svelte/no-at-html-tags": "off",
ecmaVersion: 2022,
globals: globals.browser,
},
},
{
ignores: ["dist/**"],
// shadcn-generated components export variants/hooks next to components
files: ["src/components/ui/**/*.tsx"],
rules: {
"react-refresh/only-export-components": "off",
},
},
];
);
5 changes: 3 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="dark" />
<title>Datastream</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
33 changes: 0 additions & 33 deletions frontend/jsconfig.json

This file was deleted.

39 changes: 30 additions & 9 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,45 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"dev": "bunx --bun vite",
"build": "bunx --bun vite build",
"preview": "bunx --bun vite preview",
"lint": "eslint .",
"format:check": "prettier --check .",
"format:write": "prettier --write .",
"typecheck": "svelte-check --workspace ./src --no-tsconfig"
"typecheck": "tsc -b"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@tanstack/react-query": "^5.90.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^1.23.0",
"radix-ui": "^1.6.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-hook-form": "^7.64.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
"zod": "^4.1.12"
},
"devDependencies": {
"@eslint/js": "^9.37.0",
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@tailwindcss/vite": "^4.1.14",
"@types/node": "^24.7.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.1",
"@vitejs/plugin-react": "^5.0.4",
"eslint": "^9.37.0",
"eslint-plugin-svelte": "^3.12.4",
"eslint-plugin-react-hooks": "^6.1.1",
"eslint-plugin-react-refresh": "^0.4.23",
"globals": "^16.4.0",
"prettier": "^3.6.2",
"prettier-plugin-svelte": "^3.4.0",
"svelte-check": "^4.3.3",
"svelte": "^5.45.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"tailwindcss": "^4.1.14",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.0",
"vite": "^7.3.1"
}
}
46 changes: 0 additions & 46 deletions frontend/src/App.svelte

This file was deleted.

12 changes: 12 additions & 0 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
function App() {
return (
<div className="mx-auto max-w-[1200px] px-8 py-6">
<header className="mb-8">
<h1 className="text-2xl font-semibold">Datastream</h1>
</header>
<main />
</div>
);
}

export default App;
60 changes: 0 additions & 60 deletions frontend/src/app.css

This file was deleted.

Loading
Loading