@Stability(value=Deprecated) @Deprecated public static final class JsiiReleaseNpm.Builder extends Object implements software.amazon.jsii.Builder<JsiiReleaseNpm>
JsiiReleaseNpm| Constructor and Description |
|---|
Builder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
JsiiReleaseNpm |
build()
Deprecated.
|
JsiiReleaseNpm.Builder |
codeArtifactOptions(CodeArtifactOptions codeArtifactOptions)
Deprecated.
Sets the value of
NpmPublishOptions.getCodeArtifactOptions() |
JsiiReleaseNpm.Builder |
distTag(String distTag)
Deprecated.
Use `npmDistTag` for each release branch instead.
|
JsiiReleaseNpm.Builder |
npmTokenSecret(String npmTokenSecret)
Deprecated.
Sets the value of
NpmPublishOptions.getNpmTokenSecret() |
JsiiReleaseNpm.Builder |
registry(String registry)
Deprecated.
Sets the value of
NpmPublishOptions.getRegistry() |
@Stability(value=Experimental) public JsiiReleaseNpm.Builder codeArtifactOptions(CodeArtifactOptions codeArtifactOptions)
NpmPublishOptions.getCodeArtifactOptions()codeArtifactOptions - Options for publishing npm package to AWS CodeArtifact.this@Stability(value=Deprecated) @Deprecated public JsiiReleaseNpm.Builder distTag(String distTag)
NpmPublishOptions.getDistTag()distTag - Tags can be used to provide an alias instead of version numbers.
For example, a project might choose to have multiple streams of development
and use a different tag for each stream, e.g., stable, beta, dev, canary.
By default, the latest tag is used by npm to identify the current version
of a package, and npm install <pkg> (without any @<version> or @<tag>
specifier) installs the latest tag. Typically, projects only use the
latest tag for stable release versions, and use other tags for unstable
versions such as prereleases.
The next tag is used by some projects to identify the upcoming version.
this@Stability(value=Experimental) public JsiiReleaseNpm.Builder npmTokenSecret(String npmTokenSecret)
NpmPublishOptions.getNpmTokenSecret()npmTokenSecret - GitHub secret which contains the NPM token to use when publishing packages.this@Stability(value=Experimental) public JsiiReleaseNpm.Builder registry(String registry)
NpmPublishOptions.getRegistry()registry - The domain name of the npm package registry.
To publish to GitHub Packages, set this value to "npm.pkg.github.com". In
this if npmTokenSecret is not specified, it will default to
GITHUB_TOKEN which means that you will be able to publish to the
repository's package store. In this case, make sure repositoryUrl is
correctly defined.this@Stability(value=Deprecated) @Deprecated public JsiiReleaseNpm build()
build in interface software.amazon.jsii.Builder<JsiiReleaseNpm>JsiiReleaseNpmNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.