1.8 KiB
1.8 KiB
Dependency Audit — packages/ui (common-ui)
Audited 2026-08-16. Packages listed below are declared in package.json but never imported anywhere in this package's own source (src/, hooks/, index.ts).
Never used in this package
@react-native-google-signin/google-signin@react-native-picker/picker@react-navigation/bottom-tabs@react-navigation/drawer@react-navigation/elementsbufferdayjsexpoexpo-blurexpo-dev-clientexpo-deviceexpo-fontexpo-hapticsexpo-linear-gradientexpo-linkingexpo-notificationsexpo-routerexpo-splash-screenexpo-symbolsexpo-system-uiformikjwt-decodereact-domreact-hook-formreact-native-gesture-handlerreact-native-pager-viewreact-native-phonepe-pgreact-native-razorpayreact-native-reanimatedreact-native-safe-area-contextreact-native-screensreact-native-tab-viewreact-native-toast-messagereact-native-webreact-native-webviewyup
Caveats
- Several of the above (
react-native-gesture-handler,react-native-reanimated,react-native-safe-area-context,react-native-screens,react-navigation/*,expo-router, etc.) are runtime peer/transitive requirements of@react-navigation/nativeand the consuming Expo apps, which declare them in their ownpackage.json. They are unused inpackages/uibut not removable from the workspace if the apps rely on hoisting. expo(base) is not imported directly but is required by theexpo-*modules that are used.- Safest candidates for removal (not used by apps either):
expo-dev-client,react-native-phonepe-pg.
Imported but not declared (opposite problem)
The package imports these without listing them in package.json; they currently resolve via hoisting:
expo-auth-sessionreact-native-svg