Dev Deps: Bump @scalprum/react-core and @redhat-cloud-services/frontend-components

This bumps:
- `@scalprum/react-core` from 0.2.8 to 0.4.1
- `@redhat-cloud-services/frontend-components` from 3.9.25 to 3.9.32

The bump was ending with failing tests and an error `SyntaxError: Cannot use import statement outside a module`.

The problem lies in Jest not transforming files inside the `node_modules` by default. To transpile the modules that were triggering the error the `transformIgnorePatterns` was added.
This commit is contained in:
regexowl 2023-03-13 11:42:04 +01:00 committed by Sanne Raymaekers
parent f7a8616592
commit 52f1059e1a
2 changed files with 184 additions and 42 deletions

View file

@ -12,11 +12,11 @@
"@patternfly/patternfly": "4.224.2",
"@patternfly/react-core": "4.276.6",
"@patternfly/react-table": "4.112.6",
"@redhat-cloud-services/frontend-components": "3.9.25",
"@redhat-cloud-services/frontend-components": "3.9.32",
"@redhat-cloud-services/frontend-components-notifications": "3.2.12",
"@redhat-cloud-services/frontend-components-utilities": "3.3.11",
"@reduxjs/toolkit": "^1.9.3",
"@scalprum/react-core": "^0.2.8",
"@scalprum/react-core": "^0.4.1",
"classnames": "2.3.2",
"lodash": "4.17.21",
"react": "17.0.2",
@ -41,6 +41,9 @@
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"transformIgnorePatterns": [
"node_modules/(?!(@openshift|lodash-es|uuid)/)"
],
"setupFiles": [
"jest-canvas-mock"
],