mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 09:50:15 +01:00
chore: remove data-provider and use npm package instead (#713)
* chore: remove data-provider, install npm package * chore: replace monorepo package with npm package: librechat-data-provider * chore: remove data-provider scripts * chore: remove data-provider from .eslintrc.js
This commit is contained in:
parent
777d64088b
commit
369b1f4eba
46 changed files with 1403 additions and 3415 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { TPlugin, TPluginAuthConfig } from '@librechat/data-provider';
|
||||
import { TPlugin, TPluginAuthConfig } from 'librechat-data-provider';
|
||||
import { Save } from 'lucide-react';
|
||||
import { useForm } from 'react-hook-form';
|
||||
import { TPluginAction } from './PluginStoreDialog';
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import {
|
|||
useAvailablePluginsQuery,
|
||||
useUpdateUserPluginsMutation,
|
||||
TPlugin,
|
||||
} from '@librechat/data-provider';
|
||||
} from 'librechat-data-provider';
|
||||
import { useAuthContext } from '~/hooks/AuthContext';
|
||||
|
||||
type TPluginStoreDialogProps = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { TPlugin } from '@librechat/data-provider';
|
||||
import { TPlugin } from 'librechat-data-provider';
|
||||
import { XCircle, DownloadCloud } from 'lucide-react';
|
||||
|
||||
type TPluginStoreItemProps = {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import { render } from 'layout-test-utils';
|
||||
import PluginStoreDialog from '../PluginStoreDialog';
|
||||
import userEvent from '@testing-library/user-event';
|
||||
import * as mockDataProvider from '@librechat/data-provider';
|
||||
import * as mockDataProvider from 'librechat-data-provider';
|
||||
|
||||
jest.mock('@librechat/data-provider');
|
||||
jest.mock('librechat-data-provider');
|
||||
|
||||
class ResizeObserver {
|
||||
observe() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue