diff --git a/index.html b/index.html
index 6e6ef6cf..fffc0973 100644
--- a/index.html
+++ b/index.html
@@ -1,13 +1,13 @@
-
-
-
- RF Meter
-
-
-
-
-
-
+
+
+
+ rf-meter
+
+
+
+
+
+
\ No newline at end of file
diff --git a/package.json b/package.json
index 9286693b..5909101c 100644
--- a/package.json
+++ b/package.json
@@ -1,9 +1,9 @@
{
"name": "vite_react_shadcn_ts",
+ "homepage": "https://lilwikipedia.github.io/rf-meter",
"private": true,
"version": "0.0.0",
"type": "module",
- "homepage": "https://lilwikipedia.github.io/rf-meter",
"scripts": {
"dev": "vite",
"build": "vite build",
@@ -14,8 +14,6 @@
"deploy": "gh-pages -d dist"
},
"dependencies": {
- "@capacitor/core": "^6.1.2",
- "@capacitor/device": "^6.0.1",
"@hookform/resolvers": "^3.9.0",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
@@ -24,7 +22,7 @@
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-context-menu": "^2.2.1",
- "@radix-ui/react-dialog": "^1.1.1",
+ "@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-hover-card": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
@@ -43,18 +41,17 @@
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-toggle-group": "^1.1.0",
- "@radix-ui/react-tooltip": "^1.1.2",
+ "@radix-ui/react-tooltip": "^1.1.4",
+ "@supabase/supabase-js": "^2.46.2",
"@tanstack/react-query": "^5.56.2",
- "class-variance-authority": "^0.7.0",
+ "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"date-fns": "^3.6.0",
"embla-carousel-react": "^8.3.0",
- "github": "^14.0.0",
"input-otp": "^1.2.4",
- "lucide-react": "^0.451.0",
+ "lucide-react": "^0.462.0",
"next-themes": "^0.3.0",
- "pages": "^0.0.16",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dom": "^18.3.1",
@@ -66,27 +63,27 @@
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.9.3",
+ "webpack": "^5.97.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@tailwindcss/typography": "^0.5.15",
- "@types/d3-color": "^3.1.3",
- "@types/node": "^22.9.0",
- "@types/react": "^18.3.12",
+ "@types/node": "^22.5.5",
+ "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "@types/react-router-dom": "^5.3.3",
- "@vitejs/plugin-react": "^4.3.3",
"@vitejs/plugin-react-swc": "^3.5.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.9.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
+ "gh-pages": "^6.2.0",
"globals": "^15.9.0",
+ "lovable-tagger": "^1.0.19",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.11",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.1",
- "vite": "^5.4.11"
+ "vite": "^5.4.1"
}
-}
+}
\ No newline at end of file
diff --git a/tsconfig.app.json b/tsconfig.app.json
index 786a7f45..e3f65034 100644
--- a/tsconfig.app.json
+++ b/tsconfig.app.json
@@ -21,10 +21,10 @@
"noImplicitAny": false,
"noFallthroughCasesInSwitch": false,
- "baseUrl": "/rf-meter/",
+ "baseUrl": ".",
"paths": {
- "@/*": ["./src/* "]
+ "@/*": ["./src/*"]
}
},
- "include": ["src","dist"]
-}
+ "include": ["src"]
+}
\ No newline at end of file
diff --git a/vite.config.ts b/vite.config.ts
index e99ddb4c..13a63c5d 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,14 +1,22 @@
-import react from '@vitejs/plugin-react';
-import { defineConfig } from 'vite';
+import react from "@vitejs/plugin-react-swc";
+import path from "path";
+import { defineConfig } from "vite";
-export default defineConfig({
- base: '/rf-meter/',
+
+// https://vitejs.dev/config/
+export default defineConfig(({ mode }) => ({
server: {
- host: '0.0.0.0',
+ host: "::",
port: 8080,
},
- plugins: [react()],
- build: {
- outDir: './dists/',
+ plugins: [
+ react(),
+
+ ].filter(Boolean),
+ base: '/rf-meter/',
+ resolve: {
+ alias: {
+ "@": path.resolve(__dirname, "./src"),
+ },
},
-});
+}));
\ No newline at end of file