Remove accidentally included files in npm package

The 0.11.0-rc was bloated by lots of unnecessary build products and other miscellaneous files.
This commit is contained in:
Scott Kyle 2016-03-16 16:48:04 -07:00
parent 72675f6658
commit 5d872d6233
3 changed files with 17 additions and 5 deletions

View File

@ -1 +1,6 @@
*.orig *.orig
/changelog-header.sh
/publish.sh
/set-version.sh
/test.sh

View File

@ -78,6 +78,9 @@ confirm "Are you sure you want to publish $VERSION?" || die "Aborted publishing
# This should fail if this tag already exists. # This should fail if this tag already exists.
git tag "v$VERSION" git tag "v$VERSION"
# Delete Android build directory so no stale files are accidentally included.
rm -rf react-native/android/build
# Publish to npm, informing the prepublish script to build Android modules. # Publish to npm, informing the prepublish script to build Android modules.
echo "Publishing $VERSION to npm..." echo "Publishing $VERSION to npm..."
PRERELEASE=$(grep -Eio '[a-z]+' <<< "$VERSION") PRERELEASE=$(grep -Eio '[a-z]+' <<< "$VERSION")

View File

@ -1,7 +1,11 @@
*.orig *.orig
object-store/external/catch /object-store/**/*.cmake
object-store/external/pegtl/Makefile /object-store/**/*.dylib
object-store/external/pegtl/examples /object-store/**/*.sh
object-store/external/pegtl/unit_tests /object-store/**/CMake*
object-store/tests /object-store/**/Makefile
/object-store/external/catch/
/object-store/external/pegtl/examples/
/object-store/external/pegtl/unit_tests/
/object-store/tests/