From 83b9250c2be6ca3fa1df24fff4fd9ae316c4958b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:22:29 +0100 Subject: [PATCH] chore: bump eslint-plugin-jest from 27.6.3 to 28.8.3 (#1741) * chore: bump eslint-plugin-jest from 27.6.3 to 28.8.3 Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.6.3 to 28.8.3. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v27.6.3...v28.8.3) --- updated-dependencies: - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: update node version --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kudakwashe Mupeni --- .circleci/config.yml | 4 +- .nvmrc | 2 +- package.json | 10 +- .../ExternalResourceCard.tsx | 12 +- yarn.lock | 147 ++++++++++++++++-- 5 files changed, 151 insertions(+), 24 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cac00d1fd..267bdc3c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,13 +7,13 @@ executors: linux-node: resource_class: xlarge docker: - - image: cimg/node:18.18 + - image: cimg/node:20.14.0 environment: CYPRESS_INSTALL_BINARY: 0 linux-cypress: resource_class: xlarge docker: - - image: cypress/browsers:node-18.16.1-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1 + - image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1 environment: TZ: UTC CYPRESS_CACHE_FOLDER: ~/.cache/Cypress diff --git a/.nvmrc b/.nvmrc index 0828ab794..85aee5a53 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 \ No newline at end of file +v20 \ No newline at end of file diff --git a/package.json b/package.json index 4684128d2..a6721d889 100644 --- a/package.json +++ b/package.json @@ -65,8 +65,8 @@ "@testing-library/react": "12.1.5", "@types/jest": "29.5.1", "@types/lodash": "4.14.202", - "@types/react": "17.0.0", - "@types/react-dom": "17.0.0", + "@types/react": "18.3.12", + "@types/react-dom": "18.3.1", "@types/testing-library__cypress": "5.0.9", "@types/webpack-env": "1.18.4", "@typescript-eslint/eslint-plugin": "6.19.0", @@ -84,7 +84,7 @@ "eslint-plugin-eslint-comments": "3.2.0", "eslint-plugin-import": "2.29.1", "eslint-plugin-import-helpers": "1.3.1", - "eslint-plugin-jest": "27.6.3", + "eslint-plugin-jest": "28.8.3", "eslint-plugin-jsx-a11y": "6.9.0", "eslint-plugin-mocha": "10.4.2", "eslint-plugin-react": "7.35.0", @@ -168,7 +168,7 @@ ] }, "engines": { - "node": ">=18", + "node": ">=20", "yarn": ">=1.21.1" }, "config": { @@ -177,7 +177,7 @@ } }, "volta": { - "node": "18", + "node": "20", "yarn": "1.21.1" }, "publishConfig": { diff --git a/packages/reference/src/resources/ExternalResourceCard/ExternalResourceCard.tsx b/packages/reference/src/resources/ExternalResourceCard/ExternalResourceCard.tsx index 9f3ef6d76..98409edda 100644 --- a/packages/reference/src/resources/ExternalResourceCard/ExternalResourceCard.tsx +++ b/packages/reference/src/resources/ExternalResourceCard/ExternalResourceCard.tsx @@ -117,7 +117,8 @@ export function ExternalResourceCard({ testId="edit" onClick={() => { onEdit && onEdit(); - }}> + }} + > Edit ) : null, @@ -127,7 +128,8 @@ export function ExternalResourceCard({ testId="delete" onClick={() => { onRemove && onRemove(); - }}> + }} + > Remove ) : null, @@ -143,7 +145,8 @@ export function ExternalResourceCard({ onMoveBottom && onMoveBottom()} - testId="move-bottom"> + testId="move-bottom" + > Move to bottom ) : null, @@ -156,7 +159,8 @@ export function ExternalResourceCard({ onEdit && onEdit(); } : undefined - }> + } + >