Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions packages/metro-file-map/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ export type CrawlerOptions = {

export type CrawlResult = {changedFiles: FileData; removedFiles: Set<Path>; clocks: WatchmanClocks} | {changedFiles: FileData; removedFiles: Set<Path>};

export function createStaticCrawler($$PARAM_0$$: StaticCrawlerOptions): CrawlerFactory;

export type DependencyExtractor = {
extract: (content: string, absoluteFilePath: string, defaultExtractor?: DependencyExtractor['extract']) => Set<string>;
getCacheKey: () => string;
Expand Down Expand Up @@ -261,15 +259,6 @@ export class NoopCacheManager implements CacheManager {
write(): Promise<void>;
}

export type StaticCrawlerOptions = Readonly<{
files: ReadonlyArray<StaticFile>;
}>;

export type StaticFile = Readonly<{
path: string;
pluginData?: null | undefined | Readonly<{[pluginName: string]: unknown}>;
}>;

export type WatcherStatus =
| {
type: 'watchman_slow_command';
Expand Down
193 changes: 0 additions & 193 deletions packages/metro-file-map/src/__tests__/createStaticCrawler-test.js

This file was deleted.

97 changes: 0 additions & 97 deletions packages/metro-file-map/src/createStaticCrawler.js

This file was deleted.

2 changes: 0 additions & 2 deletions packages/metro-file-map/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ type InternalEnqueuedEvent = Readonly<

export {DiskCacheManager} from './cache/DiskCacheManager';
export {NoopCacheManager} from './cache/NoopCacheManager';
export {default as createStaticCrawler} from './createStaticCrawler';
export type {StaticFile, StaticCrawlerOptions} from './createStaticCrawler';
export {default as DependencyPlugin} from './plugins/DependencyPlugin';
export type {DependencyPluginOptions} from './plugins/DependencyPlugin';
export {DuplicateHasteCandidatesError} from './plugins/haste/DuplicateHasteCandidatesError';
Expand Down
Loading