Repository navigation
Allow Inclusion after Exclusion using ! Globs - #2266
Conversation
|
Ready for review 🚀 |
|
Great! Thank you very much @jonsharratt for jumping right into it! 👍 🌮 🎉 Could you maybe add a small doc snippet so that users can see how they can include files. Furthermore does this also support symlinks? |
|
Great. Thanks for the updates! 👍 Will review this PR next up. |
|
Just testing with my project before it is ready for re-review to make sure it is all good |
|
Ready for review 🚀 Integration tested it on my npm registry project looks all good now 👍 |
|
Rebased master into branch to ensure it can be merged once reviewed. |
There was a problem hiding this comment.
This needs to be wrapped in quotes so that we don't get a YAML exception
There was a problem hiding this comment.
Good spot indeed 👍
There was a problem hiding this comment.
This needs to be wrapped in quotes so that we don't get a YAML exception
There was a problem hiding this comment.
Good spot indeed 👍
There was a problem hiding this comment.
Could you rename this to include-me.js so that it's more explicit what it should do?
There was a problem hiding this comment.
I agree, changed - Think at the time I read it as do not exclude me 👍
There was a problem hiding this comment.
Ah yep. That makes sense...
|
@jonsharratt love this one! Really great job! 👯 Just a few minor things and then it's good to go! Tested it locally and it works really great 👍 |
|
Ready for re-review 🚀 |
|
Going to sort the conflicts for this now 👍 |
|
@jonsharratt thanks for getting back and updating the PR! 🎉 (The preparation for the v1 release produced some PR conflicts 😿 ) |
|
Right sorting this last conflict again hehe 👯♂️ |
|
Just reviewed it again. Love it! Thank you very much @jonsharratt (love your gifs. Made my day 😹 )! @flomotlik Ready to be merged. This is a follow-up PR of #2194 |
|
Guys (@jonsharratt), just saw an important flaw that can be easily fixed. The order in which the default, service and function excludes are concatenated in
Right now, is reversed, so a typical use-case in which I exclude everything at the top with |
|
@jonsharratt, please fix the order of the excludes array as stated above, thanks! |
|
@demetriusnunes Will take a look this evening, thanks for the feedback. |
|
Please, merge this. Thanks! |
|
Please, please let me deploy my symlinks again! |
|
Think there is further discussions around this perhaps happening, all good if it goes in another direction. Just keeping it up to date so it can be merged if deemed an appropriate method for doing this 💃 If you are at http://serverlessconf.io/ maybe ask @flomotlik to merge it in hehe 🙈 ! |
|
Awesome @jonsharratt 👍 💯 Thanks for updating and rebasing. Will merge it now. Great addition to the current globs support! |

What did you implement:
_Implementing Issue:_ #2264 and #2472
How did you implement it:
!patterns and arrays of patterns being passed for globbing.How can we verify it:
Example of re-including
node-fetchmodule after excluding allnode_modulesTodos:
_Is this ready for review?:_ YES