Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Initial release #1

Closed
7 of 8 tasks
jaysoo opened this issue Sep 22, 2020 · 12 comments
Closed
7 of 8 tasks

Initial release #1

jaysoo opened this issue Sep 22, 2020 · 12 comments

Comments

@jaysoo
Copy link
Member

jaysoo commented Sep 22, 2020

The initial release will comprised of integration with core React Native features.

  • nx bundle [app] (offline bundle)
  • nx start [app] (start server)
  • nx run-ios [app]
  • nx run-android [app]
  • support for third-party native packages
  • support for workspace libs (JS/TS only)
  • jest support
  • e2e test using detox
@jaysoo
Copy link
Member Author

jaysoo commented Oct 30, 2020

Removing out-of-the-box detox support for e2e to keep the initial release smaller. We will revisit it at a later date, but folks are free to use anything for e2e to start. :)

@0b3r
Copy link

0b3r commented Oct 30, 2020

Looking forward to this release! Going to use it the second it's ready! Thanks to all of you for doing this awesome stuff.

@trumbitta
Copy link

I'm so ready to use this :D

@nclarx
Copy link

nclarx commented Oct 31, 2020

Agree, this will be great!!

@moQuez
Copy link

moQuez commented Nov 1, 2020

🚀

@itsezc
Copy link

itsezc commented Nov 4, 2020

Looking forward to this!

@0b3r 0b3r mentioned this issue Nov 5, 2020
@tienne
Copy link

tienne commented Nov 6, 2020

🥇

@jaysoo
Copy link
Member Author

jaysoo commented Nov 6, 2020

We're getting close. A fix for the jest setup is coming today #6.

And we've verified workflows for ios and android (starting project, dev build, prod build). ETA is next week -- week of November 9th.

@wjaszczuk
Copy link

@jaysoo yay, I'm looking forward to seeing it in action!

@bostondevin
Copy link

Yaaaaaaaayyyyyy!!!!!!

@jaysoo
Copy link
Member Author

jaysoo commented Nov 12, 2020

I've just published a beta of this plugin. It should be compatible with any version of Nx 10.

# Add plugin
yarn add @nrwl/react-native

# Generate app
nx g @nrwl/react-native:app my-app

# Start JS bundler
nx start my-app

# Run in ios/android
nx run-ios my-app
nx run-android my-app

# Build production bundle (android)
nx build-android my-app

# Build production bundle (ios)
# Not supported through CLI, but open xcode project and build in there.

If you find any issues, open them here. I'll release a stable 10.4 version once Nx 10.4 lands (ETA tomorrow or day after).

@jaysoo
Copy link
Member Author

jaysoo commented Nov 13, 2020

I published 10.4.0 so please use that version. Please open an issue for any feedback or bugs.

@jaysoo jaysoo closed this as completed Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants