fix: clean up config files trailing comma, stale excludes, typesVersions gaps (#4982)