diff --git a/README.md b/README.md index 644afec..6ec0d48 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Automatically creates pull requests to your UI5 project whenever a new UI5 versi Information on the currently used UI5 version is updated in the following files: - ui5.yaml files - HTML files +- `manifest.json` and `CommonDataModel.json` files The UI5 Renovate Preset Config takes into account whether your project uses [OpenUI5](https://sdk.openui5.org/) or [SAPUI5](https://ui5.sap.com/). diff --git a/default.json b/default.json index 505953d..1026eac 100644 --- a/default.json +++ b/default.json @@ -29,11 +29,14 @@ "ui5-deploy\\.ya?ml", "ui5-dist\\.ya?ml", "ui5-local\\.ya?ml", - ".*\\.html" + ".*\\.html", + "manifest.json", + "CommonDataModel.json" ], "matchStrings": [ "https:\\/\\/ui5\\.sap\\.com\\/(?[\\.0-9]+)", - "[\\w\\s\\:\\'\\\"-./@]+SAPUI5[\\w\\s\\:\\'\\\"-./@]+version: \"?(?[\\.0-9]+)\"?" + "[\\w\\s\\:\\'\\\"-./@]+SAPUI5[\\w\\s\\:\\'\\\"-./@]+version: \"?(?[\\.0-9]+)\"?", + "\\\"(sap\\.platform\\.cf|sap\\.cloud\\.portal)\\\":[\\w\\s\\:\\'\\\"{?,@\\[\\]_\\.]*\\\"ui5VersionNumber\\\":[\\s]*\\\"(?[\\.0-9]+)" ], "depNameTemplate": "sapui5", "datasourceTemplate": "custom.sapui5" diff --git a/lts.json b/lts.json index b1ea64d..dec01d7 100644 --- a/lts.json +++ b/lts.json @@ -29,11 +29,14 @@ "ui5-deploy\\.ya?ml", "ui5-dist\\.ya?ml", "ui5-local\\.ya?ml", - ".*\\.html" + ".*\\.html", + "manifest.json", + "CommonDataModel.json" ], "matchStrings": [ "https:\\/\\/ui5\\.sap\\.com\\/(?[\\.0-9]+)", - "[\\w\\s\\:\\'\\\"-./@]+SAPUI5[\\w\\s\\:\\'\\\"-./@]+version: \"?(?[\\.0-9]+)\"?" + "[\\w\\s\\:\\'\\\"-./@]+SAPUI5[\\w\\s\\:\\'\\\"-./@]+version: \"?(?[\\.0-9]+)\"?", + "\\\"(sap\\.platform\\.cf|sap\\.cloud\\.portal)\\\":[\\w\\s\\:\\'\\\"{?,@\\[\\]_\\.]*\\\"ui5VersionNumber\\\":[\\s]*\\\"(?[\\.0-9]+)" ], "depNameTemplate": "sapui5_lts", "datasourceTemplate": "custom.sapui5_lts"