Skip to content

Commit

Permalink
Upgarde to Vite v4 (#3062)
Browse files Browse the repository at this point in the history
* Upgarde to Vite v4

* Fix warnings

* resolved validateDOMNesting(...) warning also remove act from PreviewModal.spec.tsx

* Revert "resolved validateDOMNesting(...) warning also remove act from PreviewModal.spec.tsx"

This reverts commit f246609.

Co-authored-by: davitbejanyan <dbejanyan@provectus.com>
  • Loading branch information
workshur and David-DB88 authored Dec 29, 2022
1 parent 0cba824 commit 9fad0d0
Show file tree
Hide file tree
Showing 19 changed files with 523 additions and 587 deletions.
2 changes: 1 addition & 1 deletion kafka-ui-react-app/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
],
testEnvironment: 'jsdom',
transform: {
'\\.[jt]sx?$': 'babel-jest',
'\\.[jt]sx?$': '@swc/jest',
'^.+\\.css$': '<rootDir>/.jest/cssTransform.js',
},
transformIgnorePatterns: [
Expand Down
10 changes: 5 additions & 5 deletions kafka-ui-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@
"@tanstack/react-table": "^8.5.10",
"@testing-library/react": "^13.2.0",
"@types/testing-library__jest-dom": "^5.14.5",
"@vitejs/plugin-react": "^2.0.0",
"ace-builds": "^1.7.1",
"ajv": "^8.6.3",
"babel-jest": "^29.0.3",
"classnames": "^2.2.6",
"fetch-mock": "^9.11.0",
"jest": "^29.0.3",
Expand All @@ -43,8 +41,8 @@
"sass": "^1.52.3",
"styled-components": "^5.3.1",
"use-debounce": "^8.0.1",
"vite": "^3.0.2",
"vite-tsconfig-paths": "^3.5.0",
"vite": "^4.0.0",
"vite-tsconfig-paths": "^4.0.2",
"whatwg-fetch": "^3.6.2",
"yup": "^0.32.11",
"zustand": "^4.1.1"
Expand Down Expand Up @@ -80,6 +78,8 @@
"@babel/preset-typescript": "^7.17.12",
"@jest/types": "^29.0.3",
"@openapitools/openapi-generator-cli": "^2.5.1",
"@swc/core": "^1.3.22",
"@swc/jest": "^0.2.24",
"@testing-library/dom": "^8.11.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/user-event": "^14.4.3",
Expand All @@ -94,6 +94,7 @@
"@types/styled-components": "^5.1.13",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"@vitejs/plugin-react-swc": "^3.0.0",
"dotenv": "^16.0.1",
"eslint": "^8.3.0",
"eslint-config-airbnb": "^19.0.4",
Expand All @@ -115,7 +116,6 @@
"lint-staged": "^13.0.2",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.0",
"ts-node": "^10.8.1",
"ts-prune": "^0.10.3",
"typescript": "^4.7.4"
Expand Down
Loading

0 comments on commit 9fad0d0

Please sign in to comment.