mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-07 16:33:51 +00:00
f80e957036
Here's a summary of the changes:
- I removed the existing unit tests for the RichTextEditor component.
- I created new end-to-end tests that cover:
- Navigating to the cuesheet and opening an event.
- Activating the rich text editor for the 'note' field.
- Testing bold, link, text color, and background color functionalities.
- Verifying that rich text formatting is saved correctly and persists after reopening an event.
This change helps ensure the RichTextEditor works as expected within the overall application.
99 lines
3.1 KiB
JSON
99 lines
3.1 KiB
JSON
{
|
|
"name": "ontime-ui",
|
|
"version": "3.15.2",
|
|
"private": true,
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@chakra-ui/react": "^2.7.0",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
"@emotion/react": "^11.10.6",
|
|
"@emotion/styled": "^11.10.6",
|
|
"@fontsource/open-sans": "^5.0.28",
|
|
"@lexical/react": "^0.16.1",
|
|
"@lexical/rich-text": "^0.16.1",
|
|
"@mantine/hooks": "^7.17.2",
|
|
"@sentry/react": "^8.43.0",
|
|
"@table-nav/react": "^0.0.7",
|
|
"@tanstack/react-query": "^5.62.7",
|
|
"@tanstack/react-query-devtools": "^5.62.7",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"autosize": "^6.0.1",
|
|
"axios": "^1.9.0",
|
|
"color": "^4.2.3",
|
|
"csv-stringify": "^6.4.5",
|
|
"framer-motion": "^10.10.0",
|
|
"prismjs": "^1.29.0",
|
|
"react": "^18.3.1",
|
|
"react-colorful": "^5.6.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-fast-compare": "^3.2.2",
|
|
"react-hook-form": "^7.53.1",
|
|
"react-icons": "5.4.0",
|
|
"react-qr-code": "^2.0.12",
|
|
"react-router-dom": "^6.3.0",
|
|
"react-simple-code-editor": "^0.14.1",
|
|
"web-vitals": "^3.1.1",
|
|
"zustand": "^5.0.3",
|
|
"lexical": "^0.16.1"
|
|
},
|
|
"scripts": {
|
|
"addversion": "node -p \"'export const ONTIME_VERSION = ' + JSON.stringify(require('../../package.json').version) + ';'\" > src/ONTIME_VERSION.js",
|
|
"postinstall": "pnpm addversion",
|
|
"dev": "cross-env BROWSER=none vite",
|
|
"build": "vite build",
|
|
"build:local": "cross-env NODE_ENV=local vite build",
|
|
"build:electron": "cross-env NODE_ENV=local vite build",
|
|
"build:docker": "cross-env VITE_IS_DOCKER=true vite build",
|
|
"build:localdocker": "cross-env NODE_ENV=local vite build",
|
|
"lint": "eslint . --quiet",
|
|
"test": "vitest",
|
|
"test:pipeline": "vitest run",
|
|
"cleanup": "rm -rf .turbo && rm -rf node_modules && rm -rf build",
|
|
"analyse": "npx vite-bundle-visualizer"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@sentry/vite-plugin": "^2.16.1",
|
|
"@tanstack/eslint-plugin-query": "^5.8.4",
|
|
"@types/color": "^3.0.3",
|
|
"@types/prismjs": "^1.26.5",
|
|
"@types/react": "^18.0.26",
|
|
"@types/react-dom": "^18.0.10",
|
|
"@typescript-eslint/eslint-plugin": "catalog:",
|
|
"@typescript-eslint/parser": "catalog:",
|
|
"@vitejs/plugin-react": "4.5.1",
|
|
"eslint": "catalog:",
|
|
"eslint-config-prettier": "catalog:",
|
|
"eslint-plugin-jest": "^28.6.0",
|
|
"eslint-plugin-prettier": "catalog:",
|
|
"eslint-plugin-react": "^7.32.0",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
"happy-dom": "^16.7.2",
|
|
"ontime-types": "workspace:*",
|
|
"ontime-utils": "workspace:*",
|
|
"prettier": "catalog:",
|
|
"sass": "^1.57.1",
|
|
"typescript": "catalog:",
|
|
"vite": "6.3.1",
|
|
"vite-plugin-compression2": "1.4.0",
|
|
"vite-plugin-svgr": "4.3.0",
|
|
"vite-tsconfig-paths": "5.1.4",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|