@openshift-assisted/ui-lib
TypeScript icon, indicating that this package has built-in type declarations

2.10.5-cim • Public • Published

The Assisted Installer UI components library

NPM

Install

yarn add @openshift-assisted/locales
yarn add @openshift-assisted/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": {
    "@openshift-assisted/ui-lib/cim": "<rootDir>/node_modules/@openshift-assisted/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

Package Sidebar

Install

npm i @openshift-assisted/ui-lib

Weekly Downloads

359

Version

2.10.5-cim

License

Apache-2.0

Unpacked Size

5.75 MB

Total Files

3370

Last publish

Collaborators

  • rawagnerop
  • celdrake
  • marek.libra
  • ammont82
  • brotman
  • jgyselov
  • jkilzi