This commit is contained in:
GH Action - Upstream Sync 2024-11-18 01:56:28 +00:00
commit 6d4d4c167c
4 changed files with 8 additions and 4 deletions

View File

@ -14,3 +14,4 @@ NEXT_PUBLIC_CustomTitle=NezhaDash
NEXT_PUBLIC_CustomDescription=NezhaDash is a dashboard for Nezha.
NEXT_PUBLIC_Links=[{"link":"https://baidu.com","name":"Baidu"},{"link":"https://google.com","name":"Google"}]
NEXT_PUBLIC_DisableIndex=false
NEXT_PUBLIC_BASE_PATH=/dash

BIN
bun.lockb

Binary file not shown.

View File

@ -1,6 +1,8 @@
import withPWAInit from "@ducanh2912/next-pwa";
import withBundleAnalyzer from "@next/bundle-analyzer";
import createNextIntlPlugin from "next-intl/plugin";
import { env } from "next-runtime-env";
const bundleAnalyzer = withBundleAnalyzer({
enabled: process.env.ANALYZE === "true",
@ -22,6 +24,7 @@ const withPWA = withPWAInit({
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
basePath: env("NEXT_PUBLIC_BASE_PATH") || "",
logging: {
fetches: {
fullUrl: true,

View File

@ -1,6 +1,6 @@
{
"name": "nezha-dash",
"version": "1.2.9",
"version": "1.3.0",
"private": true,
"scripts": {
"dev": "next dev -p 3020",
@ -51,19 +51,19 @@
"typescript-eslint": "^8.14.0"
},
"devDependencies": {
"eslint-plugin-turbo": "^2.2.3",
"eslint-plugin-turbo": "^2.3.0",
"eslint-plugin-unused-imports": "^4.1.4",
"@next/bundle-analyzer": "^15.0.3",
"@types/node": "^22.9.0",
"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"autoprefixer": "^10.4.20",
"eslint": "^9.14.0",
"eslint": "^9.15.0",
"eslint-config-next": "^15.0.3",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"tailwindcss": "^3.4.14",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
},
"overrides": {