Skip to content

Replacement Presets

replacements:all

All replacements

{
  "extends": [
    "replacements:jade-to-pug",
    "replacements:cucumber-to-scoped",
    "replacements:rollup-node-resolve-to-scoped"
  ]
}

replacements:jade-to-pug

Jade was renamed to Pug

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

replacements:cucumber-to-scoped

cucumber became scoped

{
  "packageRules": [
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "cucumber"
      ],
      "replacementName": "@cucumber/cucumber",
      "replacementVersion": "7.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"
    }
  ]
}

Back to top