spartan-ng / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.46k stars 156 forks source link

[Feature Request] - Add components to one lib or to an existing lib #340

Open nawlbergs opened 3 months ago

nawlbergs commented 3 months ago

Which scope/s are relevant/related to the feature request?

Don't know / other

Information

I've added 2 components to my nx workspace. This has 2 libs and added 26 files to my project. I would like to consolidate all the components under one lib instead.

Would/Could this be a possible --flag for the cli? Or am I just going to be doing a lot of drag/dropping/renaming.

Describe any alternatives/workarounds you're currently using

drag/drop/rename and delete.

I would be willing to submit a PR to fix this issue

goetzrobin commented 1 month ago

@nawlbergs this should be fairly easy to implement. I think a flag to just copy the files is the lowest hanging fruit. how does that sound?

nawlbergs commented 1 month ago

sounds good to me.. I'm just concerned about the shear amount of code added to my project as I add more and more.