Skip to content

Removed deprecated components - warn about removal of deprecated components #664

@wise-king-sullyman

Description

@wise-king-sullyman

Follow up to breaking change PR patternfly/patternfly-react#10345

We should give consumers an explicit heads up about deprecated components which have now been removed.

Ideally they should have customized error messages, I.e. for the select or dropdown we might want to suggest consumers look at the templates, for context selector we can point them towards the context selector example in our custom menus, etc

Though these would more or less be warnings the rule should throw errors and not warnings, since removed components that are in consumer codebases will cause build errors.

Required actions:

  1. Build codemod
  2. Build test
  3. Update readme with description & example

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions