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

Add support for haul

Open fdnhkj opened this issue 8 years ago • 3 comments
trafficstars

Add support for haul, RN packager alternative

cc @grabbou

fdnhkj avatar Apr 09 '17 22:04 fdnhkj

Nice! Would love to hear what's needed for Haul to work with this project.

grabbou avatar Apr 10 '17 10:04 grabbou

This project needs the list of bundle dependencies as input to calculate the share code percentage. So Haul would need to provide that list given an entry point and a platform.

For reference, for React Native packager, I used react-native dependencies CLI command (see index.js#L15). You can find the command implementation here.

Let me know if I can help!

fdnhkj avatar Apr 15 '17 22:04 fdnhkj

Sounds good.

I have limited resources these days. If you could open an issue in haul repository, I'd be more than happy to help you.

On Sun, 16 Apr 2017 at 00:00 Fidan Hakaj [email protected] wrote:

This project needs the list of bundle dependencies as input to calculate the share code percentage. So Haul would need to provide that list given an entry point and a platform.

For reference, for React Native packager, I used react-native dependencies CLI command (see index.js#L15 https://github.com/fdnhkj/react-native-shared-code/blob/master/index.js#L15). You can find the command implementation here https://github.com/facebook/react-native/blob/master/local-cli/dependencies/dependencies.js .

Let me know if I can help!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fdnhkj/react-native-shared-code/issues/1#issuecomment-294320255, or mute the thread https://github.com/notifications/unsubscribe-auth/ACWcxlX5bs2ePpytaGlRzqvPJQQMWMs9ks5rwT3pgaJpZM4M4LGy .

grabbou avatar Apr 19 '17 10:04 grabbou