This commit is contained in:
hailin 2025-05-21 10:42:59 +00:00
parent bbca756b9b
commit e0757826bf
4 changed files with 3399 additions and 4448 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,10 +8,9 @@
"update": "git pull origin main && npm run db-migrate && npm run db-types", "update": "git pull origin main && npm run db-migrate && npm run db-types",
"clean": "npm run lint:fix && npm run format:write", "clean": "npm run lint:fix && npm run format:write",
"dev": "next dev -H 0.0.0.0", "dev": "next dev -H 0.0.0.0",
"prebuild": "node scripts/generate-env.js",
"build": "next build", "build": "next build",
"start": "next start -H 0.0.0.0 -p 3030", "start": "next start -H 0.0.0.0 -p 3030",
"start:prod": "npm run build && pm2 start npm --name \"chatdesk-ui\" -- run start", "start:prod": "npm run build && pm2 start npm --name \"chatai-ui\" -- run start",
"lint": "next lint", "lint": "next lint",
"lint:fix": "next lint --fix", "lint:fix": "next lint --fix",
"analyze": "ANALYZE=true npm run build", "analyze": "ANALYZE=true npm run build",
@ -80,6 +79,7 @@
"mammoth": "^1.6.0", "mammoth": "^1.6.0",
"next": "^14.1.0", "next": "^14.1.0",
"next-i18n-router": "^5.2.0", "next-i18n-router": "^5.2.0",
"next-intl": "^4.0.2",
"next-pwa": "5.6.0", "next-pwa": "5.6.0",
"next-themes": "^0.2.1", "next-themes": "^0.2.1",
"openai": "^4.23.0", "openai": "^4.23.0",
@ -96,8 +96,7 @@
"remark-math": "^6.0.0", "remark-math": "^6.0.0",
"sonner": "^1.3.1", "sonner": "^1.3.1",
"uuid": "^9.0.1", "uuid": "^9.0.1",
"zod": "^3.22.4", "zod": "^3.22.4"
"next-intl": "^4.0.2"
}, },
"devDependencies": { "devDependencies": {
"@next/bundle-analyzer": "^14.0.2", "@next/bundle-analyzer": "^14.0.2",
@ -114,7 +113,7 @@
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"clsx": "^2.0.0", "clsx": "^2.0.0",
"eslint": "^8", "eslint": "^8",
"eslint-config-next": "^14.0.2", "eslint-config-next": "^14.2.29",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-tailwindcss": "^3.13.0", "eslint-plugin-tailwindcss": "^3.13.0",
"jest": "^29.7.0", "jest": "^29.7.0",

View File

@ -1,3 +1,3 @@
window.RUNTIME_ENV = { window.RUNTIME_ENV = {
SUPABASE_URL: "${SUPABASE_URL}" "SUPABASE_URL": "http://localhost:8000"
}; };