Configuration templates? #6869
jonathanconway
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Note: Similar goals might be achieved with this feature: Support for a workspace.js file. #6511.
I'm currently building a monorepo which has many apps.
This results in a lot of duplication in
workspaces.json
, as each app has pretty much the same configuration. It's tedious having to maintain this massive file and do find-replace operations every time I want to add a new application.Could we consider some kind of templated configuration?
Maybe we could support a separate file called
workspace.templates.json
or similar, where we can define named templates, with mustache-style tags allowing values to be interpolated, and providing, say, anapp
object, which has info about the app being configured.E.g.
Then that name can be used in
workspaces.json
to apply the template.E.g.
Thanks for reading.
Beta Was this translation helpful? Give feedback.
All reactions