scripts: shorter prefixed list of filtered packages

This commit is contained in:
Gleb Bahmutov
2017-07-06 12:59:58 -04:00
parent b636e3a6ff
commit 56c4757c06
2 changed files with 4 additions and 1 deletions

View File

@@ -74,6 +74,7 @@
"obfuscator": "^0.5.4",
"plist": "^2.1.0",
"pluralize": "^5.0.0",
"prefixed-list": "^1.0.0",
"typescript": "^2.3.4",
"vagrant": "0.0.1",
"vinyl-paths": "^2.1.0",

View File

@@ -10,6 +10,7 @@ const Promise = require('bluebird')
const runAll = require('@cypress/npm-run-all')
const through = require('through')
const fs = require('fs')
const prefixedList = require('prefixed-list')
const globAsync = Promise.promisify(glob)
@@ -91,7 +92,8 @@ const mapTasks = (cmd, packages) => {
runCommand = `run ${cmd}`
}
console.log('filtered packages:', packages.join(', '))
console.log('filtered packages:', prefixedList(packages))
return packages.map((dir, index) => {
const packageName = packageNameFromPath(dir)
return {