melos icon indicating copy to clipboard operation
melos copied to clipboard

request: Don't remove custom modules added in Intellij

Open pavanpodila opened this issue 2 years ago • 2 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues.

Command

No response

Description

In my current Intellij project, I also have some custom modules that are not managed by melos. Unfortunately, each time I run melos bs, it rewrites the .idea/modules.xml file and I have to keep adding it back. Can we add an option in the melos.yaml to retain non-melos managed modules ?

Reasoning

It will greatly help where there are custom modules added manually to the Intellij Project.

Additional context and comments

No response

pavanpodila avatar Oct 13 '23 03:10 pavanpodila

@pavanpodila do you have any ideas of how to implement this? Maybe Intellij offers a way so that we could have this in a separate file that we then can import in modules.xml? I think it would be hard to know what melos should remove and what it shouldn't otherwise.

spydon avatar Jan 07 '24 19:01 spydon

I think we can take the option in melos.yaml, just like the workspace packages. We could call it excluded packages

pavanpodila avatar Jan 08 '24 01:01 pavanpodila