You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add back support for include option and support for symlinks #2264
#2194 Added support for excluding files/folders with glob statements. However, with the negate option ! being deprecated from node-glob it will be difficult to specifically include something instead of always excluding. This brings back the need for include option so packaging functions is a little more flexible, especially for the cases where people are packaging their functions individually.
Also, we can use node-glob's option follow: true, to follow symlinked directories. This is needed for packages that are installed locally with npm link. (note: I believe this option will only be needed in a development environment where someone is linking a local package they deploy it, so if it has serious performance impact on how fast node-glob does the search, we should not add it or at least optionalize it)
Reacted by GA7, demetriusnunes, Jordan Mack and Yonah Forst
@tolbahadi I have taken a look to see if we can make the exclude glob patterns terse and just support ! glob patterns using a different node module (that wraps node-glob under the hood).
Take a look at the PR and let me know what you think and everyone else 👍 or 👎
I have not had chance to take a look at the other request, re: following symlinks, shouldn't be a big job at all if people deem it worth adding (seems so if you have a use case for it 🎉 ).
If we can get consensus to either have it as an option or just have it on by default I can raise a cheeky pull request.
Thanks for the feedback on the change, much appreciated!
Activity
jonsharratt commentedon Oct 5, 2016
@tolbahadi I have taken a look to see if we can make the exclude glob patterns terse and just support
!glob patterns using a different node module (that wraps node-glob under the hood).Take a look at the PR and let me know what you think and everyone else 👍 or 👎
I have not had chance to take a look at the other request, re: following symlinks, shouldn't be a big job at all if people deem it worth adding (seems so if you have a use case for it 🎉 ).
If we can get consensus to either have it as an option or just have it on by default I can raise a cheeky pull request.
Thanks for the feedback on the change, much appreciated!
ianserlin commentedon Oct 12, 2016
We are stuck on version
1.0.0-rc.2until support fornpm linkis back.The alternatives are:
jordanmack commentedon Oct 14, 2016
On Windows directory symlinks and directory junctions are also not followed.
mthenw commentedon Nov 2, 2016
Duplicate of #2472. Already solved.