I have a project that has a large set of components already built out. I'd love to move to using a common library for base components; however, I've run into a lot of hairy and opaque issues when trying to duplicate project -> clean up to only what I want in the library (e.g. base components and data types) -> publish as library -> import into original project (and replace existing components).
Has anyone had luck with migrating to a library from an existing project? What best practices have people found are important in this process?