aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r--server/sonar-web/package.json40
1 files changed, 24 insertions, 16 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index ca3163a31b7..cba1b568d50 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -4,9 +4,6 @@
"description": "Put your technical debt under control",
"repository": "SonarSource/sonarqube",
"license": "LGPL-3.0",
- "workspaces": [
- "design-system"
- ],
"dependencies": {
"@emotion/react": "11.11.4",
"@emotion/styled": "11.13.0",
@@ -30,6 +27,10 @@
"diff": "7.0.0",
"dompurify": "3.1.7",
"formik": "2.4.6",
+ "highlight.js": "11.10.0",
+ "highlightjs-apex": "1.4.0",
+ "highlightjs-cobol": "0.3.3",
+ "highlightjs-sap-abap": "0.3.0",
"lodash": "4.17.21",
"lunr": "2.3.9",
"react": "18.3.1",
@@ -44,6 +45,7 @@
"react-modal": "3.16.1",
"react-router-dom": "6.26.2",
"react-select": "5.7.7",
+ "react-toastify": "10.0.5",
"react-virtualized": "9.22.5",
"regenerator-runtime": "0.14.1",
"shared-store-hook": "0.0.4",
@@ -58,8 +60,6 @@
"@emotion/babel-plugin": "11.12.0",
"@emotion/jest": "11.13.0",
"@jupyterlab/nbformat": "4.2.5",
- "@swc/core": "1.7.28",
- "@swc/jest": "0.2.36",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
@@ -71,6 +71,7 @@
"@types/d3-scale": "4.0.8",
"@types/d3-selection": "3.0.10",
"@types/d3-shape": "3.1.6",
+ "@types/d3-zoom": "3.0.8",
"@types/diff": "5.2.2",
"@types/dompurify": "3.0.5",
"@types/jest": "29.5.13",
@@ -87,12 +88,15 @@
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@typescript-eslint/rule-tester": "7.18.0",
+ "@vitejs/plugin-legacy": "5.4.2",
+ "@vitejs/plugin-react": "4.3.2",
"autoprefixer": "10.4.20",
- "browserslist-to-esbuild": "2.1.1",
+ "babel-jest": "29.7.0",
+ "babel-plugin-twin": "1.1.0",
+ "browserslist": "4.24.0",
"chalk": "4.1.2",
"chokidar": "3.6.0",
"dd-trace": "5.23.0",
- "design-system": "1.0.0",
"eslint": "8.57.1",
"eslint-config-sonarqube": "2.1.3",
"eslint-plugin-header": "3.1.1",
@@ -107,6 +111,7 @@
"eslint-plugin-testing-library": "6.3.0",
"eslint-plugin-typescript-sort-keys": "3.2.0",
"fs-extra": "11.2.0",
+ "history": "5.3.0",
"http-proxy": "1.18.1",
"jest": "29.7.0",
"jest-axe": "9.0.0",
@@ -114,7 +119,6 @@
"jest-fail-on-console": "3.3.1",
"jest-junit": "16.0.0",
"jest-slow-test-reporter": "1.0.0",
- "jsdom": "25.0.1",
"openapi-types": "12.1.3",
"path-browserify": "1.0.1",
"postcss": "8.4.47",
@@ -124,7 +128,8 @@
"rollup-plugin-license": "3.5.3",
"rollup-plugin-visualizer": "5.12.0",
"tailwindcss": "3.4.13",
- "turbo": "2.1.3",
+ "terser": "5.36.0",
+ "twin.macro": "3.4.1",
"typescript": "5.6.2",
"vite": "5.4.8",
"vite-plugin-babel-macros": "1.0.6",
@@ -138,7 +143,7 @@
"chunks-analyze": "BUNDLE_ANALYSIS=true yarn build",
"test": "jest --workerIdleMemoryLimit=1G",
"test-ci": "NODE_OPTIONS=\"-r dd-trace/ci/init\" jest --coverage --maxWorkers=5 --workerIdleMemoryLimit=2G --ci",
- "test-eslint-local-rules": "jest -c eslint-local-rules/jest.config.js",
+ "test-eslint-local-rules": "jest eslint-local-rules",
"format": "prettier --write --list-different \"src/main/js/**/*.{js,ts,tsx,css}\"",
"format-check": "prettier --check \"src/main/js/**/*.{js,ts,tsx,css}\"",
"lint": "eslint --ext js,ts,tsx --quiet src/main/js",
@@ -154,15 +159,18 @@
"engines": {
"node": ">=18.20"
},
- "browser": {
- "path": "path-browserify"
+ "babelMacros": {
+ "twin": {
+ "config": "./tailwind.config.js",
+ "preset": "emotion"
+ }
},
"browserslist": [
"defaults and supports es6-module",
- "Chrome >= 61",
- "Edge >= 18",
- "Firefox >= 60",
- "Safari >= 11"
+ "Chrome >= 66",
+ "Edge >= 88",
+ "Firefox >= 78",
+ "Safari >= 12"
],
"packageManager": "yarn@4.2.2"
}