-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: rename hermes-inspector-msggen to @react-native/hermes-inspector-msggen #34850
chore: rename hermes-inspector-msggen to @react-native/hermes-inspector-msggen #34850
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the yarn.lock
file?
Sure, done |
@@ -12,7 +12,7 @@ FBSOURCE=$(hg root) | |||
CLANG_FORMAT="${FBSOURCE}/tools/third-party/clang-format/clang-format" | |||
SIGNEDSOURCE="${FBSOURCE}/tools/signedsource" | |||
|
|||
cd "${DIR}/msggen" | |||
cd "${DIR}/../../../../packages/hermes-inspector-msggen" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we pushd
and popd
here as the paths are so distant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I've just pushed a commit updating this
Base commit: 8486b4c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you address the comments and rebase?
@@ -2,6 +2,9 @@ | |||
|
|||
set -e | |||
|
|||
ROOT=$(pwd) | |||
pushd $ROOT >/dev/null || exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need || exit
as you have a set -e
on top
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -12,7 +15,8 @@ FBSOURCE=$(hg root) | |||
CLANG_FORMAT="${FBSOURCE}/tools/third-party/clang-format/clang-format" | |||
SIGNEDSOURCE="${FBSOURCE}/tools/signedsource" | |||
|
|||
cd "${DIR}/msggen" | |||
popd >/dev/null || exit | |||
cd "packages/hermes-inspector-msggen" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest we pushd "${DIR}/msggen"
(or $ROOT/packages/hermes-inspector-msggen
) and popd
at the end of this script so the user is back in the folder where the script was invoked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, updated
29e4605
to
01159df
Compare
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Base commit: 108c876 |
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was successfully merged by @gabrieldonadel in 530dae8. When will my fix make it into a release? | Upcoming Releases |
…or-msggen (facebook#34850) Summary: This PR renames ` hermes-inspector-msggen` to `react-native/hermes-inspector-msggen`, moves it to `packages/hermes-inspector-msggen` and makes the package private as part of RFC480. Related to facebook#34692 ## Changelog [General] [Changed] - Move and rename `hermes-inspector-msggen` to `react-native/hermes-inspector-msggen` Pull Request resolved: facebook#34850 Test Plan: run `sh ReactCommon/hermes/inspector/tools/run_msggen` Reviewed By: mattbfb Differential Revision: D40060406 Pulled By: cortinico fbshipit-source-id: e018fd88e8374a69fbd8737fbb9abe7565d4a003
Summary
This PR renames
hermes-inspector-msggen
to@react-native/hermes-inspector-msggen
, moves it topackages/hermes-inspector-msggen
and makes the package private as part of RFC480.Related to #34692
Changelog
[General] [Changed] - Move and rename
hermes-inspector-msggen
to@react-native/hermes-inspector-msggen
Test Plan
run
sh ReactCommon/hermes/inspector/tools/run_msggen