Home > @rushstack/package-extractor > IExtractorOptions
IExtractorOptions interface
Options that can be provided to the extractor.
Signature:
export interface IExtractorOptions
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (Optional) The desired path to be used when archiving the target folder. Supported file extensions: .zip. | ||
boolean | (Optional) Whether to skip copying files to the extraction target directory, and only create an extraction archive. This is only supported when IExtractorOptions.linkCreation is 'script' or 'none'. | ||
(Optional) Configurations for individual dependencies. | |||
string | (Optional) An additional folder containing files which will be copied into the root of the extraction. | ||
boolean | (Optional) If dependencies from the "devDependencies" package.json field should be included in the extraction. | ||
boolean | (Optional) If files ignored by the .npmignore file should be included in the extraction. | ||
(Optional) The link creation mode to use. "default": Create the links while copying the files; this is the default behavior. Use this setting if your file copy tool can handle links correctly. "script": A Node.js script called create-links.js will be written to the target folder. Use this setting to create links on the server machine, after the files have been uploaded. "none": Do nothing; some other tool may create the links later, based on the extractor-metadata.json file. | |||
string | (Optional) The path to the generated link creation script. This is only used when IExtractorOptions.linkCreation is 'script'. | ||
string | The main project to include in the extraction operation. | ||
boolean | Whether to overwrite the target folder if it already exists. | ||
string | (Optional) The folder where the PNPM "node_modules" folder is located. This is used to resolve packages linked to the PNPM virtual store. | ||
Configurations for individual projects, keyed by the project path relative to the sourceRootFolder. | |||
string | The source folder that copying originates from. Generally it is the repo root folder. | ||
(Optional) When using Rush subspaces, this setting can be used to provide configuration information for each individual subspace. | |||
string | The target folder for the extraction. | ||
A terminal to log extraction progress. | |||
(packageJson: IPackageJson) => IPackageJson | (Optional) The pnpmfile configuration if using PNPM, otherwise |