mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 23:11:31 +00:00
7027ee5ced
* chore(util/exec): add a strong type for Containerbase's known tools As noted in #41849, we currently don't have a way of enforcing the usage of a `ContainerbaseToolName` being a tool that Containerbase actually knows. To handle this, we can use the new `@containerbase/base` and `@renovatebot/base-image` packages to see what Tools we currently have support for, and make sure that our types use the tools supported by `@renovatebot/base-image` (and therefore `@containerbase/base`). As well as the Typescript compilation error a user will receive, we can add a test that provides a better note to the user about how to add a new tool. Co-Authored-By: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> * fixup! chore(util/exec): add a strong type for Containerbase's known tools * fixup! chore(util/exec): add a strong type for Containerbase's known tools So we can get better confidence that we're not clashing with type names between Containerbase tools and non-tool constraints. Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> --------- Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>