lepikhinb / laravel-typescript

MIT License
387 stars 46 forks source link

Sort the generated classes by name #21

Open PatrickRose opened 2 years ago

PatrickRose commented 2 years ago

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.

bobbypiper commented 1 year ago

@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.