mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-15 06:58:10 +01:00
🏎️ feat: Smart Reinstall with Turborepo Caching for Better DX (#11785)
* chore: Add Turborepo support and smart reinstall script - Updated .gitignore to include Turborepo cache directory. - Added Turbo as a dependency in package.json and package-lock.json. - Introduced turbo.json configuration for build tasks. - Created smart-reinstall.js script to optimize dependency installation and package builds using Turborepo caching. * fix: Address PR review feedback for smart reinstall - Fix Windows compatibility in hasTurbo() by checking for .cmd/.ps1 shims - Remove Unix-specific shell syntax (> /dev/null 2>&1) from cache clearing - Split try/catch blocks so daemon stop failure doesn't block cache clear - Add actionable tips in error output pointing to --force and --verbose
This commit is contained in:
parent
ccbf9dc093
commit
e50f59062f
5 changed files with 377 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
"name": "LibreChat",
|
||||
"version": "v0.8.2",
|
||||
"description": "",
|
||||
"packageManager": "npm@11.10.0",
|
||||
"workspaces": [
|
||||
"api",
|
||||
"client",
|
||||
|
|
@ -15,6 +16,7 @@
|
|||
"user-stats": "node config/user-stats.js",
|
||||
"rebuild:package-lock": "node config/packages",
|
||||
"reinstall": "node config/update.js -l -g",
|
||||
"smart-reinstall": "node config/smart-reinstall.js",
|
||||
"b:reinstall": "bun config/update.js -b -l -g",
|
||||
"reinstall:docker": "node config/update.js -d -g",
|
||||
"update:local": "node config/update.js -l",
|
||||
|
|
@ -128,6 +130,7 @@
|
|||
"lint-staged": "^15.4.3",
|
||||
"prettier": "^3.5.0",
|
||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||
"turbo": "^2.8.7",
|
||||
"typescript-eslint": "^8.24.0"
|
||||
},
|
||||
"overrides": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue