You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
914 B
18 lines
914 B
import { SearchOptions } from '../types';
|
|
/**
|
|
* Path to the `package.json` of the closest project in the current working dir.
|
|
*/
|
|
export declare const projectPackageJsonPath: string;
|
|
/**
|
|
* Merges autolinking options from different sources (the later the higher priority)
|
|
* - options defined in package.json's `expo.autolinking` field
|
|
* - platform-specific options from the above (e.g. `expo.autolinking.ios`)
|
|
* - options provided to the CLI command
|
|
*/
|
|
export declare function mergeLinkingOptionsAsync<OptionsType extends SearchOptions>(providedOptions: OptionsType): Promise<OptionsType>;
|
|
/**
|
|
* Resolves autolinking search paths. If none is provided, it accumulates all node_modules when
|
|
* going up through the path components. This makes workspaces work out-of-the-box without any configs.
|
|
*/
|
|
export declare function resolveSearchPathsAsync(searchPaths: string[] | null, cwd: string): Promise<string[]>;
|