Skip to content

Commit

Permalink
Merge pull request #17 from facebookexperimental/master
Browse files Browse the repository at this point in the history
catch up with base
  • Loading branch information
macovedj authored May 6, 2020
2 parents 784e63a + 0432ba8 commit 1e01c03
Show file tree
Hide file tree
Showing 31 changed files with 998 additions and 1,451 deletions.
660 changes: 0 additions & 660 deletions packages/@romejs/codec-watchman/bser.ts

This file was deleted.

266 changes: 0 additions & 266 deletions packages/@romejs/codec-watchman/index.ts

This file was deleted.

6 changes: 0 additions & 6 deletions packages/@romejs/codec-watchman/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions packages/@romejs/core/common/fileHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export type ExtensionHandlerMethodInfo = {
export type ExtensionHandler = {
sourceType?: ConstSourceType;
syntax?: Array<ConstProgramSyntax>;
hasteMode?: 'ext' | 'noext';
isAsset?: boolean;
canHaveScale?: boolean;
lint?: (info: ExtensionLintInfo) => Promise<ExtensionLintResult>;
Expand Down Expand Up @@ -164,7 +163,6 @@ const assetHandler: ExtensionHandler = {
const jsonHandler: ExtensionHandler = {
// analyzeDependencies shim
...textHandler,
hasteMode: 'noext',
async format(info: ExtensionHandlerMethodInfo): Promise<ExtensionLintResult> {
const {file, worker} = info;
const {uid} = file;
Expand Down Expand Up @@ -260,7 +258,6 @@ function buildJSHandler(
JS_EXTENSIONS.push(ext);

return {
hasteMode: 'ext',
syntax,
sourceType,
async analyzeDependencies({file, worker, parseOptions}) {
Expand Down
Loading

0 comments on commit 1e01c03

Please sign in to comment.