Commit Graph
13 Commits
Author SHA1 Message Date
Lucas Bento c2fb83fb64 feat: support init with custom project directory (#365)
* 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
2019-05-17 18:25:11 +02:00
Michał Pierzchała bae68953cd feat: improve run-android error messages; rename "installDebug" -> "task" (#372)
* 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
2019-05-10 15:19:52 +02:00
Michał Pierzchała 93e3eb6873 feat: init from tarball (#362)
* feat: init from tarball

* adjust error message

* skip flaky config test

* update docs

* update snapshots
2019-04-29 11:37:17 +02:00
Kacper Wiszczuk dbe2fd867f feat(breaking): remove legacy library command (#358)
feat(breaking): remove legacy `library` command
2019-04-26 15:19:03 +02:00
Orta c1a8ec8861 [ios] Ensure that the right cwd is set up for auto-linking dependencies (#354)
* [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
2019-04-25 16:15:30 +02:00
Orta 9315f05de2 Update autolinking.md (#355) 2019-04-25 07:47:34 +02:00
Mike Grabowski 89a1420f3d chore: update wording in docs 2019-04-23 23:22:34 +02:00
Mike Grabowski 527d81dbab feat: add dependency and project documentation (#350)
* Add dependency documentation and links

* Update

* Update

* Add project desc

* Move notice above

* add catch-all doc

* Typo

* Rename the type

* Update docs/configuration.md

Co-Authored-By: grabbou <[email protected]>

* Update docs/configuration.md

Co-Authored-By: grabbou <[email protected]>

* Do where not when

* Plural
2019-04-23 22:58:59 +02:00
Mike Grabowski 34f7df2bfe feat: add platforms doc (#349)
* Add platforms doc

* Migration guide

* Update docs/platforms.md

Co-Authored-By: grabbou <[email protected]>
2019-04-23 21:02:13 +02:00
Kacper Wiszczuk 86986a1c2e docs: add init documentation (#347)
* docs: add init documentation

* docs: add mentions in other files

* docs: revert

* Update docs/init.md

Co-Authored-By: Esemesek <[email protected]>
2019-04-23 19:54:31 +02:00
Mike Grabowski bca56c9f3c docs: initial documentation of plugins (#345)
* fix: typos in Autolinking & use same repo for both examples

* structure new files

* Add documentation for plugins and update naming in one place

* Update index.js

* Fix flow and update docs

* Update

* Prefix

* Updates

* Take advantage of Joi

* Update docs/plugins.md

Co-Authored-By: grabbou <[email protected]>

* Update docs/plugins.md

Co-Authored-By: grabbou <[email protected]>

* Some other tweaks

* Placeholder for dependency

* Updates

* Delete linking.md

* fix tests
2019-04-23 19:41:42 +02:00
Mike Grabowski 29ae253139 chore: remove unsupported CocoaPods options from a documentation
This is currently not supported. Let's have it as a "todo" for the future releases, ideally, upon request from someone.
2019-04-23 12:32:44 +02:00
Michał Pierzchała b306c99fda docs: update and rearrange documentation (#338)
* docs: update and rearrange documentation

* add autolinking base docs

* add init docs
2019-04-23 12:26:19 +02:00