scripts/flow.js
function listPackages() {
    return getPackages()
        .filter(path => !blacklist.includes(basename(path)))
        .map(dir => dir.replace(process.cwd() + "/", ""));
}
function listPackages() {
    return getPackages()
        .filter(path => !blacklist.includes(basename(path)))
        .map(dir => dir.replace(process.cwd() + "/", ""));
}
function listPackages ( ) { return getPackages ( ) . filter ( path => ! blacklist . includes ( basename ( path ) ) ) . map ( dir => dir . replace ( process . cwd ( ) + "/" , "" ) ) ; }
Get a list of packages in form: `packages/webiny-ui` and `independent/webiny-app-....`
@returns Array<String>
Get a list of packages in form : packages / webiny - ui and independent / webiny - app - ....