ngxtension / ngxtension-platform

Utilities for Angular
https://ngxtension.netlify.app/
MIT License
576 stars 83 forks source link

feat: schematics to add eslint, prettier, lint-staged and other utils #335

Open eneajaho opened 4 months ago

eneajaho commented 4 months ago

Most of the time, when creating a brand new app we may want to have other utils installed in order to start working.

Dafnik commented 4 months ago

Just dumping ideas.

Would be nice to have each piece optional so you can mix it up (and only choose the ones you'd like)

Also the schematic should probably pull only major versions ngxtension specifies (and there the latest?). To not pull a version of a tool the schematic doesn't support and in the end break the users setup.

And finally, I think it would be good if the schmeantic checks for uncommited changes and blocks you from performing it (if you have some). Like the angular cli before updating.

eneajaho commented 4 months ago

Thanks @Dafnik for the great ideas!