Remove GitHub Actions and SEO addons

This commit is contained in:
Aman Varshney
2025-03-20 23:32:40 +05:30
parent 3172b5bebb
commit 17db765a02
12 changed files with 49 additions and 242 deletions

View File

@@ -3,7 +3,6 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TanStack Router</title>
</head>
<body>

View File

@@ -11,40 +11,40 @@
"check-types": "tsc --noEmit"
},
"devDependencies": {
"@tanstack/router-plugin": "^1.101.0",
"@types/node": "^22.13.1",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@tanstack/router-plugin": "^1.114.25",
"@types/node": "^22.13.10",
"@types/react": "^19.0.12",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^4.3.4",
"postcss": "^8.5.1",
"prettier": "^3.4.2",
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"prettier-plugin-tailwindcss": "^0.6.11",
"tailwindcss": "^4.0.5",
"vite": "^6.1.0"
"tailwindcss": "^4.0.14",
"vite": "^6.2.2"
},
"dependencies": {
"@hookform/resolvers": "^3.10.0",
"@radix-ui/react-dropdown-menu": "^2.1.6",
"@radix-ui/react-label": "^2.1.2",
"@radix-ui/react-slot": "^1.1.2",
"@tailwindcss/vite": "^4.0.5",
"@tanstack/react-form": "^1.0.5",
"@tanstack/react-query": "^5.66.0",
"@tanstack/react-query-devtools": "^5.66.0",
"@tanstack/react-router": "^1.101.0",
"@tanstack/react-router-devtools": "^1.114.25",
"@trpc/client": "^11.0.0-rc.748",
"@trpc/react-query": "^11.0.0-rc.748",
"@trpc/server": "^11.0.0-rc.748",
"@tailwindcss/vite": "^4.0.14",
"@tanstack/react-query": "^5.69.0",
"@tanstack/react-query-devtools": "^5.69.0",
"@tanstack/react-router": "^1.114.25",
"@tanstack/router-devtools": "^1.114.25",
"@trpc/client": "^11.0.0-rc.840",
"@trpc/react-query": "^11.0.0-rc.840",
"@trpc/server": "^11.0.0-rc.840",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.473.0",
"next-themes": "^0.4.4",
"next-themes": "^0.4.6",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"sonner": "^1.7.4",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.24.1"
"zod": "^3.24.2"
}
}

View File

@@ -8,6 +8,7 @@ import {
Outlet,
createRootRouteWithContext,
useRouterState,
HeadContent,
} from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
import "../index.css";
@@ -18,6 +19,23 @@ export interface RouterAppContext {
export const Route = createRootRouteWithContext<RouterAppContext>()({
component: RootComponent,
head: () => ({
meta: [
{
title: "My App",
},
{
name: "description",
content: "My App is a web application",
},
],
links: [
{
rel: "icon",
href: "/favicon.ico",
},
],
}),
});
function RootComponent() {
@@ -26,6 +44,7 @@ function RootComponent() {
});
return (
<>
<HeadContent />
<ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme">
<Header />
{isFetching && <Loader />}

View File

@@ -14,12 +14,12 @@
"@hono/trpc-server": "^0.3.4",
"@trpc/server": "^11.0.0-rc.748",
"dotenv": "^16.4.7",
"hono": "^4.7.0",
"hono": "^4.7.5",
"zod": "^3.24.1"
},
"devDependencies": {
"tsx": "^4.19.2",
"@types/node": "^22.13.4",
"typescript": "^5.7.3"
"typescript": "^5.8.2"
}
}