Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused recoil dependency #551

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions libs/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"description": "Reusable react components of the Chainlit UI.",
"version": "0.0.1",
"scripts": {
"build": "tsup src/index.ts --clean --format esm,cjs --dts --external react --external recoil --legacy-output --minify --sourcemap --treeshake",
"build:watch": "tsup src/index.ts --watch --clean --format esm,cjs --dts --external react --external recoil --legacy-output --minify --sourcemap --treeshake",
"build": "tsup src/index.ts --clean --format esm,cjs --dts --external react --legacy-output --minify --sourcemap --treeshake",
"build:watch": "tsup src/index.ts --watch --clean --format esm,cjs --dts --external react --legacy-output --minify --sourcemap --treeshake",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format": "prettier **/*.{ts,tsx} --write --loglevel error",
"test": "vitest run",
Expand Down Expand Up @@ -57,7 +57,6 @@
"@types/react": "^18.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"recoil": "^0.7.7",
"uuid": "^9.0.0"
},
"dependencies": {
Expand Down
72 changes: 24 additions & 48 deletions libs/react-components/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions libs/react-components/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/// <reference types="vitest" />
import react from '@vitejs/plugin-react-swc';
import path from 'path';
import { defineConfig } from 'vite';
import tsconfigPaths from 'vite-tsconfig-paths';

Expand All @@ -10,10 +9,5 @@ export default defineConfig({
environment: 'jsdom',
setupFiles: './tests/setup-tests.ts',
include: ['./**/*.{test,spec}.?(c|m)[jt]s?(x)']
},
resolve: {
alias: {
recoil: path.resolve(__dirname, './node_modules/recoil')
}
}
});