Package plugin-pnpm
Type aliases
PnpmCustomData
PnpmCustomData: object
Functions
cleanNodeModules
-
Parameters
Returns Promise<void>
getCustomDataKey
- getCustomDataKey(): string
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
getPackageLocation
- getPackageLocation(locator: Locator, __namedParameters: object): string & object
-
Parameters
-
-
__namedParameters: object
Returns 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.