Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

renovate/dependabot support #4314

Open
benedikt-bartscher opened this issue Nov 6, 2024 · 1 comment
Open

renovate/dependabot support #4314

benedikt-bartscher opened this issue Nov 6, 2024 · 1 comment

Comments

@benedikt-bartscher
Copy link
Contributor

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.

Copy link

linear bot commented Nov 6, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant