Skip to content

[codemod] add codemod for expo/vector-icons #1815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 23, 2025

Conversation

vonovak
Copy link
Collaborator

@vonovak vonovak commented Jul 23, 2025

this adds a codemod that migrates from @expo/vector-icons to the new per-icon-family packages. It transforms the imports, and updates package.json

supported syntax:

named imports:

import { Ionicons, MaterialIcons } from '@expo/vector-icons'

default imports:

import Ionicons from '@expo/vector-icons/Ionicons'

Test plan

Tested locally

@johnf johnf merged commit 9b7df08 into master Jul 23, 2025
26 of 28 checks passed
@johnf johnf deleted the vonovak/_codemod_add_codemod_for_expo_vector-icons branch July 23, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants