change order so files are deleted before stubs are generated, and update pubspec/changelog