Skip to content
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

[DevTools] Commands for internal builds all follow :fb convention #22463

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

jstejada
Copy link
Contributor

Summary

The naming for our internal build commands for react-devtools-core follow the :fb convention, which I believe is more readable, so updating the command for the extensions as well.

This PR is paired with an internal diff to update the command name internally.

Test Plan

  • Internal sync script works with updated name

@@ -6,12 +6,12 @@
"build": "cross-env NODE_ENV=production yarn run build:chrome && yarn run build:firefox && yarn run build:edge",
"build:dev": "cross-env NODE_ENV=development yarn run build:chrome:dev && yarn run build:firefox:dev && yarn run build:edge:dev",
"build:chrome": "cross-env NODE_ENV=production node ./chrome/build",
"build:chrome:crx": "cross-env NODE_ENV=production FEATURE_FLAG_TARGET=extension-fb node ./chrome/build --crx",
"build:chrome:fb": "cross-env NODE_ENV=production FEATURE_FLAG_TARGET=extension-fb node ./chrome/build --crx",
"build:chrome:dev": "cross-env NODE_ENV=development node ./chrome/build",
"build:firefox": "cross-env NODE_ENV=production node ./firefox/build",
"build:firefox:dev": "cross-env NODE_ENV=development node ./firefox/build",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we have one for Firefox too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk why we don't have one already, but figured i'd just leave as is

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should maybe add a task to add one @bvaughn

Copy link
Contributor

@bvaughn bvaughn Sep 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think Chef auto-installs Firefox add-ons at Facebook, so this build wouldn't be used for anything. (Although TBH the same could be said about Edge extensions. Maybe we should remove that target to reduce confusion?

@jstejada jstejada merged commit 95ecd4a into facebook:main Sep 29, 2021
@jstejada jstejada deleted the build-commands branch September 29, 2021 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants