mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
* chore: bump packages * chore: bump packages * chore: bump packages * chore: update package dependencies to latest versions * chore: update configuration and dependencies for Nextra migration - Updated TypeScript references in `next-env.d.ts` to align with new Nextra structure. - Modified `next.config.mjs` to ignore ESLint and TypeScript build errors during the build process. - Added a new `PACKAGE_UPDATE_SUMMARY.md` documenting package updates and migration details. - Downgraded Next.js and Nextra versions for compatibility, and updated related dependencies. - Introduced new `page.tsx` files for dynamic routing and metadata generation in the app directory. - Added 'use client' directive to multiple components to support client-side rendering. - Refactored components to remove deprecated Nextra context methods in preparation for App Router. * chore: update ESLint configuration to use __dirname for tsconfigRootDir and fix lint errors * chore: update initial statistics for GitHub stars and Docker pulls in Usage component * chore: refactor clean-cache script to use CommonJS require syntax * chore: remove redundant ESLint installation step in workflow
125 lines
3.9 KiB
JSON
125 lines
3.9 KiB
JSON
{
|
|
"name": "librechat.ai",
|
|
"version": "1.0.0",
|
|
"description": "librechat.ai",
|
|
"scripts": {
|
|
"dev": "next dev -p 3333",
|
|
"build": "next build",
|
|
"postbuild": "node scripts/clean-cache.ts",
|
|
"start": "next start -p 3333",
|
|
"analyze": "cross-env ANALYZE=true next build",
|
|
"postbuild:old": "next-sitemap && echo 'Removing .next/cache to resolve Nextra caching bug' && rm -rf .next/cache",
|
|
"lint": "eslint --cache --ignore-path .gitignore --max-warnings 0 .",
|
|
"lint:prettier": "prettier --cache --check --ignore-path .gitignore --ignore-path .prettierignore .",
|
|
"prettier": "pnpm lint:prettier --write",
|
|
"prepare": "husky"
|
|
},
|
|
"homepage": "https://www.librechat.ai",
|
|
"dependencies": {
|
|
"@calcom/embed-react": "^1.5.0",
|
|
"@glidejs/glide": "^3.6.0",
|
|
"@headlessui/react": "^2.0.3",
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
"@radix-ui/react-avatar": "^1.0.4",
|
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
"@radix-ui/react-icons": "^1.3.0",
|
|
"@radix-ui/react-label": "^2.0.2",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-separator": "^1.0.3",
|
|
"@radix-ui/react-slot": "^1.0.2",
|
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
"@supabase/supabase-js": "^2.86.2",
|
|
"@tabler/icons-react": "^3.21.0",
|
|
"@tanstack/react-table": "^8.16.0",
|
|
"@tsparticles/engine": "^3.7.1",
|
|
"@tsparticles/react": "^3.0.0",
|
|
"@tsparticles/slim": "^3.7.1",
|
|
"@vercel/analytics": "^1.2.2",
|
|
"@vercel/og": "^0.6.2",
|
|
"@vercel/speed-insights": "^1.0.10",
|
|
"@vidstack/react": "^0.6.15",
|
|
"ace-builds": "^1.43.5",
|
|
"ai": "^5.0.107",
|
|
"ajv": "^8.13.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"axios": "^1.13.2",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"eslint-config-next": "15.1.4",
|
|
"eslint-plugin-unicorn": "^53.0.0",
|
|
"framer-motion": "^11.1.9",
|
|
"geist": "^1.3.1",
|
|
"gpt3-tokenizer": "^1.1.5",
|
|
"install": "^0.13.0",
|
|
"js-yaml": "^4.1.0",
|
|
"langfuse": "3.10.0",
|
|
"lucide-react": "^0.378.0",
|
|
"mongodb": "^6.6.1",
|
|
"mongoose": "^9.0.0",
|
|
"next": "^15.0.0",
|
|
"next-auth": "^4.24.13",
|
|
"next-sitemap": "^4.2.3",
|
|
"nextra": "3.0.0-alpha.22",
|
|
"nextra-theme-docs": "3.0.0-alpha.22",
|
|
"openai-edge": "^1.2.2",
|
|
"postcss": "^8.4.38",
|
|
"posthog-js": "^1.131.4",
|
|
"react": "^18.3.1",
|
|
"react-ace": "^11.0.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-hook-form": "^7.51.4",
|
|
"react-hot-toast": "^2.4.1",
|
|
"react-icons": "^5.2.1",
|
|
"react-markdown": "^9.0.1",
|
|
"react-responsive": "^10.0.0",
|
|
"react-select": "^5.8.0",
|
|
"react-social-icons": "^6.16.0",
|
|
"react-syntax-highlighter": "^16.1.0",
|
|
"react-tweet": "^3.2.1",
|
|
"remark-gfm": "^4.0.0",
|
|
"sharp": "^0.33.3",
|
|
"styled-components": "^6.1.11",
|
|
"tailwind-merge": "^2.3.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"validator": "^13.15.23",
|
|
"webpack": "^5.103.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@next/bundle-analyzer": "^15.1.4",
|
|
"@types/node": "18.16.0",
|
|
"@types/react": "^18.3.12",
|
|
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
"@typescript-eslint/parser": "^8.48.1",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-mdx": "^3.1.5",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-react": "^7.34.1",
|
|
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^16.2.7",
|
|
"prettier": "^3.2.5",
|
|
"typescript": "^5.4.5"
|
|
},
|
|
"optionalDependencies": {
|
|
"crisp-sdk-web": "^1.0.25"
|
|
},
|
|
"nextBundleAnalysis": {
|
|
"budget": 358400,
|
|
"budgetPercentIncreaseRed": 20,
|
|
"minimumChangeThreshold": 50,
|
|
"showDetails": true
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
]
|
|
}
|
|
}
|