NORY-4: update dependency versions (#6)
This commit is contained in:
commit
3b05405363
7 changed files with 3064 additions and 2287 deletions
|
@ -7,9 +7,6 @@ const withSerwist = withSerwistInit({
|
|||
|
||||
export default withSerwist({
|
||||
output: 'standalone',
|
||||
experimental: {
|
||||
missingSuspenseWithCSRBailout: false,
|
||||
},
|
||||
env: {
|
||||
appVersion: process.env.npm_package_version,
|
||||
},
|
||||
|
|
5314
authentication/package-lock.json
generated
5314
authentication/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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'] });
|
||||
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
},
|
||||
"types": [
|
||||
"@serwist/next/typings"
|
||||
]
|
||||
],
|
||||
"target": "ES2017"
|
||||
},
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
|
|
Loading…
Add table
Reference in a new issue