Class Yarnrc.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.javascript.Yarnrc.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Yarnrcbuild()Yarnrc.BuildercacheFolder(String cacheFolder)(experimental) https://yarnpkg.com/configuration/yarnrc#cacheFolder.Yarnrc.BuildercacheMigrationMode(YarnCacheMigrationMode cacheMigrationMode)(experimental) https://yarnpkg.com/configuration/yarnrc#cacheMigrationMode.Yarnrc.BuilderchangesetBaseRefs(List<String> changesetBaseRefs)(experimental) https://yarnpkg.com/configuration/yarnrc#changesetBaseRefs.Yarnrc.BuilderchangesetIgnorePatterns(List<String> changesetIgnorePatterns)(experimental) https://yarnpkg.com/configuration/yarnrc#changesetIgnorePatterns.Yarnrc.BuilderchecksumBehavior(YarnChecksumBehavior checksumBehavior)(experimental) https://yarnpkg.com/configuration/yarnrc#checksumBehavior.Yarnrc.BuildercloneConcurrency(Number cloneConcurrency)(experimental) https://yarnpkg.com/configuration/yarnrc#cloneConcurrency.Yarnrc.BuildercompressionLevel(Number compressionLevel)(experimental) https://yarnpkg.com/configuration/yarnrc#compressionLevel.Yarnrc.BuildercompressionLevel(String compressionLevel)(experimental) https://yarnpkg.com/configuration/yarnrc#compressionLevel.Yarnrc.BuilderconstraintsPath(String constraintsPath)(experimental) https://yarnpkg.com/configuration/yarnrc#constraintsPath.static Yarnrc.Buildercreate(Project project, String version)Yarnrc.BuilderdefaultLanguageName(String defaultLanguageName)(experimental) https://yarnpkg.com/configuration/yarnrc#defaultLanguageName.Yarnrc.BuilderdefaultProtocol(String defaultProtocol)(experimental) https://yarnpkg.com/configuration/yarnrc#defaultProtocol.Yarnrc.BuilderdefaultSemverRangePrefix(YarnDefaultSemverRangePrefix defaultSemverRangePrefix)(experimental) https://yarnpkg.com/configuration/yarnrc#defaultSemverRangePrefix.Yarnrc.BuilderdeferredVersionFolder(String deferredVersionFolder)(experimental) https://yarnpkg.com/configuration/yarnrc#deferredVersionFolder.Yarnrc.BuilderenableColors(Boolean enableColors)(experimental) https://yarnpkg.com/configuration/yarnrc#enableColors.Yarnrc.BuilderenableConstraintsCheck(Boolean enableConstraintsCheck)(experimental) https://yarnpkg.com/configuration/yarnrc#enableConstraintsCheck.Yarnrc.BuilderenableGlobalCache(Boolean enableGlobalCache)(experimental) https://yarnpkg.com/configuration/yarnrc#enableGlobalCache.Yarnrc.BuilderenableHardenedMode(Boolean enableHardenedMode)(experimental) https://yarnpkg.com/configuration/yarnrc#enableHardenedMode.Yarnrc.BuilderenableHyperlinks(Boolean enableHyperlinks)(experimental) https://yarnpkg.com/configuration/yarnrc#enableHyperlinks.Yarnrc.BuilderenableImmutableCache(Boolean enableImmutableCache)(experimental) https://yarnpkg.com/configuration/yarnrc#enableImmutableCache.Yarnrc.BuilderenableImmutableInstalls(Boolean enableImmutableInstalls)(experimental) https://yarnpkg.com/configuration/yarnrc#enableImmutableInstalls.Yarnrc.BuilderenableInlineBuilds(Boolean enableInlineBuilds)(experimental) https://yarnpkg.com/configuration/yarnrc#enableInlineBuilds.Yarnrc.BuilderenableInlineHunks(Boolean enableInlineHunks)(experimental) https://yarnpkg.com/configuration/yarnrc#enableInlineHunks.Yarnrc.BuilderenableMessageNames(Boolean enableMessageNames)(experimental) https://yarnpkg.com/configuration/yarnrc#enableMessageNames.Yarnrc.BuilderenableMirror(Boolean enableMirror)(experimental) https://yarnpkg.com/configuration/yarnrc#enableMirror.Yarnrc.BuilderenableNetwork(Boolean enableNetwork)(experimental) https://yarnpkg.com/configuration/yarnrc#enableNetwork.Yarnrc.BuilderenableOfflineMode(Boolean enableOfflineMode)(experimental) https://yarnpkg.com/configuration/yarnrc#enableOfflineMode.Yarnrc.BuilderenableProgressBars(Boolean enableProgressBars)(experimental) https://yarnpkg.com/configuration/yarnrc#enableProgressBars.Yarnrc.BuilderenableScripts(Boolean enableScripts)(experimental) https://yarnpkg.com/configuration/yarnrc#enableScripts.Yarnrc.BuilderenableStrictSsl(Boolean enableStrictSsl)(experimental) https://yarnpkg.com/configuration/yarnrc#enableStrictSsl.Yarnrc.BuilderenableTelemetry(Boolean enableTelemetry)(experimental) https://yarnpkg.com/configuration/yarnrc#enableTelemetry.Yarnrc.BuilderenableTimers(Boolean enableTimers)(experimental) https://yarnpkg.com/configuration/yarnrc#enableTimers.Yarnrc.BuilderenableTransparentWorkspaces(Boolean enableTransparentWorkspaces)(experimental) https://yarnpkg.com/configuration/yarnrc#enableTransparentWorkspaces.Yarnrc.BuilderglobalFolder(String globalFolder)(experimental) https://yarnpkg.com/configuration/yarnrc#globalFolder.Yarnrc.BuilderhttpProxy(String httpProxy)(experimental) https://yarnpkg.com/configuration/yarnrc#httpProxy.Yarnrc.BuilderhttpRetry(Number httpRetry)(experimental) https://yarnpkg.com/configuration/yarnrc#httpRetry.Yarnrc.BuilderhttpsCaFilePath(String httpsCaFilePath)(experimental) https://yarnpkg.com/configuration/yarnrc#httpsCaFilePath.Yarnrc.BuilderhttpsCertFilePath(String httpsCertFilePath)(experimental) https://yarnpkg.com/configuration/yarnrc#httpsCertFilePath.Yarnrc.BuilderhttpsKeyFilePath(String httpsKeyFilePath)(experimental) https://yarnpkg.com/configuration/yarnrc#httpsKeyFilePath.Yarnrc.BuilderhttpsProxy(String httpsProxy)(experimental) https://yarnpkg.com/configuration/yarnrc#httpsProxy.Yarnrc.BuilderhttpTimeout(Number httpTimeout)(experimental) https://yarnpkg.com/configuration/yarnrc#httpTimeout.Yarnrc.BuilderignoreCwd(Boolean ignoreCwd)Deprecated.removed in Yarn v4 and newerYarnrc.BuilderignorePath(Boolean ignorePath)(experimental) https://yarnpkg.com/configuration/yarnrc#ignorePath.Yarnrc.BuilderimmutablePatterns(List<String> immutablePatterns)(experimental) https://yarnpkg.com/configuration/yarnrc#immutablePatterns.Yarnrc.BuilderinitFields(Map<String,? extends Object> initFields)(experimental) https://yarnpkg.com/configuration/yarnrc#initFields.Yarnrc.BuilderinitScope(String initScope)(experimental) https://yarnpkg.com/configuration/yarnrc#initScope.Yarnrc.BuilderinjectEnvironmentFiles(List<String> injectEnvironmentFiles)(experimental) https://yarnpkg.com/configuration/yarnrc#injectEnvironmentFiles.Yarnrc.BuilderinstallStatePath(String installStatePath)(experimental) https://yarnpkg.com/configuration/yarnrc#installStatePath.Yarnrc.BuilderlockfileFilename(String lockfileFilename)Deprecated.removed in Yarn v4 and newerYarnrc.BuilderlogFilters(List<? extends YarnLogFilter> logFilters)(experimental) https://yarnpkg.com/configuration/yarnrc#logFilters.Yarnrc.BuildernetworkConcurrency(Number networkConcurrency)(experimental) https://yarnpkg.com/configuration/yarnrc#networkConcurrency.Yarnrc.BuildernetworkSettings(Map<String,? extends YarnNetworkSetting> networkSettings)(experimental) https://yarnpkg.com/configuration/yarnrc#networkSettings.Yarnrc.BuildernmHoistingLimits(YarnNmHoistingLimit nmHoistingLimits)(experimental) https://yarnpkg.com/configuration/yarnrc#nmHoistingLimits.Yarnrc.BuildernmMode(YarnNmMode nmMode)(experimental) https://yarnpkg.com/configuration/yarnrc#nmMode.Yarnrc.BuildernmSelfReferences(Boolean nmSelfReferences)(experimental) https://yarnpkg.com/configuration/yarnrc#nmSelfReferences.Yarnrc.BuildernodeLinker(YarnNodeLinker nodeLinker)(experimental) https://yarnpkg.com/configuration/yarnrc#nodeLinker.Yarnrc.BuildernpmAlwaysAuth(Boolean npmAlwaysAuth)(experimental) https://yarnpkg.com/configuration/yarnrc#npmAlwaysAuth.Yarnrc.BuildernpmAuditExcludePackages(List<String> npmAuditExcludePackages)(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuditExcludePackages.Yarnrc.BuildernpmAuditIgnoreAdvisories(List<String> npmAuditIgnoreAdvisories)(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuditIgnoreAdvisories.Yarnrc.BuildernpmAuditRegistry(String npmAuditRegistry)(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuditRegistry.Yarnrc.BuildernpmAuthIdent(String npmAuthIdent)(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuthIdent.Yarnrc.BuildernpmAuthToken(String npmAuthToken)(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuthToken.Yarnrc.BuildernpmPublishAccess(YarnNpmPublishAccess npmPublishAccess)(experimental) https://yarnpkg.com/configuration/yarnrc#npmPublishAccess.Yarnrc.BuildernpmPublishRegistry(String npmPublishRegistry)(experimental) https://yarnpkg.com/configuration/yarnrc#npmPublishRegistry.Yarnrc.BuildernpmRegistries(Map<String,? extends YarnNpmRegistry> npmRegistries)(experimental) https://yarnpkg.com/configuration/yarnrc#npmRegistries.Yarnrc.BuildernpmRegistryServer(String npmRegistryServer)(experimental) https://yarnpkg.com/configuration/yarnrc#npmRegistryServer.Yarnrc.BuildernpmScopes(Map<String,? extends YarnNpmScope> npmScopes)(experimental) https://yarnpkg.com/configuration/yarnrc#npmScopes.Yarnrc.BuilderpackageExtensions(Map<String,? extends YarnPackageExtension> packageExtensions)(experimental) https://yarnpkg.com/configuration/yarnrc#packageExtensions.Yarnrc.BuilderpatchFolder(String patchFolder)(experimental) https://yarnpkg.com/configuration/yarnrc#patchFolder.Yarnrc.BuilderpnpDataPath(String pnpDataPath)Deprecated.removed in Yarn v4 and newerYarnrc.BuilderpnpEnableEsmLoader(Boolean pnpEnableEsmLoader)(experimental) https://yarnpkg.com/configuration/yarnrc#pnpEnableEsmLoader.Yarnrc.BuilderpnpEnableInlining(Boolean pnpEnableInlining)(experimental) https://yarnpkg.com/configuration/yarnrc#pnpEnableInlining.Yarnrc.BuilderpnpFallbackMode(YarnPnpFallbackMode pnpFallbackMode)(experimental) https://yarnpkg.com/configuration/yarnrc#pnpFallbackMode.Yarnrc.BuilderpnpIgnorePatterns(List<String> pnpIgnorePatterns)(experimental) https://yarnpkg.com/configuration/yarnrc#pnpIgnorePatterns.Yarnrc.BuilderpnpMode(YarnPnpMode pnpMode)(experimental) https://yarnpkg.com/configuration/yarnrc#pnpMode.Yarnrc.BuilderpnpShebang(String pnpShebang)(experimental) https://yarnpkg.com/configuration/yarnrc#pnpShebang.Yarnrc.BuilderpnpUnpluggedFolder(String pnpUnpluggedFolder)(experimental) https://yarnpkg.com/configuration/yarnrc#pnpUnpluggedFolder.Yarnrc.BuilderpreferAggregateCacheInfo(Boolean preferAggregateCacheInfo)Deprecated.removed in Yarn v4 and newerYarnrc.BuilderpreferDeferredVersions(Boolean preferDeferredVersions)(experimental) https://yarnpkg.com/configuration/yarnrc#preferDeferredVersions.Yarnrc.BuilderpreferInteractive(Boolean preferInteractive)(experimental) https://yarnpkg.com/configuration/yarnrc#preferInteractive.Yarnrc.BuilderpreferReuse(Boolean preferReuse)(experimental) https://yarnpkg.com/configuration/yarnrc#preferReuse.Yarnrc.BuilderpreferTruncatedLines(Boolean preferTruncatedLines)(experimental) https://yarnpkg.com/configuration/yarnrc#preferTruncatedLines.Yarnrc.BuilderprogressBarStyle(YarnProgressBarStyle progressBarStyle)(experimental) https://yarnpkg.com/configuration/yarnrc#progressBarStyle.Yarnrc.BuilderrcFilename(String rcFilename)(experimental) https://yarnpkg.com/configuration/yarnrc#rcFilename.Yarnrc.BuildersupportedArchitectures(YarnSupportedArchitectures supportedArchitectures)(experimental) https://yarnpkg.com/configuration/yarnrc#supportedArchitectures.Yarnrc.BuildertaskPoolConcurrency(String taskPoolConcurrency)(experimental) https://yarnpkg.com/configuration/yarnrc#taskPoolConcurrency.Yarnrc.BuildertelemetryInterval(Number telemetryInterval)(experimental) https://yarnpkg.com/configuration/yarnrc#telemetryInterval.Yarnrc.BuildertelemetryUserId(String telemetryUserId)(experimental) https://yarnpkg.com/configuration/yarnrc#telemetryUserId.Yarnrc.BuildertsEnableAutoTypes(Boolean tsEnableAutoTypes)(experimental) https://yarnpkg.com/configuration/yarnrc#tsEnableAutoTypes.Yarnrc.BuilderunsafeHttpWhitelist(List<String> unsafeHttpWhitelist)(experimental) https://yarnpkg.com/configuration/yarnrc#unsafeHttpWhitelist.Yarnrc.BuildervirtualFolder(String virtualFolder)(experimental) https://yarnpkg.com/configuration/yarnrc#virtualFolder.Yarnrc.BuilderwinLinkType(YarnWinLinkType winLinkType)(experimental) https://yarnpkg.com/configuration/yarnrc#winLinkType.Yarnrc.BuilderworkerPoolMode(YarnWorkerPoolMode workerPoolMode)(experimental) https://yarnpkg.com/configuration/yarnrc#workerPoolMode.Yarnrc.BuilderyarnPath(String yarnPath)(experimental) https://yarnpkg.com/configuration/yarnrc#yarnPath.
-
-
-
Method Detail
-
create
@Stability(Experimental) public static Yarnrc.Builder create(Project project, String version)
- Parameters:
project- This parameter is required.version- This parameter is required.- Returns:
- a new instance of
Yarnrc.Builder.
-
cacheFolder
@Stability(Experimental) public Yarnrc.Builder cacheFolder(String cacheFolder)
(experimental) https://yarnpkg.com/configuration/yarnrc#cacheFolder.- Parameters:
cacheFolder- https://yarnpkg.com/configuration/yarnrc#cacheFolder. This parameter is required.- Returns:
this
-
cacheMigrationMode
@Stability(Experimental) public Yarnrc.Builder cacheMigrationMode(YarnCacheMigrationMode cacheMigrationMode)
(experimental) https://yarnpkg.com/configuration/yarnrc#cacheMigrationMode.- Parameters:
cacheMigrationMode- https://yarnpkg.com/configuration/yarnrc#cacheMigrationMode. This parameter is required.- Returns:
this
-
changesetBaseRefs
@Stability(Experimental) public Yarnrc.Builder changesetBaseRefs(List<String> changesetBaseRefs)
(experimental) https://yarnpkg.com/configuration/yarnrc#changesetBaseRefs.- Parameters:
changesetBaseRefs- https://yarnpkg.com/configuration/yarnrc#changesetBaseRefs. This parameter is required.- Returns:
this
-
changesetIgnorePatterns
@Stability(Experimental) public Yarnrc.Builder changesetIgnorePatterns(List<String> changesetIgnorePatterns)
(experimental) https://yarnpkg.com/configuration/yarnrc#changesetIgnorePatterns.- Parameters:
changesetIgnorePatterns- https://yarnpkg.com/configuration/yarnrc#changesetIgnorePatterns. This parameter is required.- Returns:
this
-
checksumBehavior
@Stability(Experimental) public Yarnrc.Builder checksumBehavior(YarnChecksumBehavior checksumBehavior)
(experimental) https://yarnpkg.com/configuration/yarnrc#checksumBehavior.- Parameters:
checksumBehavior- https://yarnpkg.com/configuration/yarnrc#checksumBehavior. This parameter is required.- Returns:
this
-
cloneConcurrency
@Stability(Experimental) public Yarnrc.Builder cloneConcurrency(Number cloneConcurrency)
(experimental) https://yarnpkg.com/configuration/yarnrc#cloneConcurrency.- Parameters:
cloneConcurrency- https://yarnpkg.com/configuration/yarnrc#cloneConcurrency. This parameter is required.- Returns:
this
-
compressionLevel
@Stability(Experimental) public Yarnrc.Builder compressionLevel(String compressionLevel)
(experimental) https://yarnpkg.com/configuration/yarnrc#compressionLevel.- Parameters:
compressionLevel- https://yarnpkg.com/configuration/yarnrc#compressionLevel. This parameter is required.- Returns:
this
-
compressionLevel
@Stability(Experimental) public Yarnrc.Builder compressionLevel(Number compressionLevel)
(experimental) https://yarnpkg.com/configuration/yarnrc#compressionLevel.- Parameters:
compressionLevel- https://yarnpkg.com/configuration/yarnrc#compressionLevel. This parameter is required.- Returns:
this
-
constraintsPath
@Stability(Experimental) public Yarnrc.Builder constraintsPath(String constraintsPath)
(experimental) https://yarnpkg.com/configuration/yarnrc#constraintsPath.- Parameters:
constraintsPath- https://yarnpkg.com/configuration/yarnrc#constraintsPath. This parameter is required.- Returns:
this
-
defaultLanguageName
@Stability(Experimental) public Yarnrc.Builder defaultLanguageName(String defaultLanguageName)
(experimental) https://yarnpkg.com/configuration/yarnrc#defaultLanguageName.- Parameters:
defaultLanguageName- https://yarnpkg.com/configuration/yarnrc#defaultLanguageName. This parameter is required.- Returns:
this
-
defaultProtocol
@Stability(Experimental) public Yarnrc.Builder defaultProtocol(String defaultProtocol)
(experimental) https://yarnpkg.com/configuration/yarnrc#defaultProtocol.- Parameters:
defaultProtocol- https://yarnpkg.com/configuration/yarnrc#defaultProtocol. This parameter is required.- Returns:
this
-
defaultSemverRangePrefix
@Stability(Experimental) public Yarnrc.Builder defaultSemverRangePrefix(YarnDefaultSemverRangePrefix defaultSemverRangePrefix)
(experimental) https://yarnpkg.com/configuration/yarnrc#defaultSemverRangePrefix.- Parameters:
defaultSemverRangePrefix- https://yarnpkg.com/configuration/yarnrc#defaultSemverRangePrefix. This parameter is required.- Returns:
this
-
deferredVersionFolder
@Stability(Experimental) public Yarnrc.Builder deferredVersionFolder(String deferredVersionFolder)
(experimental) https://yarnpkg.com/configuration/yarnrc#deferredVersionFolder.- Parameters:
deferredVersionFolder- https://yarnpkg.com/configuration/yarnrc#deferredVersionFolder. This parameter is required.- Returns:
this
-
enableColors
@Stability(Experimental) public Yarnrc.Builder enableColors(Boolean enableColors)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableColors.- Parameters:
enableColors- https://yarnpkg.com/configuration/yarnrc#enableColors. This parameter is required.- Returns:
this
-
enableConstraintsCheck
@Stability(Experimental) public Yarnrc.Builder enableConstraintsCheck(Boolean enableConstraintsCheck)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableConstraintsCheck.- Parameters:
enableConstraintsCheck- https://yarnpkg.com/configuration/yarnrc#enableConstraintsCheck. This parameter is required.- Returns:
this
-
enableGlobalCache
@Stability(Experimental) public Yarnrc.Builder enableGlobalCache(Boolean enableGlobalCache)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableGlobalCache.- Parameters:
enableGlobalCache- https://yarnpkg.com/configuration/yarnrc#enableGlobalCache. This parameter is required.- Returns:
this
-
enableHardenedMode
@Stability(Experimental) public Yarnrc.Builder enableHardenedMode(Boolean enableHardenedMode)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableHardenedMode.- Parameters:
enableHardenedMode- https://yarnpkg.com/configuration/yarnrc#enableHardenedMode. This parameter is required.- Returns:
this
-
enableHyperlinks
@Stability(Experimental) public Yarnrc.Builder enableHyperlinks(Boolean enableHyperlinks)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableHyperlinks.- Parameters:
enableHyperlinks- https://yarnpkg.com/configuration/yarnrc#enableHyperlinks. This parameter is required.- Returns:
this
-
enableImmutableCache
@Stability(Experimental) public Yarnrc.Builder enableImmutableCache(Boolean enableImmutableCache)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableImmutableCache.- Parameters:
enableImmutableCache- https://yarnpkg.com/configuration/yarnrc#enableImmutableCache. This parameter is required.- Returns:
this
-
enableImmutableInstalls
@Stability(Experimental) public Yarnrc.Builder enableImmutableInstalls(Boolean enableImmutableInstalls)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableImmutableInstalls.- Parameters:
enableImmutableInstalls- https://yarnpkg.com/configuration/yarnrc#enableImmutableInstalls. This parameter is required.- Returns:
this
-
enableInlineBuilds
@Stability(Experimental) public Yarnrc.Builder enableInlineBuilds(Boolean enableInlineBuilds)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableInlineBuilds.- Parameters:
enableInlineBuilds- https://yarnpkg.com/configuration/yarnrc#enableInlineBuilds. This parameter is required.- Returns:
this
-
enableInlineHunks
@Stability(Experimental) public Yarnrc.Builder enableInlineHunks(Boolean enableInlineHunks)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableInlineHunks.- Parameters:
enableInlineHunks- https://yarnpkg.com/configuration/yarnrc#enableInlineHunks. This parameter is required.- Returns:
this
-
enableMessageNames
@Stability(Experimental) public Yarnrc.Builder enableMessageNames(Boolean enableMessageNames)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableMessageNames.- Parameters:
enableMessageNames- https://yarnpkg.com/configuration/yarnrc#enableMessageNames. This parameter is required.- Returns:
this
-
enableMirror
@Stability(Experimental) public Yarnrc.Builder enableMirror(Boolean enableMirror)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableMirror.- Parameters:
enableMirror- https://yarnpkg.com/configuration/yarnrc#enableMirror. This parameter is required.- Returns:
this
-
enableNetwork
@Stability(Experimental) public Yarnrc.Builder enableNetwork(Boolean enableNetwork)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableNetwork.- Parameters:
enableNetwork- https://yarnpkg.com/configuration/yarnrc#enableNetwork. This parameter is required.- Returns:
this
-
enableOfflineMode
@Stability(Experimental) public Yarnrc.Builder enableOfflineMode(Boolean enableOfflineMode)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableOfflineMode.- Parameters:
enableOfflineMode- https://yarnpkg.com/configuration/yarnrc#enableOfflineMode. This parameter is required.- Returns:
this
-
enableProgressBars
@Stability(Experimental) public Yarnrc.Builder enableProgressBars(Boolean enableProgressBars)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableProgressBars.- Parameters:
enableProgressBars- https://yarnpkg.com/configuration/yarnrc#enableProgressBars. This parameter is required.- Returns:
this
-
enableScripts
@Stability(Experimental) public Yarnrc.Builder enableScripts(Boolean enableScripts)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableScripts.- Parameters:
enableScripts- https://yarnpkg.com/configuration/yarnrc#enableScripts. This parameter is required.- Returns:
this
-
enableStrictSsl
@Stability(Experimental) public Yarnrc.Builder enableStrictSsl(Boolean enableStrictSsl)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableStrictSsl.- Parameters:
enableStrictSsl- https://yarnpkg.com/configuration/yarnrc#enableStrictSsl. This parameter is required.- Returns:
this
-
enableTelemetry
@Stability(Experimental) public Yarnrc.Builder enableTelemetry(Boolean enableTelemetry)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableTelemetry.- Parameters:
enableTelemetry- https://yarnpkg.com/configuration/yarnrc#enableTelemetry. This parameter is required.- Returns:
this
-
enableTimers
@Stability(Experimental) public Yarnrc.Builder enableTimers(Boolean enableTimers)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableTimers.- Parameters:
enableTimers- https://yarnpkg.com/configuration/yarnrc#enableTimers. This parameter is required.- Returns:
this
-
enableTransparentWorkspaces
@Stability(Experimental) public Yarnrc.Builder enableTransparentWorkspaces(Boolean enableTransparentWorkspaces)
(experimental) https://yarnpkg.com/configuration/yarnrc#enableTransparentWorkspaces.- Parameters:
enableTransparentWorkspaces- https://yarnpkg.com/configuration/yarnrc#enableTransparentWorkspaces. This parameter is required.- Returns:
this
-
globalFolder
@Stability(Experimental) public Yarnrc.Builder globalFolder(String globalFolder)
(experimental) https://yarnpkg.com/configuration/yarnrc#globalFolder.- Parameters:
globalFolder- https://yarnpkg.com/configuration/yarnrc#globalFolder. This parameter is required.- Returns:
this
-
httpProxy
@Stability(Experimental) public Yarnrc.Builder httpProxy(String httpProxy)
(experimental) https://yarnpkg.com/configuration/yarnrc#httpProxy.- Parameters:
httpProxy- https://yarnpkg.com/configuration/yarnrc#httpProxy. This parameter is required.- Returns:
this
-
httpRetry
@Stability(Experimental) public Yarnrc.Builder httpRetry(Number httpRetry)
(experimental) https://yarnpkg.com/configuration/yarnrc#httpRetry.- Parameters:
httpRetry- https://yarnpkg.com/configuration/yarnrc#httpRetry. This parameter is required.- Returns:
this
-
httpsCaFilePath
@Stability(Experimental) public Yarnrc.Builder httpsCaFilePath(String httpsCaFilePath)
(experimental) https://yarnpkg.com/configuration/yarnrc#httpsCaFilePath.- Parameters:
httpsCaFilePath- https://yarnpkg.com/configuration/yarnrc#httpsCaFilePath. This parameter is required.- Returns:
this
-
httpsCertFilePath
@Stability(Experimental) public Yarnrc.Builder httpsCertFilePath(String httpsCertFilePath)
(experimental) https://yarnpkg.com/configuration/yarnrc#httpsCertFilePath.- Parameters:
httpsCertFilePath- https://yarnpkg.com/configuration/yarnrc#httpsCertFilePath. This parameter is required.- Returns:
this
-
httpsKeyFilePath
@Stability(Experimental) public Yarnrc.Builder httpsKeyFilePath(String httpsKeyFilePath)
(experimental) https://yarnpkg.com/configuration/yarnrc#httpsKeyFilePath.- Parameters:
httpsKeyFilePath- https://yarnpkg.com/configuration/yarnrc#httpsKeyFilePath. This parameter is required.- Returns:
this
-
httpsProxy
@Stability(Experimental) public Yarnrc.Builder httpsProxy(String httpsProxy)
(experimental) https://yarnpkg.com/configuration/yarnrc#httpsProxy.- Parameters:
httpsProxy- https://yarnpkg.com/configuration/yarnrc#httpsProxy. This parameter is required.- Returns:
this
-
httpTimeout
@Stability(Experimental) public Yarnrc.Builder httpTimeout(Number httpTimeout)
(experimental) https://yarnpkg.com/configuration/yarnrc#httpTimeout.- Parameters:
httpTimeout- https://yarnpkg.com/configuration/yarnrc#httpTimeout. This parameter is required.- Returns:
this
-
ignoreCwd
@Stability(Deprecated) @Deprecated public Yarnrc.Builder ignoreCwd(Boolean ignoreCwd)
Deprecated.- removed in Yarn v4 and newer
(deprecated) https://v3.yarnpkg.com/configuration/yarnrc#ignoreCwd.- Parameters:
ignoreCwd- https://v3.yarnpkg.com/configuration/yarnrc#ignoreCwd. This parameter is required.- Returns:
this
-
ignorePath
@Stability(Experimental) public Yarnrc.Builder ignorePath(Boolean ignorePath)
(experimental) https://yarnpkg.com/configuration/yarnrc#ignorePath.- Parameters:
ignorePath- https://yarnpkg.com/configuration/yarnrc#ignorePath. This parameter is required.- Returns:
this
-
immutablePatterns
@Stability(Experimental) public Yarnrc.Builder immutablePatterns(List<String> immutablePatterns)
(experimental) https://yarnpkg.com/configuration/yarnrc#immutablePatterns.- Parameters:
immutablePatterns- https://yarnpkg.com/configuration/yarnrc#immutablePatterns. This parameter is required.- Returns:
this
-
initFields
@Stability(Experimental) public Yarnrc.Builder initFields(Map<String,? extends Object> initFields)
(experimental) https://yarnpkg.com/configuration/yarnrc#initFields.- Parameters:
initFields- https://yarnpkg.com/configuration/yarnrc#initFields. This parameter is required.- Returns:
this
-
initScope
@Stability(Experimental) public Yarnrc.Builder initScope(String initScope)
(experimental) https://yarnpkg.com/configuration/yarnrc#initScope.- Parameters:
initScope- https://yarnpkg.com/configuration/yarnrc#initScope. This parameter is required.- Returns:
this
-
injectEnvironmentFiles
@Stability(Experimental) public Yarnrc.Builder injectEnvironmentFiles(List<String> injectEnvironmentFiles)
(experimental) https://yarnpkg.com/configuration/yarnrc#injectEnvironmentFiles.- Parameters:
injectEnvironmentFiles- https://yarnpkg.com/configuration/yarnrc#injectEnvironmentFiles. This parameter is required.- Returns:
this
-
installStatePath
@Stability(Experimental) public Yarnrc.Builder installStatePath(String installStatePath)
(experimental) https://yarnpkg.com/configuration/yarnrc#installStatePath.- Parameters:
installStatePath- https://yarnpkg.com/configuration/yarnrc#installStatePath. This parameter is required.- Returns:
this
-
lockfileFilename
@Stability(Deprecated) @Deprecated public Yarnrc.Builder lockfileFilename(String lockfileFilename)
Deprecated.- removed in Yarn v4 and newer
(deprecated) https://v3.yarnpkg.com/configuration/yarnrc#lockfileFilename.- Parameters:
lockfileFilename- https://v3.yarnpkg.com/configuration/yarnrc#lockfileFilename. This parameter is required.- Returns:
this
-
logFilters
@Stability(Experimental) public Yarnrc.Builder logFilters(List<? extends YarnLogFilter> logFilters)
(experimental) https://yarnpkg.com/configuration/yarnrc#logFilters.- Parameters:
logFilters- https://yarnpkg.com/configuration/yarnrc#logFilters. This parameter is required.- Returns:
this
-
networkConcurrency
@Stability(Experimental) public Yarnrc.Builder networkConcurrency(Number networkConcurrency)
(experimental) https://yarnpkg.com/configuration/yarnrc#networkConcurrency.- Parameters:
networkConcurrency- https://yarnpkg.com/configuration/yarnrc#networkConcurrency. This parameter is required.- Returns:
this
-
networkSettings
@Stability(Experimental) public Yarnrc.Builder networkSettings(Map<String,? extends YarnNetworkSetting> networkSettings)
(experimental) https://yarnpkg.com/configuration/yarnrc#networkSettings.- Parameters:
networkSettings- https://yarnpkg.com/configuration/yarnrc#networkSettings. This parameter is required.- Returns:
this
-
nmHoistingLimits
@Stability(Experimental) public Yarnrc.Builder nmHoistingLimits(YarnNmHoistingLimit nmHoistingLimits)
(experimental) https://yarnpkg.com/configuration/yarnrc#nmHoistingLimits.- Parameters:
nmHoistingLimits- https://yarnpkg.com/configuration/yarnrc#nmHoistingLimits. This parameter is required.- Returns:
this
-
nmMode
@Stability(Experimental) public Yarnrc.Builder nmMode(YarnNmMode nmMode)
(experimental) https://yarnpkg.com/configuration/yarnrc#nmMode.- Parameters:
nmMode- https://yarnpkg.com/configuration/yarnrc#nmMode. This parameter is required.- Returns:
this
-
nmSelfReferences
@Stability(Experimental) public Yarnrc.Builder nmSelfReferences(Boolean nmSelfReferences)
(experimental) https://yarnpkg.com/configuration/yarnrc#nmSelfReferences.- Parameters:
nmSelfReferences- https://yarnpkg.com/configuration/yarnrc#nmSelfReferences. This parameter is required.- Returns:
this
-
nodeLinker
@Stability(Experimental) public Yarnrc.Builder nodeLinker(YarnNodeLinker nodeLinker)
(experimental) https://yarnpkg.com/configuration/yarnrc#nodeLinker.- Parameters:
nodeLinker- https://yarnpkg.com/configuration/yarnrc#nodeLinker. This parameter is required.- Returns:
this
-
npmAlwaysAuth
@Stability(Experimental) public Yarnrc.Builder npmAlwaysAuth(Boolean npmAlwaysAuth)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmAlwaysAuth.- Parameters:
npmAlwaysAuth- https://yarnpkg.com/configuration/yarnrc#npmAlwaysAuth. This parameter is required.- Returns:
this
-
npmAuditExcludePackages
@Stability(Experimental) public Yarnrc.Builder npmAuditExcludePackages(List<String> npmAuditExcludePackages)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuditExcludePackages.- Parameters:
npmAuditExcludePackages- https://yarnpkg.com/configuration/yarnrc#npmAuditExcludePackages. This parameter is required.- Returns:
this
-
npmAuditIgnoreAdvisories
@Stability(Experimental) public Yarnrc.Builder npmAuditIgnoreAdvisories(List<String> npmAuditIgnoreAdvisories)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuditIgnoreAdvisories.- Parameters:
npmAuditIgnoreAdvisories- https://yarnpkg.com/configuration/yarnrc#npmAuditIgnoreAdvisories. This parameter is required.- Returns:
this
-
npmAuditRegistry
@Stability(Experimental) public Yarnrc.Builder npmAuditRegistry(String npmAuditRegistry)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuditRegistry.- Parameters:
npmAuditRegistry- https://yarnpkg.com/configuration/yarnrc#npmAuditRegistry. This parameter is required.- Returns:
this
-
npmAuthIdent
@Stability(Experimental) public Yarnrc.Builder npmAuthIdent(String npmAuthIdent)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuthIdent.- Parameters:
npmAuthIdent- https://yarnpkg.com/configuration/yarnrc#npmAuthIdent. This parameter is required.- Returns:
this
-
npmAuthToken
@Stability(Experimental) public Yarnrc.Builder npmAuthToken(String npmAuthToken)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmAuthToken.- Parameters:
npmAuthToken- https://yarnpkg.com/configuration/yarnrc#npmAuthToken. This parameter is required.- Returns:
this
-
npmPublishAccess
@Stability(Experimental) public Yarnrc.Builder npmPublishAccess(YarnNpmPublishAccess npmPublishAccess)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmPublishAccess.- Parameters:
npmPublishAccess- https://yarnpkg.com/configuration/yarnrc#npmPublishAccess. This parameter is required.- Returns:
this
-
npmPublishRegistry
@Stability(Experimental) public Yarnrc.Builder npmPublishRegistry(String npmPublishRegistry)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmPublishRegistry.- Parameters:
npmPublishRegistry- https://yarnpkg.com/configuration/yarnrc#npmPublishRegistry. This parameter is required.- Returns:
this
-
npmRegistries
@Stability(Experimental) public Yarnrc.Builder npmRegistries(Map<String,? extends YarnNpmRegistry> npmRegistries)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmRegistries.- Parameters:
npmRegistries- https://yarnpkg.com/configuration/yarnrc#npmRegistries. This parameter is required.- Returns:
this
-
npmRegistryServer
@Stability(Experimental) public Yarnrc.Builder npmRegistryServer(String npmRegistryServer)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmRegistryServer.- Parameters:
npmRegistryServer- https://yarnpkg.com/configuration/yarnrc#npmRegistryServer. This parameter is required.- Returns:
this
-
npmScopes
@Stability(Experimental) public Yarnrc.Builder npmScopes(Map<String,? extends YarnNpmScope> npmScopes)
(experimental) https://yarnpkg.com/configuration/yarnrc#npmScopes.- Parameters:
npmScopes- https://yarnpkg.com/configuration/yarnrc#npmScopes. This parameter is required.- Returns:
this
-
packageExtensions
@Stability(Experimental) public Yarnrc.Builder packageExtensions(Map<String,? extends YarnPackageExtension> packageExtensions)
(experimental) https://yarnpkg.com/configuration/yarnrc#packageExtensions.- Parameters:
packageExtensions- https://yarnpkg.com/configuration/yarnrc#packageExtensions. This parameter is required.- Returns:
this
-
patchFolder
@Stability(Experimental) public Yarnrc.Builder patchFolder(String patchFolder)
(experimental) https://yarnpkg.com/configuration/yarnrc#patchFolder.- Parameters:
patchFolder- https://yarnpkg.com/configuration/yarnrc#patchFolder. This parameter is required.- Returns:
this
-
pnpDataPath
@Stability(Deprecated) @Deprecated public Yarnrc.Builder pnpDataPath(String pnpDataPath)
Deprecated.- removed in Yarn v4 and newer
(deprecated) https://v3.yarnpkg.com/configuration/yarnrc#pnpDataPath.- Parameters:
pnpDataPath- https://v3.yarnpkg.com/configuration/yarnrc#pnpDataPath. This parameter is required.- Returns:
this
-
pnpEnableEsmLoader
@Stability(Experimental) public Yarnrc.Builder pnpEnableEsmLoader(Boolean pnpEnableEsmLoader)
(experimental) https://yarnpkg.com/configuration/yarnrc#pnpEnableEsmLoader.- Parameters:
pnpEnableEsmLoader- https://yarnpkg.com/configuration/yarnrc#pnpEnableEsmLoader. This parameter is required.- Returns:
this
-
pnpEnableInlining
@Stability(Experimental) public Yarnrc.Builder pnpEnableInlining(Boolean pnpEnableInlining)
(experimental) https://yarnpkg.com/configuration/yarnrc#pnpEnableInlining.- Parameters:
pnpEnableInlining- https://yarnpkg.com/configuration/yarnrc#pnpEnableInlining. This parameter is required.- Returns:
this
-
pnpFallbackMode
@Stability(Experimental) public Yarnrc.Builder pnpFallbackMode(YarnPnpFallbackMode pnpFallbackMode)
(experimental) https://yarnpkg.com/configuration/yarnrc#pnpFallbackMode.- Parameters:
pnpFallbackMode- https://yarnpkg.com/configuration/yarnrc#pnpFallbackMode. This parameter is required.- Returns:
this
-
pnpIgnorePatterns
@Stability(Experimental) public Yarnrc.Builder pnpIgnorePatterns(List<String> pnpIgnorePatterns)
(experimental) https://yarnpkg.com/configuration/yarnrc#pnpIgnorePatterns.- Parameters:
pnpIgnorePatterns- https://yarnpkg.com/configuration/yarnrc#pnpIgnorePatterns. This parameter is required.- Returns:
this
-
pnpMode
@Stability(Experimental) public Yarnrc.Builder pnpMode(YarnPnpMode pnpMode)
(experimental) https://yarnpkg.com/configuration/yarnrc#pnpMode.- Parameters:
pnpMode- https://yarnpkg.com/configuration/yarnrc#pnpMode. This parameter is required.- Returns:
this
-
pnpShebang
@Stability(Experimental) public Yarnrc.Builder pnpShebang(String pnpShebang)
(experimental) https://yarnpkg.com/configuration/yarnrc#pnpShebang.- Parameters:
pnpShebang- https://yarnpkg.com/configuration/yarnrc#pnpShebang. This parameter is required.- Returns:
this
-
pnpUnpluggedFolder
@Stability(Experimental) public Yarnrc.Builder pnpUnpluggedFolder(String pnpUnpluggedFolder)
(experimental) https://yarnpkg.com/configuration/yarnrc#pnpUnpluggedFolder.- Parameters:
pnpUnpluggedFolder- https://yarnpkg.com/configuration/yarnrc#pnpUnpluggedFolder. This parameter is required.- Returns:
this
-
preferAggregateCacheInfo
@Stability(Deprecated) @Deprecated public Yarnrc.Builder preferAggregateCacheInfo(Boolean preferAggregateCacheInfo)
Deprecated.- removed in Yarn v4 and newer
(deprecated) https://v3.yarnpkg.com/configuration/yarnrc#preferAggregateCacheInfo.- Parameters:
preferAggregateCacheInfo- https://v3.yarnpkg.com/configuration/yarnrc#preferAggregateCacheInfo. This parameter is required.- Returns:
this
-
preferDeferredVersions
@Stability(Experimental) public Yarnrc.Builder preferDeferredVersions(Boolean preferDeferredVersions)
(experimental) https://yarnpkg.com/configuration/yarnrc#preferDeferredVersions.- Parameters:
preferDeferredVersions- https://yarnpkg.com/configuration/yarnrc#preferDeferredVersions. This parameter is required.- Returns:
this
-
preferInteractive
@Stability(Experimental) public Yarnrc.Builder preferInteractive(Boolean preferInteractive)
(experimental) https://yarnpkg.com/configuration/yarnrc#preferInteractive.- Parameters:
preferInteractive- https://yarnpkg.com/configuration/yarnrc#preferInteractive. This parameter is required.- Returns:
this
-
preferReuse
@Stability(Experimental) public Yarnrc.Builder preferReuse(Boolean preferReuse)
(experimental) https://yarnpkg.com/configuration/yarnrc#preferReuse.- Parameters:
preferReuse- https://yarnpkg.com/configuration/yarnrc#preferReuse. This parameter is required.- Returns:
this
-
preferTruncatedLines
@Stability(Experimental) public Yarnrc.Builder preferTruncatedLines(Boolean preferTruncatedLines)
(experimental) https://yarnpkg.com/configuration/yarnrc#preferTruncatedLines.- Parameters:
preferTruncatedLines- https://yarnpkg.com/configuration/yarnrc#preferTruncatedLines. This parameter is required.- Returns:
this
-
progressBarStyle
@Stability(Experimental) public Yarnrc.Builder progressBarStyle(YarnProgressBarStyle progressBarStyle)
(experimental) https://yarnpkg.com/configuration/yarnrc#progressBarStyle.- Parameters:
progressBarStyle- https://yarnpkg.com/configuration/yarnrc#progressBarStyle. This parameter is required.- Returns:
this
-
rcFilename
@Stability(Experimental) public Yarnrc.Builder rcFilename(String rcFilename)
(experimental) https://yarnpkg.com/configuration/yarnrc#rcFilename.- Parameters:
rcFilename- https://yarnpkg.com/configuration/yarnrc#rcFilename. This parameter is required.- Returns:
this
-
supportedArchitectures
@Stability(Experimental) public Yarnrc.Builder supportedArchitectures(YarnSupportedArchitectures supportedArchitectures)
(experimental) https://yarnpkg.com/configuration/yarnrc#supportedArchitectures.- Parameters:
supportedArchitectures- https://yarnpkg.com/configuration/yarnrc#supportedArchitectures. This parameter is required.- Returns:
this
-
taskPoolConcurrency
@Stability(Experimental) public Yarnrc.Builder taskPoolConcurrency(String taskPoolConcurrency)
(experimental) https://yarnpkg.com/configuration/yarnrc#taskPoolConcurrency.- Parameters:
taskPoolConcurrency- https://yarnpkg.com/configuration/yarnrc#taskPoolConcurrency. This parameter is required.- Returns:
this
-
telemetryInterval
@Stability(Experimental) public Yarnrc.Builder telemetryInterval(Number telemetryInterval)
(experimental) https://yarnpkg.com/configuration/yarnrc#telemetryInterval.- Parameters:
telemetryInterval- https://yarnpkg.com/configuration/yarnrc#telemetryInterval. This parameter is required.- Returns:
this
-
telemetryUserId
@Stability(Experimental) public Yarnrc.Builder telemetryUserId(String telemetryUserId)
(experimental) https://yarnpkg.com/configuration/yarnrc#telemetryUserId.- Parameters:
telemetryUserId- https://yarnpkg.com/configuration/yarnrc#telemetryUserId. This parameter is required.- Returns:
this
-
tsEnableAutoTypes
@Stability(Experimental) public Yarnrc.Builder tsEnableAutoTypes(Boolean tsEnableAutoTypes)
(experimental) https://yarnpkg.com/configuration/yarnrc#tsEnableAutoTypes.- Parameters:
tsEnableAutoTypes- https://yarnpkg.com/configuration/yarnrc#tsEnableAutoTypes. This parameter is required.- Returns:
this
-
unsafeHttpWhitelist
@Stability(Experimental) public Yarnrc.Builder unsafeHttpWhitelist(List<String> unsafeHttpWhitelist)
(experimental) https://yarnpkg.com/configuration/yarnrc#unsafeHttpWhitelist.- Parameters:
unsafeHttpWhitelist- https://yarnpkg.com/configuration/yarnrc#unsafeHttpWhitelist. This parameter is required.- Returns:
this
-
virtualFolder
@Stability(Experimental) public Yarnrc.Builder virtualFolder(String virtualFolder)
(experimental) https://yarnpkg.com/configuration/yarnrc#virtualFolder.- Parameters:
virtualFolder- https://yarnpkg.com/configuration/yarnrc#virtualFolder. This parameter is required.- Returns:
this
-
winLinkType
@Stability(Experimental) public Yarnrc.Builder winLinkType(YarnWinLinkType winLinkType)
(experimental) https://yarnpkg.com/configuration/yarnrc#winLinkType.- Parameters:
winLinkType- https://yarnpkg.com/configuration/yarnrc#winLinkType. This parameter is required.- Returns:
this
-
workerPoolMode
@Stability(Experimental) public Yarnrc.Builder workerPoolMode(YarnWorkerPoolMode workerPoolMode)
(experimental) https://yarnpkg.com/configuration/yarnrc#workerPoolMode.- Parameters:
workerPoolMode- https://yarnpkg.com/configuration/yarnrc#workerPoolMode. This parameter is required.- Returns:
this
-
yarnPath
@Stability(Experimental) public Yarnrc.Builder yarnPath(String yarnPath)
(experimental) https://yarnpkg.com/configuration/yarnrc#yarnPath.- Parameters:
yarnPath- https://yarnpkg.com/configuration/yarnrc#yarnPath. This parameter is required.- Returns:
this
-
-