diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json index ff5864f13..b0ed1ea99 100644 --- a/apps/nextjs/package.json +++ b/apps/nextjs/package.json @@ -7,7 +7,7 @@ "build": "pnpm with-env next build", "clean": "git clean -xdf .next .turbo node_modules", "dev": "pnpm with-env next dev", - "format": "oxfmt --check .", + "format": "oxfmt .", "lint": "oxlint", "start": "pnpm with-env next start", "typecheck": "tsc --noEmit", diff --git a/apps/tasks/package.json b/apps/tasks/package.json index 13b911e5f..e70a0d101 100644 --- a/apps/tasks/package.json +++ b/apps/tasks/package.json @@ -12,7 +12,7 @@ "scripts": { "clean": "rm -rf .turbo node_modules", "dev": "pnpm with-env tsx ./src/main.ts", - "format": "oxfmt --check .", + "format": "oxfmt .", "lint": "oxlint", "typecheck": "tsc --noEmit", "with-env": "dotenv -e ../../.env --" diff --git a/apps/websocket/package.json b/apps/websocket/package.json index da277286e..7a5b39488 100644 --- a/apps/websocket/package.json +++ b/apps/websocket/package.json @@ -12,7 +12,7 @@ "scripts": { "clean": "rm -rf .turbo node_modules", "dev": "pnpm with-env tsx ./src/main.ts", - "format": "oxfmt --check .", + "format": "oxfmt .", "lint": "oxlint", "typecheck": "tsc --noEmit", "with-env": "dotenv -e ../../.env --" diff --git a/package.json b/package.json index 1db82cbe1..c333b5a8d 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "db:studio": "pnpm -F db studio", "dev": "pnpm -F nextjs dev", "docker:dev": "docker compose -f ./development/development.docker-compose.yml up", - "format": "turbo format --continue", - "format:fix": "turbo format --continue -- --write", + "format": "turbo format --continue -- --check", + "format:fix": "turbo format --continue", "lint": "turbo lint --continue", "lint:fix": "turbo lint --continue -- --fix", "lint:ws": "pnpm dlx sherif@latest", diff --git a/packages/analytics/package.json b/packages/analytics/package.json index 6eb85decb..ffc0f2f41 100644 --- a/packages/analytics/package.json +++ b/packages/analytics/package.json @@ -16,7 +16,7 @@ }, "scripts": { "clean": "rm -rf .turbo node_modules", - "format": "oxfmt --check .", + "format": "oxfmt .", "lint": "oxlint", "typecheck": "tsc --noEmit" }, diff --git a/packages/api/package.json b/packages/api/package.json index 847279d59..17d5ae476 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -16,7 +16,7 @@ }, "scripts": { "clean": "rm -rf .turbo node_modules", - "format": "oxfmt --check .", + "format": "oxfmt .", "lint": "oxlint", "typecheck": "tsc --noEmit" }, diff --git a/packages/auth/env.ts b/packages/auth/env.ts index 4a41e8594..6fb7048dd 100644 --- a/packages/auth/env.ts +++ b/packages/auth/env.ts @@ -40,6 +40,9 @@ export const env = createEnv({ AUTH_OIDC_NAME_ATTRIBUTE_OVERWRITE: z.string().optional(), AUTH_OIDC_FORCE_USERINFO: createBooleanSchema(false), AUTH_OIDC_ENABLE_DANGEROUS_ACCOUNT_LINKING: createBooleanSchema(false), + AUTH_OIDC_TOKEN_ENDPOINT_AUTH_METHOD: z + .enum(["client_secret_basic", "client_secret_post", "client_secret_jwt", "none"]) + .default("client_secret_basic"), } : {}), ...(authProviders.includes("ldap") diff --git a/packages/auth/package.json b/packages/auth/package.json index 36e2e965c..c83d09307 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -18,7 +18,7 @@ }, "scripts": { "clean": "rm -rf .turbo node_modules", - "format": "oxfmt --check .", + "format": "oxfmt .", "lint": "oxlint", "typecheck": "tsc --noEmit" }, diff --git a/packages/auth/providers/oidc/oidc-provider.ts b/packages/auth/providers/oidc/oidc-provider.ts index c706d978f..f7f03d443 100644 --- a/packages/auth/providers/oidc/oidc-provider.ts +++ b/packages/auth/providers/oidc/oidc-provider.ts @@ -14,6 +14,9 @@ export const OidcProvider = (headers: ReadonlyHeaders | null): OIDCConfig= 0.4'} - defu@6.1.4: - resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} + defu@6.1.7: + resolution: {integrity: sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==} delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} @@ -6881,8 +6881,8 @@ packages: resolution: {integrity: sha512-BBvQ/406p+4CZbTpCbVPSxfzrZrbnuWSP1ELYgyS6B+hNeKzgrdB4JczCa5VZUBQrDa9hUngm0KnexY6pJRN5Q==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} - h3@1.15.1: - resolution: {integrity: sha512-+ORaOBttdUm1E2Uu/obAyCguiI7MbBvsLTndc3gyK3zU+SYLoZXlyCP9Xgy0gikkGufFLTZXCXD6+4BsufnmHA==} + h3@1.15.11: + resolution: {integrity: sha512-L3THSe2MPeBwgIZVSH5zLdBBU90TOxarvhK9d04IDY2AmVS8j2Jz2LIWtwsGOU3lu2I5jCN7FNvVfY2+XyF+mg==} handlebars@4.7.8: resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} @@ -7803,8 +7803,8 @@ packages: peerDependencies: webpack: ^5.0.0 - node-mock-http@1.0.2: - resolution: {integrity: sha512-zWaamgDUdo9SSLw47we78+zYw/bDr5gH8pH7oRRs8V3KmBtu8GLgGIbV2p/gRPd3LWpEOpjQj7X1FOU3VFMJ8g==} + node-mock-http@1.0.4: + resolution: {integrity: sha512-8DY+kFsDkNXy1sJglUfuODx1/opAGJGyrTuFqEoN90oRc2Vk0ZbD4K2qmKXBBEhZQzdKHIVfEJpDU8Ak2NJEvQ==} node-releases@2.0.46: resolution: {integrity: sha512-GYVXHE2KnrzAfsAjl4uP++evGFCrAU1jta4ubEjIG7YWt/64Gqv66a30yKwWczVjA6j3bM4nBwH7Pk1JmDHaxQ==} @@ -9279,12 +9279,12 @@ packages: trough@2.2.0: resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==} - trpc-to-openapi@3.2.0: - resolution: {integrity: sha512-nRexppGtL7og73dI4900xnfiGoOAx9PppAi7CVNeh8JfRHXUJ3lDe4JCjHgDAvC3FPHmwJAGDJ0b0BbRll98YA==} + trpc-to-openapi@3.3.0: + resolution: {integrity: sha512-PNMXq0K37Ott5ysNACYN1XLaM5xZGNJrx1QiQVTlk4hmgJomoyiAKhVrpwrK02JW3joSQmHYBOZ7pK6Hdioekw==} peerDependencies: '@trpc/server': ^11.1.0 - zod: ^4.0.0 - zod-openapi: ^5.0.1 + zod: ^3.25.0 || ^4.0.0 + zod-openapi: ^5.4.4 ts-mixer@6.0.4: resolution: {integrity: sha512-ufKpbmrugz5Aou4wcr5Wc1UUFWOLhq+Fm6qa6P0w0K5Qw2yhaUoiWszhCVuNQyNwrlGiscHOmqYoAox1PtvgjA==} @@ -13455,7 +13455,7 @@ snapshots: convert-source-map@2.0.0: {} - cookie-es@1.2.2: {} + cookie-es@1.2.3: {} cookie-es@3.0.1: {} @@ -13612,7 +13612,7 @@ snapshots: es-errors: 1.3.0 gopd: 1.2.0 - defu@6.1.4: {} + defu@6.1.7: {} delayed-stream@1.0.0: {} @@ -14233,14 +14233,14 @@ snapshots: graphql@16.14.0: optional: true - h3@1.15.1: + h3@1.15.11: dependencies: - cookie-es: 1.2.2 + cookie-es: 1.2.3 crossws: 0.3.5 - defu: 6.1.4 + defu: 6.1.7 destr: 2.0.5 iron-webcrypto: 1.2.1 - node-mock-http: 1.0.2 + node-mock-http: 1.0.4 radix3: 1.1.2 ufo: 1.6.4 uncrypto: 0.1.3 @@ -15264,7 +15264,7 @@ snapshots: loader-utils: 2.0.4 webpack: 5.107.1(postcss@8.5.8) - node-mock-http@1.0.2: {} + node-mock-http@1.0.4: {} node-releases@2.0.46: {} @@ -16889,11 +16889,11 @@ snapshots: trough@2.2.0: {} - trpc-to-openapi@3.2.0(patch_hash=2ca3c16af0fcca0c736697ad4fe553a14f794524fa9ce0d5c3e8ee4aea76090c)(@trpc/server@11.17.0(typescript@5.9.3))(zod-openapi@5.3.0(zod@4.4.3))(zod@4.4.3): + trpc-to-openapi@3.3.0(patch_hash=2ca3c16af0fcca0c736697ad4fe553a14f794524fa9ce0d5c3e8ee4aea76090c)(@trpc/server@11.17.0(typescript@5.9.3))(zod-openapi@5.3.0(zod@4.4.3))(zod@4.4.3): dependencies: '@trpc/server': 11.17.0(typescript@5.9.3) co-body: 6.2.0 - h3: 1.15.1 + h3: 1.15.11 openapi3-ts: 4.4.0 zod: 4.4.3 zod-openapi: 5.3.0(zod@4.4.3) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 46244a138..70bdd8915 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -160,7 +160,7 @@ catalog: swagger-ui-react: ^5.32.6 testcontainers: ^12.0.0 timezones-ical-library: ^2.2.0 - trpc-to-openapi: ^3.2.0 + trpc-to-openapi: ^3.3.0 tsdav: ^2.2.2 tsx: 4.20.4 turbo: ^2.9.14