Interface SemverGroup
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SemverGroup.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-01T23:43:16.025Z") @Stability(Stable) public interface SemverGroup extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSemverGroup.BuilderA builder forSemverGroupstatic classSemverGroup.Jsii$ProxyAn implementation forSemverGroup
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SemverGroup.Builderbuilder()List<String>getDependencies()the names of the dependencies (eg.default List<String>getDependencyTypes()optionally only apply this group to dependencies of the provided types.List<String>getPackages()the names of packages in your monorepo which belong to this group, taken from the "name" field in package.json, not the package directory name.StringgetRange()the semver range which dependencies in this group should use.
-
-
-
Method Detail
-
getDependencies
@Stability(Stable) @NotNull List<String> getDependencies()
the names of the dependencies (eg."lodash") which belong to this group
-
getPackages
@Stability(Stable) @NotNull List<String> getPackages()
the names of packages in your monorepo which belong to this group, taken from the "name" field in package.json, not the package directory name.
-
getRange
@Stability(Stable) @NotNull String getRange()
the semver range which dependencies in this group should use.
-
getDependencyTypes
@Stability(Stable) @Nullable default List<String> getDependencyTypes()
optionally only apply this group to dependencies of the provided types.
-
builder
@Stability(Stable) static SemverGroup.Builder builder()
- Returns:
- a
SemverGroup.BuilderofSemverGroup
-
-