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
532 changes: 193 additions & 339 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/Dockerfile.playwright
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/playwright:v1.58.2-noble
FROM mcr.microsoft.com/playwright:v1.60.0-noble

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be updated together with Playwrite node module to avoid error


WORKDIR /app

Expand Down
68 changes: 34 additions & 34 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,54 +13,54 @@
"test:ui": "bunx playwright test --ui"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-radio-group": "^1.3.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@hookform/resolvers": "^5.4.0",
"@radix-ui/react-avatar": "^1.1.12",
"@radix-ui/react-checkbox": "^1.3.4",
"@radix-ui/react-dialog": "^1.1.16",
"@radix-ui/react-dropdown-menu": "^2.1.17",
"@radix-ui/react-label": "^2.1.9",
"@radix-ui/react-radio-group": "^1.4.0",
"@radix-ui/react-scroll-area": "^1.2.11",
"@radix-ui/react-select": "^2.3.0",
"@radix-ui/react-separator": "^1.1.9",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-tooltip": "^1.2.8",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-query": "^5.90.21",
"@tanstack/react-query-devtools": "^5.91.1",
"@tanstack/react-router": "^1.163.3",
"@tanstack/react-router-devtools": "^1.163.3",
"@radix-ui/react-tabs": "^1.1.14",
"@radix-ui/react-tooltip": "^1.2.9",
"@tailwindcss/vite": "^4.3.0",
"@tanstack/react-query": "^5.101.0",
"@tanstack/react-query-devtools": "^5.101.0",
"@tanstack/react-router": "^1.170.15",
"@tanstack/react-router-devtools": "^1.167.0",
"@tanstack/react-table": "^8.21.3",
"axios": "1.16.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"form-data": "4.0.6",
"lucide-react": "^0.563.0",
"lucide-react": "^1.17.0",
"next-themes": "^0.4.6",
"react": "^19.1.1",
"react-dom": "^19.2.3",
"react-error-boundary": "^6.0.0",
"react-hook-form": "^7.68.0",
"react-icons": "^5.5.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-error-boundary": "^6.1.2",
"react-hook-form": "^7.78.0",
"react-icons": "^5.6.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.4.0",
"tailwind-merge": "^3.6.0",
"tailwindcss": "^4.2.1",
"zod": "^4.3.6"
"zod": "^4.4.3"
},
"devDependencies": {
"@biomejs/biome": "^2.3.14",
"@biomejs/biome": "^2.4.16",
"@hey-api/openapi-ts": "0.73.0",
"@playwright/test": "1.58.2",
"@tanstack/router-devtools": "^1.166.7",
"@tanstack/router-plugin": "^1.140.0",
"@types/node": "^25.5.0",
"@types/react": "^19.2.7",
"@playwright/test": "1.60.0",
"@tanstack/router-devtools": "^1.167.0",
"@tanstack/router-plugin": "^1.168.18",
"@types/node": "^25.9.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.2.3",
"dotenv": "^17.3.1",
"@vitejs/plugin-react-swc": "^4.3.1",
"dotenv": "^17.4.2",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not upgrading to TypeScript 6 as we should ensure all components support it.
See #2319 (comment)

"vite": "^7.3.0"
"vite": "^8.0.16"
}
}
6 changes: 3 additions & 3 deletions frontend/src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ const LayoutAdminRoute = LayoutAdminRouteImport.update({
} as any)

export interface FileRoutesByFullPath {
'/': typeof LayoutIndexRoute
'/login': typeof LoginRoute
'/recover-password': typeof RecoverPasswordRoute
'/reset-password': typeof ResetPasswordRoute
'/signup': typeof SignupRoute
'/admin': typeof LayoutAdminRoute
'/items': typeof LayoutItemsRoute
'/settings': typeof LayoutSettingsRoute
'/': typeof LayoutIndexRoute
}
export interface FileRoutesByTo {
'/login': typeof LoginRoute
Expand All @@ -99,14 +99,14 @@ export interface FileRoutesById {
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
| '/login'
| '/recover-password'
| '/reset-password'
| '/signup'
| '/admin'
| '/items'
| '/settings'
| '/'
fileRoutesByTo: FileRoutesByTo
to:
| '/login'
Expand Down Expand Up @@ -171,7 +171,7 @@ declare module '@tanstack/react-router' {
'/_layout': {
id: '/_layout'
path: ''
fullPath: ''
fullPath: '/'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was updated automatically when I ran frontend locally

preLoaderRoute: typeof LayoutRouteImport
parentRoute: typeof rootRouteImport
}
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/routes/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ function Layout() {
</SidebarProvider>
)
}

export default Layout

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed unused exports to address warnings:

[tanstack-router] These exports from "/home/yurii/code/1.FastAPI/fsts/frontend/src/routes/signup.tsx" will not be code-split and will increase your bundle size:
- SignUp
For the best optimization, these items should either have their export statements removed, or be imported from another location that is not a route file.
[tanstack-router] These exports from "/home/yurii/code/1.FastAPI/fsts/frontend/src/routes/_layout.tsx" will not be code-split and will increase your bundle size:
- Layout
For the best optimization, these items should either have their export statements removed, or be imported from another location that is not a route file.

2 changes: 0 additions & 2 deletions frontend/src/routes/signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,3 @@ function SignUp() {
</AuthLayout>
)
}

export default SignUp