Skip to content

renovate/dependabot support #4314

@benedikt-bartscher

Description

@benedikt-bartscher

Reflex allows to specify npm deps via library and lib_dependencies string attributes of a Component.

Renovate and Dependabot will not parse such versions without additional plugins or configurations. It would be awesome if we could implement/document such config/plugins for reflex users and maybe even reflex-internal usage.

My team only uses renovate, I can be a bit more specific about that:

  • Renovate is highly configurable, I could write a (complicated and error-prone) regex manager to parse the versions from python files (https://docs.renovatebot.com/modules/manager/regex/). This one will probably be easy, and I will raise a PR documenting those regexes if @reflex-dev is interested.
  • For best support, we could later implement our own reflex manager for renovate (in TypeScript)

We could also implement a fancy approach where reflex (alternatively) allows setting library and lib_dependencies to a Path with a package.json. One big advantage is that this approach will probably add support for all dependency management tools. One disadvantage is that we have to leave python to adjust the versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestA feature you wanted added to reflex

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions