feat(zip)!: add includeSources and rename ignoredSources to excludeSources#378
feat(zip)!: add includeSources and rename ignoredSources to excludeSources#378aklinker1 merged 5 commits intowxt-dev:mainfrom nonwip:main
includeSources and rename ignoredSources to excludeSources#378Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
I don't want to include Instead, we should include a new option, Alternatively, we could ignore This is less of a problem when building in CI, where .env files are generally not present, but could still potentially be a problem there too. |
Hmm, I have a discord, but I don't have notifications on, and I haven't opened it for 2 years. I don't like being overran by notifications. I'd prefer just starting a discussion on github, but maybe I should make a discord channel for WXT, it's pretty common for libraries to do that... |
The easiest way to test the app is by recreating the issue in the |
|
Hmmm, is there part of WXT that can be used for server-side parts? If not, I do not see a problem of an Even if there was a scenario that someone would commit the .env file to the repo, if it's all client-side code, it's not considered a secret. |
@dvlden I use |
|
Ouch, I see... In that case, your idea to have includes as an option sounds good to me. Let me know if this is something that you'd let me try to implement? Cause it's similar to excludes, just opposite. |
|
Yeah, if you want to give it a go, that'd be great! |
…o to exclude-sources Also rename ignoredSources to excludedSources for easier mind mapping.
|
I did not come across any tests for this? I thought it may break, since I renamed
What do you think about it? I tested in |
includedSources and rename ignoredSources to excludedSources
There was a problem hiding this comment.
Looks good, could of small changes.
I did not come across any tests for this? I thought it may break, since I renamed ignoredSources, but no failing tests.
No, there are no tests for this right now
Where do I update documentation? Is that inferred from DocBlock?
EDIT: Nvm just read the CONTRIBUTING.md
Yup, any JSDoc is automatically updated on the website. I'll add an explicit note to the CONTRIBUTING.md file
Co-authored-by: Aaron <aaronklinker1@gmail.com>
includedSources and rename ignoredSources to excludedSourcesincludeSources and rename ignoredSources to excludeSources
aklinker1
left a comment
There was a problem hiding this comment.
Nice, thanks 👍 I'll get this released soon.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #378 +/- ##
==========================================
- Coverage 80.41% 80.34% -0.08%
==========================================
Files 104 104
Lines 7528 7552 +24
Branches 681 682 +1
==========================================
+ Hits 6054 6068 +14
- Misses 1458 1468 +10
Partials 16 16 ☔ View full report in Codecov by Sentry. |
Glad to be of any help. Looking forward to more contributions. If you get something that you think I could resolve in this large project's codebase, feel free to assign me. Really need this to get through Firefox approvals. |
This PR resolves #377
I am not sure is there a way to contact you somehow? Maybe Discord?
Cause I'd like to learn if there's an easy way to test the source changes locally?
For this PR I did
pnpm run buildand then I linked from my test project the wxt source usingpnpm link ../wxt