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:",
"typescript": "catalog:",
"typescript-eslint": "catalog:"
},
"pnpm": {
"onlyBuiltDependencies": ["esbuild"]
}
}

View File

@@ -102,7 +102,7 @@ export default function Attachment() {
if (error !== null) {
return (
<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>
);
}

View File

@@ -124,7 +124,7 @@ function PieceRow(props: PieceRow.Props) {
if (error !== null) {
return (
<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>
);
}

View File

@@ -410,7 +410,7 @@ function EntryDialogPieceRow(props: EntryDialogPieceRow.Props) {
if (error !== null) {
return (
<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>
);
}

View File

@@ -112,7 +112,7 @@ function RepertoireRow(props: RepertoireRow.Props) {
if (error !== null) {
return (
<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>
);
}

View File

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