lucide
lucide copied to clipboard
refactor: Adds repo shared package `@lucide/shared`
Closes #1603
What is the purpose of this pull request?
- Refactor centralize shared code
Description
This refactor adds the ability for a shared package across packages. This continues on the work from @SamstyleGhost. It needed some extra work to "bundle" the code from the shared package into each package.
This resulted in refactoring the build process from the lucide-solid
package, which wasn't able to correctly include the shared package in the build. The idea was not to publish the shared package on NPM because that would need extra build processes and create a lot of extra work in maintaining versions.
The shared package will be used for the upcoming features we want to add like creating icons from external iconNodes.