Skip to content

Commit

Permalink
Remove remnants of the packager
Browse files Browse the repository at this point in the history
Summary:
There were still some references to "packager/" that are no longer used since the `packager` directory has been deleted after moving to Metro. Cleaned up the ones that were doing nothing and updated the references that are still meaningful.
Closes facebook#14881

Reviewed By: cpojer

Differential Revision: D5380731

Pulled By: javache

fbshipit-source-id: 1355268f48db47343d0d38fae2598b64c8c01475
  • Loading branch information
ide authored and facebook-github-bot committed Jul 7, 2017
1 parent 6c2beaf commit 6e13adb
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
**/staticBundle.js
**/main.js
Libraries/vendor/**/*
packager/src/worker-farm/**/*
2 changes: 1 addition & 1 deletion Libraries/Image/RelativeImageStub.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'use strict';

// This is a stub for flow to make it understand require('./icon.png')
// See packager/src/Bundler/index.js
// See metro-bundler/src/Bundler/index.js

var AssetRegistry = require('AssetRegistry');

Expand Down
3 changes: 1 addition & 2 deletions jest-preset.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"^React$": "<rootDir>/node_modules/react"
},
"modulePathIgnorePatterns": [
"<rootDir>/node_modules/react-native/Libraries/react-native/",
"<rootDir>/node_modules/react-native/packager/"
"<rootDir>/node_modules/react-native/Libraries/react-native/"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element)"
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
"Libraries/Renderer",
"/node_modules/",
"/website/",
"local-cli/templates/",
"packager/src/integration_tests/__tests__/basic_bundle-test.js"
"local-cli/templates/"
],
"haste": {
"defaultPlatform": "ios",
Expand Down
1 change: 0 additions & 1 deletion setupBabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const escapeRegExp = require('lodash/escapeRegExp');
const path = require('path');

const BABEL_ENABLED_PATHS = [
'packager/src',
'local-cli',
];

Expand Down

0 comments on commit 6e13adb

Please sign in to comment.