mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 23:11:31 +00:00
c32e2391a0
Refs #45216 The object counterpart to `prefer-coerce-array`: `x ?? {}` becomes `coerceObject(x)`. The rule flags a `??` whose default is a bare `{}` literal, so a populated default or an asserted `({} as Foo)` still passes; a `x ?? y ?? {}` chain maps onto `coerceObject(x, y)`. Every hit across `lib/` converted cleanly, so no disable comments were needed.
Extracts dependencies from composer.json files, and keeps the associated composer.lock file updated too.
If you use VCS repositories then Renovate needs a hint via the name property, which must match the relevant package.
For example, the package acme/foo would need an entry in repositories similar to the following:
{
"name": "acme/foo",
"type": "vcs",
"url": "http://vcs-of-acme.org/acme/foo.git"
}
By default, Renovate will invoke composer update with the --with-dependencies flag.
Add composerWithAll to your postUpdateOptions array to use the --with-all-dependencies flag instead.