react-native/local-cli
empyrical 4b106be477 Give RNPM the ability to look for plugins in `@scoped` modules (#21082)
Summary:
This PR gives RNPM the ability to look for plugins in `scoped` modules.

The regexes for finding RNPM plugins will match these hypothetical examples:

 * `rnpm-plugin-foo`
 * `org/rnpm-plugin-foo`

The regexes for finding React Native plugins will match these hypothetical examples:

 * `react-native-foo`
 * `org/react-native-foo`
 * `The controller you requested could not be found./module` (will be useful in the slimmening)
 * `The controller you requested could not be found./module`

RNPM plugins will be able to benefit from this immediately, but React Native plugins will run into this Metro issue currently:

https://github.com/facebook/metro/issues/241
Pull Request resolved: https://github.com/facebook/react-native/pull/21082

Differential Revision: D9809094

Pulled By: hramos

fbshipit-source-id: 4b0694ad4119b37dd5664af52c48e48ebe4d7404
2018-09-13 04:31:38 -07:00
..
__mocks__ Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
bundle Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
core Give RNPM the ability to look for plugins in `@scoped` modules (#21082) 2018-09-13 04:31:38 -07:00
dependencies Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
eject Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
generator Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
info Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
init Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
install Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
library Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
link Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
logAndroid Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
logIOS Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
runAndroid Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
runIOS Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
server Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
templates Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
upgrade Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
util Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
cli.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
cliEntry.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
commands.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
setup_env.bat Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
setup_env.sh Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
wrong-react-native.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00