NORY-4: update dependency versions (#6)

This commit is contained in:
Markus Thielker 2024-11-27 14:48:27 +01:00 committed by GitHub
commit 3b05405363
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 3064 additions and 2287 deletions

View file

@ -7,9 +7,6 @@ const withSerwist = withSerwistInit({
export default withSerwist({
output: 'standalone',
experimental: {
missingSuspenseWithCSRBailout: false,
},
env: {
appVersion: process.env.npm_package_version,
},

File diff suppressed because it is too large Load diff

View file

@ -25,12 +25,12 @@
"@serwist/sw": "^9.0.0-preview.21",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-react": "^0.350.0",
"next": "14.1.3",
"next-themes": "^0.2.1",
"lucide-react": "^0.460.0",
"next": "15.0.3",
"next-themes": "^0.4.3",
"oslo": "^1.1.3",
"react": "^18",
"react-dom": "^18",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"react-hook-form": "^7.51.0",
"sharp": "^0.33.4",
"sonner": "^1.4.3",
@ -41,15 +41,19 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.11.25",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/node": "^22.9.3",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.1.3",
"eslint-config-next": "15.0.3",
"postcss": "^8",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.2"
},
"overrides": {
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
}
}

View file

@ -8,7 +8,9 @@ import ConsentForm from '@/components/consentForm';
import { redirect } from 'next/navigation';
import { toast } from 'sonner';
export default async function Consent({ searchParams }: { searchParams: { consent_challenge: string } }) {
export default async function Consent(props: { searchParams: Promise<{ consent_challenge: string }> }) {
const searchParams = await props.searchParams;
const consentChallenge = searchParams.consent_challenge ?? undefined;
let consentRequest: OAuth2ConsentRequest | undefined = undefined;

View file

@ -4,7 +4,7 @@ import './globals.css';
import { cn } from '@/lib/utils';
import { Toaster } from '@/components/ui/sonner';
import React from 'react';
import { ThemeProvider } from '@/components/themeProvider';
import { ThemeProvider } from 'next-themes';
const inter = Inter({ subsets: ['latin'] });

View file

@ -1,8 +1,7 @@
'use client';
import * as React from 'react';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import { type ThemeProviderProps } from 'next-themes/dist/types';
import { ThemeProvider as NextThemesProvider, ThemeProviderProps } from 'next-themes';
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;

View file

@ -29,7 +29,8 @@
},
"types": [
"@serwist/next/typings"
]
],
"target": "ES2017"
},
"include": [
"next-env.d.ts",