@breakaway/ui-lib
v1.0.0
Published
React component library for the Assisted Installer UI
Downloads
3
Readme
Install
yarn add @openshift-assisted/locales
yarn add @breakaway/ui-lib
Jest
The project uses
conditional exports
which are only supported in Jest >= v28.
If your project uses an older Jest version add the following settings to Jest's configuration:
{
"moduleNameMapper": {
"@breakaway/ui-lib/cim": "<rootDir>/node_modules/@breakaway/ui-lib/build/cim",
"@openshift-assisted/locales/([a-z]{2,3}/translation.json)": "<rootDir>/node_modules/@openshift-assisted/locales/lib/$1/translation.json"
}
}
Depending on your Jest configuration, you may need also to add this:
{
"transformIgnorePatterns": ["node_modules/(?!@openshift-assisted|lodash-es|@patternfly)"]
}
License
Apache-2.0