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

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

Closed
wants to merge 2 commits into from

Conversation

kelset
Copy link
Contributor

@kelset kelset commented Jan 6, 2023

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-bot facebook-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
Contributor

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

@robhogan
Copy link
Contributor

robhogan commented Jan 6, 2023

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
Contributor Author

kelset commented Jan 6, 2023

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
Contributor Author

kelset commented Jan 17, 2023

@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 kelset force-pushed the kelset/realign-babel-and-flow branch 2 times, most recently from a79070d to 2ebee9e Compare March 7, 2023 10:27
@kelset kelset requested a review from robhogan March 7, 2023 10:31
@kelset
Copy link
Contributor Author

kelset commented Mar 7, 2023

@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
Copy link

analysis-bot commented Mar 7, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,732,587 +0
android hermes armeabi-v7a 8,043,960 -1
android hermes x86 9,221,946 -4
android hermes x86_64 9,074,944 -2
android jsc arm64-v8a 9,297,786 -4
android jsc armeabi-v7a 8,486,594 -2
android jsc x86 9,358,542 -2
android jsc x86_64 9,615,143 +1

Base commit: 0a4a95f
Branch: main

@cipolleschi
Copy link
Contributor

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

@robhogan
Copy link
Contributor

robhogan commented Mar 8, 2023

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
Copy link
Contributor

hoxyq commented Mar 8, 2023

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
Contributor Author

kelset commented Mar 8, 2023

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

@kelset kelset force-pushed the kelset/realign-babel-and-flow branch from 2ebee9e to 5e1546e Compare March 21, 2023 11:39
@kelset
Copy link
Contributor Author

kelset commented Mar 21, 2023

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

@github-actions
Copy link

github-actions bot commented Mar 21, 2023

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
Contributor

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

@hoxyq
Copy link
Contributor

hoxyq commented May 17, 2023

@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 hoxyq force-pushed the kelset/realign-babel-and-flow branch from 267afc8 to c3731df Compare May 17, 2023 12:50
@kelset
Copy link
Contributor Author

kelset commented May 17, 2023

@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
Contributor

hoxyq commented May 17, 2023

@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
Contributor Author

kelset commented May 17, 2023

go for it 👍

@hoxyq hoxyq force-pushed the kelset/realign-babel-and-flow branch from c3731df to fec35f3 Compare May 17, 2023 14:19
@facebook-github-bot
Copy link
Contributor

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

@hoxyq hoxyq force-pushed the kelset/realign-babel-and-flow branch from fec35f3 to 2693368 Compare May 17, 2023 14:33
@facebook-github-bot
Copy link
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 facebook/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: facebook/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: facebook#987

While working on facebook/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: facebook/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: facebook#987

While working on facebook/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: facebook/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: facebook#987

While working on facebook/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: facebook/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 facebook/metro that referenced this pull request May 18, 2023
Summary:
Pull Request resolved: #987

While working on facebook/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: facebook/react-native#35787

Test Plan: CI is green.

Reviewed By: cipolleschi

Differential Revision: D42384881

Pulled By: hoxyq

fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 18, 2023
@facebook-github-bot
Copy link
Contributor

@hoxyq merged this pull request in f10dd3f.

hoxyq pushed a commit to hoxyq/react-native that referenced this pull request May 19, 2023
Summary:
X-link: facebook/metro#987

While working on facebook#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.

[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: facebook#35787

Test Plan: CI is green.

Reviewed By: cipolleschi

Differential Revision: D42384881

Pulled By: hoxyq

fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d
@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: facebook/metro#987

While working on facebook/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: facebook/react-native#35787

Test Plan: CI is green.

Reviewed By: cipolleschi

Differential Revision: D42384881

Pulled By: hoxyq

fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d

Original: facebook/react-native@f10dd3f
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
Summary:
X-link: facebook/metro#987

While working on facebook/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: facebook/react-native#35787

Test Plan: CI is green.

Reviewed By: cipolleschi

Differential Revision: D42384881

Pulled By: hoxyq

fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d

Original-Commit: facebook/react-native@f10dd3f
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
Summary:
X-link: facebook/metro#987

While working on facebook/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: facebook/react-native#35787

Test Plan: CI is green.

Reviewed By: cipolleschi

Differential Revision: D42384881

Pulled By: hoxyq

fbshipit-source-id: 21fd43391d12722cf707c3cdbbb36f49c036359d

Original-Commit: facebook/react-native@f10dd3f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. Merged This PR has been merged. p: Microsoft Partner: Microsoft Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants