NpmPackage class

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

Constructors

NpmPackage({Input<String>? packagePath, Input<String>? repository})
Creates a new NpmPackage. packagePath Path to the package.json. e.g. workspace/path/to/package repository 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.
const
NpmPackage.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
packagePath → Input<String>?
Path to the package.json. e.g. workspace/path/to/package
final
repository → Input<String>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited