laravel-typescript icon indicating copy to clipboard operation
laravel-typescript copied to clipboard

Sort the generated classes by name

Open PatrickRose opened this issue 2 years ago • 1 comments

The classes that are generated are done using symfony's finder class, which can return files in any order returned by the filesystem.

This means that running the typescript:generate command can generate incredibly noisy diffs - whereas at least if it's sorted then the diffs should be slightly more sensible.

PatrickRose avatar Sep 16 '22 15:09 PatrickRose

@lepikhinb any chance of getting this merged? @PatrickRose has solved an ongoing problem for our team - this minor PR mitigates noisy diffs for our services.

bobbypiper avatar Jul 24 '23 18:07 bobbypiper