@@ -17,19 +17,19 @@ export const extractPackageApiEffect = ({
1717 subpath = "." ,
1818 maxDepth = 5 ,
1919} : Omit < ExtractPackageApiOptions , "bunPath" > ) =>
20- Effect . gen ( function * ( _ ) {
20+ Effect . gen ( function * ( ) {
2121 const startTime = performance . now ( ) ;
22- const pkgName = yield * _ ( packageName ( pkg ) ) ;
23- const { path : cwd } = yield * _ ( workDir ) ;
24- const pm = yield * _ ( PackageManager ) ;
25- const packages = yield * _ ( pm . installPackage ( { pkg, cwd } ) ) ;
22+ const pkgName = yield * packageName ( pkg ) ;
23+ const { path : cwd } = yield * workDir ;
24+ const pm = yield * PackageManager ;
25+ const packages = yield * pm . installPackage ( { pkg, cwd } ) ;
2626 const pkgDir = join ( cwd , "node_modules" , pkgName ) ;
27- const pkgJson = yield * _ ( packageJson ( pkgDir ) ) ;
28- const types = yield * _ ( packageTypes ( pkgJson , subpath ) ) ;
27+ const pkgJson = yield * packageJson ( pkgDir ) ;
28+ const types = yield * packageTypes ( pkgJson , subpath ) ;
2929 const indexFilePath = join ( pkgDir , types ) ;
30- const { project, indexFile } = yield * _ ( createProject ( { indexFilePath, cwd } ) ) ;
30+ const { project, indexFile } = yield * createProject ( { indexFilePath, cwd } ) ;
3131 const overview = packageOverview ( indexFile ) ;
32- const declarations = yield * _ ( packageDeclarations ( { pkgName, project, indexFile, maxDepth } ) ) ;
32+ const declarations = yield * packageDeclarations ( { pkgName, project, indexFile, maxDepth } ) ;
3333 const pkgApi : PackageApi = {
3434 name : pkgJson . name ,
3535 version : pkgJson . version ,
0 commit comments