@@ -17,7 +17,7 @@ interface DependencyData {
17
17
duplicates ?: DependencyData [ ] ;
18
18
}
19
19
20
- export function isUsingYarn ( root : string ) {
20
+ function isUsingYarn ( root : string ) {
21
21
return fs . existsSync ( path . join ( root , 'yarn.lock' ) ) ;
22
22
}
23
23
@@ -62,7 +62,7 @@ function findDependencyPath(
62
62
return dependencyPath ;
63
63
}
64
64
65
- export function collectDependencies ( root : string ) : Map < string , DependencyData > {
65
+ function collectDependencies ( root : string ) : Map < string , DependencyData > {
66
66
const dependencies = new Map < string , DependencyData > ( ) ;
67
67
68
68
const checkDependency = ( dependencyPath : string ) => {
@@ -242,7 +242,7 @@ async function yarnSilentInstallPeerDeps(root: string) {
242
242
}
243
243
}
244
244
245
- export default async function findPeerDepsForAutolinking ( root : string ) {
245
+ async function findPeerDepsForAutolinking ( root : string ) {
246
246
const deps = collectDependencies ( root ) ;
247
247
const nonEmptyPeers = filterNativeDependencies ( root , deps ) ;
248
248
const nonInstalledPeers = filterInstalledPeers ( root , nonEmptyPeers ) ;
@@ -340,7 +340,7 @@ function installMissingPackages(
340
340
}
341
341
}
342
342
343
- export async function resolveTransitiveDeps ( ) {
343
+ async function resolveTransitiveDeps ( ) {
344
344
const root = process . cwd ( ) ;
345
345
const isYarn = isUsingYarn ( root ) ;
346
346
@@ -367,7 +367,7 @@ export async function resolveTransitiveDeps() {
367
367
return false ;
368
368
}
369
369
370
- export async function resolvePodsInstallation ( ) {
370
+ async function resolvePodsInstallation ( ) {
371
371
const { install} = await prompt ( {
372
372
type : 'confirm' ,
373
373
name : 'install' ,
@@ -383,7 +383,7 @@ export async function resolvePodsInstallation() {
383
383
}
384
384
}
385
385
386
- export async function checkTransitiveDeps ( ) {
386
+ export default async function checkTransitiveDependencies ( ) {
387
387
const packageJsonPath = path . join ( process . cwd ( ) , 'package.json' ) ;
388
388
const preInstallHash = generateFileHash ( packageJsonPath ) ;
389
389
const areTransitiveDepsInstalled = await resolveTransitiveDeps ( ) ;
0 commit comments