dg / composer-cleaner

Victor The Cleaner: removes unnecessary files from vendor directory
https://nette.org
134 stars 19 forks source link

Ignoring whole packages, better output distinction #14

Closed finwe closed 7 years ago

finwe commented 7 years ago
dg commented 7 years ago

IMHO package can be ignored this way

{
    "extra": {
        "cleaner-ignore": {
            "slevomat/eet-client": ['']
        }
    }
}
finwe commented 7 years ago

Seems right, not very intuitive, though. Should I remove the ignoring with * and just update the readme?

finwe commented 7 years ago

I guess the most intuitive would be something like this

{
    "extra": {
        "cleaner-ignore": {
            "slevomat/eet-client": true
        }
    }
}

but would mean a larger impact on the code.

dg commented 7 years ago

I added full support for wildcards here b17b6992783f13275119b766d7ce35ba002144c6 and your first commit.

finwe commented 7 years ago

Cool, thanks!

dg commented 7 years ago

…And your idea how to skip whole package 41db7585dc9f2f345020931c76091dd3936df930