add a way to skip tests for deprecated packages
This commit is contained in:
parent
69210d2296
commit
fcc4ae78b5
3 changed files with 8 additions and 2 deletions
|
@ -248,6 +248,10 @@ function packageJson(pkg) {
|
|||
}
|
||||
pkgConf.keywords = pkgConf.keywords.concat(keywords(pkg))
|
||||
pkgConf.scripts = scripts(pkg)
|
||||
if (repo.exceptions.skipTests.indexOf(pkg.name) !== -1) {
|
||||
pkgConf.scripts.test = `echo "skipping tests for ${pkg.name}"`
|
||||
pkgConf.scripts.testci = `echo "skipping tests for ${pkg.name}"`
|
||||
}
|
||||
pkgConf.dependencies = dependencies('_', pkg)
|
||||
pkgConf.devDependencies = dependencies('dev', pkg)
|
||||
pkgConf.peerDependencies = dependencies('peer', pkg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue