A new version of the Yeoman Web AppBuilder Widget Generator has been released:
Release v4.5.0 · Esri/generator-esri-appbuilder-js · GitHub
With help from the community, you now have the option to generate the widget files only (no infrastructure). We've also updated to the latest Typescript version.