invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.19k stars 206 forks source link

request: Don't remove custom modules added in Intellij #589

Open pavanpodila opened 1 year ago

pavanpodila commented 1 year ago

Is there an existing feature request for this?

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

spydon commented 10 months ago

@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.

pavanpodila commented 10 months ago

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