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 }}
This repository was archived by the owner on Nov 18, 2024. It is now read-only.
Summary:
I noticed that a bunch of test files were being bundled with npm packages.
We encounter also the risk to bundle log and .tgz (npm packged module) files when running npm publish.
This diff attends to this problem by improving/adding an `.npmignore` config to each sub-module.
I've also updated the CHANGELOG.md file and even fixed-up some other things (like adding a missing section for one of our modules).
Pull Request resolved: #328
Test Plan:
Script to generate list of npm package files:
```
function packlist() {
pushd "packages/$1"
yarn pack > /dev/null; npx npm-packlist | sort
popd > /dev/null
}
echo "" > packlist.log
packlist babel-plugin-fbt >> packlist.log
packlist babel-plugin-fbt-runtime >> packlist.log
packlist babel-plugin-standalone >> packlist.log
packlist default-collection-transform >> packlist.log
packlist fb-babel-plugin-utils >> packlist.log
packlist fb-tiger-hash >> packlist.log
packlist fbt >> packlist.log
packlist gulp-rewrite-flowtyped-modules >> packlist.log
packlist gulp-strip-docblock-pragmas >> packlist.log
packlist react-native-fbt >> packlist.log
pastry < packlist.log
```
Comparison of the exported files: https://fburl.com/diffing/2gj65k9b
----
```
yarn clean-test
```
Reviewed By: pkqinys
Differential Revision: D33652464
Pulled By: kayhadrin
fbshipit-source-id: ac65707a25a523f7d8d82b7923b288ad229281dd
0 commit comments