Skip to content

chore(babel,flow): realign version bumps - #35787

Closed
kelset wants to merge 2 commits into
mainfrom
kelset/realign-babel-and-flow
Closed

chore(babel,flow): realign version bumps#35787
kelset wants to merge 2 commits into
mainfrom
kelset/realign-babel-and-flow

Conversation

@kelset

@kelsetkelset commented Jan 6, 2023

Copy link
Copy Markdown
Contributor

Summary

While working on #35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.

Happy to split in multiple PRs if needed.

Changelog

[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.201 in a few places that were left out from latest bump

Test Plan

CI is green.

@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. p: Microsoft Partner: Microsoft Partner labels Jan 6, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@robhogan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@robhogan

robhogan commented Jan 6, 2023

Copy link
Copy Markdown
Collaborator

Thanks! This is one of those changes that'll need aligning across Meta projects to pass internal CI - the @babel/runtime bump is a big one - but I'll see if we can make it stick.

@kelset

Copy link
Copy Markdown
ContributorAuthor

Thanks! This is one of those changes that'll need aligning across Meta projects to pass internal CI - the @babel/runtime bump is a big one - but I'll see if we can make it stick.

yeah no worries, I'm happy to split in multiple PRs if needed (in particular the flow aligments and the babel bump in template)

@kelset

Copy link
Copy Markdown
ContributorAuthor

@robhogan just wanted to check in how's it going for this PR - as mentioned, I'm happy to split in multiples to get as much of this in as possible right away

@kelset
kelsetforce-pushed the kelset/realign-babel-and-flow branch 2 times, most recently from a79070d to 2ebee9eCompareMarch 7, 2023 10:27
@kelset
kelset requested a review from robhoganMarch 7, 2023 10:31
@kelset

Copy link
Copy Markdown
ContributorAuthor

@robhogan@cipolleschi I just gave another pass and a cleanup to this PR, is it worth keeping open or I should just close it?

@analysis-bot

analysis-bot commented Mar 7, 2023

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a8,732,587+0
androidhermesarmeabi-v7a8,043,960-1
androidhermesx869,221,946-4
androidhermesx86_649,074,944-2
androidjscarm64-v8a9,297,786-4
androidjscarmeabi-v7a8,486,594-2
androidjscx869,358,542-2
androidjscx86_649,615,143+1

Base commit: 0a4a95f
Branch: main

@cipolleschi

Copy link
Copy Markdown
Contributor

I don't know... maybe @robhogan has more info/ideas?

@robhogan

Copy link
Copy Markdown
Collaborator

Sorry for not getting back @kelset - this is a tricky one to land because it needs syncing with a bunch of other projects outside RN. I suggest we hold it until after @hoxyq's monorepo work (which I know is bumping/syncing a few of these deps anyway) and then tidy up what's left.

@hoxyq

hoxyq commented Mar 8, 2023

Copy link
Copy Markdown
Contributor

Sorry for not getting back @kelset - this is a tricky one to land because it needs syncing with a bunch of other projects outside RN. I suggest we hold it until after @hoxyq's monorepo work (which I know is bumping/syncing a few of these deps anyway) and then tidy up what's left.

Monorepo changes also include bumping yargs outside of react-native, but not in react-native-github/hermes-inspector-msggen. I think we should return to this PR next week, if monorepo won't be landed by this time, we should at least merge this PR to have in 0.72 (as stated in summary)

@kelset

Copy link
Copy Markdown
ContributorAuthor

works for me, let's keep this frozen until the monorepo PR is successfully landed 👍 thanks for the update folks

@kelset
kelsetforce-pushed the kelset/realign-babel-and-flow branch from 2ebee9e to 5e1546eCompareMarch 21, 2023 11:39
@kelset

Copy link
Copy Markdown
ContributorAuthor

allright, branch rebased and updated! lmk what you want to do with it folks 🤗

@github-actions

github-actionsBot commented Mar 21, 2023

Copy link
Copy Markdown
Fails
🚫

📋 Missing Changelog - Please add a Changelog to your PR description. See Changelog format

Warnings
⚠️🔒 package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by 🚫 dangerJS against 2693368

@cipolleschi

Copy link
Copy Markdown
Contributor

What's the actionable here, @robhogan@hoxyq? do we need to import and land this?

@hoxyqhoxyq mentioned this pull request May 17, 2023
@hoxyq

Copy link
Copy Markdown
Contributor

@kelset Looks like we completely missed it, can you please resolve the conflicts and I will help with importing it this week?

flow realign
ts eslint realign
yarn lock
second yarn lock
Revert "ts eslint realign"
This reverts commit 3dd4e52.
yarn lock
another pass of realign
@hoxyq
hoxyqforce-pushed the kelset/realign-babel-and-flow branch from 267afc8 to c3731dfCompareMay 17, 2023 12:50
@kelset

kelset commented May 17, 2023

Copy link
Copy Markdown
ContributorAuthor

@kelset Looks like we completely missed it, can you please resolve the conflicts and I will help with importing it this week?

I'm at chainreact - will take a look next week 🤗

@hoxyq

Copy link
Copy Markdown
Contributor

@kelset Lorenzo Sciandra FTE Looks like we completely missed it, can you please resolve the conflicts and I will help with importing it this week?

I'm at chainreact - will take a look next week 🤗

Will take care of it, if you don't mind

@kelset

Copy link
Copy Markdown
ContributorAuthor

go for it 👍

@hoxyq
hoxyqforce-pushed the kelset/realign-babel-and-flow branch from c3731df to fec35f3CompareMay 17, 2023 14:19
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@hoxyq has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@hoxyq
hoxyqforce-pushed the kelset/realign-babel-and-flow branch from fec35f3 to 2693368CompareMay 17, 2023 14:33
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@hoxyq has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

hoxyq pushed a commit to hoxyq/metro that referenced this pull request May 18, 2023
Summary:
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
X-link: react/react-native#35787
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 668de2623494b56867c68e9911a276239554411e
hoxyq pushed a commit to hoxyq/metro that referenced this pull request May 18, 2023
Summary:
Pull Request resolved: react#987
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
X-link: react/react-native#35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 73bbe08817f89143ca3bad17e37f8922372797ee
hoxyq pushed a commit to hoxyq/metro that referenced this pull request May 18, 2023
Summary:
Pull Request resolved: react#987
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
X-link: react/react-native#35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 7bf82121a6cf76c4f65a3680b32bdd8a06538902
hoxyq pushed a commit to hoxyq/metro that referenced this pull request May 18, 2023
Summary:
Pull Request resolved: react#987
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
X-link: react/react-native#35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: c3aa02e1f29133b51dd138ec926ef0c73b78cf84
facebook-github-bot pushed a commit to react/metro that referenced this pull request May 18, 2023
Summary:
Pull Request resolved: #987
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
X-link: react/react-native#35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
@facebook-github-botfacebook-github-bot added the Merged This PR has been merged. label May 18, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@hoxyq merged this pull request in f10dd3f.

@kelset
kelset deleted the kelset/realign-babel-and-flow branch May 22, 2023 09:02
blakef pushed a commit to blakef/template that referenced this pull request Feb 28, 2024
Summary:
X-link: react/metro#987
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
Pull Request resolved: react/react-native#35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
Original: react/react-native@f10dd3f
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
Summary:
X-link: react/metro#987
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
Pull Request resolved: react/react-native#35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
Original-Commit: react/react-native@f10dd3f
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
Summary:
X-link: react/metro#987
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
Pull Request resolved: react/react-native#35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
Original-Commit: react/react-native@f10dd3f
blancham pushed a commit to kraaft-co/eslint-config-react-native that referenced this pull request Jan 13, 2026
Summary:
X-link: react/metro#987
While working on react/react-native#35786 I noticed some inconsistencies in the versioning for Babel and Flow across the monorepo. So in this PR I wanted to address that so that for 0.72 we'll have the codebase in a more consistent shape.
Happy to split in multiple PRs if needed.
## Changelog
[GENERAL] [CHANGED] - Bump Babel packages to ^7.20.0 (or closest latest release), bump flow parser to 0.206.0 in a few places that were left out from latest bump
Pull Request resolved: react/react-native#35787
Test Plan: CI is green.
Reviewed By: cipolleschi
Differential Revision: D42384881
Pulled By: hoxyq
fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.ContributorA React Native contributor.MergedThis PR has been merged.p: MicrosoftPartner: MicrosoftPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@kelset@facebook-github-bot@robhogan@analysis-bot@cipolleschi@hoxyq