npmcontinuous-integrationpackage.jsoncicdrenovate

Renovate custom dependency type


We have a renovate bot running for npm with no special configurations. There we have two sections in our package.json

  "projectDependencies": {
    "package-a": "5.1.1"
  },
  "dependencies": {
    "package-b": "~15.2.3",
  }

Renovate only updates the dependencies in dependencies. In the docs I see possible depTypes, but that do not include custom ones. How can this be achieved?


Solution

  • You could try making use of the custom managers using regex: https://docs.renovatebot.com/modules/manager/regex/