mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-11 13:28:19 +00:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b998e2892b | ||
|
|
5da3ee357d | ||
|
|
6bbe5ddb07 | ||
|
|
4a26fa58e0 | ||
|
|
5d592a96aa |
@@ -64,6 +64,7 @@ jobs:
|
||||
contents: write # Required to create the release and tag
|
||||
outputs:
|
||||
VERSION: ${{ steps.new-version.outputs.NEW_VERSION }}
|
||||
RELEASE_URL: ${{ steps.create-release.outputs.url }}
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
|
||||
@@ -102,6 +103,7 @@ jobs:
|
||||
echo '${{ steps.change-log.outputs.CHANGE_LOG }}'
|
||||
|
||||
- name: Create Release
|
||||
id: create-release
|
||||
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
|
||||
with:
|
||||
tag_name: ${{ steps.new-version.outputs.NEW_VERSION }}
|
||||
@@ -129,3 +131,30 @@ jobs:
|
||||
with:
|
||||
version: ${{ inputs.version }}
|
||||
tag: ${{ inputs.tag }}
|
||||
|
||||
post-release:
|
||||
name: Trigger post-release automation
|
||||
if: >-
|
||||
always() &&
|
||||
github.repository == 'lucide-icons/lucide' &&
|
||||
(needs.start-release.result == 'success' || needs.dispatch-release.result == 'success')
|
||||
needs: [create-release, start-release, dispatch-release]
|
||||
runs-on: ubuntu-latest
|
||||
permissions: {}
|
||||
steps:
|
||||
- name: Dispatch post_release event
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.POST_RELEASE_TOKEN }}
|
||||
RELEASE_TAG: ${{ needs.create-release.outputs.VERSION || inputs.version }}
|
||||
RELEASE_URL: ${{ needs.create-release.outputs.RELEASE_URL }}
|
||||
run: |
|
||||
if [ -z "$RELEASE_URL" ]; then
|
||||
RELEASE_URL="https://github.com/lucide-icons/lucide/releases/tag/$RELEASE_TAG"
|
||||
fi
|
||||
|
||||
gh api \
|
||||
--method POST \
|
||||
repos/lucide-icons/post-release/dispatches \
|
||||
--field event_type=post_release \
|
||||
--field "client_payload[release_tag]=$RELEASE_TAG" \
|
||||
--field "client_payload[release_url]=$RELEASE_URL"
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"csandman",
|
||||
"ericfennis",
|
||||
"AleksejDix"
|
||||
],
|
||||
"use-cases": [
|
||||
"Indicating global traffic in network monitoring dashboards",
|
||||
"Representing web development in developer tools"
|
||||
],
|
||||
"tags": [
|
||||
"website",
|
||||
"internet",
|
||||
"globe",
|
||||
"connection",
|
||||
"network",
|
||||
"digital",
|
||||
"access",
|
||||
"global",
|
||||
"link",
|
||||
"world",
|
||||
"browser",
|
||||
"language",
|
||||
"translate"
|
||||
],
|
||||
"categories": [
|
||||
"navigation",
|
||||
"development"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<path d="M15.5 10 13 7.5 15.5 5" />
|
||||
<path d="M15.861 14A14.5 14.5 0 0112 22a14.48 14.48 0 010-20 10 10 0 109.888 11.5" />
|
||||
<path d="M19.5 5 22 7.5 19.5 10" />
|
||||
<path d="M2 12h8.5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 397 B |
@@ -22,7 +22,7 @@
|
||||
"@vitest/browser-playwright": "4.1.10",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "4.1.10",
|
||||
"vitest": "4.1.11",
|
||||
"vitest-browser-react": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"@vitest/browser-playwright": "4.1.10",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "4.1.10",
|
||||
"vitest": "4.1.11",
|
||||
"vitest-browser-react": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"@vitest/browser-playwright": "4.1.10",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "4.1.10",
|
||||
"vitest": "4.1.11",
|
||||
"vitest-browser-react": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"@vitest/browser-playwright": "4.1.10",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "4.1.10",
|
||||
"vitest": "4.1.11",
|
||||
"vitest-browser-react": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"playwright": "1.58.2",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "4.1.10",
|
||||
"vitest": "4.1.11",
|
||||
"vitest-browser-react": "2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@
|
||||
"svgson": "^5.3.1",
|
||||
"typescript": "^6.0.3",
|
||||
"typescript-eslint": "^8.69.0",
|
||||
"vitest": "4.1.10",
|
||||
"vitest": "4.1.11",
|
||||
"yargs": "^18.1.0",
|
||||
"zod": "^4.5.4"
|
||||
},
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
"prettier": "3.9.6",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "4.1.10"
|
||||
"vitest": "4.1.11"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^4 || ^5 || ^6 || ^7"
|
||||
|
||||
@@ -71,6 +71,6 @@
|
||||
"rollup-plugin-preserve-directives": "^0.4.0",
|
||||
"typescript": "^6.0.3",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "4.1.10"
|
||||
"vitest": "4.1.11"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ export default defineExportTemplate(
|
||||
|
||||
return `
|
||||
import createLucideIcon from '../createLucideIcon';
|
||||
import type { LucideIconData } from '../types';
|
||||
import type { LucideIcon, LucideIconData } from '../types';
|
||||
|
||||
export const __iconData: LucideIconData = ${JSON.stringify(iconData)}
|
||||
|
||||
@@ -23,7 +23,7 @@ export const __iconData: LucideIconData = ${JSON.stringify(iconData)}
|
||||
* @returns {FunctionalComponent} Vue component
|
||||
* ${deprecated ? `@deprecated ${deprecationReason}` : ''}
|
||||
*/
|
||||
const ${componentName} = createLucideIcon(__iconData);
|
||||
const ${componentName}: LucideIcon = createLucideIcon(__iconData);
|
||||
|
||||
export default ${componentName};
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user