-
-
Notifications
You must be signed in to change notification settings - Fork 79
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Read configuration from project directory #25
Comments
You can already do this with |
@sapegin Create If I use Reading mrm source code, I found that Line 193 in 3d5801e
|
You’re right, it doesn’t merge configs. But you can change any option via command line. |
Yes,
Would you consider to support merge config from files? If yes maybe I can contribute a PR. |
Would be nice if you could try to implement it. Maybe we could use cosmiconfig for that. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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.
The text was updated successfully, but these errors were encountered: