typed-config-plugins 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # typed-config-plugins [![npm][npm-image]][npm-url]
1
+ # typed-config-plugins [![npm][npm-image]][npm-url] ![npm][npm-dl-stats]
2
2
 
3
3
  **Type Safety for Your Expo Config Plugins.**
4
4
 
@@ -62,3 +62,4 @@ Now, when you use `plugin("my-custom-plugin", { /* ... */ })` in your `app.confi
62
62
 
63
63
  [npm-image]: https://img.shields.io/npm/v/typed-config-plugins
64
64
  [npm-url]: https://www.npmjs.com/package/typed-config-plugins
65
+ [npm-dl-stats]: https://img.shields.io/npm/dm/typed-config-plugins
package/dist/plugin.d.ts CHANGED
@@ -168,7 +168,6 @@ import * as expo_tracking_transparency_plugin_build_withTrackingTransparency fro
168
168
  import * as expo_task_manager_plugin_build_withTaskManager from 'expo-task-manager/plugin/build/withTaskManager';
169
169
  import * as expo_tappay_line_pay_plugin_build_index from 'expo-tappay-line-pay/plugin/build/index';
170
170
  import * as expo_system_ui_plugin_build_withSystemUI from 'expo-system-ui/plugin/build/withSystemUI';
171
- import * as expo_superwall_plugin_build_index from 'expo-superwall/plugin/build/index';
172
171
  import * as expo_stt_plugin_build_withSpeechRecognition from 'expo-stt/plugin/build/withSpeechRecognition';
173
172
  import * as expo_stores_games_services_plugin_build_index from 'expo-stores-games-services/plugin/build/index';
174
173
  import * as expo_sqlite_plugin_build_withSQLite from 'expo-sqlite/plugin/build/withSQLite';
@@ -378,6 +377,7 @@ import * as _heartbot_expo_google_authentication_plugin_build_index from '@heart
378
377
  import * as _grupalia_react_native_photo_picker_app_plugin from '@grupalia/react-native-photo-picker/app.plugin';
379
378
  import * as _giphy_react_native_sdk_app_plugin from '@giphy/react-native-sdk/app.plugin';
380
379
  import * as _getcello_cello_react_native_lib_typescript_src_expo_plugin_index from '@getcello/cello-react-native/lib/typescript/src/expo-plugin/index';
380
+ import * as _fullstory_react_native_plugin_build_index from '@fullstory/react-native/plugin/build/index';
381
381
  import * as _fishjam_cloud_react_native_client_plugin_build_withFishjam from '@fishjam-cloud/react-native-client/plugin/build/withFishjam';
382
382
  import * as _fingerprintjs_fingerprintjs_pro_react_native_plugin_dist_withFingerprint from '@fingerprintjs/fingerprintjs-pro-react-native/plugin/dist/withFingerprint';
383
383
  import * as _faysalbsata_uaepass_auth_app_plugin from '@faysalbsata/uaepass-auth/app.plugin';
@@ -406,7 +406,6 @@ import * as _bpm_sekeh_expo_local_authentication_plugin_build_withLocalAuthentic
406
406
  import * as _bittingz_expo_widgets_plugin_build_index from '@bittingz/expo-widgets/plugin/build/index';
407
407
  import * as _bitdrift_react_native_typescript_packages_react_native_src_plugin_withBitdrift_d_ts from '@bitdrift/react-native/typescript/packages/react-native/src/plugin/withBitdrift.d.ts';
408
408
  import * as _beyondidentity_bi_sdk_react_native_app_plugin from '@beyondidentity/bi-sdk-react-native/app.plugin';
409
- import * as _batch_com_react_native_plugin_plugin_build_withReactNativeBatch from '@batch.com/react-native-plugin/plugin/build/withReactNativeBatch';
410
409
  import * as _bam_tech_react_native_ssl_pinning_build_withSSLPinningConfig from '@bam.tech/react-native-ssl-pinning/build/withSSLPinningConfig';
411
410
  import * as _bam_tech_react_native_msal_plugin_build_withReactNativeMSAL from '@bam.tech/react-native-msal/plugin/build/withReactNativeMSAL';
412
411
  import * as _bam_tech_react_native_batch_plugin_build_withReactNativeBatch from '@bam.tech/react-native-batch/plugin/build/withReactNativeBatch';
@@ -423,8 +422,9 @@ import * as _animo_id_indy_sdk_expo_plugin_build_withIndySdk from '@animo-id/ind
423
422
  import * as _allboatsrise_expo_marketingcloudsdk_plugin_build_index from '@allboatsrise/expo-marketingcloudsdk/plugin/build/index';
424
423
  import * as _allboatsrise_expo_gigya_plugin_build_index from '@allboatsrise/expo-gigya/plugin/build/index';
425
424
  import * as _adyen_react_native_plugin_build_withAdyen from '@adyen/react-native/plugin/build/withAdyen';
426
- import { ConfigPlugin } from '@expo/config-plugins';
427
425
 
426
+ type ExpoConfig = any;
427
+ type ConfigPlugin<Props = void> = (config: ExpoConfig, props: Props) => ExpoConfig;
428
428
  type ConfigPluginOptions<T> = T extends ConfigPlugin<infer TOptions> ? Exclude<TOptions, void | undefined> : never;
429
429
 
430
430
  interface ThirdPartyAutomatedPlugins {
@@ -444,7 +444,6 @@ interface ThirdPartyAutomatedPlugins {
444
444
  "@bam.tech/react-native-batch": ConfigPluginOptions<typeof _bam_tech_react_native_batch_plugin_build_withReactNativeBatch["default"]>;
445
445
  "@bam.tech/react-native-msal": ConfigPluginOptions<typeof _bam_tech_react_native_msal_plugin_build_withReactNativeMSAL["default"]>;
446
446
  "@bam.tech/react-native-ssl-pinning": ConfigPluginOptions<typeof _bam_tech_react_native_ssl_pinning_build_withSSLPinningConfig["default"]>;
447
- "@batch.com/react-native-plugin": ConfigPluginOptions<typeof _batch_com_react_native_plugin_plugin_build_withReactNativeBatch["default"]>;
448
447
  "@beyondidentity/bi-sdk-react-native": ConfigPluginOptions<typeof _beyondidentity_bi_sdk_react_native_app_plugin["default"]>;
449
448
  "@bitdrift/react-native": ConfigPluginOptions<typeof _bitdrift_react_native_typescript_packages_react_native_src_plugin_withBitdrift_d_ts["default"]>;
450
449
  "@bittingz/expo-widgets": ConfigPluginOptions<typeof _bittingz_expo_widgets_plugin_build_index["default"]>;
@@ -475,6 +474,7 @@ interface ThirdPartyAutomatedPlugins {
475
474
  "@fingerprintjs/fingerprintjs-pro-react-native": ConfigPluginOptions<typeof _fingerprintjs_fingerprintjs_pro_react_native_plugin_dist_withFingerprint["default"]>;
476
475
  "@fishjam-cloud/react-native-client": ConfigPluginOptions<typeof _fishjam_cloud_react_native_client_plugin_build_withFishjam["default"]>;
477
476
  "@fleetbase/react-native-mapbox-navigation": ConfigPluginOptions<unknown>;
477
+ "@fullstory/react-native": ConfigPluginOptions<typeof _fullstory_react_native_plugin_build_index["default"]>;
478
478
  "@getcello/cello-react-native": ConfigPluginOptions<typeof _getcello_cello_react_native_lib_typescript_src_expo_plugin_index["default"]>;
479
479
  "@giphy/react-native-sdk": ConfigPluginOptions<typeof _giphy_react_native_sdk_app_plugin["default"]>;
480
480
  "@grupalia/react-native-photo-picker": ConfigPluginOptions<typeof _grupalia_react_native_photo_picker_app_plugin["default"]>;
@@ -644,6 +644,7 @@ interface ThirdPartyAutomatedPlugins {
644
644
  "expo-iap": ConfigPluginOptions<typeof expo_iap_plugin_build_withIAP["default"]>;
645
645
  "expo-idnow-auto-ident-config-plugin": ConfigPluginOptions<typeof expo_idnow_auto_ident_config_plugin_build_withIdNowAutoIdent["default"]>;
646
646
  "expo-ignore-battery-optimizations": ConfigPluginOptions<typeof expo_ignore_battery_optimizations_plugin_build_withBatteryOptimizationPermissions["default"]>;
647
+ "expo-image": ConfigPluginOptions<unknown>;
647
648
  "expo-image-picker": ConfigPluginOptions<typeof expo_image_picker_plugin_build_withImagePicker["default"]>;
648
649
  "expo-install-apps": ConfigPluginOptions<typeof expo_install_apps_plugin_build_withAppList["default"]>;
649
650
  "expo-instant-app": ConfigPluginOptions<typeof expo_instant_app_plugin_build_lib_withInstantAppManifest["default"]>;
@@ -694,7 +695,6 @@ interface ThirdPartyAutomatedPlugins {
694
695
  "expo-sqlite": ConfigPluginOptions<typeof expo_sqlite_plugin_build_withSQLite["default"]>;
695
696
  "expo-stores-games-services": ConfigPluginOptions<typeof expo_stores_games_services_plugin_build_index["default"]>;
696
697
  "expo-stt": ConfigPluginOptions<typeof expo_stt_plugin_build_withSpeechRecognition["default"]>;
697
- "expo-superwall": ConfigPluginOptions<typeof expo_superwall_plugin_build_index["default"]>;
698
698
  "expo-system-ui": ConfigPluginOptions<typeof expo_system_ui_plugin_build_withSystemUI["default"]>;
699
699
  "expo-tappay-line-pay": ConfigPluginOptions<typeof expo_tappay_line_pay_plugin_build_index["default"]>;
700
700
  "expo-task-manager": ConfigPluginOptions<typeof expo_task_manager_plugin_build_withTaskManager["default"]>;
@@ -721,7 +721,6 @@ interface ThirdPartyAutomatedPlugins {
721
721
  "instabug-reactnative": ConfigPluginOptions<typeof instabug_reactnative_plugin_src_index["default"]>;
722
722
  "jpush-expo-config-plugin": ConfigPluginOptions<typeof jpush_expo_config_plugin_app_plugin["default"]>;
723
723
  "karte-expo-plugin": ConfigPluginOptions<typeof karte_expo_plugin_build_withKarte["default"]>;
724
- lama: ConfigPluginOptions<unknown>;
725
724
  "letro-passport": ConfigPluginOptions<typeof letro_passport_plugin_build_index["default"]>;
726
725
  "llama.rn": ConfigPluginOptions<typeof llama_rn_lib_typescript_expo_plugin_withLlamaRN["default"]>;
727
726
  "mindbox-expo-plugin": ConfigPluginOptions<typeof mindbox_expo_plugin_build_withMindbox["default"]>;
@@ -837,6 +836,7 @@ interface ThirdPartyAutomatedPlugins {
837
836
  "react-native-savanitdev-thermal-printer": ConfigPluginOptions<typeof react_native_savanitdev_thermal_printer_app_plugin["default"]>;
838
837
  "react-native-screen-time": ConfigPluginOptions<unknown>;
839
838
  "react-native-screenshot-aware": ConfigPluginOptions<typeof react_native_screenshot_aware_lib_typescript_plugin_withReactNativeScreenshotAware["default"]>;
839
+ "react-native-sensitive-info": ConfigPluginOptions<unknown>;
840
840
  "react-native-share": ConfigPluginOptions<typeof react_native_share_plugin_build_index["default"]>;
841
841
  "react-native-spotlight-search": ConfigPluginOptions<typeof react_native_spotlight_search_plugin_build_withSpotlight["default"]>;
842
842
  "react-native-ssl-manager": ConfigPluginOptions<typeof react_native_ssl_manager_app_plugin["default"]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typed-config-plugins",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "adds types to expo config plugins, like @types but for expo config plugins",
5
5
  "author": {
6
6
  "name": "WookieFPV (Lukas Müller)",
@@ -41,24 +41,20 @@
41
41
  "typecheck": "tsc",
42
42
  "prepublishOnly": "bun i && bun run lint:CI && tsc && bun run build"
43
43
  },
44
- "peerDependencies": {
45
- "@expo/config-plugins": "*"
46
- },
47
44
  "devDependencies": {
48
45
  "@babel/parser": "7.28.4",
49
46
  "@babel/traverse": "7.28.4",
50
47
  "@babel/types": "7.28.4",
51
48
  "@biomejs/biome": "2.2.5",
52
- "@expo/config-plugins": "54.0.2",
49
+ "@expo/config-plugins": "54.0.4",
53
50
  "@octokit/rest": "22.0.1",
54
51
  "@types/bun": "1.3.0",
55
52
  "@types/npm-registry-fetch": "8.0.9",
56
53
  "@types/resolve": "1.20.6",
57
- "es-toolkit": "1.41.0",
54
+ "es-toolkit": "1.42.0",
58
55
  "lefthook": "1.13.6",
59
56
  "npm-registry-fetch": "19.1.0",
60
57
  "ora": "9.0.0",
61
- "p-map": "7.0.4",
62
58
  "p-queue": "9.0.0",
63
59
  "resolve": "1.22.10",
64
60
  "tsup": "8.5.0",