chore(dependencies): Update dependencies (#4806)

* chore(deps): upgrade dependencies across workspace and unify shared versions

Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com>

* chore(deps): finish workspace dependency upgrade and align versions

* fix: keep vitest on 4.1.10, drop deprecated baseUrl, reformat with prettier

* fix(lucide-react): drop inert outDir so TS 6 rootDir check passes

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ericfennis <11825403+ericfennis@users.noreply.github.com>
This commit is contained in:
Copilot
2026-09-04 17:34:58 +02:00
committed by GitHub
co-authored by ericfennis copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
parent 0196353e5c
commit 94e4cb9d9d
49 changed files with 4133 additions and 5215 deletions
-3
View File
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
pnpm lint-staged
pnpm checkIcons
@@ -119,8 +119,7 @@ const highlighter = await createHighlighter({
});
export type ThemeOptions =
| ThemeRegistration
| { light: ThemeRegistration; dark: ThemeRegistration };
ThemeRegistration | { light: ThemeRegistration; dark: ThemeRegistration };
export const highLightCode = async (code: string, lang: string, active?: boolean) => {
const highlightedCode = highlighter
@@ -2,8 +2,7 @@ import { bundledLanguages, type ThemeRegistration } from 'shiki';
import { createHighlighter } from 'shiki';
export type ThemeOptions =
| ThemeRegistration
| { light: ThemeRegistration; dark: ThemeRegistration };
ThemeRegistration | { light: ThemeRegistration; dark: ThemeRegistration };
const highLightCode = async (code: string, lang: string, active?: boolean) => {
const highlighter = await createHighlighter({
@@ -32,7 +32,8 @@
color: rgb(var(--text-color) / 1);
display: none;
top: -85%;
background-image: radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
background-image:
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
radial-gradient(circle, transparent 20%, var(--confetti-color) 20%, transparent 30%),
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
@@ -56,7 +57,8 @@
.confetti-button:after {
display: none;
bottom: -75%;
background-image: radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
background-image:
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
radial-gradient(circle, transparent 10%, var(--confetti-color) 15%, transparent 20%),
radial-gradient(circle, var(--confetti-color) 20%, transparent 20%),
+16 -16
View File
@@ -33,40 +33,40 @@
"@lucide/helpers": "workspace:*",
"@lucide/shared": "workspace:*",
"@rollup/plugin-replace": "^6.0.3",
"@types/semver": "^7.7.1",
"@types/semver": "^7.8.0",
"h3": "^1.15.11",
"markdown-it": "^14.3.0",
"markdown-it": "^15.0.1",
"markdown-it-container": "^4.0.0",
"nitropack": "^2.13.4",
"rollup-plugin-copy": "^3.5.0",
"semver": "^7.8.5",
"sharp": "^0.34.5",
"shiki": "^3.23.0",
"sharp": "^0.35.4",
"shiki": "^4.4.3",
"simple-git": "^3.36.0",
"sitemap": "^7.1.3",
"svg-path-commander": "^2.2.1",
"svg-pathdata": "^6.0.3",
"sitemap": "^9.0.1",
"svg-path-commander": "^2.3.3",
"svg-pathdata": "^9.0.0",
"svgson": "^5.3.1",
"vitepress": "^1.6.4",
"vitepress-plugin-group-icons": "^1.7.5",
"vitepress-plugin-llms": "^1.13.3"
"vitepress-plugin-group-icons": "^1.7.6",
"vitepress-plugin-llms": "^1.13.5"
},
"dependencies": {
"@floating-ui/vue": "^1.1.11",
"@floating-ui/vue": "^2.0.1",
"@headlessui/vue": "^1.7.23",
"@lucide/vue": "workspace:*",
"@vueuse/components": "^14.3.0",
"@vueuse/core": "^14.3.0",
"@vueuse/integrations": "^14.3.0",
"@vueuse/components": "^14.4.0",
"@vueuse/core": "^14.4.0",
"@vueuse/integrations": "^14.4.0",
"element-to-path": "^1.2.1",
"fuse.js": "^7.5.0",
"jszip": "^3.10.1",
"lodash-es": "^4.18.1",
"lucide": "workspace:*",
"lucide-react": "workspace:*",
"motion-v": "1.10.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"motion-v": "2.4.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"sandpack-vue3": "3.1.12",
"vue": "^3.5.42"
}
+3 -3
View File
@@ -8,7 +8,7 @@
"allowSyntheticDefaultImports": true,
"noEmit": true,
"paths": {
"~/.vitepress/*": ["./.vitepress/*"],
},
},
"~/.vitepress/*": ["./.vitepress/*"]
}
}
}
@@ -14,7 +14,7 @@
"jsx": "react-jsx",
"incremental": true,
"plugins": [{ "name": "next" }],
"types": ["vitest/globals"],
"types": ["vitest/globals"]
},
"include": [
"next-env.d.ts",
@@ -22,7 +22,7 @@
".next/dev/types/**/*.ts",
"**/*.ts",
"**/*.tsx",
"**/*.mts",
"**/*.mts"
],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}
@@ -13,6 +13,6 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
},
"noEmit": true
}
}
@@ -15,7 +15,7 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["vite/client", "vitest/globals"],
"types": ["vite/client", "vitest/globals"]
},
"include": ["src", "tests", "vite.config.ts", "vitest.config.ts"],
"include": ["src", "tests", "vite.config.ts", "vitest.config.ts"]
}
@@ -11,7 +11,7 @@
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"types": ["node", "vite/client", "vitest/globals"],
"types": ["node", "vite/client", "vitest/globals"]
},
"include": ["src", "tests", "vite.config.ts", "vitest.config.ts"],
"include": ["src", "tests", "vite.config.ts", "vitest.config.ts"]
}
+2 -2
View File
@@ -15,7 +15,7 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["vitest/globals"],
"types": ["vitest/globals"]
},
"include": ["src", "tests", "vite.config.ts"],
"include": ["src", "tests", "vite.config.ts"]
}
+19 -19
View File
@@ -29,7 +29,7 @@
"generate:nextJSAliases": "node ./scripts/generateNextJSAliases.mts",
"suggest:metadata": "node ./scripts/suggestMetaData.mts",
"suggest:metadata:watch": "node --env-file .env --watch ./scripts/suggestMetaData.mts",
"postinstall": "husky install",
"postinstall": "husky",
"lint:es": "eslint .",
"lint:format": "prettier \"**/*.{js,mjs,ts,jsx,tsx,html,css,scss,json,yml,yaml}\" --check",
"lint:format-fix": "prettier \"**/*.{js,mjs,ts,jsx,tsx,html,css,scss,json,yml,yaml}\" --write",
@@ -41,7 +41,7 @@
"lint:icons:all": "pnpm run lint:icons && pnpm run lint:json:icons",
"lint": "pnpm lint:es && pnpm lint:format && pnpm lint:json && pnpm lint:icons",
"format": "prettier \"**/*.{js,mjs,ts,jsx,tsx,html,css,scss,json,yml,yaml}\" --write",
"prepare": "husky install",
"prepare": "husky",
"gi": "node ./scripts/generate/generateIcons.mts",
"rename": "node ./scripts/rename/renameIcon.mts",
"renamePattern": "node ./scripts/rename/renamePattern.mts"
@@ -51,38 +51,38 @@
"@actions/github": "^9.1.1",
"@eslint/compat": "^2.1.0",
"@eslint/js": "^10.0.1",
"@html-eslint/eslint-plugin": "^0.60.0",
"@html-eslint/parser": "^0.60.0",
"@octokit/rest": "^19.0.13",
"@html-eslint/eslint-plugin": "^0.65.0",
"@html-eslint/parser": "^0.65.0",
"@octokit/rest": "^22.0.1",
"@types/yargs": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^8.59.3",
"@typescript-eslint/parser": "^8.59.3",
"@typescript-eslint/eslint-plugin": "^8.69.0",
"@typescript-eslint/parser": "^8.69.0",
"@vitest/coverage-v8": "4.1.10",
"@vitest/ui": "4.1.10",
"ajv-cli": "^5.0.0",
"cpy-cli": "^7.0.0",
"cspell": "^10.0.1",
"cspell": "^10.2.0",
"dotenv": "^17.4.2",
"eslint": "^10.8.0",
"eslint": "^10.9.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import-x": "^4.17.1",
"husky": "^8.0.3",
"jsdom": "^27.4.0",
"lint-staged": "^17.0.8",
"husky": "^9.1.7",
"jsdom": "^30.0.1",
"lint-staged": "^17.4.1",
"minimist": "^1.2.8",
"openai": "^5.23.2",
"p-memoize": "^7.1.1",
"prettier": "3.2.4",
"openai": "^7.9.0",
"p-memoize": "^8.0.0",
"prettier": "3.9.6",
"prettier-plugin-astro": "^0.14.1",
"semver": "^7.8.5",
"simple-git": "^3.36.0",
"svgo": "^3.3.4",
"svgo": "^4.1.0",
"svgson": "^5.3.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.4",
"typescript-eslint": "^8.69.0",
"vitest": "4.1.10",
"yargs": "^17.7.3",
"zod": "^3.25.76"
"yargs": "^18.1.0",
"zod": "^4.5.4"
},
"engines": {
"node": ">=24.11.1"
+15 -15
View File
@@ -42,26 +42,26 @@
]
},
"devDependencies": {
"@angular-eslint/builder": "~21.4.0",
"@angular-eslint/schematics": "~21.4.0",
"@angular/build": "^21.2.19",
"@angular/cli": "^21.2.19",
"@angular/common": "^21.2.19",
"@angular/compiler": "^21.2.19",
"@angular/compiler-cli": "^21.2.19",
"@angular/core": "^21.2.19",
"@angular/forms": "^21.2.19",
"@angular/platform-browser": "^21.2.19",
"@angular/platform-server": "^21.2.19",
"@angular/router": "^21.2.19",
"@angular-eslint/builder": "~22.2.0",
"@angular-eslint/schematics": "~22.2.0",
"@angular/build": "^22.1.7",
"@angular/cli": "^22.1.7",
"@angular/common": "^22.1.5",
"@angular/compiler": "^22.1.5",
"@angular/compiler-cli": "^22.1.5",
"@angular/core": "^22.1.5",
"@angular/forms": "^22.1.5",
"@angular/platform-browser": "^22.1.5",
"@angular/platform-server": "^22.1.5",
"@angular/router": "^22.1.5",
"@lucide/build-icons": "workspace:*",
"@lucide/helpers": "workspace:*",
"@vitest/browser-playwright": "^4.1.10",
"angular-eslint": "21.4.0",
"ng-packagr": "^21.2.5",
"angular-eslint": "22.2.0",
"ng-packagr": "^22.1.1",
"rxjs": "~7.8.2",
"tslib": "^2.8.1",
"typescript": "~5.9.3"
"typescript": "^6.0.3"
},
"peerDependencies": {
"@angular/common": ">=17.0.0",
+7 -8
View File
@@ -4,7 +4,7 @@
"compileOnSave": false,
"compilerOptions": {
"paths": {
"@lucide/angular": ["./dist"],
"@lucide/angular": ["./dist"]
},
"strict": true,
"noImplicitOverride": true,
@@ -14,25 +14,24 @@
"skipLibCheck": true,
"isolatedModules": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "ES2022",
"module": "preserve",
"module": "preserve"
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true,
"strictTemplates": true
},
"files": [],
"references": [
{
"path": "./tsconfig.lib.json",
"path": "./tsconfig.lib.json"
},
{
"path": "./tsconfig.spec.json",
},
],
"path": "./tsconfig.spec.json"
}
]
}
+5 -5
View File
@@ -48,15 +48,15 @@
"test:watch": "pnpm build:icons && vitest run --watch"
},
"devDependencies": {
"@astrojs/ts-plugin": "^1.10.10",
"@astrojs/ts-plugin": "^1.10.11",
"@lucide/build-icons": "workspace:*",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"astro": "^7.1.0",
"@testing-library/jest-dom": "^7.0.1",
"astro": "^7.3.0",
"jest-serializer-html": "^7.1.0",
"linkedom": "^0.18.13",
"prettier": "^3.9.5",
"typescript": "^5.9.3",
"prettier": "3.9.6",
"typescript": "^6.0.3",
"vite": "^7.3.6",
"vitest": "4.1.10"
},
+5 -5
View File
@@ -15,12 +15,12 @@
"skipLibCheck": true,
"jsx": "preserve",
"lib": ["ESNext", "DOM.Iterable"],
"types": ["@testing-library/jest-dom"],
"types": ["@testing-library/jest-dom/vitest"],
"plugins": [
{
"name": "@astrojs/ts-plugin",
},
],
"name": "@astrojs/ts-plugin"
}
]
},
"include": ["src/**/*.ts", "src/**/*.astro", "tests/**/*.ts"],
"include": ["src/**/*.ts", "src/**/*.astro", "tests/**/*.ts"]
}
+5 -5
View File
@@ -61,16 +61,16 @@
},
"devDependencies": {
"@lucide/build-icons": "workspace:*",
"@lucide/helpers": "^1.0.0",
"@lucide/helpers": "workspace:*",
"@lucide/rollup-plugins": "workspace:*",
"@lucide/shared": "workspace:*",
"@rollup/plugin-replace": "^6.0.3",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^7.0.1",
"jest-serializer-html": "^7.1.0",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"rollup": "^4.63.1",
"rollup-plugin-dts": "^6.5.1",
"rollup-plugin-preserve-directives": "^0.4.0",
"typescript": "^5.9.3",
"typescript": "^6.0.3",
"vite": "^7.3.6",
"vitest": "4.1.10"
}
+4 -6
View File
@@ -5,13 +5,12 @@
"noEmitOnError": true,
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"module": "ESNext",
"target": "ESNext",
"baseUrl": ".",
"paths": {
"@lucide/shared": ["../shared/src/index.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"]
},
"esModuleInterop": true,
"isolatedModules": true,
@@ -19,9 +18,8 @@
"skipLibCheck": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
"sourceMap": true,
"outDir": "./dist",
"outDir": "./dist"
},
"exclude": ["**/node_modules"],
"exclude": ["**/node_modules"]
}
+6 -6
View File
@@ -42,11 +42,11 @@
"@lucide/build-icons": "workspace:*",
"@lucide/helpers": "workspace:*",
"@lucide/rollup-plugins": "workspace:*",
"@types/node": "^22.20.1",
"prettier": "^2.3.2",
"rollup": "^4.9.2",
"rollup-plugin-dts": "^6.1.0",
"svgson": "^5.2.1",
"typescript": "^5.9.3"
"@types/node": "^26.4.1",
"prettier": "3.9.6",
"rollup": "^4.63.1",
"rollup-plugin-dts": "^6.5.1",
"svgson": "^5.3.1",
"typescript": "^6.0.3"
}
}
+3 -3
View File
@@ -4,7 +4,7 @@
"declaration": true,
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"module": "ESNext",
"target": "ESNext",
"esModuleInterop": true,
@@ -13,6 +13,6 @@
"resolveJsonModule": true,
"allowImportingTsExtensions": true,
"sourceMap": true,
"outDir": "./dist",
},
"outDir": "./dist"
}
}
+4 -4
View File
@@ -51,13 +51,13 @@
"@lucide/rollup-plugins": "workspace:*",
"@lucide/shared": "workspace:*",
"@preact/preset-vite": "^2.10.6",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/preact": "^3.2.4",
"jest-serializer-html": "^7.1.0",
"preact": "^10.29.8",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"typescript": "^5.9.3",
"rollup": "^4.63.1",
"rollup-plugin-dts": "^6.5.1",
"typescript": "^6.0.3",
"vite": "^7.3.6"
},
"peerDependencies": {
+4 -6
View File
@@ -5,13 +5,12 @@
"noEmitOnError": true,
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"module": "ESNext",
"target": "ESNext",
"baseUrl": ".",
"paths": {
"@lucide/shared": ["../shared/src/index.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"]
},
"esModuleInterop": true,
"isolatedModules": true,
@@ -19,12 +18,11 @@
"skipLibCheck": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
"sourceMap": true,
"outDir": "./dist",
"jsx": "react-jsx",
"jsxImportSource": "preact",
"types": ["@testing-library/jest-dom"],
"types": ["@testing-library/jest-dom/vitest"]
},
"exclude": ["**/node_modules"],
"exclude": ["**/node_modules"]
}
+8 -8
View File
@@ -68,19 +68,19 @@
"@lucide/helpers": "workspace:*",
"@lucide/rollup-plugins": "workspace:*",
"@lucide/shared": "workspace:*",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@types/prop-types": "^15.7.15",
"@types/react": "^18.3.31",
"@vitejs/plugin-react": "^4.7.0",
"@vitejs/plugin-react": "^5.2.0",
"jest-serializer-html": "^7.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-native": "^0.76.9",
"react-native-svg": "^15.15.5",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"typescript": "^5.9.3",
"rollup": "^4.63.1",
"rollup-plugin-dts": "^6.5.1",
"typescript": "^6.0.3",
"vite": "^7.3.6"
},
"peerDependencies": {
+4 -5
View File
@@ -8,17 +8,16 @@
"noEmit": true,
"isolatedModules": true,
"strict": true,
"moduleResolution": "node",
"baseUrl": ".",
"moduleResolution": "bundler",
"paths": {
"@lucide/shared": ["../shared/src/index.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"]
},
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"skipLibCheck": false,
"skipLibCheck": false
},
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}
+8 -8
View File
@@ -53,18 +53,18 @@
"@lucide/build-icons": "workspace:*",
"@lucide/rollup-plugins": "workspace:*",
"@lucide/shared": "workspace:*",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^14.3.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@types/node": "^25.9.1",
"@types/react": "^18.3.31",
"@vitejs/plugin-react": "^4.7.0",
"@vitejs/plugin-react": "^5.2.0",
"jest-serializer-html": "^7.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "^4.63.1",
"rollup-plugin-dts": "^6.5.1",
"rollup-plugin-preserve-directives": "^0.4.0",
"typescript": "^5.9.3",
"typescript": "^6.0.3",
"vite": "^7.3.6"
},
"peerDependencies": {
+4 -7
View File
@@ -5,13 +5,12 @@
"noEmitOnError": true,
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"module": "ESNext",
"target": "ESNext",
"baseUrl": ".",
"paths": {
"@lucide/shared": ["../shared/src/index.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"]
},
"esModuleInterop": true,
"isolatedModules": true,
@@ -20,12 +19,10 @@
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"allowImportingTsExtensions": true,
"downlevelIteration": true,
"sourceMap": true,
"outDir": "./dist",
"jsx": "react-jsx",
"types": ["@testing-library/jest-dom", "node"],
"types": ["@testing-library/jest-dom/vitest", "node"]
},
"exclude": ["**/node_modules"],
"include": ["src", "tests"],
"include": ["src", "tests"]
}
+7 -7
View File
@@ -76,15 +76,15 @@
"@lucide/shared": "workspace:*",
"@rollup/plugin-babel": "^6.1.0",
"@solidjs/testing-library": "^0.8.10",
"@testing-library/jest-dom": "^6.9.1",
"babel-preset-solid": "^1.9.12",
"esbuild": "^0.28.1",
"@testing-library/jest-dom": "^7.0.1",
"babel-preset-solid": "^1.9.15",
"esbuild": "^0.28.2",
"jest-serializer-html": "^7.1.0",
"rollup": "^4.62.2",
"solid-js": "^1.9.14",
"typescript": "^5.9.3",
"rollup": "^4.63.1",
"solid-js": "^1.9.15",
"typescript": "^6.0.3",
"vite": "^7.3.6",
"vite-plugin-solid": "^2.11.12"
"vite-plugin-solid": "^2.11.14"
},
"peerDependencies": {
"solid-js": "^1.4.7"
+5 -6
View File
@@ -3,21 +3,20 @@
"strict": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "node",
"baseUrl": ".",
"moduleResolution": "bundler",
"paths": {
"@lucide/shared": ["../shared/src/index.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"]
},
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"jsxImportSource": "solid-js",
"types": ["vite/client", "@testing-library/jest-dom"],
"types": ["vite/client", "@testing-library/jest-dom/vitest"],
"noEmit": true,
"isolatedModules": true,
"outDir": "./dist",
"declarationDir": "./dist",
"declaration": true,
},
"declaration": true
}
}
+4 -4
View File
@@ -40,10 +40,10 @@
"@lucide/build-icons": "workspace:*",
"@lucide/helpers": "workspace:*",
"@lucide/rollup-plugins": "workspace:*",
"@types/node": "^22.20.1",
"prettier": "^2.8.8",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"@types/node": "^26.4.1",
"prettier": "3.9.6",
"rollup": "^4.63.1",
"rollup-plugin-dts": "^6.5.1",
"svgson": "^5.3.1"
}
}
+3 -3
View File
@@ -4,7 +4,7 @@
"declaration": true,
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"module": "ESNext",
"target": "ESNext",
"esModuleInterop": true,
@@ -13,6 +13,6 @@
"resolveJsonModule": true,
"allowImportingTsExtensions": true,
"sourceMap": true,
"outDir": "./dist",
},
"outDir": "./dist"
}
}
+4 -4
View File
@@ -46,11 +46,11 @@
"@lucide/rollup-plugins": "workspace:*",
"@lucide/shared": "workspace:*",
"@rollup/plugin-replace": "^6.0.3",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^7.0.1",
"jest-serializer-html": "^7.1.0",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"typescript": "^5.9.3",
"rollup": "^4.63.1",
"rollup-plugin-dts": "^6.5.1",
"typescript": "^6.0.3",
"vite": "^7.3.6"
}
}
+2 -18
View File
@@ -11,15 +11,7 @@ export interface AriaAttributes {
'aria-colspan'?: number | undefined;
'aria-controls'?: string | undefined;
'aria-current'?:
| boolean
| 'false'
| 'true'
| 'page'
| 'step'
| 'location'
| 'date'
| 'time'
| undefined;
boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time' | undefined;
'aria-describedby'?: string | undefined;
'aria-details'?: string | undefined;
'aria-disabled'?: Booleanish | undefined;
@@ -29,15 +21,7 @@ export interface AriaAttributes {
'aria-flowto'?: string | undefined;
'aria-grabbed'?: Booleanish | undefined;
'aria-haspopup'?:
| boolean
| 'false'
| 'true'
| 'menu'
| 'listbox'
| 'tree'
| 'grid'
| 'dialog'
| undefined;
boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined;
'aria-hidden'?: Booleanish | undefined;
'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling' | undefined;
'aria-keyshortcuts'?: string | undefined;
+3 -3
View File
@@ -4,7 +4,7 @@
"declaration": true,
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"module": "ESNext",
"target": "ESNext",
"esModuleInterop": true,
@@ -12,6 +12,6 @@
"lib": ["esnext", "dom"],
"resolveJsonModule": true,
"sourceMap": true,
"outDir": "./dist",
},
"outDir": "./dist"
}
}
@@ -34,7 +34,7 @@ function buildLucideIconNode(icon: LucideIconData, params: LucideBuildParams = {
? (Number(params.strokeWidth ?? defaultAttributes['stroke-width']) *
Number(icon.size ?? icon.width ?? defaultAttributes['width'])) /
Number(params.size ?? params.width ?? defaultAttributes['width'])
: params.strokeWidth ?? defaultAttributes['stroke-width'];
: (params.strokeWidth ?? defaultAttributes['stroke-width']);
const attributes = {
...Object.entries(defaultAttributes).reduce((attrs, [attrName, value]) => {
+4 -4
View File
@@ -62,15 +62,15 @@
"@lucide/helpers": "workspace:*",
"@sveltejs/package": "^2.5.8",
"@sveltejs/vite-plugin-svelte": "^7.3.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/svelte": "^5.4.2",
"@tsconfig/svelte": "^5.0.8",
"jest-serializer-html": "^7.1.0",
"jsdom": "^27.4.0",
"svelte": "^5.56.9",
"jsdom": "^30.0.1",
"svelte": "^5.57.0",
"svelte-check": "^4.7.6",
"svelte-preprocess": "^6.0.5",
"typescript": "^5.9.3",
"typescript": "^6.0.3",
"vite": "^7.3.6"
},
"peerDependencies": {
+1 -8
View File
@@ -7,14 +7,7 @@ import type {
export type Attrs = Record<string, unknown> & SVGAttributes<SVGSVGElement>;
type IconNodeElements =
| 'circle'
| 'ellipse'
| 'g'
| 'line'
| 'path'
| 'polygon'
| 'polyline'
| 'rect';
'circle' | 'ellipse' | 'g' | 'line' | 'path' | 'polygon' | 'polyline' | 'rect';
export type LucideIconNode = SharedLucideIconNode<IconNodeElements, Attrs>;
+3 -4
View File
@@ -6,16 +6,15 @@
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
"@lucide/shared": ["../shared/src/index.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"]
},
"allowJs": true,
"checkJs": true,
"isolatedModules": true,
"types": ["@testing-library/jest-dom"],
"types": ["@testing-library/jest-dom/vitest"]
},
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte", "tests/**/*.ts"],
"exclude": ["tests/setupVitest.ts"],
"exclude": ["tests/setupVitest.ts"]
}
+4 -4
View File
@@ -44,13 +44,13 @@
"@lucide/build-icons": "workspace:*",
"@lucide/rollup-plugins": "workspace:*",
"@lucide/shared": "workspace:*",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/vue": "^8.1.0",
"@vitejs/plugin-vue": "^6.0.8",
"@vue/test-utils": "2.5.0",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"typescript": "^5.9.3",
"rollup": "^4.63.1",
"rollup-plugin-dts": "^6.5.1",
"typescript": "^6.0.3",
"vite": "^7.3.6",
"vue": "^3.5.42"
},
+3 -4
View File
@@ -4,10 +4,9 @@
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"baseUrl": ".",
"paths": {
"@lucide/shared": ["../shared/src/index.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"],
"@lucide/shared/types": ["../shared/src/build/types.ts"]
},
"strict": true,
"jsx": "preserve",
@@ -18,6 +17,6 @@
"lib": ["ESNext", "DOM"],
"skipLibCheck": true,
"noEmit": true,
"types": ["@testing-library/jest-dom", "vitest/globals"],
},
"types": ["@testing-library/jest-dom/vitest", "vitest/globals"]
}
}
+3931 -4974
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -13,16 +13,16 @@
"author": "",
"license": "ISC",
"dependencies": {
"@vercel/blob": "^2.6.1",
"fs-extra": "^11.3.6",
"@vercel/blob": "^2.8.0",
"fs-extra": "^11.4.0",
"minimist": "^1.2.8",
"oslllo-svg-fixer": "^5.0.0",
"oslllo-svg-fixer": "^6.0.1",
"svgtofont": "^6.5.3"
},
"devDependencies": {
"@lucide/helpers": "workspace:*",
"@types/fs-extra": "^11.0.4",
"@types/minimist": "^1.2.5",
"@types/node": "^22.20.1"
"@types/node": "^26.4.1"
}
}
+2 -2
View File
@@ -13,6 +13,6 @@
"allowImportingTsExtensions": true,
"noEmit": true,
"sourceMap": true,
"outDir": "./dist",
},
"outDir": "./dist"
}
}
+1 -1
View File
@@ -9,6 +9,6 @@
"license": "ISC",
"type": "module",
"devDependencies": {
"@types/node": "^22.20.1"
"@types/node": "^26.4.1"
}
}
+2 -2
View File
@@ -14,6 +14,6 @@
"allowImportingTsExtensions": true,
"noEmit": true,
"sourceMap": true,
"outDir": "./dist",
},
"outDir": "./dist"
}
}
@@ -79,7 +79,7 @@ function generateIconFiles({
singleQuote: true,
trailingComma: 'all',
printWidth: 100,
parser: iconFileExtension.endsWith('.ts') ? 'babel-ts' : 'babel',
parser: /\.tsx?$/.test(iconFileExtension) ? 'babel-ts' : 'babel',
})
: elementTemplate;
+3 -3
View File
@@ -37,12 +37,12 @@
"devDependencies": {
"@lucide/helpers": "workspace:*",
"@types/minimist": "^1.2.5",
"@types/node": "^22.20.1"
"@types/node": "^26.4.1"
},
"dependencies": {
"minimist": "^1.2.8",
"prettier": "2.7.1",
"svgo": "^3.3.4",
"prettier": "3.9.6",
"svgo": "^4.1.0",
"svgson": "^5.3.1"
},
"peerDependencies": {
+2 -2
View File
@@ -13,6 +13,6 @@
"resolveJsonModule": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"sourceMap": true,
},
"sourceMap": true
}
}
+3 -3
View File
@@ -10,11 +10,11 @@
"dependencies": {
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"esbuild": "^0.28.1",
"rollup": "^4.62.2",
"esbuild": "^0.28.2",
"rollup": "^4.63.1",
"rollup-plugin-esbuild": "^6.2.1",
"rollup-plugin-license": "^3.7.1",
"rollup-plugin-summary": "^3.0.1",
"rollup-plugin-visualizer": "^6.0.11"
"rollup-plugin-visualizer": "^7.1.1"
}
}
+3 -4
View File
@@ -5,7 +5,7 @@
"noEmitOnError": true,
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"module": "ESNext",
"target": "ESNext",
"esModuleInterop": true,
@@ -15,7 +15,6 @@
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"allowImportingTsExtensions": true,
"downlevelIteration": true,
"sourceMap": true,
},
"sourceMap": true
}
}