Allow multiple --replace in the console tool, add support for excluding devDependencies