gulpjs / undertaker

Task registry that allows composition through series/parallel methods.
MIT License
200 stars 31 forks source link

Adds a 'did you mean?' note when failing to find a task #94

Closed orta closed 4 years ago

orta commented 4 years ago

I hit this enough times with a 'close but not quite' that I figured it was worth telling me what it actually was.

phated commented 4 years ago

This is super cool! However, the new dependency breaks our compatibility matrix (which we are updating for our next major): https://travis-ci.org/github/gulpjs/undertaker/builds/713364594

I'm also wondering if this should be done inside the default registry and implemented as a warning log so people can ignore them.

yocontra commented 4 years ago

Thumbs up on this - I love improving the DX and think the more of this we do the better!

orta commented 4 years ago

I'm happy with moving it to the registry, in either case I updated this PR to the same major version which I found in the dep tree and used TS' algo. The string-length dependent system there fits for me.

phated commented 4 years ago

Sorry for the delay here. It's been so long since anything was touched in undertaker that the CI needed some updates. I'm making those now and will test this in a branch.

phated commented 4 years ago

Alright, tested this successfully on Travis.

I think we need to rethink the assertions in this library and possibly switch everything over to gulplog, but that's in a breaking change, so I think this is a solid "new feature" release.

Thank you for the awesome work here!

phated commented 4 years ago

Published as 1.3.0

Thanks again! 🎉

orta commented 4 years ago

Welcome! Thanks for updating CI