rename-angular-component
rename-angular-component copied to clipboard
Modules and pipes should remove -module or -pipe postfix from folder if entered by user
Angular 20 Modules and Pipes are now suffixed by -module and -pipe, respectively.
When a user renames one of these two file types, the Renamer should treat these dash suffixes the way it does with dot-suffixes, i.e. remove the dash suffix from any renamed folder. Currently, this is included in the new folder name.
I'm not going to withhold the release of version 4.0.0 for this, but I am going to treat this as a version 4.0.1 priority.
Current workarounds are:
- Rename the folder manually after
- Rename any same-named Component or Service in the same folder first. This will change the folder to the correct new name with no suffix.