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.
22 lines
563 B
22 lines
563 B
/**
|
|
* Given a node module name, and a project path, this method will:
|
|
*
|
|
* 1. Resolve the module path.
|
|
* 2. Find the module root folder.
|
|
* 3. Return true if the module root folder is in a folder named `node_modules`
|
|
*
|
|
* @param projectRoot
|
|
* @param moduleId
|
|
*
|
|
* @example
|
|
* isModuleSymlinked({
|
|
* projectRoot: './expo/apps/native-component-list',
|
|
* moduleId: 'react-native'
|
|
* })
|
|
*/
|
|
export declare function isModuleSymlinked({ projectRoot, moduleId, isSilent, }: {
|
|
projectRoot: string;
|
|
moduleId: string;
|
|
isSilent?: boolean;
|
|
}): boolean;
|