feat: update client package configuration and dependencies

- Added new dependencies for Rollup plugins and updated existing ones in package.json and package-lock.json.
- Introduced a new Rollup configuration file for building the client package.
- Refactored build scripts to include a dedicated build command for the client.
- Updated TypeScript configuration for improved module resolution and type declaration output.
- Integrated a Toast component from the client package into the main App component.
This commit is contained in:
Danny Avila 2025-07-13 08:35:49 -04:00 committed by Marco Beretta
parent 6ea1d5eab2
commit f8738b207c
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
8 changed files with 175 additions and 72 deletions

View file

@ -1,5 +1,6 @@
import { RecoilRoot } from 'recoil';
import { DndProvider } from 'react-dnd';
import { Toast } from '@librechat/client';
import { RouterProvider } from 'react-router-dom';
import * as RadixToast from '@radix-ui/react-toast';
import { HTML5Backend } from 'react-dnd-html5-backend';
@ -7,7 +8,6 @@ import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
import { QueryClient, QueryClientProvider, QueryCache } from '@tanstack/react-query';
import { ScreenshotProvider, ThemeProvider, useApiErrorBoundary } from './hooks';
import { ToastProvider } from './Providers';
import Toast from './components/ui/Toast';
import { LiveAnnouncer } from '~/a11y';
import { router } from './routes';