This commit is contained in:
Eric Fennis
2026-03-06 10:49:44 +01:00
4 changed files with 7 additions and 5 deletions

View File

@@ -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

View File

@@ -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>
`, `,
}, },
]; ];

View File

@@ -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}`,
}, },

View File

@@ -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": "",