mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-31 03:29:43 -06:00
scripts: shorter prefixed list of filtered packages
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user