mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
* chore: update configuration and dependencies for improved performance and compatibility - Refactored \`next-env.d.ts` to use import syntax for route types. - Updated \`next.config.mjs\` to enable turbopack and removed ESLint ignore settings. - Modified \`package.json\` and \`pnpm-lock.yaml\` to upgrade dependencies, including Next.js to version 16.1.6 and ajv to version 8.18.0. - Adjusted build scripts in \`package.json\` to use webpack. - Added a new \`proxy.ts\` file for handling markdown requests. - Updated \`tsconfig.json\` to include additional TypeScript definitions for development. * chore: update Next.js bundle analysis workflow for improved compatibility and performance - Updated GitHub Actions workflow to use the latest versions of actions for better stability. - Changed Node.js version to 20 and updated pnpm setup to version 4. - Simplified ESLint command and build process by using `pnpm lint` and `pnpm build`. - Enhanced comment handling by consolidating create/update comment steps into a single action. - Removed deprecated steps and comments for a cleaner workflow configuration. * chore: update package manager version in package.json - Set packageManager to pnpm@9.5.0 for improved dependency management. * chore: enhance Next.js bundle analysis workflow with caching and telemetry settings - Added environment variable to disable Next.js telemetry for privacy. - Implemented caching for Next.js build to improve workflow performance by restoring build artifacts. * refactor: simplify credentials generation logic in credentialsGenerator.ts - Replaced crypto module with window.crypto for generating random hex values. - Streamlined the generateCredentials function to use concise object return syntax.
117 lines
3.4 KiB
JSON
117 lines
3.4 KiB
JSON
{
|
|
"name": "librechat.ai",
|
|
"version": "1.0.0",
|
|
"description": "librechat.ai",
|
|
"packageManager": "pnpm@9.5.0",
|
|
"scripts": {
|
|
"dev": "next dev --webpack -p 3333",
|
|
"build": "next build --webpack",
|
|
"postbuild": "node scripts/clean-cache.ts",
|
|
"start": "next start -p 3333",
|
|
"analyze": "cross-env ANALYZE=true next build",
|
|
"lint": "eslint --cache --ignore-path .gitignore --max-warnings 0 .",
|
|
"lint:prettier": "prettier --cache --check --ignore-path .gitignore --ignore-path .prettierignore .",
|
|
"prettier": "bun run lint:prettier --write",
|
|
"prepare": "husky"
|
|
},
|
|
"homepage": "https://www.librechat.ai",
|
|
"dependencies": {
|
|
"@glidejs/glide": "^3.6.0",
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@mdx-js/loader": "^3.1.1",
|
|
"@mdx-js/react": "^3.1.1",
|
|
"@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-label": "^2.0.2",
|
|
"@radix-ui/react-popover": "^1.1.15",
|
|
"@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",
|
|
"@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",
|
|
"ajv": "^8.18.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"framer-motion": "^11.1.9",
|
|
"fumadocs-core": "14.7.7",
|
|
"fumadocs-mdx": "11.10.1",
|
|
"fumadocs-ui": "14.7.7",
|
|
"geist": "^1.3.1",
|
|
"js-yaml": "^4.1.0",
|
|
"lucide-react": "^0.378.0",
|
|
"next": "^15.5.10",
|
|
"next-sitemap": "^4.2.3",
|
|
"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-social-icons": "^6.16.0",
|
|
"react-tweet": "^3.2.1",
|
|
"remark-gfm": "^4.0.0",
|
|
"sharp": "^0.33.3",
|
|
"tailwind-merge": "^2.3.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"validator": "^13.15.23",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@next/bundle-analyzer": "^15.1.4",
|
|
"@types/mdx": "^2.0.13",
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/node": "18.16.0",
|
|
"@types/react": "^18.3.12",
|
|
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
"@typescript-eslint/parser": "^8.48.1",
|
|
"autoprefixer": "^10.4.19",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-next": "15.1.4",
|
|
"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",
|
|
"eslint-plugin-unicorn": "^53.0.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "^16.2.7",
|
|
"playwright": "^1.58.2",
|
|
"postcss": "^8.4.38",
|
|
"prettier": "^3.2.5",
|
|
"typescript": "^5.4.5",
|
|
"webpack": "^5.104.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"crisp-sdk-web": "^1.0.25"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"next": ">=15.5.10",
|
|
"preact": ">=10.28.2",
|
|
"webpack": ">=5.104.1",
|
|
"diff": ">=5.2.2"
|
|
}
|
|
},
|
|
"nextBundleAnalysis": {
|
|
"budget": 358400,
|
|
"budgetPercentIncreaseRed": 20,
|
|
"minimumChangeThreshold": 50,
|
|
"showDetails": true
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
]
|
|
}
|
|
}
|