moon
moon copied to clipboard
[feature] Support nesting in `.config` dotfolders
Is your feature request related to a problem? Please describe.
Ever-expanding dot clutter in the root of projects is a scourge. I appreciate that you've buried all of yours in a single .moon folder, but this could be improved slightly further.
Describe the solution you'd like
Allow for the .moon folder to be relocated to .config/moon instead. Renovate do something similar, except optionally allow their configurations to be buried within platform-specific .github or .gitlab directories.
Describe alternatives you've considered
n/a
Additional context
We're considering adopting Moon in our # and Þ repos. This would be appreciated.
If you support this, you can get added to the dot-config ecosystem list, as well: https://dot-config.github.io/ (although it is wildly incomplete)
While I'm a big fan of the .config folder approach, the .moon folder contains a lot of non-config files. Some examples are all build caches, VCS hooks integration, Docker stuff, and more.
Would feel a bit weird to nest all that under .config.
Hey @milesj, thanks for the response. How much of that stuff needs committing to Git? Presumably it is just the config parts? No opposition here to having the rest remain in a .moon folder, and/or having this available on a purely opt-in basis.
p.s. we've been looking for a good Rust/TS monorepo solution for a while as we have Rust libs we maintain like error-stack side-by-side a ton of TS projects in our public monorepo. Excited to see y'all working on this!
Fair enough. I'll look into it for a future release.
Awesome, thanks @milesj. This plus Renovate support would both help with entropy a lot (in our use case). :)