* feat: add keybinding (ctrl + r) for reload
* refactor: rename to watchMode
* feat: open dev menu if 'd' key is pressed
* feat: print watch mode instructions
* feat: add feedback outputs to command invokes
* refactor: remove redundant qualifiers
* feat: added --disableWatchMode flag
* docs: add docs for --disableWatchMode
* rename watchMode to interactiveMode
* move to typescript
* handle ctrl+z
* fix docs and flag
* Fix interactive mode flags
* Fix flag definition
* Update watchMode.ts
* Update hookStdout.ts
* Fix the `chunk` is not a string or Buffer
The function was converted to arrow function, but arguments were left
* Remove listener once we're done with printing the instructions
* The message is changed with Metro 0.58
Co-authored-by: Mike Grabowski <[email protected]>
Change the default behavior of `link` to only link assets.
Since autolinking, manual linking of packages is quickly becoming obsolete, however there's no easy way to autolink assets (can be automated with CocoaPods podspecs, but not sure about Gradle cc @Salakar. EDIT: should be doable, @Salakar is on it). That's why I think it makes sense to default `link` to process assets only, unless the `--all` flag is passed explicitly.
Additional changes that accumulated while testing:
- fix linking hooks failing to execute
- fix handling assets from legacy "rnpm" config
- overhaul linking logs and error messages
- disable flaky e2e tests in lts-tests phase
* Change `packageName` to `projectName` & add `projectPath` argument
* Add a way to specify a custom project path to init the app on
* Force the `init` command to create the project path recursively
* Add test for providing the project path on init
* Throw error if custom project path doesn’t exist and can’t be created
* Fix type error on `customProjectPath`
* Create directory before running the test with custom project path
* Use `mkdirp` to create project folder & Use `inquirer` to prompt for a directory replace
* Specify `directory` as an option
* Handle custom directory path after react logo
* Check if `ios` folder exists before trying to open it
* Update `init` tests
* Add `directory` type
* Remove unused `inquirer` from `init` test
* Only remove the project folder if it didn’t exist before running `init`
* Remove correct directory if it didn’t exist before `init`
* simplify
* make directory an argument instead of a flag
* update descriptions
* fix test
* use --directory after all
* address feedback; remove version handling from createFromTemplate
* flip the default
* chore: cleanup run-android implementation
* feat: overhaul gradle install errors
* fix copying executables by bringing back chmod
* rename 'installDebug' -> 'task'
* cleanup unused args from refactor
* use inherit and don't show null error
* simplify creating gradle args
* adjust descriptions
* use logger
* Add support for multiple tasks
* Change function name to match current functionality
* Change task to tasks