@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.886Z") @Stability(value=Experimental) public class NpmConfig extends Component
| Modifier and Type | Class and Description |
|---|---|
static class |
NpmConfig.Builder
(experimental) A fluent builder for
NpmConfig. |
| Modifier | Constructor and Description |
|---|---|
protected |
NpmConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NpmConfig(software.amazon.jsii.JsiiObjectRef objRef) |
|
NpmConfig(NodeProject project) |
|
NpmConfig(NodeProject project,
NpmConfigOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfig(String name,
String value)
(experimental) configure a generic property.
|
void |
addRegistry(String url)
(experimental) configure a scoped registry.
|
void |
addRegistry(String url,
String scope)
(experimental) configure a scoped registry.
|
getProject, postSynthesize, preSynthesize, synthesizejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected NpmConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected NpmConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public NpmConfig(@NotNull
NodeProject project,
@Nullable
NpmConfigOptions options)
project - This parameter is required.options - @Stability(value=Experimental)
public NpmConfig(@NotNull
NodeProject project)
project - This parameter is required.@Stability(value=Experimental)
public void addConfig(@NotNull
String name,
@NotNull
String value)
name - the name of the property. This parameter is required.value - the value of the property. This parameter is required.@Stability(value=Experimental)
public void addRegistry(@NotNull
String url,
@Nullable
String scope)
url - the URL of the registry to use. This parameter is required.scope - the scope the registry is used for;.@Stability(value=Experimental)
public void addRegistry(@NotNull
String url)
url - the URL of the registry to use. This parameter is required.Copyright © 2021. All rights reserved.