Skip to content

chore(deps): move @expo/config-plugins to devDependencies#80

Merged
lodev09 merged 1 commit into
mainfrom
chore/move-config-plugins-to-peer
May 28, 2026
Merged

chore(deps): move @expo/config-plugins to devDependencies#80
lodev09 merged 1 commit into
mainfrom
chore/move-config-plugins-to-peer

Conversation

@lodev09
Copy link
Copy Markdown
Collaborator

@lodev09 lodev09 commented May 28, 2026

Summary

@expo/config-plugins was listed as a runtime dependency, but it's only used by the Expo config plugin (plugin/src) that runs at prebuild time. Expo apps already bundle @expo/config-plugins via expo, so shipping it as a runtime dep risks duplicate/mismatched versions in consumers.

  • Move @expo/config-plugins to devDependencies (for typechecking the plugin source).
  • Add expo as an optional peer dependency.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Test Plan

  • yarn typecheck passes
  • yarn build:plugin succeeds
  • Plugin still resolves @expo/config-plugins from the consumer (Expo app) at prebuild time

Checklist

  • I tested on iOS
  • I tested on Android
  • I tested on Web
  • I updated the documentation (if needed)

Move @expo/config-plugins from runtime dependency to devDependency
(for typechecking the plugin source) and add expo as an optional
peer dependency. Expo apps already bundle @expo/config-plugins, so
the plugin resolves it from the consumer at prebuild time.
@lodev09 lodev09 merged commit 144504c into main May 28, 2026
3 checks passed
@lodev09 lodev09 deleted the chore/move-config-plugins-to-peer branch May 28, 2026 21:43
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.

1 participant