Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 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
40 changes: 20 additions & 20 deletions apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,38 +29,38 @@
},
"dependencies": {
"@fastify/secure-session": "^8.2.0",
"@fastify/static": "^8.1.1",
"@mikro-orm/cli": "^6.4.13",
"@mikro-orm/core": "^6.4.13",
"@mikro-orm/migrations": "^6.4.13",
"@fastify/static": "^8.2.0",
"@mikro-orm/cli": "^6.4.16",
"@mikro-orm/core": "^6.4.16",
"@mikro-orm/migrations": "^6.4.16",
"@mikro-orm/nestjs": "^6.1.1",
"@mikro-orm/postgresql": "^6.4.13",
"@mikro-orm/reflection": "^6.4.13",
"@mikro-orm/seeder": "^6.4.13",
"@nestjs/common": "^11.0.20",
"@mikro-orm/postgresql": "^6.4.16",
"@mikro-orm/reflection": "^6.4.16",
"@mikro-orm/seeder": "^6.4.16",
"@nestjs/common": "^11.1.6",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "^11.0.20",
"@nestjs/platform-fastify": "^11.0.20",
"@nestjs/swagger": "^11.1.4",
"@nestjs/core": "^11.1.6",
"@nestjs/platform-fastify": "^11.1.6",
"@nestjs/swagger": "^11.2.0",
"@nestjs/terminus": "^11.0.0",
"@quassel/utils": "workspace:*",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"csv-stringify": "^6.5.2",
"class-validator": "^0.14.2",
"csv-stringify": "^6.6.0",
"date-fns": "^4.1.0",
"fastify": "5.3.0",
"fastify": "5.5.0",
"hash-wasm": "^4.12.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2"
},
"devDependencies": {
"@nestjs/cli": "^11.0.6",
"@nestjs/schematics": "^11.0.5",
"@nestjs/testing": "^11.0.20",
"@types/jest": "^29.5.14",
"@types/node": "^22.14.1",
"@nestjs/cli": "^11.0.10",
"@nestjs/schematics": "^11.0.7",
"@nestjs/testing": "^11.1.6",
"@types/jest": "^30.0.0",
"@types/node": "^24.2.1",
"@types/supertest": "^6.0.3",
"jest": "^29.7.0",
"jest": "^30.0.5",
"source-map-support": "^0.5.21",
"supertest": "^7.1.0",
"ts-jest": "^29.3.2",
Expand Down
3 changes: 2 additions & 1 deletion apps/backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
app.useGlobalPipes(new ValidationPipe());
app.useGlobalInterceptors(new ClassSerializerInterceptor(app.get(Reflector)));

await app.register(fastifySecureSession, {
// TODO: Remove `as any` when type definitions are fixed
await app.register(fastifySecureSession as any, {

Check failure on line 24 in apps/backend/src/main.ts

View workflow job for this annotation

GitHub Actions / Checks

Unexpected any. Specify a different type
Copy link
Member

Choose a reason for hiding this comment

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

Ausnahme für Fehler einfügen, damit die CI durchläuft

expiry: configService.get("session.expiry"),
cookieName: configService.get("session.cookieName"),
secret: configService.get("session.secret"),
Expand Down
16 changes: 8 additions & 8 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,30 @@
"@quassel/ui": "workspace:*",
"@quassel/utils": "workspace:*",
"@tanstack/react-query": "^5.74.4",
"@tanstack/react-router": "^1.116.0",
"@tanstack/react-router": "^1.131.7",
"nanostores": "^1.0.1",
"openapi-fetch": "0.13.5",
"openapi-react-query": "0.3.1",
"openapi-fetch": "0.14.0",
"openapi-react-query": "0.5.0",
"react": "^19.1.0",
"react-dom": "^19.1.0"
},
"devDependencies": {
"@anolilab/unplugin-favicons": "^1.0.5",
"@sinclair/typebox": "^0.34.33",
"@tanstack/router-devtools": "^1.116.0",
"@tanstack/router-plugin": "^1.116.1",
"@tanstack/router-devtools": "^1.131.7",
"@tanstack/router-plugin": "^1.131.7",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.4.1",
"@vitest/coverage-v8": "3.1.1",
"@vitejs/plugin-react": "^5.0.0",
"@vitest/coverage-v8": "3.2.4",
"favicons": "^7.2.0",
"jsdom": "^26.1.0",
"openapi-typescript": "^7.6.1",
"openapi-typescript-helpers": "^0.0.15",
"typescript": "^5.8.3",
"vite": "^6.3.2",
"vite": "^7.1.2",
"vitest": "^3.1.1"
}
}
4 changes: 2 additions & 2 deletions apps/frontend/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { TanStackRouterVite } from "@tanstack/router-plugin/vite";
import tanstackRouter from "@tanstack/router-plugin/vite";
import unpluginFavicons from "@anolilab/unplugin-favicons/vite";

// https://vitejs.dev/config/
Expand All @@ -14,7 +14,7 @@ export default defineConfig({
clearScreen: false,
plugins: [
react(),
TanStackRouterVite({ quoteStyle: "double", semicolons: true }),
tanstackRouter({ quoteStyle: "double", semicolons: true }),
unpluginFavicons({
logo: "./public/logo.svg",
inject: true,
Expand Down
16 changes: 8 additions & 8 deletions libs/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"preview": "vite preview"
},
"dependencies": {
"@mantine/core": "7.17.4",
"@mantine/dates": "7.17.4",
"@mantine/form": "7.17.4",
"@mantine/hooks": "7.17.4",
"@mantine/modals": "^7.17.4",
"@mantine/notifications": "7.17.4",
"@mantine/core": "8.2.4",
"@mantine/dates": "8.2.4",
"@mantine/form": "8.2.4",
"@mantine/hooks": "8.2.4",
"@mantine/modals": "^8.2.4",
"@mantine/notifications": "8.2.4",
"@tabler/icons-react": "^3.31.0",
"dayjs": "^1.11.13",
"react": "^19.1.0",
Expand All @@ -45,9 +45,9 @@
"@eslint/js": "^9.25.0",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"@vitejs/plugin-react": "^4.4.1",
"@vitejs/plugin-react": "^5.0.0",
"typescript": "^5.8.3",
"vite": "^6.3.2",
"vite": "^7.1.2",
"vite-plugin-dts": "^4.5.3",
"vite-plugin-svgr": "^4.3.0"
}
Expand Down
3 changes: 1 addition & 2 deletions libs/ui/src/components/MonthPicker.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
DatePickerType,
DatesRangeValue,
DateValue,
MonthPicker as MantineMonthPicker,
MonthPickerProps as MantineMonthPickerProps,
} from "@mantine/dates";
Expand All @@ -11,7 +10,7 @@ interface MonthPickerProps<Type extends DatePickerType = "default"> extends Mant
selectEndOfMonth?: boolean;
}

function isRangeValue(date: DateValue | DatesRangeValue | Date[]): date is DatesRangeValue {
function isRangeValue(date: string | DatesRangeValue | string[] | null): date is DatesRangeValue {
return Array.isArray(date) && date.length === 2;
}

Expand Down
1 change: 1 addition & 0 deletions libs/ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import "@mantine/core/styles/ActionIcon.css";
import "@mantine/core/styles/Combobox.css";
import "@mantine/core/styles/Stack.css";
import "@mantine/core/styles/Radio.css";
import "@mantine/core/styles/Container.css";

import "@mantine/dates/styles.css";

Expand Down
15 changes: 6 additions & 9 deletions libs/ui/src/theme/ThemeProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { MantineProvider, MantineThemeOverride, MantineProviderProps, createTheme } from "@mantine/core";
import "./Theme.css";
import { DatesProvider } from "@mantine/dates";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import { DefaultMantineColor, MantineColorsTuple } from "@mantine/core";
Expand Down Expand Up @@ -37,13 +36,11 @@ export const defaultTheme: MantineThemeOverride = createTheme({

export function ThemeProvider({ children, ...args }: ThemeProviderProps) {
return (
<DatesProvider settings={{ timezone: "UTC" }}>
<MantineProvider theme={defaultTheme} {...args}>
<ModalsProvider>
<Notifications />
{children}
</ModalsProvider>
</MantineProvider>
</DatesProvider>
<MantineProvider theme={defaultTheme} {...args}>
<ModalsProvider>
<Notifications />
{children}
</ModalsProvider>
</MantineProvider>
);
}
4 changes: 2 additions & 2 deletions libs/ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"target": "ES6",
"resolveJsonModule": true,
"noEmit": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
}
}
}
2 changes: 1 addition & 1 deletion libs/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@eslint/js": "^9.25.0",
"typescript": "^5.8.3",
"vite": "^6.3.2",
"vite": "^7.1.2",
"vite-plugin-dts": "^4.5.3",
"vitest": "^3.1.1"
}
Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@
"author": "openscript GmbH",
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.29.2",
"@eslint/js": "^9.25.0",
"@nestjs/cli": "^11.0.6",
"@nx-tools/container-metadata": "^6.1.1",
"@nx-tools/nx-container": "^6.2.0",
"@typescript-eslint/parser": "^8.30.1",
"eslint": "^9.25.0",
"eslint-config-prettier": "^10.1.2",
"@changesets/cli": "^2.29.5",
"@eslint/js": "^9.33.0",
"@nestjs/cli": "^11.0.10",
"@nx-tools/container-metadata": "^6.8.2",
"@nx-tools/nx-container": "^6.8.2",
"@typescript-eslint/parser": "^8.39.0",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^16.0.0",
"nx": "^20.8.0",
"prettier": "^3.5.3",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"nx": "^21.3.11",
"prettier": "^3.6.2",
"prettier-plugin-astro": "^0.14.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.30.1"
"typescript": "^5.9.2",
"typescript-eslint": "^8.39.0"
},
"packageManager": "[email protected]",
"pnpm": {
Expand Down
Loading
Loading