chore: update package versions

This commit is contained in:
SevicheCC 2024-10-16 21:00:00 +08:00
parent ab79d786b2
commit d5dcc9e26e
Signed by: SevicheCC
GPG key ID: C577000000000000
4 changed files with 3419 additions and 2613 deletions

View file

@ -4,13 +4,10 @@ import { cn } from "@/lib/utils";
import { ThemeProvider } from "@/components/ui/theme-provider";
export const metadata = {
metadataBase: new URL('https://m-oauth.seviche.cc'),
title: "M-OAuth",
description:
"Access token generator for Akkoma, Pleroma, Mastodon, Misskey APIs.",
themeColor: [
{ media: "(prefers-color-scheme: light)", color: "white" },
{ media: "(prefers-color-scheme: dark)", color: "black" },
],
icons: {
icon: '/favicon.ico',
shortcut: '/favicon-16x16/png',
@ -33,6 +30,12 @@ export const metadata = {
},
};
export const viewport = {
themeColor: [
{ media: "(prefers-color-scheme: light)", color: "white" },
{ media: "(prefers-color-scheme: dark)", color: "black" },
],
};
export default function RootLayout({
children,
}: {

View file

@ -1,9 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
experimental: {
appDir: true,
},
images: {
domains: ["cdn.jsdelivr.net", "github.com", "cdn.simpleicons.org"],
},

View file

@ -12,41 +12,41 @@
"prepare": "husky install"
},
"dependencies": {
"@hookform/resolvers": "^3.1.0",
"@radix-ui/react-avatar": "^1.0.3",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.4",
"class-variance-authority": "^0.6.0",
"clsx": "^1.2.1",
"lucide-react": "^0.240.0",
"next": "13.4.4",
"@hookform/resolvers": "^3.9.0",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-checkbox": "^1.1.2",
"@radix-ui/react-collapsible": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-toast": "^1.2.2",
"class-variance-authority": "^0.6.1",
"clsx": "^2.1.1",
"lucide-react": "^0.344.0",
"next": "14.1.2",
"next-themes": "^0.2.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.44.3",
"tailwind-merge": "^1.13.0",
"tailwindcss-animate": "^1.0.5",
"zod": "^3.21.4"
"react-hook-form": "^7.53.0",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.8"
},
"devDependencies": {
"eslint": "8.41.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"prettier-plugin-tailwindcss": "^0.3.0",
"tailwindcss": "^3.3.2",
"@types/node": "20.2.5",
"@types/react": "18.2.7",
"@types/react-dom": "18.2.4",
"eslint-config-next": "13.4.4",
"autoprefixer": "^10.4.14",
"postcss": "^8.4.24",
"typescript": "5.0.4"
"@types/node": "20.11.24",
"@types/react": "18.2.62",
"@types/react-dom": "18.2.19",
"autoprefixer": "^10.4.20",
"eslint": "8.57.0",
"eslint-config-next": "14.1.2",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.6",
"lint-staged": "^13.3.0",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.14",
"typescript": "5.3.3"
},
"lint-staged": {
"*.js": "eslint --cache --fix",

File diff suppressed because it is too large Load diff