Git Product home page Git Product logo

renovate-config's Introduction

renovate-config

A shareable config preset for Renovate used in Hatena.

{
  "extends": [
    "github>hatena/renovate-config"
  ]
}

Available presets

autoMergePin

{
  "pin": {
    "automerge": true
  }
}

autoMergeTypesMinor

{
  "packageRules": [
    {
      "matchPackagePatterns": ["^@types/"],
      "automerge": true,
      "major": {
        "automerge": false
      }
    }
  ]
}

ecspressoVersion.json5 (opt-in)

Updates the ecspresso version defined in the .ecspresso-version file using regexManagers.

{
  "extends": ["github>hatena/renovate-config:ecspressoVersion.json5"]
}

groupAndroidPackages

Grouping various libraries used for Android app development, mainly based on Maven groupId.

groupCocoaPodsPackages

Grouping some CocoaPods libraries used for iOS app development.

groupJest

Grouping jest monorepo packages and ts-jest.

{
  "packageRules": [
    {
      "groupName": "jest",
      "matchSourceUrlPrefixes": [
        "https://github.com/facebook/jest",
        "https://github.com/kulshekhar/ts-jest"
      ]
    }
  ]
}

groupLinters

Grouping lint-related packages for JavaScript and TypeScript. Adding prettier and typescript-eslint packages to the packages:linters preset.

{
  "packageRules": [
    {
      "groupName": "linters",
      "extends": ["packages:linters"],
      "matchPackageNames": ["prettier"],
      "matchPackagePatterns": ["^@typescript-eslint/"]
    }
  ]
}

schedule

{
  "extends": [
    ":timezone(Asia/Tokyo)"
  ],
  "schedule": [
    "after 10:30 before 18:00 every weekday except after 13:00 before 14:00"
  ]
}

This config is heavily based on our business hours in Hatena. So if this is not a good fit for you, please exclude as follows:

{
  "ignorePresets": ["github>hatena/renovate-config:schedule"]
}

or overwrite the schedule option as you like:

{
  "schedule": ["after 10pm and before 5am on every weekday", "every weekend"]
}

or extend the Schedule Presets.

xcodegenSwiftPackages.json5 (opt-in)

Updates Swift packages in XcodeGen's project.yml using regexManagers.

{
  "extends": ["github>hatena/renovate-config:xcodegenSwiftPackages.json5"]
}

renovate-config's People

Contributors

ikesyo avatar stefafafan avatar numeroanddev avatar renovate-bot avatar takuji31 avatar mangano-ito avatar peaceiris avatar itchyny avatar maku693 avatar ytrino avatar aereal avatar renovate[bot] avatar ysato avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.