Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

[eject] Added no-install and npm args to eject #2621

Merged
merged 3 commits into from
Sep 10, 2020

Conversation

EvanBacon
Copy link
Contributor

@EvanBacon EvanBacon commented Sep 10, 2020

  • Added --no-install flag to expo eject which can be used to skip node module installation and cocoapods installation. This follows the same pattern we use for initializing a bare workflow project.
  • Added --npm flag to expo eject which shares the same logic as init for using npm to install modules.
  • Added "Cleaning JavaScript dependencies" spinner because the step takes ~5 seconds on my fast computer. Also when the yarn logs are enabled it looks off to see "installing deps.." for a few seconds before you start seeing the logs.
  • Added back support for showing the installation logs with EXPO_DEBUG=true
  • Fix cocoapods logs only showing with EXPO_DEBUG=false
  • Make spinners automatically unmount from the logs module.
  • Make spinners support newLineIfNone.
  • Unify the node module installation step across init and eject -- adds support for yarn v2 to eject I guess.

@EvanBacon EvanBacon added the enhancement New feature or request label Sep 10, 2020
@EvanBacon EvanBacon self-assigned this Sep 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant