tlq5l and Eric Fennis
ee8e10d746
fix(lucide-react-native): emit runtime files for alias icon subpaths ( #5055 )
...
closes #5043
Agent: claude
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-11-05 14:11:40 +01:00
Liang Xu and Liang Xu
f90f10a24a
feat(packages): export __iconNode data across framework packages ( #4761 )
...
Fixes #4644
Signed-off-by: Liang Xu <lx3133584@users.noreply.github.com >
Co-authored-by: Liang Xu <lx3133584@users.noreply.github.com >
2026-09-17 14:58:48 +02:00
Karsa and Eric Fennis
99d25bdee2
feat(packages): extract icon build logic into @lucide/shared ( #4409 )
...
* feat(packages): extract build logic to @lucide/shared, still wip
* feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated
* feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated
* feat(packages): extract build logic to @lucide/shared, still wip
* feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated
* feat(): unify icon build logic some more, add nonScalingStroke option, marking absoluteStrokeWidth as deprecated
* chore(icons): revert git hook changes made to icons
* fix(packages/astro,react-native,vue): fix iconNode type
fix(packages/vue): fix hasA11yProp
* fix(packages/solid): make component reactive & add unit tests for checking prop changes
* test(packages/vue): add reactivity tests to @lucide/vue
* fix(packages): replace cpy-cli, accidentally removed during main merge
* docs(packages): upgrade react documentation with nonScalingStroke
* fix(tests): update snapshots for lucide-react
* feat(docs): upgraded package guides with nonScalingStroke, dropping absoluteStrokeWidth
* fix(vue,react-native): fix linting issues
* fix(icons): add proper fallback for icon width in calculatedStrokeWidth
* fix(packages/svelte): add globalProps.class to icons
* fix(packages/shared): wrap width, height & size in isDefined
* Update types.ts
* fix(packages/svelte): do not pass propsClass to mergeClasses
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2026-09-04 16:38:01 +02:00
Eric Fennis and Copilot Autofix powered by AI
7291cbcc0f
fix(lucide-react-native): Add icon exports property to the package.json file ( #4522 )
...
* Add export per icon
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
* Add documentations
* Format code
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-07-09 14:53:06 +02:00
Eric Fennis
3e644fda2d
chore(scripts): Refactor scripts to typescript ( #3316 )
...
* Adjust typescript types
* adjust types
* fix types in all helper files
* Fix types
* Migrate js files to ts files
* Refactor to TS files
* Rename extentions
* Adjust imports
* Fix builds
* Update lockfile
* Fix last typescript migration
* Fix entry path @lucide/outline-svg
* Fix types
* add checkout step
* format files
* Format files
2025-06-18 15:47:24 +02:00
Eric Fennis
50630b3aaf
ci: Improve build speeds ( #2778 )
...
* Revert sync to async functions
* Replace more sync fs functions
* Format files
* Fix build svelte package
2025-02-10 14:13:52 +01:00
e2b46eac8e
feat(icons): add deprecationReason and alias deprecation feature ( #1960 )
...
* feat(icons): add deprecationReason and alias deprecation feature
* chore(tools): run prettier. again.
* fix(scripts): overall alias as object support
* fix(icon.schema.json): add dependentRequired on deprecated properties
* fix(icon.schema.json): remove unicode for now
* fix(icon.schema.json): use const true for deprecated
* fix(build): convert deprecation reason to enum
* fix(build): fix linting of icon.schema.json
* fix(build): renamed gracePeriod => toBeRemovedInVersion
* fix(build): fix aliases map in related icons generation
* fix(build): deprecate aliases using numbers
* feat(icon-schema): separate deprecation reason enumerations, extract removal notice
* fix(icon-schema): fix linting
* Update tools/build-icons/utils/deprecationReasonTemplate.mjs
* fix(icons): add deprecation reason to some more icons
* fix(docs): fix linting issue
---------
Co-authored-by: Karsa <karsa@sztaki.hu >
Co-authored-by: Jakob Guddas <github@jguddas.de >
2024-05-22 13:08:34 +02:00
Eric Fennis
ef89510a47
Implement deprecated block comment ( #1765 )
...
* Implement deprecate comment lucide-react
* Add export template with comment
* Add block comment to Lucide Svelte
* Add blockcomment to lucide-angular
* Add block comment to lucide-static
* revert runtime change build:tags
* Fix failed tests
* Remove optional property in icon schema
2024-01-07 15:59:19 +01:00
Eric Fennis
faff6a8269
Update dependencies and general improvements in packages ( #1773 )
...
* update deps and vitest
* dedupe packages
* update package.json files
* Update to latest vite and vites
* Fix build
* Update lockfile
2024-01-03 11:38:06 +01:00
a87ae2a92b
Introducing absoluteStrokeWidth option on Lucide Components ( #939 )
...
* Add more music icons and another mic icon (#746 )
* Revert "Add more music icons and another mic icon (#746 )" (#750 )
This reverts commit 57cba6ae0e .
* add scale Stroke width
* Added scaleStrokeWidth prop to all packages
* Add scaleStrokeWidth to types
* Rename scaleStrokeWidth to absoluteStrokeWidth
* Adds common API elements to the Angular package (#949 )
* Almost complete rewrite of the Angular package
* Update tsconfig.spec.json
* fixes icon build export file name
* Updates Angular documentation with the new properties + provider injection
* Update lucide-angular.md
* refactored scaleStrokeWidth to be absoluteStrokeWidth to match other packages
* removed codelyzer from devDeps + added flexible angular core dependencies
* Deprecates createElement helper in favour of Renderer2 to support SSR
---------
Co-authored-by: Karsa <karsa@karsa.org >
* Add absoluteStrokeWidth in docs
* update snapshots
* Manual merge of main
* Fixed incorrectly merged pnpm-lock.yaml
* Fixes lucide-angular build
* [lucide-angular] Global configuration for properties + bugfix for legacy icon provider (#1012 )
* Almost complete rewrite of the Angular package
* Update tsconfig.spec.json
* fixes icon build export file name
* Updates Angular documentation with the new properties + provider injection
* Update lucide-angular.md
* refactored scaleStrokeWidth to be absoluteStrokeWidth to match other packages
* removed codelyzer from devDeps + added flexible angular core dependencies
* Deprecates createElement helper in favour of Renderer2 to support SSR
* Added global configuration and fixed undefined bug in legacy icon provider. Also updated README.md
* Replaces removed line in README.md
* Fixes merge error
* Updates export template to use the non-deprecated type
* downgrade building to ng-cli@13
* downgrade to es2020
---------
Co-authored-by: Karsa <karsa@karsa.org >
* rename scaleStrokeWidth to absoluteStrokeWidth in readme
---------
Co-authored-by: it-is-not <72697755+it-is-not@users.noreply.github.com >
Co-authored-by: Karsa <contact@karsa.org >
Co-authored-by: Eric Fennis <eric@dreamteam.nl >
Co-authored-by: Karsa <karsa@karsa.org >
Co-authored-by: Eric Fennis <eric.fennis@nac41112.nedap.local >
2023-04-20 16:08:34 +02:00
Eric Fennis
8fd8007c96
Add support for aliases ( #899 )
...
* extract workflow
* Add aliases build
* Setup types building for aliases
* Add types generation for aliases
* Finish React Aliases
* Finish aliases for lucide-react
* setup aliases preact
* Fix aliases in preact
* Add aliases preact
* Add aliases lucide-react-native
* Fix solid js build
* update lock file
* Improve solid for solid start
* update import
* update import
* lucide solid fix types generation
* Fix lucide sold
* Fix svelte aliases
* update lockfile
* Fix imports
* Fix solid js issues
* Add aliases to the vue packages
* Fix lucide react native
* Test alpha versions lucide-vue, lucide-vue-next, lucide-svelte
2023-01-17 08:04:34 +01:00
Eric Fennis
fa6ed02297
Implement: Typescript, Esbuild and vitest ( #877 )
...
* init modernization
* implement esbuild
* Make first build work
* Fix esbuild for lucide-react
* Add vitest for lucide-react
* add esbuild lucide and lucide-react
* update package lock
* implement preact
* Add typescript and vitest
* adjust workflows
* Fix mocking react-native package
* update lock file
* Add esbuild in svelte
* make svelte test work in vitest
* Refactor lucide svelte
* Transform lucide vue to typescript
* Finish lucide-vue-next typescript
* 0.104.0-beta.0
* remove version in main package.json
* cleanup
* Fix svelte tests snapshots
* clean up
* add rollup lucide-vue-next
* Fix lucide svelte package
* change to workspace link
* revert filter position
* revert preact workflow change
* cleanup
* Fix some types
* add semi
2022-12-04 22:38:56 +01:00
Eric Fennis
318c024589
Migrate to PNPM ( #777 )
...
* add pnpm
* make it work
* fix comamnds in package.jsons
* move some scripts to modules
* workflow fixes
* test workflow
* test #2
* minor fix
* update lockflite
* create workflows
* update workflow
* Add copy license command
* Fix build
* update workflows
* update contributions.md
* migrate site directory to pnpm
* Fix peer dependencies when install
* fix types in lucide-angular
* fix testing
2022-08-10 09:10:53 +02:00
Wojciech Maj and Eric Fennis
ecf61d304a
Add lucide-react-native package ( #687 )
...
* Add `lucide-react-native` package
Closes #394
* minor fixes build config
* Add `lucide-react-native` package
Closes #394
* make it work
Co-authored-by: Eric Fennis <eric.fennis@gmail.com >
2022-06-12 22:31:05 +02:00