@@ -8,6 +8,7 @@ import { INpmConfigService, INodePackageManager } from "../declarations";
88import { IProxyService , IFileSystem } from "../common/declarations" ;
99import { IInjector } from "../common/definitions/yok" ;
1010import { injector } from "../common/yok" ;
11+ import { Arborist } from "@npmcli/arborist" ;
1112
1213export class PacoteService implements IPacoteService {
1314 constructor (
@@ -32,7 +33,8 @@ export class PacoteService implements IPacoteService {
3233 `Calling pacoteService.manifest for packageName: '${ packageName } ' and options: ` ,
3334 options
3435 ) ;
35- const manifestOptions : IPacoteBaseOptions = await this . getPacoteBaseOptions ( ) ;
36+ const manifestOptions : IPacoteBaseOptions =
37+ await this . getPacoteBaseOptions ( ) ;
3638
3739 if ( options ) {
3840 _ . extend ( manifestOptions , options ) ;
@@ -117,7 +119,7 @@ export class PacoteService implements IPacoteService {
117119
118120 // Add NPM Configuration to our Manifest options
119121 const npmConfig = this . $npmConfigService . getConfig ( ) ;
120- const pacoteOptions = _ . extend ( npmConfig , { cache : cachePath } ) ;
122+ const pacoteOptions = _ . extend ( npmConfig , { cache : cachePath , Arborist } ) ;
121123 const proxySettings = await this . $proxyService . getCache ( ) ;
122124 if ( proxySettings ) {
123125 _ . extend ( pacoteOptions , proxySettings ) ;
0 commit comments