mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-01 21:24:01 -04:00
b27fae84a5
Updated dependencies to fix Next.js and React CVE vulnerabilities. The fix-react2shell-next tool automatically updated the following packages to their secure versions: - next - react-server-dom-webpack - react-server-dom-parcel - react-server-dom-turbopack All package.json files have been scanned and vulnerable versions have been patched to the correct fixed versions based on the official React advisory. Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
143 lines
4.5 KiB
JSON
143 lines
4.5 KiB
JSON
{
|
|
"name": "@llamaindex/server",
|
|
"description": "LlamaIndex Server",
|
|
"version": "0.4.1",
|
|
"type": "module",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
},
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"server",
|
|
"project",
|
|
"bin"
|
|
],
|
|
"bin": {
|
|
"llamaindex-server": "./bin/eject.cjs"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/run-llama/LlamaIndexTS.git",
|
|
"directory": "packages/server"
|
|
},
|
|
"scripts": {
|
|
"dev": "bunchee --watch",
|
|
"clean": "rm -rf ./dist ./server ./project next/.next next/out ./temp",
|
|
"prebuild": "pnpm clean",
|
|
"build": "bunchee",
|
|
"postbuild": "pnpm prepare:nextjs && pnpm prepare:ts-server && pnpm prepare:py-static",
|
|
"prepare:nextjs": "cp -r ./next ./project && cp -r ./src/utils ./project/app/api/chat && cp -r ./project-config/* ./project/",
|
|
"prepare:ts-server": "pnpm copy:next-src && pnpm build:css && pnpm build:api",
|
|
"prepare:py-static": "pnpm prepare:static && pnpm build:static && pnpm copy:static",
|
|
"copy:next-src": "cp -r ./next ./server",
|
|
"build:css": "postcss server/app/globals.css -o server/app/globals.css && rm -rf ./server/postcss.config.js",
|
|
"build:api": "rm -rf ./server/app/api && tsc --skipLibCheck --project tsconfig.api.json",
|
|
"prepare:static": "cp -r ./next ./temp && rm -rf ./temp/app/api && mv ./temp/next-build.config.ts ./temp/next.config.ts",
|
|
"build:static": "cd ./temp && next build",
|
|
"copy:static": "cp -r ./temp/out ./dist/static && rm -rf ./temp"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/babel__standalone": "^7.1.9",
|
|
"@types/babel__traverse": "^7.20.7",
|
|
"llamaindex": "~0.11.0",
|
|
"postcss": "^8.5.3",
|
|
"postcss-cli": "^11.0.1",
|
|
"tailwindcss": "^4",
|
|
"tsx": "^4.19.3",
|
|
"tw-animate-css": "1.2.5",
|
|
"vitest": "^2.1.5",
|
|
"typescript": "^5.7.3",
|
|
"@types/node": "^22.9.0",
|
|
"@types/react": "^18.2.61",
|
|
"@types/react-dom": "^18.2.19",
|
|
"bunchee": "6.4.0"
|
|
},
|
|
"dependencies": {
|
|
"@jridgewell/sourcemap-codec": "1.5.0",
|
|
"@jridgewell/gen-mapping": "0.3.8",
|
|
"@jridgewell/trace-mapping": "0.3.25",
|
|
"@babel/parser": "^7.27.0",
|
|
"@babel/standalone": "^7.27.0",
|
|
"@babel/traverse": "^7.27.0",
|
|
"@babel/types": "^7.27.0",
|
|
"@hookform/resolvers": "^5.0.1",
|
|
"@llamaindex/chat-ui": "workspace:*",
|
|
"@radix-ui/react-accordion": "^1.2.3",
|
|
"@radix-ui/react-alert-dialog": "^1.1.7",
|
|
"@radix-ui/react-aspect-ratio": "^1.1.3",
|
|
"@radix-ui/react-avatar": "^1.1.4",
|
|
"@radix-ui/react-checkbox": "^1.1.5",
|
|
"@radix-ui/react-collapsible": "^1.1.3",
|
|
"@radix-ui/react-context-menu": "^2.2.7",
|
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.7",
|
|
"@radix-ui/react-hover-card": "^1.1.7",
|
|
"@radix-ui/react-label": "^2.1.0",
|
|
"@radix-ui/react-menubar": "^1.1.7",
|
|
"@radix-ui/react-navigation-menu": "^1.2.6",
|
|
"@radix-ui/react-popover": "^1.1.7",
|
|
"@radix-ui/react-progress": "^1.1.3",
|
|
"@radix-ui/react-radio-group": "^1.2.4",
|
|
"@radix-ui/react-scroll-area": "^1.2.4",
|
|
"@radix-ui/react-select": "^2.1.6",
|
|
"@radix-ui/react-separator": "^1.1.3",
|
|
"@radix-ui/react-slider": "^1.2.1",
|
|
"@radix-ui/react-slot": "^1.1.2",
|
|
"@radix-ui/react-switch": "^1.1.4",
|
|
"@radix-ui/react-tabs": "^1.1.3",
|
|
"@radix-ui/react-toggle": "^1.1.3",
|
|
"@radix-ui/react-toggle-group": "^1.1.3",
|
|
"@radix-ui/react-tooltip": "^1.1.4",
|
|
"@ai-sdk/react": "^2.0.4",
|
|
"ai": "^5.0.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"embla-carousel-react": "^8.6.0",
|
|
"input-otp": "^1.4.2",
|
|
"lucide-react": "^0.460.0",
|
|
"next": "15.3.8",
|
|
"next-themes": "^0.4.3",
|
|
"react": "^19.1.0",
|
|
"react-day-picker": "9.7.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-hook-form": "^7.55.0",
|
|
"react-resizable-panels": "^2.1.7",
|
|
"recharts": "^2.15.2",
|
|
"sonner": "^2.0.3",
|
|
"tailwind-merge": "^2.6.0",
|
|
"vaul": "^1.1.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@llamaindex/env": "~0.1.30",
|
|
"@llamaindex/workflow": "~1.1.8",
|
|
"llamaindex": "~0.11.0",
|
|
"zod": "^3.24.2",
|
|
"zod-to-json-schema": "^3.23.3"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"zod": {
|
|
"optional": true
|
|
},
|
|
"zod-to-json-schema": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|