mirror of
https://github.com/Sevichecc/m-oauth.git
synced 2025-04-30 22:59:29 +08:00
Compare commits
No commits in common. "7c25397afdb379238ccaede2d49ce32dcb0a9878" and "ab79d786b2649c1248f8657d399be1df7bf50e5b" have entirely different histories.
7c25397afd
...
ab79d786b2
5 changed files with 2612 additions and 3424 deletions
|
@ -1,2 +1,5 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
pnpm lint
|
pnpm lint
|
||||||
npx lint-staged
|
npx lint-staged
|
||||||
|
|
|
@ -4,10 +4,13 @@ import { cn } from "@/lib/utils";
|
||||||
import { ThemeProvider } from "@/components/ui/theme-provider";
|
import { ThemeProvider } from "@/components/ui/theme-provider";
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
metadataBase: new URL('https://m-oauth.seviche.cc'),
|
|
||||||
title: "M-OAuth",
|
title: "M-OAuth",
|
||||||
description:
|
description:
|
||||||
"Access token generator for Akkoma, Pleroma, Mastodon, Misskey APIs.",
|
"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: {
|
icons: {
|
||||||
icon: '/favicon.ico',
|
icon: '/favicon.ico',
|
||||||
shortcut: '/favicon-16x16/png',
|
shortcut: '/favicon-16x16/png',
|
||||||
|
@ -30,12 +33,6 @@ 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({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: {
|
}: {
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
experimental: {
|
||||||
|
appDir: true,
|
||||||
|
},
|
||||||
images: {
|
images: {
|
||||||
domains: ["cdn.jsdelivr.net", "github.com", "cdn.simpleicons.org"],
|
domains: ["cdn.jsdelivr.net", "github.com", "cdn.simpleicons.org"],
|
||||||
},
|
},
|
||||||
|
|
62
package.json
62
package.json
|
@ -9,44 +9,44 @@
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"lint:fix": "eslint . -fix",
|
"lint:fix": "eslint . -fix",
|
||||||
"prepare": "husky"
|
"prepare": "husky install"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hookform/resolvers": "^3.9.0",
|
"@hookform/resolvers": "^3.1.0",
|
||||||
"@radix-ui/react-avatar": "^1.1.1",
|
"@radix-ui/react-avatar": "^1.0.3",
|
||||||
"@radix-ui/react-checkbox": "^1.1.2",
|
"@radix-ui/react-checkbox": "^1.0.4",
|
||||||
"@radix-ui/react-collapsible": "^1.1.1",
|
"@radix-ui/react-collapsible": "^1.0.3",
|
||||||
"@radix-ui/react-label": "^2.1.0",
|
"@radix-ui/react-label": "^2.0.2",
|
||||||
"@radix-ui/react-select": "^2.1.2",
|
"@radix-ui/react-select": "^1.2.2",
|
||||||
"@radix-ui/react-slot": "^1.1.0",
|
"@radix-ui/react-slot": "^1.0.2",
|
||||||
"@radix-ui/react-toast": "^1.2.2",
|
"@radix-ui/react-toast": "^1.1.4",
|
||||||
"class-variance-authority": "^0.6.1",
|
"class-variance-authority": "^0.6.0",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^1.2.1",
|
||||||
"lucide-react": "^0.344.0",
|
"lucide-react": "^0.240.0",
|
||||||
"next": "14.2.15",
|
"next": "13.4.4",
|
||||||
"next-themes": "^0.2.1",
|
"next-themes": "^0.2.1",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-dom": "18.2.0",
|
"react-dom": "18.2.0",
|
||||||
"react-hook-form": "^7.53.0",
|
"react-hook-form": "^7.44.3",
|
||||||
"tailwind-merge": "^1.14.0",
|
"tailwind-merge": "^1.13.0",
|
||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.5",
|
||||||
"zod": "^3.23.8"
|
"zod": "^3.21.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "20.11.24",
|
"eslint": "8.41.0",
|
||||||
"@types/react": "18.2.62",
|
"eslint-config-prettier": "^8.8.0",
|
||||||
"@types/react-dom": "18.2.19",
|
"husky": "^8.0.3",
|
||||||
"autoprefixer": "^10.4.20",
|
"lint-staged": "^13.2.2",
|
||||||
"eslint": "8.57.0",
|
"prettier": "^2.8.8",
|
||||||
"eslint-config-next": "14.1.2",
|
"prettier-plugin-tailwindcss": "^0.3.0",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"tailwindcss": "^3.3.2",
|
||||||
"husky": "^9.1.6",
|
"@types/node": "20.2.5",
|
||||||
"lint-staged": "^13.3.0",
|
"@types/react": "18.2.7",
|
||||||
"postcss": "^8.4.47",
|
"@types/react-dom": "18.2.4",
|
||||||
"prettier": "^3.3.3",
|
"eslint-config-next": "13.4.4",
|
||||||
"prettier-plugin-tailwindcss": "^0.6.8",
|
"autoprefixer": "^10.4.14",
|
||||||
"tailwindcss": "^3.4.14",
|
"postcss": "^8.4.24",
|
||||||
"typescript": "5.3.3"
|
"typescript": "5.0.4"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.js": "eslint --cache --fix",
|
"*.js": "eslint --cache --fix",
|
||||||
|
|
5885
pnpm-lock.yaml
5885
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue