You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: lib/modules/manager/custom/jsonata/readme.md
+18-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
With `customManagers` using `JSONata` queries you can configure Renovate so it finds dependencies in JSON or YAML files, that are not detected by its other built-in package managers.
1
+
With `customManagers` using `JSONata` queries you can configure Renovate so it finds dependencies in JSON, TOML and YAML files, that are not detected by its other built-in package managers.
2
2
3
-
Renovate uses the `jsonata` package to process the `json` or `yaml`file content using the queries.
3
+
Renovate uses the `jsonata` package to process the file content using the queries, after the content has been parsed into `json` format.
4
4
5
5
For more on the jsonata query language, read the [jsonata query language site](https://docs.jsonata.org/overview.html).
6
6
@@ -231,3 +231,19 @@ Query:
231
231
```
232
232
packages.{ "depName": package, "currentValue": version }
233
233
```
234
+
235
+
```toml title="JSONata manager config to extract deps from a toml file"
236
+
[[packages]]
237
+
version = "1.2.3"
238
+
package = "foo"
239
+
240
+
[[packages]]
241
+
version = "1.2.2"
242
+
package = "bar"
243
+
```
244
+
245
+
Query:
246
+
247
+
```
248
+
packages.{ "depName": package, "currentValue": version }
0 commit comments