Drop globby as a dependency #4837
Replies: 3 comments 11 replies
-
I can't say I like the dependency, but I have so many real problems to solve, that I am simply not willing to spend time on making a globby replacement myself. Feel free to PR that if you have the time and you consider this important for you - I am all in for a smaller dependency footprint. But I want something that is pretty much a drop-in replacement (I don't care about the API, feature-wise). We need globs, not regexps. We also need negative globs. And such a thing should be well tested on windows too (I can't do that myself and not really interested in slow CI windows tests either, the CI is already very slow with linux). But that is pretty much it, it's not that unreal to achieve this. It's just about the time and priorities, and I have way too much more important stuff right now. Worth saying that if we make it a compatible replacement, it can happen any time, as it won't be breaking. That is what I'd envision ideally. |
Beta Was this translation helpful? Give feedback.
-
Fair enough, by looking at the code I can see globby being used in 3 places. I can test this on windows, since I am working from a windows machine. I'll try to cook up something and hopefully if I can run the tests on my local machine I will make a PR. |
Beta Was this translation helpful? Give feedback.
-
Hey Martin, good news I mean it's still not there and probably PS: it's using |
Beta Was this translation helpful? Give feedback.
-
Hello, as
v6
is just around the block please consider droppingglobby
as a dependency.Just recursively searching for files in a
dir
can be obtained without 23 dependencies.Example code ( tested locally on random code, not Mikro )
What do you think ?
Beta Was this translation helpful? Give feedback.
All reactions