[DX] Re-work generate:bundle for simple app bundles #290

@weaverryan please review my pull request ;)
no need to re-assign it to ``$shared`` here