Package plugin-pnpm
Type aliases
PnpmCustomData
PnpmCustomData: object
Functions
cleanNodeModules
-
Parameters
Returns Promise<void>
getNodeModulesListing
- getNodeModulesListing(nmPath: PortablePath): Promise<Map<string & object, Dirent & object>>
-
Parameters
Returns Promise<Map<string & object, Dirent & object>>
getNodeModulesLocation
- getNodeModulesLocation(project: Project): string & object
-
Parameters
Returns string
&
object
getPackagePaths
- getPackagePaths(locator: Locator, __namedParameters: object): object
-
Parameters
-
-
__namedParameters: object
Returns object
-
dependenciesLocation: string & object
-
packageLocation: string & object
getStoreLocation
- getStoreLocation(project: Project): string & object
-
Parameters
Returns string
&
object
isPnpmVirtualCompatible
- isPnpmVirtualCompatible(locator: Locator, __namedParameters: object): boolean
-
Parameters
-
-
__namedParameters: object
Returns boolean
removeIfEmpty
-
Parameters
Returns Promise<void>
Object literals
Const plugin
plugin: object
@yarnpkg/plugin-pnpm
This plugin adds support for installing packages using symlinks, following a strategy inspired from the pnpm package manager.
Install
This plugin is included by default in Yarn.