Commit Graph
14 Commits
Author SHA1 Message Date
Param Aggarwal 15febad02a docs: add example of dependency-level autolinking customisation (#942) 2020-02-05 14:55:46 +01:00
Mike Grabowski 5724d29dc9 feat: support autolinking in monorepos (#768)
* 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
2019-10-11 11:16:07 +02:00
Akshet Pandey 891ce9c0d9 feat: Allow passing in MainPackageConfig to PackageList (#653)
* 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
2019-09-10 09:15:41 +02:00
Nazar Maksymchuk 8c2d5b5f33 docs: adjust iOS monorepo docs on autolinking (#590) 2019-08-01 19:46:49 +02:00
Michał Pierzchała 56ad88712b chore: add more information to autolinking guide (#505) 2019-07-08 19:18:02 +02:00
Michał Pierzchała ae7b78d3b9 feat: support local RN libraries in autolinking (#451)
* feat: support local RN libraries in autolinking

* simplify local deps config

* address feedback
2019-07-02 22:36:25 +02:00
Michał Pierzchała e50aa8da4b feat: simplify passing root to gradle autolinking (#457)
* feat: simplify passing root to gradle autolinking

* improve docs
2019-07-02 22:16:21 +02:00
Michał Pierzchała 32e6339763 chore(docs): simplify autolinking (#454)
* chore(docs): simplify autolinking

* address feedback
2019-07-02 16:41:25 +02:00
Michał Pierzchała 40242b918c docs: document how to disable autolinking for unsupported packag… (#444) 2019-06-27 16:23:19 +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 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