Skip to content

Commit 277120b

Browse files
fix(codemod): improve replacements for Text (#6123)
1 parent e9aeb63 commit 277120b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/MigrationGuide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ we provide a codemod which tries to transform most of the breaking changes.
3939
/>
4040

4141
```shell
42-
npx @ui5/webcomponents-react-cli codemod --transform v2 \
42+
npx @ui5/webcomponents-react-cli@next codemod --transform v2 \
4343
--src ./path/to/src \
4444
--typescript # only if you use TypeScript in your project, omit if you use JavaScript
4545
```

packages/cli/src/scripts/codemod/transforms/v2/codemodConfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,8 @@
512512
"removedProps": ["navigated", "selected"]
513513
},
514514
"Text": {
515-
"comment": "wrapping -> maxLines"
515+
"comment": "wrapping -> maxLines",
516+
"removedProps": ["hyphenated", "emptyIndicator"]
516517
},
517518
"TextArea": {
518519
"changedProps": {

0 commit comments

Comments
 (0)