mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-28 20:17:03 +01:00
chore(icons): update icon names to match naming guidelines no. 7 to 9 (#1906)
* Update icon names to match naming guidelines no. 7 to 9 Update and extend rename icon helper script. * Ran prettier * Refactor rename scripts so that simplegit import doesn't cause other helper script usages to crash. * Revert renaming key-square * Revert renaming message-circle|square * Fix square-dashed-kanban * Optimize circle power * pnpm rename square-dashed-bottom-scissors square-bottom-dashed-scissors * Fix linting * Fix file name linting issues via cspell configuration * Rename unlock => lock-open * Rename (square|circle)-check-2 => (square|circle)-check-small * pnpm rename code-2 code-xml pnpm rename contact-2 contact-round * rename test-tube-2 test-tube-diagonal rename mic-2 mic-vocal rename loader-2 loader-circle rename test-tube-2 test-tube-diagonal rename school-2 university * fix icons linting * rename ice-cream => ice-cream-cone rename ice-cream-2 => ice-cream-bowl rename laptop-2 => laptop-abstract * renamePattern "^(square|circle)-arrow-([a-z-]+)-from$" "\\1-arrow-out-\\2" * rename wand-2 => wand-sparkles * Update university.json tags. * fix(icons): renamePattern '^(.+)-abstract$' '\1-minimal' --add-alias=false feat(scripts): added yargs option parsing to renamePattern * fix(packages): Remove protractor and puppeteer from lucide-angular, they are no longer in use but cause pnpm install to fail * Lint fix, this is starting to get ridiculous. * fix(packages): fix lucide-angular karma config. * chore(icons): renamePattern '^(square|circle)-check$' '\1-check-big' chore(icons): renamePattern '^(square|circle)-check-small$' '\1-check' --------- Co-authored-by: Karsa <karsa@sztaki.hu>
This commit is contained in:
@@ -37,12 +37,15 @@
|
||||
"lint": "pnpm lint:es && pnpm lint:format && pnpm lint:json",
|
||||
"format": "prettier \"**/*.{js,mjs,ts,jsx,tsx,html,css,scss,json,yml,yaml}\" --write",
|
||||
"prepare": "husky install",
|
||||
"gi": "node ./scripts/generate/generateIcons.mjs"
|
||||
"gi": "node ./scripts/generate/generateIcons.mjs",
|
||||
"rename": "node scripts/rename/renameIcon.mjs",
|
||||
"renamePattern": "node scripts/rename/renamePattern.mjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@html-eslint/eslint-plugin": "^0.19.1",
|
||||
"@html-eslint/parser": "^0.19.1",
|
||||
"@octokit/rest": "^19.0.13",
|
||||
"@types/yargs": "^17.0.32",
|
||||
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||
"@typescript-eslint/parser": "^6.14.0",
|
||||
"ajv-cli": "^5.0.0",
|
||||
@@ -63,7 +66,8 @@
|
||||
"semver": "^7.5.4",
|
||||
"simple-git": "^3.21.0",
|
||||
"svgo": "^3.1.0",
|
||||
"svgson": "^5.3.1"
|
||||
"svgson": "^5.3.1",
|
||||
"yargs": "^17.7.2"
|
||||
},
|
||||
"packageManager": "pnpm@8.14.0+sha256.9cebf61abd83f68177b29484da72da9751390eaad46dfc3072d266bfbb1ba7bf",
|
||||
"pnpm": {
|
||||
|
||||
Reference in New Issue
Block a user