Compare commits

...

3 Commits

Author SHA1 Message Date
hamster1963
0e1f59bb30 v2.1.3 2025-01-09 00:57:48 +08:00
hamster1963
95525f0adb chore: bump nextjs version 2025-01-09 00:57:10 +08:00
hamster1963
aa9ea7b763 fix: enLocale import 2025-01-09 00:55:09 +08:00
3 changed files with 10 additions and 9 deletions

View File

@ -8,10 +8,13 @@ import { Badge } from "@/components/ui/badge"
import { Card, CardContent } from "@/components/ui/card"
import { cn, formatBytes } from "@/lib/utils"
import countries from "i18n-iso-countries"
import enLocale from "i18n-iso-countries/langs/en.json"
import { useTranslations } from "next-intl"
import { notFound, useRouter } from "next/navigation"
import { useEffect, useState } from "react"
countries.registerLocale(enLocale)
export default function ServerDetailClient({
server_id,
}: {
@ -61,8 +64,6 @@ export default function ServerDetailClient({
if (!data) return <ServerDetailLoading />
countries.registerLocale(require("i18n-iso-countries/langs/en.json"))
return (
<div>
<div

BIN
bun.lockb

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "2.1.2",
"version": "2.1.3",
"private": true,
"scripts": {
"dev": "next dev -p 3040",
@ -31,7 +31,7 @@
"@turf/turf": "^7.2.0",
"@types/d3-geo": "^3.1.0",
"@types/luxon": "^3.4.2",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"caniuse-lite": "^1.0.30001690",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
@ -44,7 +44,7 @@
"lucide-react": "^0.454.0",
"luxon": "^3.5.0",
"maxmind": "^4.3.23",
"next": "^15.1.3",
"next": "^15.1.4",
"next-auth": "^5.0.0-beta.25",
"next-intl": "^3.26.3",
"next-runtime-env": "^3.2.2",
@ -59,22 +59,22 @@
"swr": "^2.3.0",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"typescript-eslint": "^8.19.0"
"typescript-eslint": "^8.19.1"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@next/bundle-analyzer": "^15.1.3",
"@next/bundle-analyzer": "^15.1.4",
"@tailwindcss/postcss": "^4.0.0-beta.8",
"@types/node": "^22.10.5",
"@types/react": "^19.0.3",
"@types/react-dom": "^19.0.2",
"eslint-config-next": "^15.1.3",
"eslint-config-next": "^15.1.4",
"eslint-plugin-turbo": "^2.3.3",
"eslint-plugin-unused-imports": "^4.1.4",
"postcss": "^8.4.49",
"tailwindcss": "^4.0.0-beta.8",
"typescript": "^5.7.2",
"vercel": "^39.2.5"
"vercel": "^39.2.6"
},
"overrides": {
"react-is": "^19.0.0-rc-69d4b800-20241021"