0

我正在配置 WhiteSource Renovate 以更新 Angular 项目中的依赖项。我们使用 Docker 映像自己托管它。

不幸的是,Renovate 更新了所有依赖项,这不是我们想要的。

我只想更新下面的@myBiz/common-stuff:

module.exports = {
  "baseBranches": (process.env.ACTIVE_BRANCHES + ",master").split(","),
  "onboarding": true,
  "onboardingConfig": {
    "extends": [ "config:base" ]
  },
  "platform": "github",
  "packageRules": [
    {
      "matchBaseBranches": ["master"],
      "matchPackagePatterns": ["^@acme"],
      "rangeStrategy": "bump",
      "updateTypes": [
        "minor",
        "patch"
      ],
      "automerge": true,
      "automergeType": "branch"
    },
    {
      "matchBaseBranches": process.env.ACTIVE_BRANCHES.split(","),
      "matchPackagePatterns": ["common-stuff"],
      "rangeStrategy": "bump",
      "updateTypes": [
        "patch"
      ],
      "automerge": true,
      "automergeType": "branch"
    }
  ]
};

Renovate 正确匹配分支,但不匹配依赖项。

任何想法如何使它只更新@myBiz/common-stuff?

谢谢!

亚当

4

0 回答 0