mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-05-18 11:56:26 +02:00
* Add new lucide angular package * feat(packages/angular): added initial @lucide/angular package * feat(packages/angular): update readme * feat(packages/angular): update angular.json * docs(packages/angular): added (for now) full documentation for @lucide/angular * docs(packages/angular): added migration guide from lucide-angular * fix(github): fix package label syntax 😅 * fix(lint): fix linting issues * fix(github/angular): add prebuild stage * fix(github/angular): add prebuild stage & fix tests * fix(github/angular): fix LucideIconComponentType, update with _real_ public members * fix(github/angular): add prebuild to build step manually * fix(github/angular): downgrade vitest * fix(packages/angular): fix migration guide code example * fix(packages): add vitest + @vitest/* to pnpm overrides * fix(packages): update pnpm-lock with merged version * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix(packages): fix aria-hidden logic * fix(packages): update pnpm-lock * fix(packages): extract vitest and jsdom to root devDependencies * Fix copy utils script * Format code * feat(packages/angular): switched to self-describing IconData object from separate node+name – no more toKebabCase hackery feat(packages/angular): renamed LucideIconComponentType => LucideIcon, and LucideIcon => LucideDynamicIcon feat(packages/angular): added backwards compatible CSS class support feat(packages/angular): switched to vector-effect: non-scaling-stroke implementation from computed stroke width feat(packages/angular): rewrote icon provider to only accept a list of self-described icons – no more toKebabCase hackery & as an added bonus automatic backwards compatible alias support 🚀 feat(packages/angular): added legacy icon node helper function for passing legacy icons to providers test(packages/angular): added unit tests on LUCIDE_CONFIG provider usage * fix(packages/angular): fix linting issues * feat(packages/angular): extract createLucideIcon logic into helper function, refactor export template to use the iconData object as defined in ExportTemplate * Replace author * Remove private field * fix(packages/angular): remove createLucideIcon, it breaks the package :'( * fix(packages/angular): fix rendering order of child elements (_before_ projected content) * Format package.json * Update docs/guide/packages/angular.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update packages/angular/MIGRATION.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Eric Fennis <eric.fennis@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
94 lines
3.1 KiB
JSON
94 lines
3.1 KiB
JSON
{
|
|
"name": "lucide-solid",
|
|
"description": "A Lucide icon library package for Solid applications.",
|
|
"version": "0.0.1",
|
|
"license": "ISC",
|
|
"homepage": "https://lucide.dev",
|
|
"bugs": "https://github.com/lucide-icons/lucide/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/lucide-icons/lucide.git",
|
|
"directory": "packages/lucide-solid"
|
|
},
|
|
"keywords": [
|
|
"Lucide",
|
|
"Solid",
|
|
"SolidJS",
|
|
"Feather",
|
|
"Icons",
|
|
"Icon",
|
|
"SVG",
|
|
"Feather Icons",
|
|
"Fontawesome",
|
|
"Font Awesome"
|
|
],
|
|
"author": "Eric Fennis",
|
|
"source": "src/lucide-solid.ts",
|
|
"main": "dist/cjs/lucide-solid.js",
|
|
"module": "dist/esm/lucide-solid.js",
|
|
"types": "dist/types/lucide-solid.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/lucide-solid.d.ts",
|
|
"solid": "./dist/source/lucide-solid.jsx",
|
|
"import": "./dist/esm/lucide-solid.js",
|
|
"browser": "./dist/esm/lucide-solid.js",
|
|
"require": "./dist/cjs/lucide-solid.js"
|
|
},
|
|
"./icons": {
|
|
"types": "./dist/types/lucide-solid.d.ts",
|
|
"solid": "./dist/source/lucide-solid.jsx",
|
|
"import": "./dist/esm/lucide-solid.js",
|
|
"browser": "./dist/esm/lucide-solid.js",
|
|
"require": "./dist/cjs/lucide-solid.js"
|
|
},
|
|
"./icons/*": {
|
|
"types": "./dist/types/icons/*.d.ts",
|
|
"solid": "./dist/source/icons/*.jsx",
|
|
"import": "./dist/esm/icons/*.js",
|
|
"browser": "./dist/esm/icons/*.js",
|
|
"require": "./dist/cjs/icons/*.js"
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "pnpm clean && pnpm copy:license && pnpm build:icons && pnpm build:bundle",
|
|
"copy:license": "cp ../../LICENSE ./LICENSE",
|
|
"clean": "rm -rf dist && rm -rf stats && rm -rf ./src/icons/*.ts",
|
|
"build:transpile": "tsc --jsx preserve -t es2020 --rootDir src --outDir dist --noEmit false",
|
|
"build:version": "node ./scripts/replaceVersion.mjs",
|
|
"build:bundle": "rollup -c rollup.config.mjs",
|
|
"build:icons": "build-icons --output=./src --templateSrc=./scripts/exportTemplate.mts --renderUniqueKey --withAliases --separateAliasesFile --separateAliasesFileIgnore=fingerprint --aliasesFileExtension=.ts --iconFileExtension=.tsx --exportFileName=index.ts",
|
|
"typecheck": "tsc",
|
|
"typecheck:watch": "tsc -w",
|
|
"test": "pnpm build:icons && vitest run",
|
|
"test:watch": "vitest watch",
|
|
"version": "pnpm version --git-tag-version=false"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.9",
|
|
"@babel/preset-env": "^7.23.9",
|
|
"@babel/preset-typescript": "^7.23.3",
|
|
"@lucide/build-icons": "workspace:*",
|
|
"@lucide/rollup-plugins": "workspace:*",
|
|
"@lucide/shared": "workspace:*",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@solidjs/testing-library": "^0.8.10",
|
|
"@testing-library/jest-dom": "^6.8.0",
|
|
"babel-preset-solid": "^1.8.12",
|
|
"jest-serializer-html": "^7.1.0",
|
|
"rollup": "^4.59.0",
|
|
"solid-js": "^1.9.4",
|
|
"typescript": "^5.8.3",
|
|
"vite": "^7.2.4",
|
|
"vite-plugin-solid": "^2.11.6",
|
|
"esbuild": "^0.25.0"
|
|
},
|
|
"peerDependencies": {
|
|
"solid-js": "^1.4.7"
|
|
}
|
|
}
|