Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/package-extractor > IExtractorSubspace

IExtractorSubspace interface

The extractor subspace configurations

Signature:

export interface IExtractorSubspace 

Properties

Property

Modifiers

Type

Description

pnpmInstallFolder?

string

(Optional) The folder where the PNPM "node_modules" folder is located. This is used to resolve packages linked to the PNPM virtual store.

pnpmNodeModulesHoistingEnabled?

boolean

(Optional) Whether PNPM hoisting is enabled for this subspace. When set to false, the extractor will skip looking for hoisted packages in the PNPM virtual store, since no hoisting symlinks will exist. Default is true.

subspaceName

string

The subspace name

transformPackageJson?

(packageJson: IPackageJson) => IPackageJson

(Optional) The pnpmfile configuration if using PNPM, otherwise undefined. The configuration will be used to transform the package.json prior to extraction.