mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e4135e9be5
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42899 Updates the `test-e2e-local` script to bootstrap `/tmp/RNTestProject/` using the currently checked out repository as the source of truth for all monorepo packages (previously we only did this for the `react-native` package). This enables release testers to validate a release **before** physically publishing new dependency versions via `yarn bump-all-updated-packages`. We are able to reuse the `scripts/template/initialize.js` script that is currently used for E2E validation in CI. This sets up a local Verdaccio server during project install. NOTE: The time taken for `Build packages` + Verdaccio isn't ideal, I may explore a way to reuse the published package state in a future diff. Until then, this extra time (~1 min) will still be much less pain than the `bump-all-updated-packages` + commit process loop. Changelog: [Internal] - Update test-e2e-local to use source monorepo packages for RNTestProject Reviewed By: lunaleaps Differential Revision: D53484510 fbshipit-source-id: 600a8a3257a4947d7738ab9d908d6549c38545e6