react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Add build script to react-native-babel-preset

Open dmytrorykun opened this issue 2 years ago • 3 comments

Summary: When metro-react-native-babel-preset was part of Metro, Metro would take care of building flow-typed src before publishing. React Native doesn't do that.

This diff adds build script, prepare and postpublish hooks to react-native-babel-preset. The script is effectively is a copy-paste from react-native-codegen, we'll deduplicate them in the future.

Changelog: [Internal] - Add build script to react-native-babel-preset

Differential Revision: D47006597

dmytrorykun avatar Jul 06 '23 17:07 dmytrorykun

This pull request was exported from Phabricator. Differential Revision: D47006597

facebook-github-bot avatar Jul 06 '23 17:07 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D47006597

facebook-github-bot avatar Jul 06 '23 17:07 facebook-github-bot

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 9,001,457 -5
android hermes armeabi-v7a 8,255,371 -4
android hermes x86 9,510,503 -3
android hermes x86_64 9,356,367 -2
android jsc arm64-v8a 9,614,528 -1
android jsc armeabi-v7a 8,741,023 -4
android jsc x86 9,701,380 -4
android jsc x86_64 9,947,942 -1

Base commit: 0519c11acd0c347db378bbc9238c7dabfd38f6fa Branch: main

analysis-bot avatar Jul 06 '23 17:07 analysis-bot

This pull request was exported from Phabricator. Differential Revision: D47006597

facebook-github-bot avatar Jul 10 '23 15:07 facebook-github-bot

Warnings
:warning: :lock: package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by :no_entry_sign: dangerJS against 37e7a23f98680cace4c564f57bae37674bf0583d

github-actions[bot] avatar Jul 10 '23 15:07 github-actions[bot]

Closing as abandoned internally

cortinico avatar Aug 07 '23 09:08 cortinico