refactor: Update the lists of files included in packages #3297
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the packaging configuration for several packages, focusing on standardizing the
filesfield inpackage.jsonand cleaning up ignored files. The main goal is to ensure that only the necessary files are included in published npm packages, improving consistency and reducing package size.Changes
Packaging and file inclusion improvements:
filesfield inpackage.jsonacross multiple packages to consistently includedist, exclude*.tsbuildinfo, and selectively include or removeREADME.mdandLICENSEfiles. (packages/autocertifier-client/package.json[1]packages/autocertifier-server/package.json[2]packages/test-utils/package.json[3]packages/trackerless-network/package.json[4]packages/browser-test-runner/package.json[5]filesfield topackages/browser-test-runner/package.jsonto ensure only the necessary files are published..npmignoreinpackages/autocertifier-client– thefilesfield now controls published content.1Footnotes
autocertifier-clientwas the only package with.npmignore. It also hadfilesin itspackage.json. Now it's just like all the other packages – driven by thefilesfield *only*. ↩