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
|
- name: Publish React Native
|
||||||
run: yarn publish
|
run: yarn publish
|
||||||
working-directory: react-native/react-native-flipper
|
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
|
This package exposes JavaScript bindings to talk from web / Node.js directly to
|
||||||
flipper.
|
flipper.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "js-flipper",
|
"name": "js-flipper",
|
||||||
"title": "JS Flipper Bindings for Web-Socket based clients",
|
"title": "JS Flipper Bindings for Web-Socket based clients",
|
||||||
"version": "0.0.4",
|
"version": "0.116.0",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
"description": "Flipper bindings for Node.js and web",
|
"description": "Flipper bindings for Node.js and web",
|
||||||
@@ -20,7 +20,14 @@
|
|||||||
"baseUrl": "https://github.com/facebook/flipper/tree/main/js/js-flipper"
|
"baseUrl": "https://github.com/facebook/flipper/tree/main/js/js-flipper"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"flipper"
|
"flipper",
|
||||||
|
"javascript",
|
||||||
|
"browser",
|
||||||
|
"node",
|
||||||
|
"react",
|
||||||
|
"angular",
|
||||||
|
"sdk",
|
||||||
|
"client"
|
||||||
],
|
],
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Facebook Inc"
|
"name": "Facebook Inc"
|
||||||
|
|||||||
@@ -38,6 +38,9 @@ yarn --cwd "$DESKTOP_DIR" version --new-version "$VERSION"
|
|||||||
# Update react-native-flipper to the very same 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
|
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.
|
# 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_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"
|
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