Replies: 5 comments
-
You can already do this with |
Beta Was this translation helpful? Give feedback.
-
@sapegin Create If I use Reading mrm source code, I found that Line 193 in 3d5801e |
Beta Was this translation helpful? Give feedback.
-
You’re right, it doesn’t merge configs. But you can change any option via command line. |
Beta Was this translation helpful? Give feedback.
-
Yes,
Would you consider to support merge config from files? If yes maybe I can contribute a PR. |
Beta Was this translation helpful? Give feedback.
-
Would be nice if you could try to implement it. Maybe we could use cosmiconfig for that. |
Beta Was this translation helpful? Give feedback.
-
First introduce my use case:
My team develops a system in micro-service architecture which have several node.js projects. I'm trying to use mrm to unify configuration of all projects. I have defined a bunch of tasks according to our design guidelines. But not all configurations are common to all projects. Some configurations have to be set per-project. And also, some tasks should only be applied on part of projects.
I think if mrm would resolve configuration from
.mrm
file under project root directory, in which not only contains config items specific to current project but also defines which tasks from which preset should be applied, then I can runmrm
without any argument inside each project to update its configuration according to latest version of preset/tasks published in our private npm registry.It would be helpful for a big team to manage projects to keep them up-to-date with team's project template/configuration.
Beta Was this translation helpful? Give feedback.
All reactions