-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Our prettier config inserts trailing commas into function calls. This file is supposed to run on vanilla node 6. Here, we move files into the `src/` subdirectory, which gets transformed in the package publishing process. Reviewed By: rafeca, mjesun Differential Revision: D7788438 fbshipit-source-id: 6a70d113a82410a60a66bba4d7564f9376bb6d0b
- Loading branch information
1 parent
b09a4e3
commit 768183d
Showing
9 changed files
with
13 additions
and
6 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"version": "0.36.0", | ||
"name": "metro-babel-register", | ||
"description": "🚇 babel/register configuration for Metro.", | ||
"main": "babel-register.js", | ||
"main": "src/babel-register.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:facebook/metro.git" | ||
|
@@ -17,5 +17,9 @@ | |
"@babel/register": "7.0.0-beta.40", | ||
"core-js": "^2.2.2", | ||
"escape-string-regexp": "^1.0.5" | ||
}, | ||
"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" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
* LICENSE file in the root directory of this source tree. | ||
* | ||
* @format | ||
* @flow | ||
*/ | ||
|
||
'use strict'; | ||
|
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