react-native/local-cli/link
Tvrqvoise 6d65e8b4ed Add support for linking scoped packages (#18766) (#19828)
Summary:
Currently, when the cli tries to determine the package name, it accidentally trims out the entire package name.  This makes it appear to the rest of the program as if `react-native link The controller you requested could not be found./my-package` was just `react-native link`.  This adds a little regex to prevent that from happening, so that scopes can be passed as parts of packages.

Fixes #18766
Pull Request resolved: https://github.com/facebook/react-native/pull/19828

Differential Revision: D8704742

Pulled By: hramos

fbshipit-source-id: d8183f9b55e8656b8a0acae842e1361a1f428102
2018-08-06 12:32:25 -07:00
..
__fixtures__ use android build-tools 26.0.2 and set compileSdk to 26 (#19662) 2018-06-13 10:39:55 -07:00
__tests__ Add support for linking scoped packages (#18766) (#19828) 2018-08-06 12:32:25 -07:00
android Bump Prettier to 1.13.4 on xplat 2018-06-06 05:32:06 -07:00
ios Prettier RN local-cli 2018-05-11 13:00:50 -07:00
pods Prettier RN local-cli 2018-05-11 13:00:50 -07:00
commandStub.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
getDependencyConfig.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
getProjectDependencies.js Use `hg root` for all CWD in test environment 2018-05-14 13:46:51 -07:00
groupFilesByType.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
link.js Add support for linking scoped packages (#18766) (#19828) 2018-08-06 12:32:25 -07:00
pollParams.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
promiseWaterfall.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
promisify.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
unlink.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00