Library and App

I need to re-engineer my project, to create libraries to reuse in new projects. I created the various libraries, but I need to debug to integrate them correctly into the new app (ionic+angular+capacitor). Do you have a tutorial for creating workspaces with several libraries and one or more apps?

I use Angular CLI. Any other solution?