refactor: convert to bun workspaces monorepo

- Move web app into apps/web/
- Create packages/shared/ with shared types
- Create plugins/decky-vault/ scaffold
- Root package.json manages workspaces only
This commit is contained in:
2026-06-28 05:20:28 +08:00
parent c4bede20d4
commit cd72b7a948
345 changed files with 488 additions and 126 deletions
+62
View File
@@ -0,0 +1,62 @@
export const routes = [
{
title: "Home",
href: "/",
},
{
title: "Search",
href: "/search",
},
{
title: "Games",
href: "/games",
},
{
title: "Compare",
href: "/compare",
},
{
title: "Devices",
href: "/devices",
},
{
title: "Contact",
href: "/contact",
},
// TODO: Add back when about page is implemented
// {
// title: "About",
// href: "/about",
// }
]
export const authRoutes = [
{
title: "Profile",
href: "/profile",
icon: "User",
},
{
title: "Saved Games",
href: "/profile?tab=saved",
icon: "Bookmark",
},
]
export const adminRoutes = [
{
title: "Users",
href: "/admin/users",
icon: "Users",
},
{
title: "Hardware",
href: "/admin/hardware",
icon: "Cpu",
},
{
title: "Games",
href: "/admin/games",
icon: "Gamepad2",
},
]