mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-05-18 12:55:55 +02:00
Merge branch 'main' of https://github.com/lucide-icons/lucide into next
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -135,6 +135,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Create font in ./lucide-font
|
- name: Create font in ./lucide-font
|
||||||
run: pnpm build:font --saveCodePoints
|
run: pnpm build:font --saveCodePoints
|
||||||
|
env:
|
||||||
|
BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }}
|
||||||
|
|
||||||
- name: 'Upload to Artifacts'
|
- name: 'Upload to Artifacts'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
@@ -104,12 +104,12 @@ import { $CamelCase } from '@lucide/lab';
|
|||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
LucideAngularModule.pick({ $CamelCase })
|
LucideAngularModule.pick({ $PascalCase: $CamelCase })
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
// app.component.html
|
// app.component.html
|
||||||
<lucide-icon name="$CamelCase"></lucide-icon>
|
<lucide-icon name="$PascalCase"></lucide-icon>
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ const iconAliasesRedirectRoutes = Object.entries(iconMetaData)
|
|||||||
const aliasRouteMatches = aliases.map((alias) => alias.name).join('|');
|
const aliasRouteMatches = aliases.map((alias) => alias.name).join('|');
|
||||||
|
|
||||||
return {
|
return {
|
||||||
src: `/icons/${aliasRouteMatches}`,
|
src: `^/icons/(${aliasRouteMatches})$`,
|
||||||
status: 302,
|
status: 308,
|
||||||
headers: {
|
headers: {
|
||||||
Location: `/icons/${iconName}`,
|
Location: `/icons/${iconName}`,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"main": "main.ts",
|
"main": "main.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node --env-file-if-exists=.env ./src/main.ts"
|
"start": "node ./src/main.ts"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user