This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Npm.
Summary
Install a scoped package by name, version/tag.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Install - Containing Type
- Npm
Install Settings Extensions
Syntax
public static NpmInstallSettings AddScopedPackage(this NpmInstallSettings settings, string packageName, string scope)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | NpmInstallSettings | The settings. |
| packageName | string | Name of the package. |
| scope | string | Scope of the package. |
Return Value
| Type | Description |
|---|---|
| NpmInstallSettings | The settings instance with packageName added to Packages. |
