@@ -17,7 +17,7 @@ interface DependencyData {
1717 duplicates ?: DependencyData [ ] ;
1818}
1919
20- export function isUsingYarn ( root : string ) {
20+ function isUsingYarn ( root : string ) {
2121 return fs . existsSync ( path . join ( root , 'yarn.lock' ) ) ;
2222}
2323
@@ -62,7 +62,7 @@ function findDependencyPath(
6262 return dependencyPath ;
6363}
6464
65- export function collectDependencies ( root : string ) : Map < string , DependencyData > {
65+ function collectDependencies ( root : string ) : Map < string , DependencyData > {
6666 const dependencies = new Map < string , DependencyData > ( ) ;
6767
6868 const checkDependency = ( dependencyPath : string ) => {
@@ -242,7 +242,7 @@ async function yarnSilentInstallPeerDeps(root: string) {
242242 }
243243}
244244
245- export default async function findPeerDepsForAutolinking ( root : string ) {
245+ async function findPeerDepsForAutolinking ( root : string ) {
246246 const deps = collectDependencies ( root ) ;
247247 const nonEmptyPeers = filterNativeDependencies ( root , deps ) ;
248248 const nonInstalledPeers = filterInstalledPeers ( root , nonEmptyPeers ) ;
@@ -340,7 +340,7 @@ function installMissingPackages(
340340 }
341341}
342342
343- export async function resolveTransitiveDeps ( ) {
343+ async function resolveTransitiveDeps ( ) {
344344 const root = process . cwd ( ) ;
345345 const isYarn = isUsingYarn ( root ) ;
346346
@@ -367,7 +367,7 @@ export async function resolveTransitiveDeps() {
367367 return false ;
368368}
369369
370- export async function resolvePodsInstallation ( ) {
370+ async function resolvePodsInstallation ( ) {
371371 const { install} = await prompt ( {
372372 type : 'confirm' ,
373373 name : 'install' ,
@@ -383,7 +383,7 @@ export async function resolvePodsInstallation() {
383383 }
384384}
385385
386- export async function checkTransitiveDeps ( ) {
386+ export default async function checkTransitiveDependencies ( ) {
387387 const packageJsonPath = path . join ( process . cwd ( ) , 'package.json' ) ;
388388 const preInstallHash = generateFileHash ( packageJsonPath ) ;
389389 const areTransitiveDepsInstalled = await resolveTransitiveDeps ( ) ;
0 commit comments