Update dependencies

This commit is contained in:
2025-03-28 22:43:04 +01:00
parent 709165bab0
commit eea2eac109
8 changed files with 1129 additions and 1122 deletions

View File

@@ -16,8 +16,5 @@
"eslint-plugin-react-hooks": "catalog:", "eslint-plugin-react-hooks": "catalog:",
"typescript": "catalog:", "typescript": "catalog:",
"typescript-eslint": "catalog:" "typescript-eslint": "catalog:"
},
"pnpm": {
"onlyBuiltDependencies": ["esbuild"]
} }
} }

View File

@@ -102,7 +102,7 @@ export default function Attachment() {
if (error !== null) { if (error !== null) {
return ( return (
<div className="w-full h-full overflow-hidden flex items-center justify-center"> <div className="w-full h-full overflow-hidden flex items-center justify-center">
<div>Wystąpił błąd: {error.value}</div> <div>Wystąpił błąd: {error.status === 422 ? error.value.message : error.value}</div>
</div> </div>
); );
} }

View File

@@ -124,7 +124,7 @@ function PieceRow(props: PieceRow.Props) {
if (error !== null) { if (error !== null) {
return ( return (
<TableRow> <TableRow>
<TableCell colSpan={4}>Wystąpił błąd: {error.value}</TableCell> <TableCell colSpan={4}>Wystąpił błąd: {error.status === 422 ? error.value.message : error.value}</TableCell>
</TableRow> </TableRow>
); );
} }

View File

@@ -410,7 +410,7 @@ function EntryDialogPieceRow(props: EntryDialogPieceRow.Props) {
if (error !== null) { if (error !== null) {
return ( return (
<TableRow> <TableRow>
<TableCell colSpan={2}>Wystąpił błąd: {error.value}</TableCell> <TableCell colSpan={2}>Wystąpił błąd: {error.status === 422 ? error.value.message : error.value}</TableCell>
</TableRow> </TableRow>
); );
} }

View File

@@ -112,7 +112,7 @@ function RepertoireRow(props: RepertoireRow.Props) {
if (error !== null) { if (error !== null) {
return ( return (
<TableRow> <TableRow>
<TableCell colSpan={4}>Wystąpił błąd: {error.value}</TableCell> <TableCell colSpan={4}>Wystąpił błąd: {error.status === 422 ? error.value.message : error.value}</TableCell>
</TableRow> </TableRow>
); );
} }

View File

@@ -12,5 +12,13 @@ export default defineConfig({
}, },
build: { build: {
outDir: "build", outDir: "build",
rollupOptions: {
output: {
manualChunks: {
effect: ["effect"],
react: ["react", "react-dom", "react-router-dom"],
},
},
},
}, },
}); });

2177
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,39 +1,42 @@
packages: packages:
- 'packages/*' - 'packages/*'
onlyBuiltDependencies:
- 'esbuild'
catalog: catalog:
'@elysiajs/cors': '^1.1.1' '@elysiajs/cors': '^1.2.0'
'@elysiajs/eden': '^1.1.3' '@elysiajs/eden': '^1.2.0'
'@elysiajs/static': '^1.1.1' '@elysiajs/static': '^1.2.0'
'@elysiajs/swagger': '^1.1.6' '@elysiajs/swagger': '^1.2.2'
'@eslint/js': '^9.17.0' '@eslint/js': '^9.23.0'
'@radix-ui/react-dialog': '^1.1.2' '@radix-ui/react-dialog': '^1.1.6'
'@radix-ui/react-dropdown-menu': '^2.1.2' '@radix-ui/react-dropdown-menu': '^2.1.6'
'@radix-ui/react-label': '^2.1.0' '@radix-ui/react-label': '^2.1.2'
'@radix-ui/react-slot': '^1.1.0' '@radix-ui/react-slot': '^1.1.2'
'@stylistic/eslint-plugin': '^2.12.1' '@stylistic/eslint-plugin': '^4.2.0'
'@types/bun': '^1.1.13' '@types/bun': '^1.2.8'
'@types/react': '^18.3.12' '@types/react': '^18.3.12'
'@types/react-dom': '^18.3.1' '@types/react-dom': '^18.3.1'
'@vitejs/plugin-react': '^4.3.3' '@vitejs/plugin-react': '^4.3.4'
autoprefixer: '^10.4.20' autoprefixer: '^10.4.21'
class-variance-authority: '^0.7.1' class-variance-authority: '^0.7.1'
clsx: '^2.1.1' clsx: '^2.1.1'
effect: '^3.11.4' effect: '^3.14.2'
elysia: '^1.1.25' elysia: '^1.2.2'
eslint-plugin-react-hooks: '^5.1.0' eslint-plugin-react-hooks: '^5.2.0'
jszip: '^3.10.1' jszip: '^3.10.1'
kysely: '^0.27.4' kysely: '^0.27.6'
kysely-bun-sqlite: '^0.3.2' kysely-bun-sqlite: '^0.3.2'
lucide-react: '^0.462.0' lucide-react: '^0.485.0'
opensheetmusicdisplay: '^1.8.9' opensheetmusicdisplay: '^1.9.0'
postcss: '^8.4.49' postcss: '^8.5.3'
react: '^18.3.1' react: '^18.3.1'
react-dom: '^18.3.1' react-dom: '^18.3.1'
react-router-dom: '^6.28.0' react-router-dom: '^6.30.0'
tailwind-merge: '^2.5.5' tailwind-merge: '^2.6.0'
tailwindcss: '^3.4.15' tailwindcss: '^3.4.17'
tailwindcss-animate: '^1.0.7' tailwindcss-animate: '^1.0.7'
typescript: '^5.7.2' typescript: '^5.8.2'
typescript-eslint: '^8.18.2' typescript-eslint: '^8.28.0'
vite: '^5.4.11' vite: '^6.2.3'