You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When performing ng destroy all related files are unlinked but directory is left in the tree. This is obviously ember-cli issue and we should override that command and unlink the whole related directory.
When implementing this fix to prevent execution of ember cli commands that are not relevant to the angular cli please ensure that all commands are accounted for. A graceful message stating that the requested command is not valid would be appropriate.
I think we should try to include the ng destroy command for our blueprints overall. ng g route has to take it into account because removing a route causes side effect (like updating the config).
The reason ember-cli doesn't automatically destroy the dirs is because they put multiple components/services/etc in each dir.
With nested routes, we might also have a situation where deleting a route shouldn't delete all files in those directories.
This feature requires a bit of effort in planning imho.
Activity
Brocco commentedon Mar 16, 2016
When implementing this fix to prevent execution of ember cli commands that are not relevant to the angular cli please ensure that all commands are accounted for. A graceful message stating that the requested command is not valid would be appropriate.
cwramsey commentedon Mar 31, 2016
Is there a list of commands
ngwill include (unless we're just using all current ones that are listed in the readme) that I can compare toember-cli?filipesilva commentedon Apr 6, 2016
I think we should try to include the
ng destroycommand for our blueprints overall.ng g routehas to take it into account because removing a route causes side effect (like updating the config).The reason
ember-clidoesn't automatically destroy the dirs is because they put multiple components/services/etc in each dir.With nested routes, we might also have a situation where deleting a route shouldn't delete all files in those directories.
This feature requires a bit of effort in planning imho.
hansl commentedon Dec 8, 2016
Destroy is no longer supported.
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.