lucide icon indicating copy to clipboard operation
lucide copied to clipboard

refactor: Adds repo shared package `@lucide/shared`

Open ericfennis opened this issue 1 year ago • 1 comments

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.

ericfennis avatar Feb 21 '24 21:02 ericfennis

Added or changed icons

icons/package-open.svgicons/shield-off.svg

Preview cohesion icons/arrow-up-right-square.svgicons/arrow-down-right-square.svg
icons/package-open.svgicons/shield-off.svg
icons/arrow-down-0-1.svgicons/candy-cane.svg
Preview stroke widths icons/package-open.svgicons/shield-off.svg
icons/package-open.svgicons/shield-off.svg
icons/package-open.svgicons/shield-off.svg
DPI Preview (24px) icons/package-open.svgicons/shield-off.svg
Icon X-rays icons/package-open.svgicons/shield-off.svg

github-actions[bot] avatar Feb 28 '24 15:02 github-actions[bot]