Skip to content

Commit f06ac67

Browse files
ericfennisCopilot
andauthored
chore(typchecking): More typecheck jobs for all packages (#4885)
* Add typecheck jobs * update lockfile * Fix types * Fix lucide solid types * Fix type lucide-react-native * fix: align react-native svg mock children typing * fix: format build font spec * fix: restore shared workflow and RN class context * fix: restore lucide-react build typecheck * fix: keep react build generating icons * fix: preserve builder color prop types * test: cover RN provider class merge * Revert 711255b --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent b0b1a4f commit f06ac67

43 files changed

Lines changed: 728 additions & 37 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/lucide-astro.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,19 @@ jobs:
4646

4747
- name: Test
4848
run: pnpm --filter @lucide/astro test
49+
50+
typecheck:
51+
runs-on: ubuntu-latest
52+
steps:
53+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
54+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
55+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
56+
with:
57+
node-version-file: 'package.json'
58+
cache: 'pnpm'
59+
60+
- name: Install dependencies
61+
run: pnpm install --frozen-lockfile
62+
63+
- name: Typecheck
64+
run: pnpm --filter @lucide/astro typecheck

‎.github/workflows/lucide-font.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,19 @@ jobs:
3737
with:
3838
name: lucide-font
3939
path: lucide-font
40+
41+
typecheck:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
45+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
46+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
47+
with:
48+
cache: 'pnpm'
49+
node-version-file: 'package.json'
50+
51+
- name: Install dependencies
52+
run: pnpm install --frozen-lockfile
53+
54+
- name: Typecheck
55+
run: pnpm --filter build-font typecheck

‎.github/workflows/lucide-lab.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,19 @@ jobs:
2929

3030
- name: Build
3131
run: pnpm --filter @lucide/lab build
32+
33+
typecheck:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
37+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
38+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
39+
with:
40+
cache: 'pnpm'
41+
node-version-file: 'package.json'
42+
43+
- name: Install dependencies
44+
run: pnpm install --frozen-lockfile
45+
46+
- name: Typecheck
47+
run: pnpm --filter @lucide/lab typecheck

‎.github/workflows/lucide-preact.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,19 @@ jobs:
3131

3232
- name: Test
3333
run: pnpm --filter lucide-preact test
34+
35+
typecheck:
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
39+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
40+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
41+
with:
42+
cache: 'pnpm'
43+
node-version-file: 'package.json'
44+
45+
- name: Install dependencies
46+
run: pnpm install --frozen-lockfile
47+
48+
- name: Typecheck
49+
run: pnpm --filter lucide-preact typecheck

‎.github/workflows/lucide-react-native.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,19 @@ jobs:
4747

4848
- name: Test
4949
run: pnpm --filter lucide-react-native test
50+
51+
typecheck:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
55+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
56+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
57+
with:
58+
cache: 'pnpm'
59+
node-version-file: 'package.json'
60+
61+
- name: Install dependencies
62+
run: pnpm install --frozen-lockfile
63+
64+
- name: Typecheck
65+
run: pnpm --filter lucide-react-native typecheck

‎.github/workflows/lucide-react.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,19 @@ jobs:
7070

7171
- name: Run integration checks
7272
run: pnpm test:integrations:react
73+
74+
typecheck:
75+
runs-on: ubuntu-latest
76+
steps:
77+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
78+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
79+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
80+
with:
81+
cache: 'pnpm'
82+
node-version-file: 'package.json'
83+
84+
- name: Install dependencies
85+
run: pnpm install --frozen-lockfile
86+
87+
- name: Typecheck
88+
run: pnpm --filter lucide-react typecheck

‎.github/workflows/lucide-shared.yml‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,20 @@ jobs:
2727
run: pnpm install --frozen-lockfile
2828

2929
- name: Test
30-
run: pnpm --filter lucide-react test
30+
run: pnpm --filter @lucide/shared test
31+
32+
typecheck:
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
36+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
37+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
38+
with:
39+
cache: 'pnpm'
40+
node-version-file: 'package.json'
41+
42+
- name: Install dependencies
43+
run: pnpm install --frozen-lockfile
44+
45+
- name: Typecheck
46+
run: pnpm --filter @lucide/shared typecheck

‎.github/workflows/lucide-solid.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,19 @@ jobs:
4747

4848
- name: Test
4949
run: pnpm --filter lucide-solid test
50+
51+
typecheck:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
55+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
56+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
57+
with:
58+
cache: 'pnpm'
59+
node-version-file: 'package.json'
60+
61+
- name: Install dependencies
62+
run: pnpm install --frozen-lockfile
63+
64+
- name: Typecheck
65+
run: pnpm --filter lucide-solid typecheck

‎.github/workflows/lucide-static.yml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,19 @@ jobs:
2626

2727
- name: Build
2828
run: pnpm --filter lucide-static build
29+
30+
typecheck:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
34+
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
35+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
36+
with:
37+
cache: 'pnpm'
38+
node-version-file: 'package.json'
39+
40+
- name: Install dependencies
41+
run: pnpm install --frozen-lockfile
42+
43+
- name: Typecheck
44+
run: pnpm --filter lucide-static typecheck

‎.github/workflows/lucide-svelte-5.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ jobs:
6161
- name: Install dependencies
6262
run: pnpm install --frozen-lockfile
6363

64-
- name: Test
64+
- name: Typecheck
6565
run: pnpm --filter @lucide/svelte typecheck

0 commit comments

Comments
 (0)