NpmPackageArgs

data class NpmPackageArgs(val packagePath: Output<String>? = null, val repository: Output<String>? = null) : ConvertibleToJava<NpmPackageArgs>

Npm package to upload to Artifact Registry upon successful completion of all build steps.

Constructors

Link copied to clipboard
constructor(packagePath: Output<String>? = null, repository: Output<String>? = null)

Properties

Link copied to clipboard
val packagePath: Output<String>? = null

Path to the package.json. e.g. workspace/path/to/package

Link copied to clipboard
val repository: Output<String>? = null

Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.

Functions

Link copied to clipboard
open override fun toJava(): NpmPackageArgs