himanshumaurya09876 commented on code in PR #3909:
URL: https://github.com/apache/ambari/pull/3909#discussion_r1877541643
##########
ambari-admin/src/main/resources/ui/ambari-admin/package.json:
##########
@@ -5,50 +5,53 @@
"type": "module",
"scripts": {
"dev": "vite",
- "build": "tsc -b && vite build",
- "lint": "eslint .",
+ "build": "tsc && vite build",
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives
--max-warnings 0",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"dependencies": {
+ "@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
- "@fortawesome/react-fontawesome": "^0.2.2",
- "@tanstack/react-table": "^8.20.5",
- "@types/lodash": "^4.17.12",
- "axios": "^1.7.7",
+ "@fortawesome/react-fontawesome": "github:fortawesome/react-fontawesome",
+ "@tanstack/react-table": "^8.17.3",
+ "@types/react-table": "^7.7.20",
+ "axios": "^1.7.2",
"bootstrap": "^5.3.3",
- "history": "^5.3.0",
"lodash": "^4.17.21",
- "path": "^0.12.7",
- "react": "^18.3.1",
- "react-bootstrap": "^2.10.5",
- "react-dom": "^18.3.1",
+ "react": "^18.2.0",
+ "react-bootstrap": "^2.10.2",
+ "react-bootstrap-icons": "^1.11.4",
+ "react-cookie": "^7.1.4",
+ "react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1",
"react-router-dom": "^5.3.4",
- "react-select": "^5.8.3",
- "sass": "^1.77.6"
+ "react-select": "^5.8.0",
+ "react-table": "^7.8.0",
+ "sass": "1.77.6"
},
"devDependencies": {
- "@eslint/js": "^9.11.1",
- "@testing-library/dom": "^10.4.0",
- "@testing-library/jest-dom": "^6.6.3",
+ "@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
- "@types/axios": "^0.14.4",
- "@types/history": "^5.0.0",
- "@types/react": "^18.3.10",
- "@types/react-dom": "^18.3.0",
+ "@testing-library/user-event": "^14.5.2",
+ "@types/jest": "^29.5.13",
+ "@types/lodash": "^4.17.6",
+ "@types/node": "^22.5.0",
+ "@types/react": "^18.2.66",
+ "@types/react-dom": "^18.2.22",
"@types/react-router-dom": "^5.3.3",
- "@vitejs/plugin-react": "^4.3.2",
+ "@types/testing-library__react": "^10.2.0",
+ "@typescript-eslint/eslint-plugin": "^7.2.0",
+ "@typescript-eslint/parser": "^7.2.0",
+ "@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-istanbul": "^2.1.1",
- "eslint": "^9.11.1",
- "eslint-plugin-react-hooks": "^5.1.0-rc.0",
- "eslint-plugin-react-refresh": "^0.4.12",
- "globals": "^15.9.0",
- "jsdom": "^25.0.1",
- "typescript": "^5.5.3",
- "typescript-eslint": "^8.7.0",
- "vite": "^5.4.8",
+ "eslint": "^8.57.0",
+ "eslint-plugin-react-hooks": "^4.6.0",
+ "eslint-plugin-react-refresh": "^0.4.6",
+ "jsdom": "^25.0.0",
+ "typescript": "^5.5.4",
+ "vite": "^5.2.0",
Review Comment:
Hi @nikita15p, Kindly avoid degrading of all these versions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]