Interface SyncpackConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SyncpackConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-01T23:43:16.026Z") @Stability(Stable) public interface SyncpackConfig extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSyncpackConfig.BuilderA builder forSyncpackConfigstatic classSyncpackConfig.Jsii$ProxyAn implementation forSyncpackConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static SyncpackConfig.Builderbuilder()List<String>getDependencyTypes()which dependency properties to search within.BooleangetDev()whether to search within devDependencies.StringgetFilter()a string which will be passed to `new RegExp()` to match against package names that should be included.StringgetIndent()the character(s) to be used to indent your package.json files when writing to disk.BooleangetOverrides()whether to search within npm overrides.BooleangetPeer()whether to search within peerDependencies.BooleangetPnpmOverrides()whether to search within pnpm overrides.BooleangetProd()whether to search within dependencies.BooleangetResolutions()whether to search within yarn resolutions.List<SemverGroup>getSemverGroups()StringgetSemverRange()defaults to `""` to ensure that exact dependency versions are used instead of loose ranges.List<String>getSortAz()which fields within package.json files should be sorted alphabetically.List<String>getSortFirst()which fields within package.json files should appear at the top, and in what order.List<String>getSource()glob patterns for package.json file locations.List<VersionGroup>getVersionGroups()BooleangetWorkspace()whether to include the versions of the `--source` packages developed in your workspace/monorepo as part of the search for versions to sync.
-
-
-
Method Detail
-
getDependencyTypes
@Stability(Stable) @NotNull List<String> getDependencyTypes()
which dependency properties to search within.
-
getDev
@Stability(Stable) @NotNull Boolean getDev()
whether to search within devDependencies.
-
getFilter
@Stability(Stable) @NotNull String getFilter()
a string which will be passed to `new RegExp()` to match against package names that should be included.
-
getIndent
@Stability(Stable) @NotNull String getIndent()
the character(s) to be used to indent your package.json files when writing to disk.
-
getOverrides
@Stability(Stable) @NotNull Boolean getOverrides()
whether to search within npm overrides.
-
getPeer
@Stability(Stable) @NotNull Boolean getPeer()
whether to search within peerDependencies.
-
getPnpmOverrides
@Stability(Stable) @NotNull Boolean getPnpmOverrides()
whether to search within pnpm overrides.
-
getProd
@Stability(Stable) @NotNull Boolean getProd()
whether to search within dependencies.
-
getResolutions
@Stability(Stable) @NotNull Boolean getResolutions()
whether to search within yarn resolutions.
-
getSemverGroups
@Stability(Stable) @NotNull List<SemverGroup> getSemverGroups()
-
getSemverRange
@Stability(Stable) @NotNull String getSemverRange()
defaults to `""` to ensure that exact dependency versions are used instead of loose ranges.
-
getSortAz
@Stability(Stable) @NotNull List<String> getSortAz()
which fields within package.json files should be sorted alphabetically.
-
getSortFirst
@Stability(Stable) @NotNull List<String> getSortFirst()
which fields within package.json files should appear at the top, and in what order.
-
getSource
@Stability(Stable) @NotNull List<String> getSource()
glob patterns for package.json file locations.
-
getVersionGroups
@Stability(Stable) @NotNull List<VersionGroup> getVersionGroups()
-
getWorkspace
@Stability(Stable) @NotNull Boolean getWorkspace()
whether to include the versions of the `--source` packages developed in your workspace/monorepo as part of the search for versions to sync.
-
builder
@Stability(Stable) static SyncpackConfig.Builder builder()
- Returns:
- a
SyncpackConfig.BuilderofSyncpackConfig
-
-