Skip to content

Commit

Permalink
Fix CI (#1044)
Browse files Browse the repository at this point in the history
* fix lint

* upd @mui/x-date-pickers to 6.19.9

* upd antd to 5.17.2

* fix lint
  • Loading branch information
ukrbublik authored May 14, 2024
1 parent ca86819 commit 7699dcc
Show file tree
Hide file tree
Showing 9 changed files with 579 additions and 459 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ module.exports = {
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"rules": {
"@typescript-eslint/no-unnecessary-type-assertion": 0,
//todo
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/ban-types": 0,
Expand Down
2 changes: 1 addition & 1 deletion packages/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@babel/preset-typescript": "^7.22.5",
"@babel/runtime": "^7.22.5",
"@types/react": "^17.0.39",
"antd": "^5.7.2",
"antd": "^5.17.2",
"less": "^4.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.12.3",
"@mui/system": "^5.12.3",
"@mui/x-date-pickers": "^6.3.1",
"@mui/x-date-pickers": "^6.19.9",
"@popperjs/core": "^2.11.6",
"@react-awesome-query-builder/antd": "workspace:^",
"@react-awesome-query-builder/bootstrap": "workspace:^",
Expand All @@ -48,7 +48,7 @@
"@react-awesome-query-builder/material": "workspace:^",
"@react-awesome-query-builder/mui": "workspace:^",
"@react-awesome-query-builder/ui": "workspace:^",
"antd": "^5.7.2",
"antd": "^5.17.2",
"bootstrap": "^5.1.3",
"clone": "^2.1.2",
"immutable": "^4.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.12.3",
"@mui/system": "^5.12.3",
"@mui/x-date-pickers": "^6.3.1",
"@mui/x-date-pickers": "^6.19.9",
"@types/react": "^17.0.39",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.12.3",
"@mui/system": "^5.12.3",
"@mui/x-date-pickers": "^6.3.1",
"@mui/x-date-pickers": "^6.19.9",
"@react-awesome-query-builder/antd": "workspace:^",
"@react-awesome-query-builder/mui": "workspace:^",
"antd": "^5.7.2",
"antd": "^5.17.2",
"lodash": "^4.17.21",
"react": "^17.0.2",
"react-dom": "^17.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/sandbox_next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.12.3",
"@mui/system": "^5.12.3",
"@mui/x-date-pickers": "^6.3.1",
"@mui/x-date-pickers": "^6.19.9",
"@react-awesome-query-builder/core": "workspace:^",
"@react-awesome-query-builder/mui": "workspace:^",
"lodash": "^4.17.21",
Expand Down
4 changes: 2 additions & 2 deletions packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.12.3",
"@mui/system": "^5.12.3",
"@mui/x-date-pickers": "^6.3.1",
"@mui/x-date-pickers": "^6.19.9",
"@popperjs/core": "^2.11.6",
"@react-awesome-query-builder/antd": "workspace:^",
"@react-awesome-query-builder/bootstrap": "workspace:^",
Expand All @@ -48,7 +48,7 @@
"@react-awesome-query-builder/material": "workspace:^",
"@react-awesome-query-builder/mui": "workspace:^",
"@react-awesome-query-builder/ui": "workspace:^",
"antd": "^5.7.2",
"antd": "^5.17.2",
"bootstrap": "^5.1.3",
"lodash": "^4.17.21",
"moment": "^2.29.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/tests/specs/WidgetsMui.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ describe("mui widgets interactions", () => {

const hourBtn = document.querySelector<HTMLElement>(
".MuiMultiSectionDigitalClock-root"
+ " > .MuiMultiSectionDigitalClock-root:nth-child(1)"
+ " > .MuiMultiSectionDigitalClockSection-root:nth-child(1)"
+ " > .MuiMenuItem-root:nth-child(11)"
);
expect(hourBtn, "hourBtn").to.exist;
Expand All @@ -176,7 +176,7 @@ describe("mui widgets interactions", () => {

const minBtn = document.querySelector<HTMLElement>(
".MuiMultiSectionDigitalClock-root"
+ " > .MuiMultiSectionDigitalClock-root:nth-child(2)"
+ " > .MuiMultiSectionDigitalClockSection-root:nth-child(2)"
+ " > .MuiMenuItem-root:nth-child(7)"
);
expect(minBtn, "minBtn").to.exist;
Expand Down
Loading

0 comments on commit 7699dcc

Please sign in to comment.