mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-03 05:20:38 -05:00
add docs back to npm run all
This commit is contained in:
@@ -17,8 +17,11 @@ const packageNameFromPath = (fullPath) => {
|
||||
.replace('packages/', '')
|
||||
}
|
||||
|
||||
const nonPackageDirs = ['docs/']
|
||||
|
||||
const getDirs = () => {
|
||||
return globAsync('packages/*/')
|
||||
.then((dirs) => dirs.concat(nonPackageDirs))
|
||||
.map((dir) => path.join(process.cwd(), dir).replace(/\/$/, ''))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user