From 634e307f85fd1033577c38c0780c55f2755e01f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Maro=C5=A1i?= Date: Wed, 4 Oct 2023 15:58:19 +0200 Subject: [PATCH 1/2] bump scalprum --- package-lock.json | 58 +++++++++++++++++++++++------------------------ package.json | 6 ++--- 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index f7b3c8e94..8eb33cb67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@data-driven-forms/pf4-component-mapper": "^3.20.2", "@data-driven-forms/react-form-renderer": "^3.20.2", "@formatjs/cli": "4.8.4", - "@openshift/dynamic-plugin-sdk": "^3.0.0", + "@openshift/dynamic-plugin-sdk": "^4.0.0", "@patternfly/patternfly": "^5.0.4", "@patternfly/quickstarts": "^5.0.0", "@patternfly/react-charts": "^7.0.0", @@ -28,8 +28,8 @@ "@redhat-cloud-services/frontend-components-utilities": "^4.0.1", "@redhat-cloud-services/host-inventory-client": "1.2.0", "@redhat-cloud-services/rbac-client": "1.2.0", - "@scalprum/core": "0.5.1", - "@scalprum/react-core": "0.5.1", + "@scalprum/core": "0.5.4", + "@scalprum/react-core": "0.5.4", "@segment/analytics-next": "^1.51.1", "@sentry/react": "^7.44.2", "@sentry/tracing": "^7.44.2", @@ -2692,11 +2692,11 @@ } }, "node_modules/@openshift/dynamic-plugin-sdk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@openshift/dynamic-plugin-sdk/-/dynamic-plugin-sdk-3.0.0.tgz", - "integrity": "sha512-HHVjKxlssDS92DwfPGmeDbnZN+zR96juDTBEJEUluWwvyIqwgopx9GD5YrDGPDv8XvrG5TajJ/yJ9j2Wt4ap4g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@openshift/dynamic-plugin-sdk/-/dynamic-plugin-sdk-4.0.0.tgz", + "integrity": "sha512-OQsRqpRFz8IO6dZP6oKqdS7fLpdK25jxteevhussWFDd6RETNaLAG9GaSfvN0oigrzNIUTwH59kJx8PP8PrMug==", "dependencies": { - "lodash-es": "^4.17.21", + "lodash": "^4.17.21", "semver": "^7.3.7", "uuid": "^8.3.2", "yup": "^0.32.11" @@ -3723,20 +3723,20 @@ } }, "node_modules/@scalprum/core": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@scalprum/core/-/core-0.5.1.tgz", - "integrity": "sha512-xYj9GRXleYMo2bsbdHN9fJmmwPkUHI9sjEoJU7jWoKzfTZTQWnhHVGjW53XOhtz4NO4lAZGPID7dbuJksNyvuA==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@scalprum/core/-/core-0.5.4.tgz", + "integrity": "sha512-Z6/u1J8aRopYEfg5YzmPx+jFEjoeEQCHJPmEABLn44Dr1CmZJJStS4+jANRJXZCcGQhTH3Wsn/hu02hGxMVuCQ==", "dependencies": { - "@openshift/dynamic-plugin-sdk": "^3.0.0" + "@openshift/dynamic-plugin-sdk": "^4.0.0" } }, "node_modules/@scalprum/react-core": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@scalprum/react-core/-/react-core-0.5.1.tgz", - "integrity": "sha512-S3R/cSA9Dlrf4REwDIH80d5M+lEzzYhYHCPOFzmt1Zm3v4sFkFAUx9ZARfyrWK0UOYfXUE/L6D6R1lGgTWm54Q==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@scalprum/react-core/-/react-core-0.5.4.tgz", + "integrity": "sha512-tBAUstwEDri7ApIyfAzVfRzVj2MmlKVy29eFL4lOEZf7M96uUCdhmYtSdDPka7CegplgHN+9AtuSLiYR97K2gg==", "dependencies": { - "@openshift/dynamic-plugin-sdk": "^3.0.0", - "@scalprum/core": "^0.5.1", + "@openshift/dynamic-plugin-sdk": "^4.0.0", + "@scalprum/core": "^0.5.4", "lodash": "^4.17.0" }, "peerDependencies": { @@ -29467,11 +29467,11 @@ } }, "@openshift/dynamic-plugin-sdk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@openshift/dynamic-plugin-sdk/-/dynamic-plugin-sdk-3.0.0.tgz", - "integrity": "sha512-HHVjKxlssDS92DwfPGmeDbnZN+zR96juDTBEJEUluWwvyIqwgopx9GD5YrDGPDv8XvrG5TajJ/yJ9j2Wt4ap4g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@openshift/dynamic-plugin-sdk/-/dynamic-plugin-sdk-4.0.0.tgz", + "integrity": "sha512-OQsRqpRFz8IO6dZP6oKqdS7fLpdK25jxteevhussWFDd6RETNaLAG9GaSfvN0oigrzNIUTwH59kJx8PP8PrMug==", "requires": { - "lodash-es": "^4.17.21", + "lodash": "^4.17.21", "semver": "^7.3.7", "uuid": "^8.3.2", "yup": "^0.32.11" @@ -30336,20 +30336,20 @@ "integrity": "sha512-mrfKqIHnSZRyIzBcanNJmVQELTnX+qagEDlcKO90RgRBVOZGSGvZKeDihTRfWcqoDn5N/NkUcwWTccnpN18Tfg==" }, "@scalprum/core": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@scalprum/core/-/core-0.5.1.tgz", - "integrity": "sha512-xYj9GRXleYMo2bsbdHN9fJmmwPkUHI9sjEoJU7jWoKzfTZTQWnhHVGjW53XOhtz4NO4lAZGPID7dbuJksNyvuA==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@scalprum/core/-/core-0.5.4.tgz", + "integrity": "sha512-Z6/u1J8aRopYEfg5YzmPx+jFEjoeEQCHJPmEABLn44Dr1CmZJJStS4+jANRJXZCcGQhTH3Wsn/hu02hGxMVuCQ==", "requires": { - "@openshift/dynamic-plugin-sdk": "^3.0.0" + "@openshift/dynamic-plugin-sdk": "^4.0.0" } }, "@scalprum/react-core": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@scalprum/react-core/-/react-core-0.5.1.tgz", - "integrity": "sha512-S3R/cSA9Dlrf4REwDIH80d5M+lEzzYhYHCPOFzmt1Zm3v4sFkFAUx9ZARfyrWK0UOYfXUE/L6D6R1lGgTWm54Q==", + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/@scalprum/react-core/-/react-core-0.5.4.tgz", + "integrity": "sha512-tBAUstwEDri7ApIyfAzVfRzVj2MmlKVy29eFL4lOEZf7M96uUCdhmYtSdDPka7CegplgHN+9AtuSLiYR97K2gg==", "requires": { - "@openshift/dynamic-plugin-sdk": "^3.0.0", - "@scalprum/core": "^0.5.1", + "@openshift/dynamic-plugin-sdk": "^4.0.0", + "@scalprum/core": "^0.5.4", "lodash": "^4.17.0" } }, diff --git a/package.json b/package.json index 2655dcfba..101185403 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "@data-driven-forms/pf4-component-mapper": "^3.20.2", "@data-driven-forms/react-form-renderer": "^3.20.2", "@formatjs/cli": "4.8.4", - "@openshift/dynamic-plugin-sdk": "^3.0.0", + "@openshift/dynamic-plugin-sdk": "^4.0.0", "@patternfly/patternfly": "^5.0.4", "@patternfly/quickstarts": "^5.0.0", "@patternfly/react-charts": "^7.0.0", @@ -142,8 +142,8 @@ "@redhat-cloud-services/frontend-components-utilities": "^4.0.1", "@redhat-cloud-services/host-inventory-client": "1.2.0", "@redhat-cloud-services/rbac-client": "1.2.0", - "@scalprum/core": "0.5.1", - "@scalprum/react-core": "0.5.1", + "@scalprum/core": "0.5.4", + "@scalprum/react-core": "0.5.4", "@segment/analytics-next": "^1.51.1", "@sentry/react": "^7.44.2", "@sentry/tracing": "^7.44.2", From 7b14a423342284901c6d26f90e8fa8c47085b90b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Maro=C5=A1i?= Date: Tue, 10 Oct 2023 09:31:37 +0200 Subject: [PATCH 2/2] Remove unecessary transforms config. --- jest.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jest.config.js b/jest.config.js index f517823d0..f6e729b95 100644 --- a/jest.config.js +++ b/jest.config.js @@ -10,9 +10,7 @@ module.exports = { testEnvironmentOptions: { url: 'https://test.com', }, - transformIgnorePatterns: [ - '/node_modules/(?!@redhat-cloud-services|@openshift|lodash-es|@patternfly/react-core/components|@patternfly/react-core/next|@patternfly/react-core/helpers|@patternfly/react-tokens/dist/esm|@patternfly/react-icons/dist/esm).+(js|jsx)$', - ], + transformIgnorePatterns: ['/node_modules/(?!@patternfly/react-tokens/dist/esm|@patternfly/react-icons/dist/esm).+(js|jsx)$'], transform: { '^.+\\.(ts|js)x?$': [ '@swc/jest',