Update js-flipper in the pre-release phase and publish it
Summary: 1. Update js-flipper's version in pre-release 2. Update current version of js-flipper to match react-native-flipper 3. Publish js-flipper automatically Reviewed By: mweststrate Differential Revision: D31858522 fbshipit-source-id: e5a9816980d89d3ca6745bc16942f7b75f8d2a88
This commit is contained in:
committed by
Facebook GitHub Bot
parent
695ba14289
commit
3176c2f81d
3
.github/workflows/publish-npm.yml
vendored
3
.github/workflows/publish-npm.yml
vendored
@@ -28,3 +28,6 @@ jobs:
|
||||
- name: Publish React Native
|
||||
run: yarn publish
|
||||
working-directory: react-native/react-native-flipper
|
||||
- name: Publish JS Flipper
|
||||
run: yarn publish
|
||||
working-directory: js/js-flipper
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# flipper-sdk-api
|
||||
# js-flipper
|
||||
|
||||
This package exposes JavaScript bindings to talk from web / Node.js directly to
|
||||
flipper.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "js-flipper",
|
||||
"title": "JS Flipper Bindings for Web-Socket based clients",
|
||||
"version": "0.0.4",
|
||||
"version": "0.116.0",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"description": "Flipper bindings for Node.js and web",
|
||||
@@ -20,7 +20,14 @@
|
||||
"baseUrl": "https://github.com/facebook/flipper/tree/main/js/js-flipper"
|
||||
},
|
||||
"keywords": [
|
||||
"flipper"
|
||||
"flipper",
|
||||
"javascript",
|
||||
"browser",
|
||||
"node",
|
||||
"react",
|
||||
"angular",
|
||||
"sdk",
|
||||
"client"
|
||||
],
|
||||
"author": {
|
||||
"name": "Facebook Inc"
|
||||
|
||||
@@ -38,6 +38,9 @@ yarn --cwd "$DESKTOP_DIR" version --new-version "$VERSION"
|
||||
# Update react-native-flipper to the very same version
|
||||
yarn --cwd "$SONAR_DIR"/react-native/react-native-flipper version --new-version "$VERSION" --no-git-tag-version
|
||||
|
||||
# Update js-flipper to the very same version
|
||||
yarn --cwd "$SONAR_DIR"/js/js-flipper version --new-version "$VERSION" --no-git-tag-version
|
||||
|
||||
# This could be one expression with GNU sed, but I guess we want to support the BSD crap, too.
|
||||
SNAPSHOT_MINOR_VERSION=$(echo "$VERSION" | sed -Ee 's/([0-9]+)\.([0-9]+)\.([0-9]+)/\3 + 1/' | bc)
|
||||
SNAPSHOT_VERSION="$(echo "$VERSION" | sed -Ee 's/([0-9]+)\.([0-9]+)\.([0-9]+)/\1.\2./')""$SNAPSHOT_MINOR_VERSION""-SNAPSHOT"
|
||||
|
||||
Reference in New Issue
Block a user