Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow zipping hidden files by listing them explicitly in includeSources #902

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

hikiko4ern
Copy link
Contributor

I omitted dot: true and didn't touch the default excludeSources (mentioned in #738 (comment)) to avoid filtering all files inside hidden directories (including those in .git). For example, in my repo:

  • dot: true filters 4657 files
  • only 1028 files are filtered with this PR

In theory, there should be no difference for the end user - both approaches will not include files inside the hidden directory if only that directory is specified in includeSources (i.e. to include all files inside .hidden-dir, you should specify .hidden-dir/**, not .hidden-dir). Perhaps this specific aspect should be mentioned somehow in the includeSources JSDoc?

Copy link

netlify bot commented Aug 4, 2024

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 22f3d7b
🔍 Latest deploy log https://app.netlify.com/sites/creative-fairy-df92c4/deploys/66b0045dfa1ce90008749a41
😎 Deploy Preview https://deploy-preview-902--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@aklinker1 aklinker1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well that was an easy fix lol. Thanks for updating the tests too!

Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.41%. Comparing base (4c5504d) to head (22f3d7b).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #902      +/-   ##
==========================================
+ Coverage   82.30%   82.41%   +0.10%     
==========================================
  Files         125      125              
  Lines        6538     6538              
  Branches     1093     1101       +8     
==========================================
+ Hits         5381     5388       +7     
+ Misses       1143     1136       -7     
  Partials       14       14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aklinker1 aklinker1 merged commit 0ab32e5 into wxt-dev:main Aug 8, 2024
16 checks passed
@aklinker1
Copy link
Collaborator

Released in v0.19.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants