From 488b31d29a55e8cd8a8dbfe7dffd7111e34e7de1 Mon Sep 17 00:00:00 2001 From: Sam Zhou Date: Sat, 27 Sep 2025 14:01:43 -0700 Subject: [PATCH 1/2] Deploy 0.287.0 to xplat (#53965) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53965 [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: gkz Differential Revision: D83415742 fbshipit-source-id: ff6faa673a70cb8dc958ef2ad46245c720f3df9a --- .flowconfig | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.flowconfig b/.flowconfig index 6e8b8f648cf4..c40d45f662c0 100644 --- a/.flowconfig +++ b/.flowconfig @@ -98,4 +98,4 @@ untyped-import untyped-type-import [version] -^0.286.0 +^0.287.0 diff --git a/package.json b/package.json index d24a96fb4f2e..e4fc53fc16b7 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "eslint-plugin-relay": "^1.8.3", "fb-dotslash": "0.5.8", "flow-api-translator": "0.32.0", - "flow-bin": "^0.286.0", + "flow-bin": "^0.287.0", "glob": "^7.1.1", "hermes-eslint": "0.32.0", "hermes-transform": "0.32.0", diff --git a/yarn.lock b/yarn.lock index b14b21d5cc34..ffe1bf2ba923 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4820,10 +4820,10 @@ flow-api-translator@0.32.0: hermes-transform "0.32.0" typescript "5.3.2" -flow-bin@^0.286.0: - version "0.286.0" - resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.286.0.tgz#2fdb61377fb90aedc941beca5172454d85e4114a" - integrity sha512-JXh5vcQqGm5VOevO7o5RJohCito86nDAZ+sFAsXS4G/qisznJlJ2/a+0aC5nyFjQ2r4qkZP3hQ3ZJ4RiNH4cCA== +flow-bin@^0.287.0: + version "0.287.0" + resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.287.0.tgz#b4a5714cb38e603986a07c62e4d8a4c61c35708c" + integrity sha512-GYASmje2SOjhSm6Xr7itYbeiAmPm+lNzF/vAHsFE8aj7lCCPnLE6YePj6mVZEZKqqtRmP5SbPA5+mOxog/o/RA== flow-enums-runtime@^0.0.6: version "0.0.6" From fb09b37646bf62fceea7f2d27f311bbd4067b214 Mon Sep 17 00:00:00 2001 From: Fernando Gorodscy Date: Sat, 27 Sep 2025 17:13:39 -0700 Subject: [PATCH 2/2] Move files from arvr/js/apps/Store to xplat/js/RKJSModules/public/HzStoreVR Summary: # What Moving Store from `arvr/js` to `xplat/js`. This will enable Store to use xplat modern infra. Being on arvr/js legacy infra has created many problems [over the years](https://fb.workplace.com/groups/storecore/posts/2344707442611890/?comment_id=2345657702516864). Examples: **2025**: https://fb.workplace.com/groups/storecore/permalink/2344707442611890/ **2024**: https://fb.workplace.com/groups/oculusjs/permalink/3366314690341563/ **2023**: https://fb.workplace.com/groups/xplatreact.engineering/permalink/730125568732098/ # How ## Previous Diff * Remove usage of the legacy `react-router-3`. We don't want to carry this as a dependency to xplat/js. ## This Diff This diff is the combination of several diffs (created to facilitate reviewing): 1. - D82581768 - Just move files from arvr/js/apps/Store to xplat/js/RKJSModules/public/HzStoreVR (Except for the index file and some mockUtils) 2. - D82581767 - Setup getConfig.js to generate a single BUCK for HzStoreVR and remove circular dependencies 3. - D82581769 - Fix location/import of assets 4. - D82581766 - Fix relay imports that were not using Haste 5. - D82664586 - Remove usage of old url module 6. - D83156829 - Fix buck: run js1 build buckfiles and build_and_run.sh 7. - D82844768 - Make arvr/js tests run with xplat Store 8. - D83005059 - Fix Flow errors 9. - D83259512 - Delete duplicated test files to make flow happy 10. - D83005098 - Fix Relay config for new Store VR location in xplat 11. - D83005073 - Enable React Forget on new HzStoreVR directory 12. - D83345573 - Fix arc lint -a 13. - D83403188 - Fix relay prefetch queries ## Next diffs * Migrate tests to xplat jest config (renaming from *-rntest.js to *-test.js) * Migrate other source code like arvr/js/libraries/store ## Open Source PR For the change to RN open source .flowconfig to add .ktx image support: https://github.com/facebook/react-native/pull/53964 Changelog: [Internal] Reviewed By: Tom910, mullender Differential Revision: D82781491 fbshipit-source-id: 5ce6433916e5b144965e8906005e2e26fdcfcc95 --- .flowconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.flowconfig b/.flowconfig index c40d45f662c0..18dfb9eacb64 100644 --- a/.flowconfig +++ b/.flowconfig @@ -69,7 +69,7 @@ munge_underscores=true module.name_mapper='^react-native$' -> '/packages/react-native/index.js' module.name_mapper='^react-native/\(.*\)$' -> '/packages/react-native/\1' module.name_mapper='^@react-native/dev-middleware$' -> '/packages/dev-middleware' -module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\|xml\)$' -> '/packages/react-native/Libraries/Image/RelativeImageStub' +module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\|xml\|ktx\)$' -> '/packages/react-native/Libraries/Image/RelativeImageStub' module.system.haste.module_ref_prefix=m#