providesModule -> explicit requires for cross-package dependencies (#9078)

* Add forwarding modules

* Codemod to use full package path outside of own package

Files that require modules from a different package than their own now
does so by the npm path name instead of the providesModule.

* Codemod fbjs module dependencies

* Fix gulp module mapping config

This is a bit lame but because of our module rewrite we need to white
list all the paths that we don't *don't* want to rewrite.
This commit is contained in:
Sebastian Markbåge authored and GitHub committed 2017-02-28 18:42:52 -08:00
1 parent a269e7ec3f
commit e452e33741
247 files changed
+615 -478

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
'use strict';
var ReactComponentTreeHook = require('ReactComponentTreeHook');
var ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook');
function getRootDisplayNames() {
return ReactComponentTreeHook.getRootIDs()