|
@@ -8,20 +8,20 @@
|
|
"@fortawesome/fontawesome-free": "^6.1.1",
|
|
"@fortawesome/fontawesome-free": "^6.1.1",
|
|
"@hookform/error-message": "^2.0.0",
|
|
"@hookform/error-message": "^2.0.0",
|
|
"@hookform/resolvers": "^2.7.1",
|
|
"@hookform/resolvers": "^2.7.1",
|
|
- "@reduxjs/toolkit": "^1.8.1",
|
|
|
|
|
|
+ "@reduxjs/toolkit": "^1.8.2",
|
|
"@rooks/use-outside-click-ref": "^4.10.1",
|
|
"@rooks/use-outside-click-ref": "^4.10.1",
|
|
"@testing-library/react": "^13.2.0",
|
|
"@testing-library/react": "^13.2.0",
|
|
"@types/yup": "^0.29.13",
|
|
"@types/yup": "^0.29.13",
|
|
"@vitejs/plugin-react": "^1.3.2",
|
|
"@vitejs/plugin-react": "^1.3.2",
|
|
"ace-builds": "^1.4.12",
|
|
"ace-builds": "^1.4.12",
|
|
"ajv": "^8.6.3",
|
|
"ajv": "^8.6.3",
|
|
- "babel-jest": "^27.4.2",
|
|
|
|
|
|
+ "babel-jest": "^28.1.1",
|
|
"bulma": "^0.9.3",
|
|
"bulma": "^0.9.3",
|
|
"classnames": "^2.2.6",
|
|
"classnames": "^2.2.6",
|
|
"dayjs": "^1.11.2",
|
|
"dayjs": "^1.11.2",
|
|
"fetch-mock": "^9.11.0",
|
|
"fetch-mock": "^9.11.0",
|
|
- "jest": "^27.4.3",
|
|
|
|
- "jest-watch-typeahead": "^1.0.0",
|
|
|
|
|
|
+ "jest": "^28.1.1",
|
|
|
|
+ "jest-watch-typeahead": "^1.1.0",
|
|
"json-schema-faker": "^0.5.0-rcv.39",
|
|
"json-schema-faker": "^0.5.0-rcv.39",
|
|
"lodash": "^4.17.21",
|
|
"lodash": "^4.17.21",
|
|
"node-fetch": "^2.6.1",
|
|
"node-fetch": "^2.6.1",
|
|
@@ -40,14 +40,13 @@
|
|
"sass": "^1.52.3",
|
|
"sass": "^1.52.3",
|
|
"styled-components": "^5.3.1",
|
|
"styled-components": "^5.3.1",
|
|
"use-debounce": "^8.0.1",
|
|
"use-debounce": "^8.0.1",
|
|
- "uuid": "^8.3.1",
|
|
|
|
"vite": "^2.9.11",
|
|
"vite": "^2.9.11",
|
|
"vite-tsconfig-paths": "^3.5.0",
|
|
"vite-tsconfig-paths": "^3.5.0",
|
|
"whatwg-fetch": "^3.6.2",
|
|
"whatwg-fetch": "^3.6.2",
|
|
"yup": "^0.32.9"
|
|
"yup": "^0.32.9"
|
|
},
|
|
},
|
|
"lint-staged": {
|
|
"lint-staged": {
|
|
- "*.{js,ts,jsx,tsx}": [
|
|
|
|
|
|
+ "*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"eslint --fix",
|
|
"npm test -- --bail --findRelatedTests --watchAll=false"
|
|
"npm test -- --bail --findRelatedTests --watchAll=false"
|
|
]
|
|
]
|
|
@@ -62,9 +61,9 @@
|
|
"test": "jest --watch",
|
|
"test": "jest --watch",
|
|
"test:coverage": "jest --watchAll --coverage",
|
|
"test:coverage": "jest --watchAll --coverage",
|
|
"test:CI": "CI=true npm run test:coverage -- --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false",
|
|
"test:CI": "CI=true npm run test:coverage -- --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false",
|
|
- "tsc": "tsc",
|
|
|
|
|
|
+ "tsc": "tsc --pretty --noEmit",
|
|
"prepare": "cd .. && husky install kafka-ui-react-app/.husky",
|
|
"prepare": "cd .. && husky install kafka-ui-react-app/.husky",
|
|
- "pre-commit": "npm run tsc --noEmit && lint-staged"
|
|
|
|
|
|
+ "pre-commit": "npm run tsc && lint-staged"
|
|
},
|
|
},
|
|
"eslintConfig": {
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
"extends": "react-app"
|
|
@@ -73,13 +72,13 @@
|
|
"@babel/preset-env": "^7.18.2",
|
|
"@babel/preset-env": "^7.18.2",
|
|
"@babel/preset-react": "^7.17.12",
|
|
"@babel/preset-react": "^7.17.12",
|
|
"@babel/preset-typescript": "^7.17.12",
|
|
"@babel/preset-typescript": "^7.17.12",
|
|
- "@jest/types": "^28.1.0",
|
|
|
|
|
|
+ "@jest/types": "^28.1.1",
|
|
"@openapitools/openapi-generator-cli": "^2.5.1",
|
|
"@openapitools/openapi-generator-cli": "^2.5.1",
|
|
"@testing-library/dom": "^8.11.1",
|
|
"@testing-library/dom": "^8.11.1",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/eventsource": "^1.1.8",
|
|
"@types/eventsource": "^1.1.8",
|
|
- "@types/jest": "^27.5.1",
|
|
|
|
|
|
+ "@types/jest": "^28.1.3",
|
|
"@types/lodash": "^4.14.172",
|
|
"@types/lodash": "^4.14.172",
|
|
"@types/node": "^16.4.13",
|
|
"@types/node": "^16.4.13",
|
|
"@types/react": "^18.0.9",
|
|
"@types/react": "^18.0.9",
|
|
@@ -89,9 +88,8 @@
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/redux-mock-store": "^1.0.3",
|
|
"@types/redux-mock-store": "^1.0.3",
|
|
"@types/styled-components": "^5.1.13",
|
|
"@types/styled-components": "^5.1.13",
|
|
- "@types/uuid": "^8.3.1",
|
|
|
|
- "@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
|
|
- "@typescript-eslint/parser": "^5.27.0",
|
|
|
|
|
|
+ "@typescript-eslint/eslint-plugin": "^5.29.0",
|
|
|
|
+ "@typescript-eslint/parser": "^5.29.0",
|
|
"dotenv": "^16.0.1",
|
|
"dotenv": "^16.0.1",
|
|
"eslint": "^8.3.0",
|
|
"eslint": "^8.3.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
@@ -107,16 +105,17 @@
|
|
"eslint-plugin-react": "^7.29.4",
|
|
"eslint-plugin-react": "^7.29.4",
|
|
"eslint-plugin-react-hooks": "^4.5.0",
|
|
"eslint-plugin-react-hooks": "^4.5.0",
|
|
"fetch-mock-jest": "^1.5.1",
|
|
"fetch-mock-jest": "^1.5.1",
|
|
- "husky": "^7.0.1",
|
|
|
|
|
|
+ "husky": "^8.0.1",
|
|
|
|
+ "jest-environment-jsdom": "^28.1.1",
|
|
"jest-sonar-reporter": "^2.0.0",
|
|
"jest-sonar-reporter": "^2.0.0",
|
|
"jest-styled-components": "^7.0.8",
|
|
"jest-styled-components": "^7.0.8",
|
|
- "lint-staged": "^12.1.2",
|
|
|
|
|
|
+ "lint-staged": "^13.0.2",
|
|
"prettier": "^2.3.1",
|
|
"prettier": "^2.3.1",
|
|
"redux-mock-store": "^1.5.4",
|
|
"redux-mock-store": "^1.5.4",
|
|
"rimraf": "^3.0.2",
|
|
"rimraf": "^3.0.2",
|
|
- "ts-jest": "^28.0.3",
|
|
|
|
- "ts-node": "^10.8.0",
|
|
|
|
- "typescript": "^4.3.5"
|
|
|
|
|
|
+ "ts-jest": "^28.0.5",
|
|
|
|
+ "ts-node": "^10.8.1",
|
|
|
|
+ "typescript": "^4.7.4"
|
|
},
|
|
},
|
|
"engines": {
|
|
"engines": {
|
|
"node": "v16.15.0",
|
|
"node": "v16.15.0",
|