Rename a deprecated UI5 settings property in XML views

Proprietary

Renames the attribute a deprecated property of a UI5 control is written as in XML views and fragments, where the successor gives it another name. <Button tap=".onTap"/> becomes <Button press=".onTap"/>. A tag that already carries the successor is left alone.

io.moderne.javascript.ui5.RenameUi5SettingInXmlView

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.RenameUi5SettingInXmlView \ -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.