Class JsiiReleaseNpm.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.release.JsiiReleaseNpm.Jsii$Proxy
-
- All Implemented Interfaces:
CommonPublishOptions,JsiiReleaseNpm,NpmPublishOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- JsiiReleaseNpm
@Stability(Deprecated) @Deprecated @Internal public static final class JsiiReleaseNpm.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements JsiiReleaseNpm
Deprecated.An implementation forJsiiReleaseNpm
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.release.JsiiReleaseNpm
JsiiReleaseNpm.Builder, JsiiReleaseNpm.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(JsiiReleaseNpm.Builder builder)Deprecated.Constructor that initializes the object based on literal property values passed by theJsiiReleaseNpm.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Deprecated.Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()Deprecated.booleanequals(Object o)Deprecated.CodeArtifactOptionsgetCodeArtifactOptions()Deprecated.(experimental) Options for publishing npm package to AWS CodeArtifact.StringgetDistTag()Deprecated.(deprecated) Tags can be used to provide an alias instead of version numbers.BooleangetNpmProvenance()Deprecated.(experimental) Should provenance statements be generated when package is published.StringgetNpmTokenSecret()Deprecated.(experimental) GitHub secret which contains the NPM token to use when publishing packages.List<JobStep>getPostPublishSteps()Deprecated.(experimental) Steps to execute after executing the publishing command.List<JobStep>getPrePublishSteps()Deprecated.(experimental) Steps to execute before executing the publishing command.ToolsgetPublishTools()Deprecated.(experimental) Additional tools to install in the publishing job.StringgetRegistry()Deprecated.(experimental) The domain name of the npm package registry.inthashCode()Deprecated.
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(JsiiReleaseNpm.Builder builder)
Deprecated.Constructor that initializes the object based on literal property values passed by theJsiiReleaseNpm.Builder.
-
-
Method Detail
-
getCodeArtifactOptions
public final CodeArtifactOptions getCodeArtifactOptions()
Deprecated.Description copied from interface:NpmPublishOptions(experimental) Options for publishing npm package to AWS CodeArtifact.Default: - undefined
- Specified by:
getCodeArtifactOptionsin interfaceNpmPublishOptions
-
getDistTag
public final String getDistTag()
Deprecated.Description copied from interface:NpmPublishOptions(deprecated) 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
latesttag is used by npm to identify the current version of a package, andnpm install <pkg>(without any@<version>or@<tag>specifier) installs the latest tag. Typically, projects only use thelatesttag for stable release versions, and use other tags for unstable versions such as prereleases.The
nexttag is used by some projects to identify the upcoming version.Default: "latest"
- Specified by:
getDistTagin interfaceNpmPublishOptions
-
getNpmProvenance
public final Boolean getNpmProvenance()
Deprecated.Description copied from interface:NpmPublishOptions(experimental) Should provenance statements be generated when package is published.Note that this component is using
publibto publish packages, which is using npm internally and supports provenance statements independently of the package manager used.Default: - undefined
- Specified by:
getNpmProvenancein interfaceNpmPublishOptions- See Also:
- https://docs.npmjs.com/generating-provenance-statements
-
getNpmTokenSecret
public final String getNpmTokenSecret()
Deprecated.Description copied from interface:NpmPublishOptions(experimental) GitHub secret which contains the NPM token to use when publishing packages.Default: - "NPM_TOKEN" or "GITHUB_TOKEN" if `registry` is set to `npm.pkg.github.com`.
- Specified by:
getNpmTokenSecretin interfaceNpmPublishOptions
-
getRegistry
public final String getRegistry()
Deprecated.Description copied from interface:NpmPublishOptions(experimental) The domain name of the npm package registry.To publish to GitHub Packages, set this value to
"npm.pkg.github.com". In this ifnpmTokenSecretis not specified, it will default toGITHUB_TOKENwhich means that you will be able to publish to the repository's package store. In this case, make surerepositoryUrlis correctly defined.Default: "registry.npmjs.org"
Example:
"npm.pkg.github.com"
- Specified by:
getRegistryin interfaceNpmPublishOptions
-
getPostPublishSteps
public final List<JobStep> getPostPublishSteps()
Deprecated.Description copied from interface:CommonPublishOptions(experimental) Steps to execute after executing the publishing command.These can be used to add/update the release artifacts ot any other tasks needed.
Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPostPublishingSteps.- Specified by:
getPostPublishStepsin interfaceCommonPublishOptions
-
getPrePublishSteps
public final List<JobStep> getPrePublishSteps()
Deprecated.Description copied from interface:CommonPublishOptions(experimental) Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede.These steps are executed after
dist/has been populated with the build output.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPrePublishingSteps.- Specified by:
getPrePublishStepsin interfaceCommonPublishOptions
-
getPublishTools
public final Tools getPublishTools()
Deprecated.Description copied from interface:CommonPublishOptions(experimental) Additional tools to install in the publishing job.Default: - no additional tools are installed
- Specified by:
getPublishToolsin interfaceCommonPublishOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
Deprecated.- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-