Skip to content

Replacement Presets

replacements:all

All replacements

{
  "extends": [
    "replacements:babel-eslint-to-eslint-parser",
    "replacements:cucumber-to-scoped",
    "replacements:hapi-to-scoped",
    "replacements:jade-to-pug",
    "replacements:joi-to-scoped",
    "replacements:joi-to-unscoped",
    "replacements:renovate-pep440-to-renovatebot-pep440",
    "replacements:rollup-node-resolve-to-scoped",
    "replacements:xmldom-to-scoped"
  ]
}

replacements:babel-eslint-to-eslint-parser

babel-eslint was renamed under the @babel scope

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=7.11.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "babel-eslint"
      ],
      "replacementName": "@babel/eslint-parser",
      "replacementVersion": "7.11.0"
    }
  ]
}

replacements:cucumber-to-scoped

cucumber became scoped

{
  "packageRules": [
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "cucumber"
      ],
      "replacementName": "@cucumber/cucumber",
      "replacementVersion": "7.0.0"
    }
  ]
}

replacements:hapi-to-scoped

hapi became scoped

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=18.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "hapi"
      ],
      "replacementName": "@hapi/hapi",
      "replacementVersion": "18.2.0"
    }
  ]
}

replacements:jade-to-pug

Jade was renamed to Pug

{
  "packageRules": [
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "jade"
      ],
      "replacementName": "pug",
      "replacementVersion": "2.0.0"
    }
  ]
}

replacements:joi-to-scoped

joi became scoped under the hapi organization

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=14.0.0 <14.4.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "joi"
      ],
      "replacementName": "@hapi/joi",
      "replacementVersion": "14.4.0"
    }
  ]
}

replacements:joi-to-unscoped

joi was moved out of the hapi organization

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=17.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@hapi/joi"
      ],
      "replacementName": "joi",
      "replacementVersion": "17.1.1"
    }
  ]
}

replacements:redux-devtools-extension-to-scope

the redux-devtools-extension package was renamed to @redux-devtools/extension

{
  "packageRules": [
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "redux-devtools-extension"
      ],
      "replacementName": "@redux-devtools/extension",
      "replacementVersion": "3.0.0"
    }
  ]
}

replacements:renovate-pep440-to-renovatebot-pep440

the @renovate/pep440 package was renamed to @renovatebot/pep440

{
  "packageRules": [
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@renovate/pep440"
      ],
      "replacementName": "@renovatebot/pep440",
      "replacementVersion": "1.0.0"
    }
  ]
}

replacements:rollup-node-resolve-to-scoped

the node-resolve plugin for rollup became scoped

{
  "packageRules": [
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "rollup-plugin-node-resolve"
      ],
      "replacementName": "@rollup/plugin-node-resolve",
      "replacementVersion": "6.0.0"
    }
  ]
}

replacements:xmldom-to-scoped

the xmldom package is now published as @xmldom/xmldom

{
  "packageRules": [
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "xmldom",
        "xmldom-alpha"
      ],
      "replacementName": "@xmldom/xmldom",
      "replacementVersion": "0.7.5"
    }
  ]
}

Back to top