Publish react-native-flipper as NPM package

Summary:
This Diff makes the react-native-flipper package available on NPM.

For simplicity and traceability purposes, this package is released every time Flipper is released, under the same version number. Even though there will be often no changes.

Reviewed By: passy

Differential Revision: D19446815

fbshipit-source-id: 485930e57beac42a2f36dc34a8ac82eed2abe785
This commit is contained in:
Michel Weststrate
2020-01-17 08:19:08 -08:00
committed by Facebook Github Bot
parent 3b24e41258
commit 1b7a30ae6c
6 changed files with 156 additions and 16 deletions

View File

@@ -86,6 +86,9 @@ echo "Bumping version number for android related files..."
echo "Bumping version number in package.json"
jq '.version = $newVal' --arg newVal "$VERSION" "$SONAR_DIR"/package.json > tmp.$$.json && mv tmp.$$.json "$SONAR_DIR"/package.json
#Update react-native-flipper to the very same version
jq '.version = $newVal' --arg newVal "$VERSION" "$SONAR_DIR"/react-native/react-native-flipper/package.json > tmp.$$.json && mv tmp.$$.json "$SONAR_DIR"/react-native/react-native-flipper/package.json
echo "Committing the files..."
hg addremove