mirror of https://github.com/status-im/metro.git
Update deps order - core modules first
Summary: **packager/packager.js** - Update deps order - node core modules first The core deps do not get installed, and do not need to be after the dep check. Closes https://github.com/facebook/react-native/pull/224 Github Author: Steve Lacy <me@slacy.me> Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
parent
bedd4029c8
commit
461f169a9e
|
@ -10,6 +10,8 @@
|
||||||
|
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
var exec = require('child_process').exec;
|
||||||
|
var http = require('http');
|
||||||
|
|
||||||
if (!fs.existsSync(path.resolve(__dirname, '..', 'node_modules'))) {
|
if (!fs.existsSync(path.resolve(__dirname, '..', 'node_modules'))) {
|
||||||
console.log(
|
console.log(
|
||||||
|
@ -21,11 +23,9 @@ if (!fs.existsSync(path.resolve(__dirname, '..', 'node_modules'))) {
|
||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
var exec = require('child_process').exec;
|
var connect = require('connect');
|
||||||
var ReactPackager = require('./react-packager');
|
var ReactPackager = require('./react-packager');
|
||||||
var blacklist = require('./blacklist.js');
|
var blacklist = require('./blacklist.js');
|
||||||
var connect = require('connect');
|
|
||||||
var http = require('http');
|
|
||||||
var launchEditor = require('./launchEditor.js');
|
var launchEditor = require('./launchEditor.js');
|
||||||
var parseCommandLine = require('./parseCommandLine.js');
|
var parseCommandLine = require('./parseCommandLine.js');
|
||||||
var webSocketProxy = require('./webSocketProxy.js');
|
var webSocketProxy = require('./webSocketProxy.js');
|
||||||
|
|
Loading…
Reference in New Issue