Allow Sync Generators Options in Configurations #32663
jogelin
started this conversation in
Feature Requests
Replies: 1 comment
-
I would like option (1) for the schema of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Use case:
We dynamically generate a
gitlab-ci.yml
file based on the repo/team/technology. We’d like to leverage sync generators so the committedgitlab-ci.yml
always stays in sync.Most of our configuration (including which sync generators to run) is inferred, but we’d like to make some sync generators configurable. Using
nx.json > generators
defaults works for static cases, but we need something more dynamic.Because a sync generator has a schema, I was wondering if Nx could support a syntax like:
OR like
nx.json
That way we could rely on the generator’s schema and infer options automatically.
Do you think this is something Nx could consider supporting? I’d be happy to explore contributing a PR if it makes sense.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions