Class Dependabot

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:43.066Z")
    @Stability(Experimental)
    public class Dependabot
    extends Component
    (experimental) Defines dependabot configuration for node projects.

    Since module versions are managed in projen, the versioning strategy will be configured to "lockfile-only" which means that only updates that can be done on the lockfile itself will be proposed.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Dependabot.Builder
      (experimental) A fluent builder for Dependabot.
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
    • Constructor Detail

      • Dependabot

        protected Dependabot​(software.amazon.jsii.JsiiObjectRef objRef)
      • Dependabot

        protected Dependabot​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • Dependabot

        @Stability(Experimental)
        public Dependabot​(@NotNull
                          GitHub github,
                          @Nullable
                          DependabotOptions options)
        Parameters:
        github - This parameter is required.
        options -
      • Dependabot

        @Stability(Experimental)
        public Dependabot​(@NotNull
                          GitHub github)
        Parameters:
        github - This parameter is required.
    • Method Detail

      • addAllow

        @Stability(Experimental)
        public void addAllow​(@NotNull
                             String dependencyName)
        (experimental) Allows a dependency from automatic updates.

        Parameters:
        dependencyName - Use to allow updates for dependencies with matching names, optionally using * to match zero or more characters. This parameter is required.
      • addIgnore

        @Stability(Experimental)
        public void addIgnore​(@NotNull
                              String dependencyName,
                              @NotNull
                              @NotNull String... versions)
        (experimental) Ignores a dependency from automatic updates.

        Parameters:
        dependencyName - Use to ignore updates for dependencies with matching names, optionally using * to match zero or more characters. This parameter is required.
        versions - Use to ignore specific versions or ranges of versions. This parameter is required.
      • getIgnoresProjen

        @Stability(Experimental)
        @NotNull
        public Boolean getIgnoresProjen()
        (experimental) Whether or not projen is also upgraded in this config,.