-
Notifications
You must be signed in to change notification settings - Fork 598
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create
metro-transform-worker
package
Summary: This diff brings all the worker related functionality into a new package to separate concerns. Note: `ModuleGraph` also needs to be split out of `metro` at some point to get rid of the circular dependency. This is not a problem given that we lock all `metro-*` packages to the same exact version but definitely not ideal. I will follow-up but it isn't blocking me. Reviewed By: motiz88 Differential Revision: D21014084 fbshipit-source-id: e25f099d2cb5427627bc1666d590bd2d29eefb22
- Loading branch information
1 parent
be9deed
commit 95ee7bb
Showing
18 changed files
with
78 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "metro-transform-worker", | ||
"version": "0.59.0", | ||
"description": "🚇 Transform worker for Metro", | ||
"main": "src/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:facebook/metro.git" | ||
}, | ||
"scripts": { | ||
"prepare-release": "test -d build && rm -rf src.real && mv src src.real && mv build src", | ||
"cleanup-release": "test ! -e build && mv src build && mv src.real src" | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"@babel/core": "^7.0.0", | ||
"@babel/generator": "^7.5.0", | ||
"@babel/parser": "^7.0.0", | ||
"@babel/types": "^7.0.0", | ||
"babel-preset-fbjs": "^3.3.0", | ||
"metro-babel-transformer": "0.59.0", | ||
"metro-cache": "0.59.0", | ||
"metro-source-map": "0.59.0", | ||
"metro-transform-plugins": "0.59.0", | ||
"metro": "0.59.0" | ||
}, | ||
"devDependencies": { | ||
"metro-minify-uglify": "0.59.0", | ||
"metro-memory-fs": "0.59.0", | ||
"mkdirp": "^0.5.1", | ||
"metro-react-native-babel-transformer": "0.59.0" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters