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:
Danny Avila 2023-07-27 14:49:47 -04:00 committed by GitHub
parent 777d64088b
commit 369b1f4eba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 1403 additions and 3415 deletions

View file

@ -1,5 +1,5 @@
import React from 'react';
import { useGetStartupConfig } from '@librechat/data-provider';
import { useGetStartupConfig } from 'librechat-data-provider';
export default function Footer() {
const { data: config } = useGetStartupConfig();

View file

@ -9,7 +9,7 @@ import { Trash2 } from 'lucide-react';
import FileUpload from './FileUpload';
import getIcon from '~/utils/getIcon';
import getDefaultConversation from '~/utils/getDefaultConversation';
import { useDeletePresetMutation, useCreatePresetMutation } from '@librechat/data-provider';
import { useDeletePresetMutation, useCreatePresetMutation } from 'librechat-data-provider';
import {
Button,
DropdownMenu,

View file

@ -14,7 +14,7 @@ import { Settings, AgentSettings } from '../../Endpoints/Plugins/';
import { cn } from '~/utils/';
import store from '~/store';
import { useAuthContext } from '~/hooks/AuthContext';
import { useAvailablePluginsQuery } from '@librechat/data-provider';
import { useAvailablePluginsQuery } from 'librechat-data-provider';
function PluginsOptions() {
const { data: allPlugins } = useAvailablePluginsQuery();