mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
Removes 26 of the 32 Rollup-era devDependency declarations left behind when these packages moved to tsdown, plus two stale config references and an override that went inert in #14483. - Drop all 8 from `packages/api`, all 8 from `packages/client` (including `concat-with-sourcemaps`), and all 10 from `packages/data-schemas`. None of their tsdown configs import anything from rollup, and none has a rollup script or config file. - Keep all 6 in `packages/data-provider`. Five of them back the `rollup:api` script, which the "Circular dependency checks" CI job runs to surface rollup's circular-dependency warnings, and `@rollup/plugin-replace` is imported directly by that package's tsdown config. - Drop `rollup.config.js` (exists nowhere in the repo) and `server-rollup.config.js` (real, but never read by the `build` task, so listing it only caused spurious cache invalidation) from `turbo.json`. - Drop the `**/rollup.config.js` glob from `eslint.config.mjs`. It matches nothing, and never matched `server-rollup.config.js`. - Drop the root `svgo` override, dead since #14483 removed `rollup-plugin-postcss`, the only thing that pulled svgo into the tree.
35 lines
952 B
JSON
35 lines
952 B
JSON
{
|
|
"$schema": "https://v2-10-5.turborepo.dev/schema.json",
|
|
"globalDependencies": ["package-lock.json"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"src/**",
|
|
"!src/**/__tests__/**",
|
|
"!src/**/__mocks__/**",
|
|
"!src/**/*.test.*",
|
|
"!src/**/*.spec.*",
|
|
"scripts/**",
|
|
"tsdown.config.mjs",
|
|
"tsconfig.json",
|
|
"tsconfig.build.json",
|
|
"vite.config.ts",
|
|
"index.html",
|
|
"postcss.config.*",
|
|
"tailwind.config.*",
|
|
"package.json"
|
|
],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"@librechat/data-schemas#build": {
|
|
"dependsOn": ["^build", "librechat-data-provider#build"]
|
|
},
|
|
"@librechat/api#build": {
|
|
"dependsOn": ["^build", "librechat-data-provider#build", "@librechat/data-schemas#build"]
|
|
},
|
|
"@librechat/client#build": {
|
|
"dependsOn": ["^build", "librechat-data-provider#build"]
|
|
}
|
|
}
|
|
}
|