Rename a deprecated UI5 settings property

Proprietary

Renames a deprecated property of a UI5 control where the successor gives it another name, both inside the settings object its constructor takes and as an attribute in XML views and fragments. new Button({tap: onTap}) becomes new Button({press: onTap}), and <Button tap=".onTap"/> becomes <Button press=".onTap"/>.

io.moderne.javascript.ui5.RenameUi5Setting

Required

The module of the control whose settings carry the property.

The property as it is written today.

The property the successor takes instead.

mod run . --recipe=io.moderne.javascript.ui5.RenameUi5Setting \ -P module=sap/m/Button \ -P from=tap \ -P to=press

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.