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

Upgrade fbjs-scripts #18684

Merged
merged 2 commits into from
Apr 21, 2020
Merged

Conversation

sebmarkbage
Copy link
Collaborator

@sebmarkbage sebmarkbage commented Apr 21, 2020

This version takes into account the NODE_ENV as part of jest cache keys. This avoids flaky tests since we depend on different transforms in prod and dev.

This script takes into account the NODE_ENV as part of jest cache keys.
This avoids flaky tests since we depend on different transforms in prod
and dev.
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Apr 21, 2020
@@ -2430,104 +2618,6 @@ babel-eslint@^9.0.0:
eslint-scope "3.7.1"
eslint-visitor-keys "^1.0.0"

babel-generator@^6.26.0:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

lol. Don't need these anymore.

@sizebot
Copy link

sizebot commented Apr 21, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against 3f4bea8

@sizebot
Copy link

sizebot commented Apr 21, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against 3f4bea8

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 21, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3f4bea8:

Sandbox Source
bold-cray-xwopu Configuration

@@ -415,7 +415,7 @@ describe('ReactFreshBabelPlugin', () => {
}
`,
{
plugins: ['transform-es2015-modules-commonjs'],
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@gaearon This is the Babel 6 version which was only accidentally available in our repo. This now uses the Babel 7 transform. Not sure what this is testing.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this just makes sure the transform doesn't break it in some way. Makes sense to use the recent one.

Copy link
Collaborator

@gaearon gaearon left a comment

Choose a reason for hiding this comment

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

CI

@sebmarkbage sebmarkbage merged commit 0960b7b into facebook:master Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants