* Allow out of tree platforms to work without custom metro configs
* Need to add the platofrm specifc InitializeCore to getModulesRunBeforeMainModule
* lock
* Add npmPackageName to schema
* Some documentation
* Use finally to restore resolveRequest
* 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]>
* Improve handling of files in monorepo
* Fix tests with my poor Ruby haha
* Remove note about monorepo from the docs
* wat
* Okay, this is how you do tests in Ruby
* Fix Ruby tests
* Always resolve correct root
* Move files around
* Add tests - one is failing, need to check why
* Fix tests
* Assert it works from the same level
* Warn if the root is passed
We do not need root anymore. However, we still accept one argument (config) for testing purposes. Without this check, users that pass custom root would accidentially break their projects as CLI would take it as a config value.
* Implement monorepo support for Android
* Note custom paths
* Add quiet flag
* Improve handling of files in monorepo
* Fix tests with my poor Ruby haha
* Remove note about monorepo from the docs
* wat
* Okay, this is how you do tests in Ruby
* Fix Ruby tests
* Always resolve correct root
* Move files around
* Add tests - one is failing, need to check why
* Fix tests
* Assert it works from the same level
* Warn if the root is passed
We do not need root anymore. However, we still accept one argument (config) for testing purposes. Without this check, users that pass custom root would accidentially break their projects as CLI would take it as a config value.
* Implement monorepo support for Android
* Note custom paths
* Add quiet flag
* update locfile
* Fix init - make detachedCommands and remove ugly setProjectDir hack
* Resolve conflicts
* Fix remainig uses or root and get rid of cwd
* Update paths
* Remove unused func
* Update templates.ts
* Fix unit tests
* Better logger
* Debug
* Add deprecations
* Fix a typo
* Better deprecation message
* feat: Allow passing in MainPackageConfig to PackageList
This allow customizing configuration for the MainReactPackage.
Right now this is limited to changing how FrescoModule gets initialized
but in the future this can allow changes in behavior for other core modules
* docs: Document optional MainPackageConfig parameter for PacakgeList
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
* [ios] Ensure that the right cwd is set up for auto-linking dependencies
* [autolink] Switch to DIing in the root path as a param in to use_native_modules
* [autolink] Docs for autolink root changes