2022-10-12 14:21:49 +00:00
|
|
|
{
|
|
|
|
"name": "spiffworkflow-frontend",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
2024-04-15 18:22:34 +00:00
|
|
|
"type": "module",
|
2022-10-12 14:21:49 +00:00
|
|
|
"dependencies": {
|
2024-05-28 14:41:45 +00:00
|
|
|
"@babel/core": "^7.24.6",
|
2022-10-12 14:21:49 +00:00
|
|
|
"@babel/plugin-transform-react-jsx": "^7.18.6",
|
2024-02-06 16:06:17 +00:00
|
|
|
"@babel/preset-react": "^7.23.3",
|
2024-03-27 15:27:50 +00:00
|
|
|
"@carbon/colors": "^11.21.0",
|
2024-02-13 15:20:38 +00:00
|
|
|
"@carbon/icons-react": "^11.36.0",
|
2023-07-14 10:16:34 +00:00
|
|
|
"@carbon/react": "^1.33.0",
|
2024-02-21 14:41:36 +00:00
|
|
|
"@carbon/styles": "^1.51.0",
|
2024-04-10 15:16:04 +00:00
|
|
|
"@casl/ability": "^6.7.1",
|
2022-11-15 19:40:35 +00:00
|
|
|
"@casl/react": "^3.1.0",
|
2023-04-14 19:44:59 +00:00
|
|
|
"@microsoft/fetch-event-source": "^2.0.1",
|
2022-10-12 14:21:49 +00:00
|
|
|
"@monaco-editor/react": "^4.4.5",
|
2024-05-27 14:57:18 +00:00
|
|
|
"@mui/material": "^5.15.18",
|
2024-04-15 18:22:34 +00:00
|
|
|
"@prefresh/vite": "^2.4.5",
|
2022-11-16 18:52:44 +00:00
|
|
|
"@react-icons/all-files": "^4.1.0",
|
2024-05-10 16:00:24 +00:00
|
|
|
"@rjsf/core": "5.18.3",
|
|
|
|
"@rjsf/mui": "5.18.3",
|
|
|
|
"@rjsf/utils": "5.18.3",
|
2024-04-08 15:03:09 +00:00
|
|
|
"@rjsf/validator-ajv8": "5.0.0",
|
2024-05-29 19:49:02 +00:00
|
|
|
"@tanstack/react-query": "^5.40.0",
|
|
|
|
"@tanstack/react-query-devtools": "^5.40.0",
|
2024-02-14 15:05:05 +00:00
|
|
|
"@testing-library/jest-dom": "^6.4.2",
|
2024-02-16 14:38:57 +00:00
|
|
|
"@testing-library/react": "^14.2.1",
|
2024-02-09 15:26:26 +00:00
|
|
|
"@testing-library/user-event": "^14.5.2",
|
2024-02-15 15:00:14 +00:00
|
|
|
"@types/jest": "^29.5.12",
|
2022-10-12 14:21:49 +00:00
|
|
|
"@types/react": "^18.0.17",
|
|
|
|
"@types/react-dom": "^18.0.6",
|
2023-02-06 17:14:15 +00:00
|
|
|
"@uiw/react-md-editor": "^3.20.2",
|
2024-04-15 18:22:34 +00:00
|
|
|
"@vitejs/plugin-react": "^4.2.1",
|
2023-11-10 19:13:28 +00:00
|
|
|
"autoprefixer": "^10.4.13",
|
2024-05-24 15:10:26 +00:00
|
|
|
"axios": "^1.7.2",
|
2023-09-01 18:14:40 +00:00
|
|
|
"bpmn-js": "^13.2.2",
|
2023-05-02 17:40:41 +00:00
|
|
|
"bpmn-js-properties-panel": "^1.22.0",
|
2024-04-15 18:50:30 +00:00
|
|
|
"bpmn-js-spiffworkflow": "github:sartography/bpmn-js-spiffworkflow#main",
|
2024-04-12 14:32:53 +00:00
|
|
|
"cookie": "^0.6.0",
|
2024-04-15 15:14:05 +00:00
|
|
|
"date-fns": "^3.6.0",
|
2023-05-02 17:40:41 +00:00
|
|
|
"diagram-js": "^11.9.1",
|
2024-04-08 20:47:30 +00:00
|
|
|
"dmn-js": "^16.0.0",
|
2024-01-09 19:00:53 +00:00
|
|
|
"dmn-js-properties-panel": "^3.0.0",
|
2024-04-03 18:16:03 +00:00
|
|
|
"dmn-js-shared": "^16.0.0",
|
2022-10-12 14:21:49 +00:00
|
|
|
"jwt-decode": "^3.1.2",
|
|
|
|
"keycloak-js": "^18.0.1",
|
2023-09-08 15:07:43 +00:00
|
|
|
"lodash.merge": "^4.6.2",
|
2022-10-12 14:21:49 +00:00
|
|
|
"prop-types": "^15.8.1",
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-datepicker": "^4.8.0",
|
2024-03-26 20:05:06 +00:00
|
|
|
"react-devtools": "^5.0.2",
|
2022-10-12 14:21:49 +00:00
|
|
|
"react-dom": "^18.2.0",
|
2024-05-23 15:09:34 +00:00
|
|
|
"react-error-boundary": "^4.0.13",
|
2024-02-06 15:06:27 +00:00
|
|
|
"react-icons": "^5.0.1",
|
2022-10-12 14:21:49 +00:00
|
|
|
"react-jsonschema-form": "^1.8.1",
|
2024-03-04 14:52:22 +00:00
|
|
|
"react-router": "^6.22.2",
|
2024-04-11 14:49:36 +00:00
|
|
|
"react-router-dom": "^6.22.3",
|
2022-10-12 14:21:49 +00:00
|
|
|
"serve": "^14.0.0",
|
|
|
|
"timepicker": "^1.13.18",
|
|
|
|
"typescript": "^4.7.4",
|
2024-02-22 15:06:09 +00:00
|
|
|
"use-debounce": "^10.0.0",
|
2024-04-15 18:22:34 +00:00
|
|
|
"vite": "^5.2.8",
|
|
|
|
"vite-tsconfig-paths": "^4.3.2",
|
2024-02-05 15:17:01 +00:00
|
|
|
"web-vitals": "^3.5.2"
|
2022-10-12 14:21:49 +00:00
|
|
|
},
|
|
|
|
"overrides": {
|
|
|
|
"postcss-preset-env": {
|
|
|
|
"autoprefixer": "10.4.5"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
2024-04-15 18:22:34 +00:00
|
|
|
"start": "VITE_VERSION_INFO='{\"version\":\"local\"}' vite",
|
|
|
|
"build": "vite build",
|
|
|
|
"serve": "vite preview",
|
|
|
|
"test": "vitest run --coverage",
|
2022-11-16 19:02:46 +00:00
|
|
|
"format": "prettier --write src/**/*.[tj]s{,x}",
|
2022-11-16 23:16:55 +00:00
|
|
|
"lint": "./node_modules/.bin/eslint src",
|
|
|
|
"lint:fix": "./node_modules/.bin/eslint --fix src"
|
2022-10-12 14:21:49 +00:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-11-16 03:34:28 +00:00
|
|
|
"@cypress/grep": "^3.1.0",
|
2024-04-15 18:22:34 +00:00
|
|
|
"@preact/preset-vite": "^2.8.2",
|
2024-05-29 19:49:02 +00:00
|
|
|
"@tanstack/eslint-plugin-query": "^5.35.6",
|
Tcoz openai assist (#1138)
* Update README.md
Some notes for people that might want to run full-on native, with detail about how Mac hijacks port 7000 and how to get around it.
* Revert "Update README.md"
This reverts commit 096887c26d591f93a836ef808c148af09767f2d2.
* README update and native code patch
Some details for user that might be running Python3, Mac, and want to run everything locally/natively.
* Implement basic tooltips
Uses MUI tooltip, as it behaves more predictably with existing styling, and enables top-level theme config.
Top-level configuration for all MUI components can be controlled via overriding the existing theme. See index.tsx. This could be done per user for customization, etc.
Enabling JSON module imports in tsconfig.json seemed to fix the error in ReactDiagramEditor
* Naive AI code editor implementation
A working starting point.
* Implement API to return if script assist should be enabled
Along with route and function, api config, etc.
* UI calls backend to see if script assist is enabled.
If it is, loads the related UI, otherwise it doesn't appear.
* Moving forward with service for message processing.
* Services scaffolded
* Open API called, prompt-engineered to get script only.
* Little cleanup work
* Enabled + process message working.
Had to find all the places permissions are enabled, etc.
* Cleanup, comments, etc.
* Env vars, styling, error cases, conditional display of script assist
Finishing touches for the most part.
REQUIRES TWO ENV VARS BE SET.
SPIFFWORKFLOW_SCRIPT_ASSIST_ENABLED=["True" | "true" | 1] (anything else is false)
SECRET_KEY_OPENAI_API=[thekey]
The are retrieved in default.py. I run the app locally, so I just set them in the terminal.
NEW INSTALL: @carbon/colors (so we consistently use carbon palette etc.)
* Fix tooltips, clean up some styling.
Finishing it off.
* Add loader and error message
Complete UX stuff
* Update useScriptAssistEnabled.tsx
Remove log
* Update script_assist_controller.py
Add this tweak to avoid TMI.
* Some reasonable changes suggested by the build process
* Comments from PR.
* Update ProcessModelEditDiagram.tsx
Should (but I don't know how to tell yet) call the change handler that wasn't firing before.
* updated the permissions setting in authorization service w/ burnettk
* precommit now passes. tests are failing w/ burnettk
* pinned SpiffWorkflow to known working version and fixed tests. we will update spiff in a later pr w/ burnettk
* made changes based on coderabbi suggestions
* updated the error handling to be more inline with how we have handled other errors and some ui tweaks
* removed pymysql package w/ burnettk
* forgot to remove pymysql from lock file w/ burnettk
---------
Co-authored-by: Tim Consolazio <tcoz@tcoz.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-04 15:42:27 +00:00
|
|
|
"@types/carbon__colors": "^10.31.3",
|
2024-04-12 14:32:53 +00:00
|
|
|
"@types/cookie": "^0.6.0",
|
2023-09-08 15:07:43 +00:00
|
|
|
"@types/lodash.merge": "^4.6.7",
|
2024-04-15 18:22:34 +00:00
|
|
|
"@types/node": "^20.12.7",
|
2024-05-29 19:49:02 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
|
|
"@typescript-eslint/parser": "^7.11.0",
|
2024-04-15 18:22:34 +00:00
|
|
|
"@vitest/coverage-v8": "^1.5.0",
|
2024-03-21 14:54:03 +00:00
|
|
|
"cypress": "^13",
|
2023-04-06 14:31:54 +00:00
|
|
|
"cypress-file-upload": "^5.0.8",
|
2024-03-01 15:45:20 +00:00
|
|
|
"cypress-slow-down": "^1.3.1",
|
2024-04-15 18:22:34 +00:00
|
|
|
"cypress-vite": "^1.5.0",
|
2024-05-29 19:49:02 +00:00
|
|
|
"eslint": "^8.56.0",
|
2022-10-12 14:21:49 +00:00
|
|
|
"eslint_d": "^12.2.0",
|
|
|
|
"eslint-config-airbnb": "^19.0.4",
|
2024-02-12 14:37:56 +00:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
2024-04-05 15:03:37 +00:00
|
|
|
"eslint-plugin-cypress": "^2.15.1",
|
2024-02-23 14:44:26 +00:00
|
|
|
"eslint-plugin-import": "^2.29.1",
|
2024-02-07 16:59:08 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
2022-10-12 14:21:49 +00:00
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
|
"eslint-plugin-react": "^7.31.0",
|
2024-05-21 20:30:25 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
2024-05-22 19:17:27 +00:00
|
|
|
"eslint-plugin-sonarjs": "^1.0.3",
|
2024-05-29 19:49:02 +00:00
|
|
|
"eslint-plugin-unused-imports": "^3.2.0",
|
2024-04-15 18:22:34 +00:00
|
|
|
"inherits-browser": "^0.0.1",
|
2024-05-10 16:00:24 +00:00
|
|
|
"jsdom": "^24.0.0",
|
2022-10-12 14:21:49 +00:00
|
|
|
"prettier": "^2.7.1",
|
|
|
|
"safe-regex": "^2.1.1",
|
2024-04-15 18:22:34 +00:00
|
|
|
"tiny-svg": "^2.2.3",
|
|
|
|
"ts-migrate": "^0.1.30",
|
|
|
|
"vitest": "^1.5.0"
|
2022-10-12 14:21:49 +00:00
|
|
|
}
|
|
|
|
}
|