diff --git a/apps/admin/app/dashboard/payment/payment-table.tsx b/apps/admin/app/dashboard/payment/payment-table.tsx index de2c3b5..55a0513 100644 --- a/apps/admin/app/dashboard/payment/payment-table.tsx +++ b/apps/admin/app/dashboard/payment/payment-table.tsx @@ -93,7 +93,7 @@ export default function PaymentTable() { { accessorKey: 'platform', header: t('platform'), - cell: ({ row }) => {t(row.getValue('platform'))}, + cell: ({ row }) => {t(row.original.platform)}, }, { accessorKey: 'notify_url', diff --git a/apps/admin/package.json b/apps/admin/package.json index 8345a93..4458130 100644 --- a/apps/admin/package.json +++ b/apps/admin/package.json @@ -10,35 +10,35 @@ "start": "next start" }, "dependencies": { - "@lottiefiles/dotlottie-react": "^0.12.1", - "@tanstack/react-query": "^5.63.0", - "@tanstack/react-query-next-experimental": "^5.63.0", + "@lottiefiles/dotlottie-react": "^0.15.1", + "@tanstack/react-query": "^5.85.5", + "@tanstack/react-query-next-experimental": "^5.85.5", "@workspace/ui": "workspace:*", - "ahooks": "^3.8.4", - "axios": "^1.7.9", + "ahooks": "^3.9.4", + "axios": "^1.11.0", "js-yaml": "^4.1.0", - "nanoid": "^5.0.9", - "next": "^15.1.4", + "nanoid": "^5.1.5", + "next": "^15.5.2", "next-intl": "^3.26.3", - "next-runtime-env": "^3.2.2", - "next-themes": "^0.4.4", - "nextjs-toploader": "^3.7.15", - "radash": "^12.1.0", - "react": "^19.0.0", - "react-dom": "^19.0.0", + "next-runtime-env": "^3.3.0", + "next-themes": "^0.4.6", + "nextjs-toploader": "^3.8.16", + "radash": "^12.1.1", + "react": "^19.1.1", + "react-dom": "^19.1.1", "react-turnstile": "^1.1.4", - "universal-cookie": "^7.2.2", - "zustand": "^5.0.3" + "universal-cookie": "^8.0.1", + "zustand": "^5.0.8" }, "devDependencies": { "@types/js-yaml": "^4.0.9", - "@types/node": "^22.10.5", - "@types/react": "^19.0.4", - "@types/react-dom": "^19.0.2", + "@types/node": "^24.3.0", + "@types/react": "^19.1.11", + "@types/react-dom": "^19.1.8", "@types/rtl-detect": "^1.0.3", "@workspace/eslint-config": "workspace:*", "@workspace/typescript-config": "workspace:*", - "typescript": "^5.7.3" + "typescript": "^5.9.2" }, "i18n": { "entry": "./locales/en-US", diff --git a/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx b/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx index d7802e5..9c5253d 100644 --- a/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx +++ b/apps/user/app/(main)/(user)/profile/third-party-accounts.tsx @@ -65,7 +65,7 @@ function MobileBindDialog({ return ( - {children} + {children} {t('bindMobile')} diff --git a/apps/user/app/(main)/(user)/wallet/page.tsx b/apps/user/app/(main)/(user)/wallet/page.tsx index fff3e06..171d17d 100644 --- a/apps/user/app/(main)/(user)/wallet/page.tsx +++ b/apps/user/app/(main)/(user)/wallet/page.tsx @@ -61,7 +61,7 @@ export default function Page() { - > + > action={ref} request={async (pagination, filter) => { const response = await queryUserBalanceLog({ ...pagination, ...filter }); @@ -77,7 +77,7 @@ export default function Page() {
  • {t('createdAt')} - +
  • {t('type.0')} diff --git a/apps/user/app/(main)/purchasing/content.tsx b/apps/user/app/(main)/purchasing/content.tsx index c7fefe5..e590087 100644 --- a/apps/user/app/(main)/purchasing/content.tsx +++ b/apps/user/app/(main)/purchasing/content.tsx @@ -86,7 +86,7 @@ export default function Content({ subscription }: { subscription?: API.Subscribe console.log(error); } }); - }, [params, router, subscription?.id]); + }, [params, router]); if (!subscription) { return
    {t('subscriptionNotFound')}
    ; diff --git a/apps/user/app/bind/[platform]/certification.tsx b/apps/user/app/bind/[platform]/certification.tsx index 7c43d8f..b893b27 100644 --- a/apps/user/app/bind/[platform]/certification.tsx +++ b/apps/user/app/bind/[platform]/certification.tsx @@ -27,6 +27,7 @@ export default function Certification({ platform, children }: CertificationProps .catch((error) => { router.replace('/auth'); }); + // eslint-disable-next-line react-hooks/exhaustive-deps }, [pathname]); return children; diff --git a/apps/user/app/layout.tsx b/apps/user/app/layout.tsx index ed0effb..f2b8f43 100644 --- a/apps/user/app/layout.tsx +++ b/apps/user/app/layout.tsx @@ -8,20 +8,20 @@ import { NextIntlClientProvider } from 'next-intl'; import { getLocale, getMessages } from 'next-intl/server'; import { PublicEnvScript } from 'next-runtime-env'; import { unstable_noStore as noStore } from 'next/cache'; -// import { Geist, Geist_Mono } from 'next/font/google'; +// import { Geist, Geist_Mono } from "next/font/google"; import { cookies } from 'next/headers'; import { Metadata, Viewport } from 'next/types'; import NextTopLoader from 'nextjs-toploader'; import React from 'react'; -// const fontSans = Geist({ -// subsets: ['latin'], -// variable: '--font-sans', +// const geistSans = Geist({ +// variable: "--font-geist-sans", +// subsets: ["latin"], // }); -// const fontMono = Geist_Mono({ -// subsets: ['latin'], -// variable: '--font-mono', +// const geistMono = Geist_Mono({ +// variable: "--font-geist-mono", +// subsets: ["latin"], // }); export async function generateMetadata(): Promise { @@ -106,7 +106,7 @@ export default async function RootLayout({ diff --git a/apps/user/app/oauth/[platform]/certification.tsx b/apps/user/app/oauth/[platform]/certification.tsx index 5bc0748..19cdb56 100644 --- a/apps/user/app/oauth/[platform]/certification.tsx +++ b/apps/user/app/oauth/[platform]/certification.tsx @@ -32,6 +32,7 @@ export default function Certification({ platform, children }: CertificationProps .catch((error) => { router.replace('/auth'); }); + // eslint-disable-next-line react-hooks/exhaustive-deps }, [pathname]); return children; diff --git a/apps/user/components/subscribe/billing.tsx b/apps/user/components/subscribe/billing.tsx index 6d32d70..3e9764d 100644 --- a/apps/user/components/subscribe/billing.tsx +++ b/apps/user/components/subscribe/billing.tsx @@ -8,7 +8,7 @@ interface SubscribeBillingProps { order?: Partial< API.OrderDetail & { unit_price: number; - unit_time: number; + unit_time: string; subscribe_discount: number; } >; diff --git a/apps/user/package.json b/apps/user/package.json index 358c1e6..515c15b 100644 --- a/apps/user/package.json +++ b/apps/user/package.json @@ -10,41 +10,41 @@ "start": "next start" }, "dependencies": { - "@stripe/react-stripe-js": "^3.4.0", - "@stripe/stripe-js": "^6.0.0", - "@tanstack/react-query": "^5.63.0", - "@tanstack/react-query-next-experimental": "^5.63.0", + "@stripe/react-stripe-js": "^3.9.2", + "@stripe/stripe-js": "^7.9.0", + "@tanstack/react-query": "^5.85.5", + "@tanstack/react-query-next-experimental": "^5.85.5", "@workspace/ui": "workspace:*", - "ahooks": "^3.8.4", - "axios": "^1.7.9", - "framer-motion": "^11.16.1", + "ahooks": "^3.9.4", + "axios": "^1.11.0", + "framer-motion": "^12.23.12", "gray-matter": "^4.0.3", - "lucide-react": "^0.469.0", - "next": "^15.1.4", + "lucide-react": "^0.542.0", + "next": "^15.5.2", "next-intl": "^3.26.3", - "next-runtime-env": "^3.2.2", - "next-themes": "^0.4.4", - "nextjs-toploader": "^3.7.15", + "next-runtime-env": "^3.3.0", + "next-themes": "^0.4.6", + "nextjs-toploader": "^3.8.16", "qrcode.react": "^4.2.0", - "radash": "^12.1.0", - "react": "^19.0.0", + "radash": "^12.1.1", + "react": "^19.1.1", "react-copy-to-clipboard": "^5.1.0", - "react-dom": "^19.0.0", + "react-dom": "^19.1.1", "react-turnstile": "^1.1.4", "rtl-detect": "^1.1.2", - "ua-parser-js": "^2.0.0", - "universal-cookie": "^7.2.2", - "zustand": "^5.0.3" + "ua-parser-js": "^2.0.4", + "universal-cookie": "^8.0.1", + "zustand": "^5.0.8" }, "devDependencies": { - "@types/node": "^22.10.5", - "@types/react": "^19.0.4", + "@types/node": "^24.3.0", + "@types/react": "^19.1.11", "@types/react-copy-to-clipboard": "^5.0.7", - "@types/react-dom": "^19.0.2", + "@types/react-dom": "^19.1.8", "@types/rtl-detect": "^1.0.3", "@workspace/eslint-config": "workspace:*", "@workspace/typescript-config": "workspace:*", - "typescript": "^5.7.3" + "typescript": "^5.9.2" }, "i18n": { "entry": "./locales/en-US", diff --git a/bun.lockb b/bun.lockb index 73b7197..97781ff 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index fa4e439..2dfe0a3 100644 --- a/package.json +++ b/package.json @@ -48,18 +48,18 @@ }, "prettier": "@workspace/prettier-config", "devDependencies": { - "@netlify/plugin-nextjs": "^5.11.6", - "@umijs/openapi": "^1.13.0", + "@netlify/plugin-nextjs": "^5.12.1", + "@umijs/openapi": "^1.13.15", "@workspace/commitlint-config": "workspace:*", "@workspace/eslint-config": "workspace:*", "@workspace/prettier-config": "workspace:*", "@workspace/typescript-config": "workspace:*", "husky": "^9.1.7", - "lint-staged": "^15.3.0", + "lint-staged": "^16.1.5", "semantic-release": "21.1.2", "semantic-release-config-gitmoji": "^1.5.3", - "turbo": "^2.3.3", - "typescript": "^5.7.3" + "turbo": "^2.5.6", + "typescript": "^5.9.2" }, "packageManager": "bun@1.1.43", "engines": { diff --git a/packages/ui/src/custom-components/pro-table/pro-table.tsx b/packages/ui/src/custom-components/pro-table/pro-table.tsx index bda37d4..da64cf4 100644 --- a/packages/ui/src/custom-components/pro-table/pro-table.tsx +++ b/packages/ui/src/custom-components/pro-table/pro-table.tsx @@ -30,7 +30,7 @@ import { ColumnToggle } from '@workspace/ui/custom-components/pro-table/column-t import { Pagination } from '@workspace/ui/custom-components/pro-table/pagination'; import { SortableRow } from '@workspace/ui/custom-components/pro-table/sortable-row'; import { ProTableWrapper } from '@workspace/ui/custom-components/pro-table/wrapper'; -import { cn } from '@workspace/ui/lib/utils.js'; +import { cn } from '@workspace/ui/lib/utils'; import { useSize } from 'ahooks'; import { GripVertical, ListRestart, Loader, RefreshCcw } from 'lucide-react'; import React, { Fragment, useEffect, useImperativeHandle, useRef, useState } from 'react';