bahmutov/next-update

Use recipes to test specific modules

Closed this issue · 0 comments

Not every module being upgraded is tested by npm test command or similar one. For example standard or prettier modules are probably exercised by npm run lint command. Need to allow specific test command for different modules (while npm test is the default for others). Probably an object of commands by module name in the package.json file

{
  "config": {
     "next-update": {
        "commands": {
           "standard": "npm run lint",
           "deps-ok": "npm run deps"
        }
     }
  }
}