Skip to content

Replacement Presets

replacements:all

All replacements.

{
  "extends": [
    "replacements:babel-eslint-to-eslint-parser",
    "replacements:cucumber-to-scoped",
    "replacements:fastify-to-scoped",
    "replacements:hapi-to-scoped",
    "replacements:jade-to-pug",
    "replacements:joi-to-scoped",
    "replacements:joi-to-unscoped",
    "replacements:material-ui-to-mui",
    "replacements:middie-to-scoped",
    "replacements:now-to-vercel",
    "replacements:parcel-css-to-lightningcss",
    "replacements:react-query-devtools-to-scoped",
    "replacements:react-query-to-scoped",
    "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:fastify-to-scoped

fastify packages became scoped

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=3.3.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-accepts-serializer"
      ],
      "replacementName": "@fastify/accepts-serializer",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=2.3.0 <3.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-accepts"
      ],
      "replacementName": "@fastify/accepts",
      "replacementVersion": "3.0.0"
    },
    {
      "matchCurrentVersion": ">=1.2.0 <2.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-auth"
      ],
      "replacementName": "@fastify/auth",
      "replacementVersion": "2.0.0"
    },
    {
      "matchCurrentVersion": ">=3.13.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-autoload"
      ],
      "replacementName": "@fastify/autoload",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=1.3.0 <2.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-awilix"
      ],
      "replacementName": "@fastify/awilix",
      "replacementVersion": "2.0.0"
    },
    {
      "matchCurrentVersion": ">=2.3.0 <3.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-basic-auth"
      ],
      "replacementName": "@fastify/basic-auth",
      "replacementVersion": "3.0.0"
    },
    {
      "matchCurrentVersion": ">=6.3.0 <7.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-bearer-auth"
      ],
      "replacementName": "@fastify/bearer-auth",
      "replacementVersion": "7.0.0"
    },
    {
      "matchCurrentVersion": ">=6.3.0 <7.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-caching"
      ],
      "replacementName": "@fastify/caching",
      "replacementVersion": "7.0.0"
    },
    {
      "matchCurrentVersion": ">=1.2.0 <2.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-circuit-breaker"
      ],
      "replacementName": "@fastify/circuit-breaker",
      "replacementVersion": "2.0.0"
    },
    {
      "matchCurrentVersion": ">=4.1.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-compress"
      ],
      "replacementName": "@fastify/compress",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=5.7.0 <6.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-cookie"
      ],
      "replacementName": "@fastify/cookie",
      "replacementVersion": "6.0.0"
    },
    {
      "matchCurrentVersion": ">=6.1.0 <7.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-cors"
      ],
      "replacementName": "@fastify/cors",
      "replacementVersion": "7.0.0"
    },
    {
      "matchCurrentVersion": ">=1.1.0 <2.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-diagnostics-channel"
      ],
      "replacementName": "@fastify/diagnostics-channel",
      "replacementVersion": "2.0.0"
    },
    {
      "matchCurrentVersion": ">=1.2.0 <2.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-elasticsearch"
      ],
      "replacementName": "@fastify/elasticsearch",
      "replacementVersion": "2.0.0"
    },
    {
      "matchCurrentVersion": ">=2.2.0 <3.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-env"
      ],
      "replacementName": "@fastify/env",
      "replacementVersion": "3.0.0"
    },
    {
      "matchCurrentVersion": ">=1.2.0 <2.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-error"
      ],
      "replacementName": "@fastify/error",
      "replacementVersion": "2.0.0"
    },
    {
      "matchCurrentVersion": ">=2.2.0 <3.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-etag"
      ],
      "replacementName": "@fastify/etag",
      "replacementVersion": "3.0.0"
    },
    {
      "matchCurrentVersion": ">=0.4.0 <1.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-express"
      ],
      "replacementName": "@fastify/express",
      "replacementVersion": "1.0.0"
    },
    {
      "matchCurrentVersion": ">=3.1.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-flash"
      ],
      "replacementName": "@fastify/flash",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=5.3.0 <6.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-formbody"
      ],
      "replacementName": "@fastify/formbody",
      "replacementVersion": "6.0.0"
    },
    {
      "matchCurrentVersion": ">=1.1.0 <2.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-funky"
      ],
      "replacementName": "@fastify/funky",
      "replacementVersion": "2.0.0"
    },
    {
      "matchCurrentVersion": ">=7.1.0 <8.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-helmet"
      ],
      "replacementName": "@fastify/helmet",
      "replacementVersion": "8.0.0"
    },
    {
      "matchCurrentVersion": ">=0.3.0 <1.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-hotwire"
      ],
      "replacementName": "@fastify/hotwire",
      "replacementVersion": "1.0.0"
    },
    {
      "matchCurrentVersion": ">=6.3.0 <7.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-http-proxy"
      ],
      "replacementName": "@fastify/http-proxy",
      "replacementVersion": "7.0.0"
    },
    {
      "matchCurrentVersion": ">=4.2.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-jwt"
      ],
      "replacementName": "@fastify/jwt",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=0.3.0 <1.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-kafka"
      ],
      "replacementName": "@fastify/kafka",
      "replacementVersion": "1.0.0"
    },
    {
      "matchCurrentVersion": ">=3.2.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-leveldb"
      ],
      "replacementName": "@fastify/leveldb",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=4.2.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-mongodb"
      ],
      "replacementName": "@fastify/mongodb",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=5.4.0 <6.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-multipart"
      ],
      "replacementName": "@fastify/multipart",
      "replacementVersion": "6.0.0"
    },
    {
      "matchCurrentVersion": ">=2.2.0 <3.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-mysql"
      ],
      "replacementName": "@fastify/mysql",
      "replacementVersion": "3.0.0"
    },
    {
      "matchCurrentVersion": ">=7.3.0 <8.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-nextjs"
      ],
      "replacementName": "@fastify/nextjs",
      "replacementVersion": "8.0.0"
    },
    {
      "matchCurrentVersion": ">=4.6.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-oauth2"
      ],
      "replacementName": "@fastify/oauth2",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=0.5.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-passport"
      ],
      "replacementName": "@fastify/passport",
      "replacementVersion": "1.0.0"
    },
    {
      "matchCurrentVersion": ">=3.7.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-postgres"
      ],
      "replacementName": "@fastify/postgres",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=5.9.0 <6.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-rate-limit"
      ],
      "replacementName": "@fastify/rate-limit",
      "replacementVersion": "6.0.0"
    },
    {
      "matchCurrentVersion": ">=4.4.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-redis"
      ],
      "replacementName": "@fastify/redis",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=6.7.0 <7.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-reply-from"
      ],
      "replacementName": "@fastify/reply-from",
      "replacementVersion": "7.0.0"
    },
    {
      "matchCurrentVersion": ">=2.3.0 <3.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-request-context"
      ],
      "replacementName": "@fastify/request-context",
      "replacementVersion": "3.0.0"
    },
    {
      "matchCurrentVersion": ">=0.3.0 <1.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-response-validation"
      ],
      "replacementName": "@fastify/response-validation",
      "replacementVersion": "1.0.0"
    },
    {
      "matchCurrentVersion": ">=2.1.0 <3.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-routes-stats"
      ],
      "replacementName": "@fastify/routes-stats",
      "replacementVersion": "3.0.0"
    },
    {
      "matchCurrentVersion": ">=3.2.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-routes"
      ],
      "replacementName": "@fastify/routes",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=1.1.0 <2.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-schedule"
      ],
      "replacementName": "@fastify/schedule",
      "replacementVersion": "2.0.0"
    },
    {
      "matchCurrentVersion": ">=3.2.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-secure-session"
      ],
      "replacementName": "@fastify/secure-session",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=3.2.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-sensible"
      ],
      "replacementName": "@fastify/sensible",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=0.3.0 <1.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-soap-client"
      ],
      "replacementName": "@fastify/soap-client",
      "replacementVersion": "1.0.0"
    },
    {
      "matchCurrentVersion": ">=4.7.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-static"
      ],
      "replacementName": "@fastify/static",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=5.2.0 <6.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-swagger"
      ],
      "replacementName": "@fastify/swagger",
      "replacementVersion": "6.0.0"
    },
    {
      "matchCurrentVersion": ">=3.1.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-url-data"
      ],
      "replacementName": "@fastify/url-data",
      "replacementVersion": "4.0.0"
    },
    {
      "matchCurrentVersion": ">=4.3.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-websocket"
      ],
      "replacementName": "@fastify/websocket",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=2.1.0 <3.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "fastify-zipkin"
      ],
      "replacementName": "@fastify/zipkin",
      "replacementVersion": "3.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:middie-to-scoped

middie became scoped.

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=7.1.0 <8.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "middie"
      ],
      "replacementName": "@fastify/middie",
      "replacementVersion": "8.0.0"
    }
  ]
}

replacements:now-to-vercel

now was renamed to vercel.

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=21.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "now"
      ],
      "replacementName": "vercel",
      "replacementVersion": "21.0.0"
    }
  ]
}

replacements:parcel-css-to-lightningcss

@parcel/css was renamed lightningcss.

{
  "packageRules": [
    {
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@parcel/css"
      ],
      "replacementName": "lightningcss",
      "replacementVersion": "1.14.0"
    }
  ]
}

replacements:react-query-devtools-to-scoped

react-query/devtools became scoped under the tanstack organization.

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=2.0.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "react-query/devtools"
      ],
      "replacementName": "@tanstack/react-query-devtools",
      "replacementVersion": "4.0.0"
    }
  ]
}

replacements:react-query-to-scoped

react-query became scoped under the tanstack organization.

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=3.0.0 <4.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "react-query"
      ],
      "replacementName": "@tanstack/react-query",
      "replacementVersion": "4.0.5"
    }
  ]
}

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"
    }
  ]
}

replacements:material-ui-to-mui

The material-ui monorepo org was renamed from @material-ui to @mui.

{
  "packageRules": [
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/codemod"
      ],
      "replacementName": "@mui/codemod",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/core"
      ],
      "replacementName": "@mui/material",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/icons"
      ],
      "replacementName": "@mui/icons-material",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/lab"
      ],
      "replacementName": "@mui/labs",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/private-theming"
      ],
      "replacementName": "@mui/private-theming",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/styled-engine"
      ],
      "replacementName": "@mui/styled-engine",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/styled-engine-sc"
      ],
      "replacementName": "@mui/styled-engine-sc",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/styles"
      ],
      "replacementName": "@mui/styles",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/system"
      ],
      "replacementName": "@mui/system",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/types"
      ],
      "replacementName": "@mui/types",
      "replacementVersion": "5.0.0"
    },
    {
      "matchCurrentVersion": ">=4.0.0 <5.0.0",
      "matchDatasources": [
        "npm"
      ],
      "matchPackageNames": [
        "@material-ui/unstyled"
      ],
      "replacementName": "@mui/core",
      "replacementVersion": "5.0.0"
    }
  ]
}