NpmPackage class

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

Constructors

NpmPackage({String? packagePath, String? repository})
NpmPackage.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
packagePath String?
Path to the package.json.
getter/setter pair
repository 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.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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