- Missed a few files that needed to be .jsx

- seperated out package locks per package
This commit is contained in:
Greg L 2023-11-23 18:34:19 -05:00
parent 35ad74f8a3
commit 4061dd0abb
19 changed files with 32528 additions and 21254 deletions

2
.eslintignore Normal file
View File

@ -0,0 +1,2 @@
node_modules
dist

4
.npmrc Normal file
View File

@ -0,0 +1,4 @@
shared-workspace-lockfile=false
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=@types*

View File

@ -11,12 +11,13 @@
], ],
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"dev": "kill-port 3000 5173 && pnpm --filter \"./packages/**\" dev", "dev": "kill-port 3000 5173 && pnpm --filter './packages/**' dev",
"build": "pnpm --filter \"./packages/**\" build", "build": "pnpm clean && pnpm -r --filter \"./packages/**\" build",
"start": "kill-port 3000 && run-script-os", "start": "kill-port 3000 && run-script-os",
"start:windows": "cd packages/server/bin && run start", "start:windows": "cd packages/server/bin && run start",
"start:default": "cd packages/server/bin && ./run start", "start:default": "cd packages/server/bin && ./run start",
"clean": "pnpm exec -ws -- rimraf dist build", "clean": " pnpm --filter './packages/**' clean",
"nuke": " pnpm --filter './packages/**' nuke && rimraf node_modules",
"format": "prettier --write \"**/*.{ts,tsx,md}\"", "format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "eslint \"**/*.{js,jsx,ts,tsx,json,md}\"", "lint": "eslint \"**/*.{js,jsx,ts,tsx,json,md}\"",
"lint-fix": "pnpm lint --fix", "lint-fix": "pnpm lint --fix",

View File

@ -0,0 +1 @@
export * from '.'

View File

@ -7,7 +7,10 @@
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"build": "tsc && gulp", "build": "tsc && gulp",
"dev": "tsc --watch" "dev": "tsc --watch",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"clean": "rimraf dist",
"nuke": "rimraf dist node_modules"
}, },
"keywords": [], "keywords": [],
"homepage": "https://flowiseai.com", "homepage": "https://flowiseai.com",
@ -40,6 +43,8 @@
"cheerio": "^1.0.0-rc.12", "cheerio": "^1.0.0-rc.12",
"chromadb": "^1.5.11", "chromadb": "^1.5.11",
"cohere-ai": "^6.2.0", "cohere-ai": "^6.2.0",
"crypto-js": "^4.1.1",
"css-what": "^6.1.0",
"d3-dsv": "2", "d3-dsv": "2",
"dotenv": "^16.0.0", "dotenv": "^16.0.0",
"express": "^4.17.3", "express": "^4.17.3",
@ -49,11 +54,13 @@
"graphql": "^16.6.0", "graphql": "^16.6.0",
"html-to-text": "^9.0.5", "html-to-text": "^9.0.5",
"ioredis": "^5.3.2", "ioredis": "^5.3.2",
"jsdom": "^22.1.0",
"langchain": "^0.0.165", "langchain": "^0.0.165",
"langfuse-langchain": "^1.0.31", "langfuse-langchain": "^1.0.31",
"langsmith": "^0.0.32", "langsmith": "^0.0.32",
"linkifyjs": "^4.1.1", "linkifyjs": "^4.1.1",
"llmonitor": "^0.5.5", "llmonitor": "^0.5.5",
"lodash": "^4.17.21",
"mammoth": "^1.5.1", "mammoth": "^1.5.1",
"moment": "^2.29.3", "moment": "^2.29.3",
"mongodb": "^6.2.0", "mongodb": "^6.2.0",
@ -71,23 +78,33 @@
"pyodide": ">=0.21.0-alpha.2", "pyodide": ">=0.21.0-alpha.2",
"redis": "^4.6.7", "redis": "^4.6.7",
"replicate": "^0.12.3", "replicate": "^0.12.3",
"socket.io": "^4.6.1",
"srt-parser-2": "^1.2.3", "srt-parser-2": "^1.2.3",
"typeorm": "^0.3.6",
"vm2": "^3.9.19", "vm2": "^3.9.19",
"weaviate-ts-client": "^1.1.0", "weaviate-ts-client": "^1.1.0",
"winston": "^3.9.0",
"ws": "^8.9.0", "ws": "^8.9.0",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.21.4" "zod-to-json-schema": "^3.21.4"
}, },
"devDependencies": { "devDependencies": {
"@swc/core": "^1.3.99",
"@types/crypto-js": "^4.1.1",
"@types/gulp": "4.0.9", "@types/gulp": "4.0.9",
"@types/lodash": "^4.14.202",
"@types/node-fetch": "2.6.2", "@types/node-fetch": "2.6.2",
"@types/object-hash": "^3.0.2", "@types/object-hash": "^3.0.2",
"@types/pg": "^8.10.2", "@types/pg": "^8.10.2",
"@types/ws": "^8.5.3", "@types/ws": "^8.5.3",
"babel-register": "^6.26.0",
"eslint-plugin-markdown": "^3.0.1", "eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-react": "^7.33.2", "eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"babel-register": "^6.26.0",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"rimraf": "^5.0.5",
"tslib": "^2.6.2",
"tsup": "^8.0.1",
"typescript": "^4.8.4" "typescript": "^4.8.4"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -23,6 +23,8 @@
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"build": "tsc", "build": "tsc",
"start": "run-script-os", "start": "run-script-os",
"clean": "rimraf dist",
"nuke": "rimraf dist node_modules",
"start:windows": "cd bin && run start", "start:windows": "cd bin && run start",
"start:default": "cd bin && ./run start", "start:default": "cd bin && ./run start",
"dev": "nodemon", "dev": "nodemon",
@ -80,6 +82,7 @@
"concurrently": "^7.1.0", "concurrently": "^7.1.0",
"nodemon": "^2.0.22", "nodemon": "^2.0.22",
"oclif": "^3", "oclif": "^3",
"rimraf": "^5.0.5",
"run-script-os": "^1.1.6", "run-script-os": "^1.1.6",
"shx": "^0.3.3", "shx": "^0.3.3",
"ts-node": "^10.7.0", "ts-node": "^10.7.0",

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,6 @@
"axios": "^0.27.2", "axios": "^0.27.2",
"clsx": "^1.1.1", "clsx": "^1.1.1",
"dotenv": "^16.0.0", "dotenv": "^16.0.0",
"find-up": "^7.0.0",
"flowise-embed": "*", "flowise-embed": "*",
"flowise-embed-react": "*", "flowise-embed-react": "*",
"flowise-react-json-view": "*", "flowise-react-json-view": "*",
@ -61,7 +60,9 @@
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"dev": "vite", "dev": "vite",
"build": "vite build" "build": "vite build",
"clean": "rimraf build",
"nuke": "rimraf build node_modules"
}, },
"babel": { "babel": {
"presets": [ "presets": [
@ -88,6 +89,7 @@
"@testing-library/user-event": "^12.8.3", "@testing-library/user-event": "^12.8.3",
"pretty-quick": "^3.1.3", "pretty-quick": "^3.1.3",
"react-scripts": "^5.0.1", "react-scripts": "^5.0.1",
"rimraf": "^5.0.5",
"sass": "^1.42.1", "sass": "^1.42.1",
"typescript": "^4.8.4" "typescript": "^4.8.4"
} }

14865
packages/ui/pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -15,19 +15,19 @@ import Button from '@mui/material/Button'
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown' import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown'
import { IconX } from '@tabler/icons' import { IconX } from '@tabler/icons'
import chatflowsApi from 'api/chatflows' import chatflowsApi from '@/api/chatflows'
import useApi from '../../hooks/useApi' import useApi from '@/hooks/useApi'
import useConfirm from 'hooks/useConfirm' import useConfirm from '@/hooks/useConfirm'
import { uiBaseURL } from '../../store/constant' import { uiBaseURL } from '@/store/constant'
import { closeSnackbar as closeSnackbarAction, enqueueSnackbar as enqueueSnackbarAction } from '../../store/actions' import { closeSnackbar as closeSnackbarAction, enqueueSnackbar as enqueueSnackbarAction } from '@/store/actions'
import ConfirmDialog from '../dialog/ConfirmDialog' import ConfirmDialog from '@/ui-component/dialog/ConfirmDialog'
import SaveChatflowDialog from '../dialog/SaveChatflowDialog' import SaveChatflowDialog from '@/ui-component/dialog/SaveChatflowDialog'
import TagDialog from '../dialog/TagDialog' import TagDialog from '@/ui-component/dialog/TagDialog'
import { generateExportFlowData } from '../../utils/genericHelper' import { generateExportFlowData } from '@/utils/genericHelper'
import useNotifier from '../../utils/useNotifier' import useNotifier from '@/utils/useNotifier'
const StyledMenu = styled((props) => ( const StyledMenu = styled((props) => (
<Menu <Menu

View File

@ -53,7 +53,7 @@ import { baseURL } from '@/store/constant'
import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from '@/store/actions' import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from '@/store/actions'
import 'views/chatmessage/ChatMessage.css' import '@/views/chatmessage/ChatMessage.css'
import 'react-datepicker/dist/react-datepicker.css' import 'react-datepicker/dist/react-datepicker.css'
const DatePickerCustomInput = forwardRef(function DatePickerCustomInput({ value, onClick }, ref) { const DatePickerCustomInput = forwardRef(function DatePickerCustomInput({ value, onClick }, ref) {

View File

@ -1,6 +1,6 @@
import { useEffect, useState } from 'react' import { useEffect, useState } from 'react'
import { useDispatch, useSelector } from 'react-redux' import { useDispatch, useSelector } from 'react-redux'
import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from 'store/actions' import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from '@/store/actions'
// material-ui // material-ui
import { import {
@ -55,7 +55,7 @@ import {
IconEye, IconEye,
IconEyeOff IconEyeOff
} from '@tabler/icons' } from '@tabler/icons'
import APIEmptySVG from 'assets/images/api_empty.svg' import APIEmptySVG from '@/assets/images/api_empty.svg'
import * as PropTypes from 'prop-types' import * as PropTypes from 'prop-types'
import moment from 'moment/moment' import moment from 'moment/moment'

View File

@ -1,7 +1,7 @@
import { createPortal } from 'react-dom' import { createPortal } from 'react-dom'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import { Button, Dialog, DialogContent, DialogTitle } from '@mui/material' import { Button, Dialog, DialogContent, DialogTitle } from '@mui/material'
import { StyledButton } from 'ui-component/button/StyledButton' import { StyledButton } from '@/ui-component/button/StyledButton'
const DeleteConfirmDialog = ({ show, dialogProps, onCancel, onDelete, onDeleteBoth }) => { const DeleteConfirmDialog = ({ show, dialogProps, onCancel, onDelete, onDeleteBoth }) => {
const portalElement = document.getElementById('portal') const portalElement = document.getElementById('portal')

View File

@ -1,6 +1,6 @@
import { useEffect, useState } from 'react' import { useEffect, useState } from 'react'
import { useDispatch, useSelector } from 'react-redux' import { useDispatch, useSelector } from 'react-redux'
import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from 'store/actions' import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from '@/store/actions'
import moment from 'moment' import moment from 'moment'
// material-ui // material-ui

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +0,0 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"test": {},
"dev": {
"cache": false
}
}
}