@amabeth/repeating-wheel-picker 1.2.0 → 1.2.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.
Files changed (244) hide show
  1. package/package.json +3 -2
  2. package/example/node_modules/@expo/cli/static/template/+html.tsx +0 -28
  3. package/example/node_modules/@expo/cli/static/template/+native-intent.ts +0 -9
  4. package/example/node_modules/@expo/cli/static/template/[...rsc]+api.ts +0 -16
  5. package/example/node_modules/ansi-styles/index.d.ts +0 -345
  6. package/example/node_modules/chalk/index.d.ts +0 -415
  7. package/example/node_modules/commander/typings/index.d.ts +0 -627
  8. package/example/node_modules/expo/Expo.podspec +0 -108
  9. package/example/node_modules/expo/build/Expo.d.ts +0 -8
  10. package/example/node_modules/expo/build/Expo.fx.d.ts +0 -4
  11. package/example/node_modules/expo/build/Expo.fx.web.d.ts +0 -3
  12. package/example/node_modules/expo/build/devtools/DevToolsPluginClient.d.ts +0 -72
  13. package/example/node_modules/expo/build/devtools/DevToolsPluginClientFactory.d.ts +0 -16
  14. package/example/node_modules/expo/build/devtools/DevToolsPluginClientImplApp.d.ts +0 -15
  15. package/example/node_modules/expo/build/devtools/DevToolsPluginClientImplBrowser.d.ts +0 -14
  16. package/example/node_modules/expo/build/devtools/MessageFramePacker.d.ts +0 -50
  17. package/example/node_modules/expo/build/devtools/ProtocolVersion.d.ts +0 -7
  18. package/example/node_modules/expo/build/devtools/WebSocketBackingStore.d.ts +0 -10
  19. package/example/node_modules/expo/build/devtools/WebSocketWithReconnect.d.ts +0 -81
  20. package/example/node_modules/expo/build/devtools/devtools.types.d.ts +0 -42
  21. package/example/node_modules/expo/build/devtools/getConnectionInfo.d.ts +0 -6
  22. package/example/node_modules/expo/build/devtools/getConnectionInfo.native.d.ts +0 -6
  23. package/example/node_modules/expo/build/devtools/index.d.ts +0 -12
  24. package/example/node_modules/expo/build/devtools/logger.d.ts +0 -6
  25. package/example/node_modules/expo/build/dom/base.d.ts +0 -5
  26. package/example/node_modules/expo/build/dom/dom-entry.d.ts +0 -3
  27. package/example/node_modules/expo/build/dom/dom-hooks.d.ts +0 -8
  28. package/example/node_modules/expo/build/dom/dom.d.ts +0 -5
  29. package/example/node_modules/expo/build/dom/dom.types.d.ts +0 -34
  30. package/example/node_modules/expo/build/dom/dom.web.d.ts +0 -3
  31. package/example/node_modules/expo/build/dom/global-events.d.ts +0 -4
  32. package/example/node_modules/expo/build/dom/injection.d.ts +0 -9
  33. package/example/node_modules/expo/build/dom/internal.d.ts +0 -3
  34. package/example/node_modules/expo/build/dom/internal.web.d.ts +0 -2
  35. package/example/node_modules/expo/build/dom/marshal.d.ts +0 -4
  36. package/example/node_modules/expo/build/dom/webview/ExpoDOMWebView.d.ts +0 -6
  37. package/example/node_modules/expo/build/dom/webview/RNWebView.d.ts +0 -7
  38. package/example/node_modules/expo/build/dom/webview/useDebugZeroHeight.d.ts +0 -12
  39. package/example/node_modules/expo/build/dom/webview-wrapper.d.ts +0 -16
  40. package/example/node_modules/expo/build/environment/DevLoadingView.d.ts +0 -3
  41. package/example/node_modules/expo/build/environment/DevLoadingView.web.d.ts +0 -3
  42. package/example/node_modules/expo/build/environment/DevLoadingViewNativeModule.d.ts +0 -9
  43. package/example/node_modules/expo/build/environment/DevLoadingViewNativeModule.native.d.ts +0 -3
  44. package/example/node_modules/expo/build/environment/ExpoGo.d.ts +0 -31
  45. package/example/node_modules/expo/build/environment/ExpoGo.web.d.ts +0 -3
  46. package/example/node_modules/expo/build/environment/getInitialSafeArea.d.ts +0 -7
  47. package/example/node_modules/expo/build/environment/getInitialSafeArea.native.d.ts +0 -11
  48. package/example/node_modules/expo/build/errors/AppEntryNotFound.d.ts +0 -2
  49. package/example/node_modules/expo/build/errors/ExpoErrorManager.d.ts +0 -8
  50. package/example/node_modules/expo/build/errors/ExpoErrorManager.native.d.ts +0 -4
  51. package/example/node_modules/expo/build/hooks/useEvent.d.ts +0 -59
  52. package/example/node_modules/expo/build/launch/registerRootComponent.d.ts +0 -30
  53. package/example/node_modules/expo/build/launch/withDevTools.d.ts +0 -3
  54. package/example/node_modules/expo/build/launch/withDevTools.ios.d.ts +0 -7
  55. package/example/node_modules/expo/build/launch/withDevTools.web.d.ts +0 -3
  56. package/example/node_modules/expo/build/timer/polyfillNextTick.d.ts +0 -6
  57. package/example/node_modules/expo/build/utils/blobUtils.d.ts +0 -9
  58. package/example/node_modules/expo/build/utils/getBundleUrl.d.ts +0 -2
  59. package/example/node_modules/expo/build/utils/getBundleUrl.native.d.ts +0 -2
  60. package/example/node_modules/expo/build/utils/getBundleUrl.web.d.ts +0 -2
  61. package/example/node_modules/expo/build/winter/FormData.d.ts +0 -49
  62. package/example/node_modules/expo/build/winter/ImportMetaRegistry.d.ts +0 -9
  63. package/example/node_modules/expo/build/winter/TextDecoder.d.ts +0 -20
  64. package/example/node_modules/expo/build/winter/fetch/ExpoFetchModule.d.ts +0 -2
  65. package/example/node_modules/expo/build/winter/fetch/ExpoFetchModule.web.d.ts +0 -10
  66. package/example/node_modules/expo/build/winter/fetch/FetchErrors.d.ts +0 -8
  67. package/example/node_modules/expo/build/winter/fetch/FetchResponse.d.ts +0 -31
  68. package/example/node_modules/expo/build/winter/fetch/NativeRequest.d.ts +0 -30
  69. package/example/node_modules/expo/build/winter/fetch/RequestUtils.d.ts +0 -21
  70. package/example/node_modules/expo/build/winter/fetch/convertFormData.d.ts +0 -19
  71. package/example/node_modules/expo/build/winter/fetch/fetch.d.ts +0 -4
  72. package/example/node_modules/expo/build/winter/fetch/fetch.types.d.ts +0 -16
  73. package/example/node_modules/expo/build/winter/fetch/fetch.web.d.ts +0 -2
  74. package/example/node_modules/expo/build/winter/fetch/index.d.ts +0 -3
  75. package/example/node_modules/expo/build/winter/index.d.ts +0 -2
  76. package/example/node_modules/expo/build/winter/runtime.d.ts +0 -2
  77. package/example/node_modules/expo/build/winter/runtime.native.d.ts +0 -2
  78. package/example/node_modules/expo/build/winter/url.d.ts +0 -23
  79. package/example/node_modules/expo/config-plugins.d.ts +0 -1
  80. package/example/node_modules/expo/config.d.ts +0 -1
  81. package/example/node_modules/expo/devtools.d.ts +0 -1
  82. package/example/node_modules/expo/dom/global.d.ts +0 -1
  83. package/example/node_modules/expo/dom/index.d.ts +0 -1
  84. package/example/node_modules/expo/dom/internal.d.ts +0 -1
  85. package/example/node_modules/expo/fetch.d.ts +0 -1
  86. package/example/node_modules/expo/fingerprint.d.ts +0 -1
  87. package/example/node_modules/expo/metro-config.d.ts +0 -1
  88. package/example/node_modules/expo/react-native.config.js +0 -50
  89. package/example/node_modules/expo/src/Expo.fx.tsx +0 -53
  90. package/example/node_modules/expo/src/Expo.fx.web.tsx +0 -21
  91. package/example/node_modules/expo/src/Expo.ts +0 -30
  92. package/example/node_modules/expo/src/devtools/DevToolsPluginClient.ts +0 -240
  93. package/example/node_modules/expo/src/devtools/DevToolsPluginClientFactory.ts +0 -73
  94. package/example/node_modules/expo/src/devtools/DevToolsPluginClientImplApp.ts +0 -56
  95. package/example/node_modules/expo/src/devtools/DevToolsPluginClientImplBrowser.ts +0 -38
  96. package/example/node_modules/expo/src/devtools/MessageFramePacker.ts +0 -235
  97. package/example/node_modules/expo/src/devtools/ProtocolVersion.ts +0 -6
  98. package/example/node_modules/expo/src/devtools/WebSocketBackingStore.ts +0 -10
  99. package/example/node_modules/expo/src/devtools/WebSocketWithReconnect.ts +0 -318
  100. package/example/node_modules/expo/src/devtools/devtools.types.ts +0 -50
  101. package/example/node_modules/expo/src/devtools/getConnectionInfo.native.ts +0 -18
  102. package/example/node_modules/expo/src/devtools/getConnectionInfo.ts +0 -16
  103. package/example/node_modules/expo/src/devtools/index.ts +0 -53
  104. package/example/node_modules/expo/src/devtools/logger.ts +0 -29
  105. package/example/node_modules/expo/src/dom/base.ts +0 -62
  106. package/example/node_modules/expo/src/dom/dom-entry.tsx +0 -128
  107. package/example/node_modules/expo/src/dom/dom-hooks.ts +0 -46
  108. package/example/node_modules/expo/src/dom/dom.ts +0 -8
  109. package/example/node_modules/expo/src/dom/dom.types.ts +0 -39
  110. package/example/node_modules/expo/src/dom/dom.web.ts +0 -6
  111. package/example/node_modules/expo/src/dom/global-events.ts +0 -16
  112. package/example/node_modules/expo/src/dom/injection.ts +0 -42
  113. package/example/node_modules/expo/src/dom/internal.ts +0 -5
  114. package/example/node_modules/expo/src/dom/internal.web.ts +0 -1
  115. package/example/node_modules/expo/src/dom/marshal.tsx +0 -116
  116. package/example/node_modules/expo/src/dom/webview/ExpoDOMWebView.ts +0 -10
  117. package/example/node_modules/expo/src/dom/webview/RNWebView.ts +0 -12
  118. package/example/node_modules/expo/src/dom/webview/useDebugZeroHeight.ts +0 -62
  119. package/example/node_modules/expo/src/dom/webview-wrapper.tsx +0 -253
  120. package/example/node_modules/expo/src/environment/DevLoadingView.tsx +0 -123
  121. package/example/node_modules/expo/src/environment/DevLoadingView.web.tsx +0 -135
  122. package/example/node_modules/expo/src/environment/DevLoadingViewNativeModule.native.ts +0 -3
  123. package/example/node_modules/expo/src/environment/DevLoadingViewNativeModule.ts +0 -7
  124. package/example/node_modules/expo/src/environment/ExpoGo.ts +0 -53
  125. package/example/node_modules/expo/src/environment/ExpoGo.web.ts +0 -7
  126. package/example/node_modules/expo/src/environment/getInitialSafeArea.native.ts +0 -16
  127. package/example/node_modules/expo/src/environment/getInitialSafeArea.ts +0 -8
  128. package/example/node_modules/expo/src/errors/AppEntryNotFound.tsx +0 -35
  129. package/example/node_modules/expo/src/errors/ExpoErrorManager.native.ts +0 -51
  130. package/example/node_modules/expo/src/errors/ExpoErrorManager.ts +0 -11
  131. package/example/node_modules/expo/src/hooks/useEvent.ts +0 -112
  132. package/example/node_modules/expo/src/launch/registerRootComponent.tsx +0 -64
  133. package/example/node_modules/expo/src/launch/withDevTools.ios.tsx +0 -47
  134. package/example/node_modules/expo/src/launch/withDevTools.tsx +0 -30
  135. package/example/node_modules/expo/src/launch/withDevTools.web.tsx +0 -23
  136. package/example/node_modules/expo/src/timer/polyfillNextTick.ts +0 -10
  137. package/example/node_modules/expo/src/ts-declarations/console.d.ts +0 -47
  138. package/example/node_modules/expo/src/ts-declarations/global.d.ts +0 -12
  139. package/example/node_modules/expo/src/ts-declarations/react-native.d.ts +0 -34
  140. package/example/node_modules/expo/src/ts-declarations/whatwg-url-without-unicode.d.ts +0 -186
  141. package/example/node_modules/expo/src/utils/blobUtils.ts +0 -23
  142. package/example/node_modules/expo/src/utils/getBundleUrl.native.ts +0 -17
  143. package/example/node_modules/expo/src/utils/getBundleUrl.ts +0 -5
  144. package/example/node_modules/expo/src/utils/getBundleUrl.web.ts +0 -21
  145. package/example/node_modules/expo/src/winter/FormData.ts +0 -222
  146. package/example/node_modules/expo/src/winter/ImportMetaRegistry.ts +0 -14
  147. package/example/node_modules/expo/src/winter/TextDecoder.ts +0 -429
  148. package/example/node_modules/expo/src/winter/fetch/ExpoFetchModule.ts +0 -3
  149. package/example/node_modules/expo/src/winter/fetch/ExpoFetchModule.web.ts +0 -7
  150. package/example/node_modules/expo/src/winter/fetch/FetchErrors.ts +0 -11
  151. package/example/node_modules/expo/src/winter/fetch/FetchResponse.ts +0 -146
  152. package/example/node_modules/expo/src/winter/fetch/NativeRequest.ts +0 -38
  153. package/example/node_modules/expo/src/winter/fetch/RequestUtils.ts +0 -124
  154. package/example/node_modules/expo/src/winter/fetch/convertFormData.ts +0 -92
  155. package/example/node_modules/expo/src/winter/fetch/fetch.ts +0 -59
  156. package/example/node_modules/expo/src/winter/fetch/fetch.types.ts +0 -17
  157. package/example/node_modules/expo/src/winter/fetch/fetch.web.ts +0 -1
  158. package/example/node_modules/expo/src/winter/fetch/index.ts +0 -2
  159. package/example/node_modules/expo/src/winter/index.ts +0 -1
  160. package/example/node_modules/expo/src/winter/runtime.native.ts +0 -41
  161. package/example/node_modules/expo/src/winter/runtime.ts +0 -5
  162. package/example/node_modules/expo/src/winter/url.ts +0 -116
  163. package/example/node_modules/expo/types/global.d.ts +0 -38
  164. package/example/node_modules/expo/types/index.d.ts +0 -3
  165. package/example/node_modules/expo/types/metro-require.d.ts +0 -52
  166. package/example/node_modules/expo/types/react-native-web.d.ts +0 -291
  167. package/example/node_modules/expo-modules-autolinking/build/ExpoModuleConfig.d.ts +0 -85
  168. package/example/node_modules/expo-modules-autolinking/build/autolinking/findModules.d.ts +0 -5
  169. package/example/node_modules/expo-modules-autolinking/build/autolinking/generatePackageList.d.ts +0 -11
  170. package/example/node_modules/expo-modules-autolinking/build/autolinking/getConfiguration.d.ts +0 -2
  171. package/example/node_modules/expo-modules-autolinking/build/autolinking/index.d.ts +0 -17
  172. package/example/node_modules/expo-modules-autolinking/build/autolinking/mergeLinkingOptions.d.ts +0 -21
  173. package/example/node_modules/expo-modules-autolinking/build/autolinking/resolveModules.d.ts +0 -9
  174. package/example/node_modules/expo-modules-autolinking/build/autolinking/utils.d.ts +0 -6
  175. package/example/node_modules/expo-modules-autolinking/build/autolinking/verifySearchResults.d.ts +0 -5
  176. package/example/node_modules/expo-modules-autolinking/build/fileUtils.d.ts +0 -18
  177. package/example/node_modules/expo-modules-autolinking/build/index.d.ts +0 -1
  178. package/example/node_modules/expo-modules-autolinking/build/platforms/android.d.ts +0 -38
  179. package/example/node_modules/expo-modules-autolinking/build/platforms/apple.d.ts +0 -15
  180. package/example/node_modules/expo-modules-autolinking/build/platforms/devtools.d.ts +0 -3
  181. package/example/node_modules/expo-modules-autolinking/build/reactNativeConfig/androidResolver.d.ts +0 -20
  182. package/example/node_modules/expo-modules-autolinking/build/reactNativeConfig/config.d.ts +0 -5
  183. package/example/node_modules/expo-modules-autolinking/build/reactNativeConfig/index.d.ts +0 -2
  184. package/example/node_modules/expo-modules-autolinking/build/reactNativeConfig/iosResolver.d.ts +0 -2
  185. package/example/node_modules/expo-modules-autolinking/build/reactNativeConfig/reactNativeConfig.d.ts +0 -13
  186. package/example/node_modules/expo-modules-autolinking/build/reactNativeConfig/reactNativeConfig.types.d.ts +0 -95
  187. package/example/node_modules/expo-modules-autolinking/build/types.d.ts +0 -319
  188. package/example/node_modules/expo-modules-autolinking/e2e/TestUtils.ts +0 -53
  189. package/example/node_modules/expo-modules-autolinking/exports.d.ts +0 -1
  190. package/example/node_modules/expo-modules-autolinking/src/ExpoModuleConfig.ts +0 -181
  191. package/example/node_modules/expo-modules-autolinking/src/autolinking/findModules.ts +0 -259
  192. package/example/node_modules/expo-modules-autolinking/src/autolinking/generatePackageList.ts +0 -46
  193. package/example/node_modules/expo-modules-autolinking/src/autolinking/getConfiguration.ts +0 -7
  194. package/example/node_modules/expo-modules-autolinking/src/autolinking/index.ts +0 -45
  195. package/example/node_modules/expo-modules-autolinking/src/autolinking/mergeLinkingOptions.ts +0 -127
  196. package/example/node_modules/expo-modules-autolinking/src/autolinking/resolveModules.ts +0 -46
  197. package/example/node_modules/expo-modules-autolinking/src/autolinking/utils.ts +0 -37
  198. package/example/node_modules/expo-modules-autolinking/src/autolinking/verifySearchResults.ts +0 -33
  199. package/example/node_modules/expo-modules-autolinking/src/fileUtils.ts +0 -64
  200. package/example/node_modules/expo-modules-autolinking/src/index.ts +0 -262
  201. package/example/node_modules/expo-modules-autolinking/src/platforms/android.ts +0 -303
  202. package/example/node_modules/expo-modules-autolinking/src/platforms/apple.ts +0 -292
  203. package/example/node_modules/expo-modules-autolinking/src/platforms/devtools.ts +0 -25
  204. package/example/node_modules/expo-modules-autolinking/src/reactNativeConfig/androidResolver.ts +0 -264
  205. package/example/node_modules/expo-modules-autolinking/src/reactNativeConfig/config.ts +0 -67
  206. package/example/node_modules/expo-modules-autolinking/src/reactNativeConfig/index.ts +0 -2
  207. package/example/node_modules/expo-modules-autolinking/src/reactNativeConfig/iosResolver.ts +0 -37
  208. package/example/node_modules/expo-modules-autolinking/src/reactNativeConfig/reactNativeConfig.ts +0 -245
  209. package/example/node_modules/expo-modules-autolinking/src/reactNativeConfig/reactNativeConfig.types.ts +0 -107
  210. package/example/node_modules/expo-modules-autolinking/src/types.ts +0 -384
  211. package/example/node_modules/find-up/index.d.ts +0 -138
  212. package/example/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
  213. package/example/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  214. package/example/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  215. package/example/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  216. package/example/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
  217. package/example/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  218. package/example/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  219. package/example/node_modules/glob/dist/esm/glob.d.ts +0 -388
  220. package/example/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  221. package/example/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  222. package/example/node_modules/glob/dist/esm/index.d.ts +0 -97
  223. package/example/node_modules/glob/dist/esm/pattern.d.ts +0 -76
  224. package/example/node_modules/glob/dist/esm/processor.d.ts +0 -59
  225. package/example/node_modules/glob/dist/esm/walker.d.ts +0 -97
  226. package/example/node_modules/locate-path/index.d.ts +0 -83
  227. package/example/node_modules/log-symbols/node_modules/chalk/types/index.d.ts +0 -97
  228. package/example/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
  229. package/example/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -20
  230. package/example/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
  231. package/example/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -12
  232. package/example/node_modules/minimatch/dist/commonjs/index.d.ts +0 -94
  233. package/example/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -17
  234. package/example/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
  235. package/example/node_modules/minimatch/dist/esm/ast.d.ts +0 -20
  236. package/example/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
  237. package/example/node_modules/minimatch/dist/esm/escape.d.ts +0 -12
  238. package/example/node_modules/minimatch/dist/esm/index.d.ts +0 -94
  239. package/example/node_modules/minimatch/dist/esm/unescape.d.ts +0 -17
  240. package/example/node_modules/ora/index.d.ts +0 -257
  241. package/example/node_modules/ora/node_modules/chalk/types/index.d.ts +0 -97
  242. package/example/node_modules/ora/node_modules/strip-ansi/index.d.ts +0 -15
  243. package/example/node_modules/p-locate/index.d.ts +0 -53
  244. package/example/node_modules/path-exists/index.d.ts +0 -28
@@ -1,384 +0,0 @@
1
- import { ExpoModuleConfig } from './ExpoModuleConfig';
2
-
3
- type Required<T, K extends keyof T> = T & { [P in K]-?: T[P] };
4
-
5
- type WithRequired<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>> & Required<T, K>;
6
-
7
- export type SupportedPlatform = 'apple' | 'ios' | 'android' | 'web' | 'macos' | 'tvos' | 'devtools';
8
-
9
- /**
10
- * Options that can be passed through `expo.autolinking` config in the package.json file.
11
- */
12
- export type AutolinkingOptions = {
13
- searchPaths?: string[] | null;
14
- ignorePaths?: string[] | null;
15
- exclude?: string[] | null;
16
- flags?: Record<string, any>;
17
- };
18
-
19
- export type AndroidAutolinkingOptions = AutolinkingOptions & {
20
- buildFromSource?: string[] | null;
21
- };
22
-
23
- export type BaseAutolinkingOptions = AutolinkingOptions & {
24
- [key in SupportedPlatform]?: AutolinkingOptions;
25
- };
26
-
27
- export interface PlatformAutolinkingOptions extends BaseAutolinkingOptions {
28
- android?: AndroidAutolinkingOptions;
29
- }
30
-
31
- export interface SearchOptions {
32
- // Available in the CLI
33
- searchPaths: string[];
34
- ignorePaths?: string[] | null;
35
- exclude?: string[] | null;
36
- platform: SupportedPlatform;
37
- silent?: boolean;
38
- nativeModulesDir?: string | null;
39
- projectRoot: string;
40
- /**
41
- * Filter the search results to only include the project dependencies.
42
- * In a monorepo, you may like to set this to false and link all modules from the monorepo.
43
- * @default true
44
- */
45
- onlyProjectDeps?: boolean;
46
-
47
- // Scratched from project's config
48
- flags?: Record<string, any>;
49
-
50
- android?: {
51
- buildFromSource?: string[] | null;
52
- };
53
- }
54
-
55
- export interface ResolveOptions extends SearchOptions {
56
- json?: boolean;
57
- }
58
-
59
- export interface GenerateOptions extends ResolveOptions {
60
- target: string;
61
- namespace?: string;
62
- empty?: boolean;
63
- }
64
-
65
- export interface GenerateModulesProviderOptions extends ResolveOptions {
66
- target: string;
67
- entitlement?: string;
68
- packages: string[];
69
- }
70
-
71
- export type PackageRevision = {
72
- path: string;
73
- version: string;
74
- config?: ExpoModuleConfig;
75
- duplicates?: PackageRevision[];
76
- };
77
-
78
- export type SearchResults = {
79
- [moduleName: string]: PackageRevision;
80
- };
81
-
82
- export interface ModuleAndroidProjectInfo {
83
- name: string;
84
- sourceDir: string;
85
- modules: string[];
86
- publication?: AndroidPublication;
87
- aarProjects?: AndroidGradleAarProjectDescriptor[];
88
- shouldUsePublicationScriptPath?: string;
89
- }
90
-
91
- export interface ModuleAndroidPluginInfo {
92
- id: string;
93
- sourceDir: string;
94
- }
95
-
96
- export interface ModuleAndroidAarProjectInfo extends AndroidGradleAarProjectDescriptor {
97
- projectDir: string;
98
- }
99
-
100
- export interface CommonNativeModuleDescriptor {
101
- packageName: string;
102
- coreFeatures?: string[];
103
- }
104
-
105
- export interface ModuleDescriptorAndroid extends CommonNativeModuleDescriptor {
106
- projects?: ModuleAndroidProjectInfo[];
107
- plugins?: ModuleAndroidPluginInfo[];
108
- }
109
-
110
- export interface ModuleIosPodspecInfo {
111
- podName: string;
112
- podspecDir: string;
113
- }
114
- export interface ModuleDescriptorIos extends CommonNativeModuleDescriptor {
115
- modules: string[];
116
- pods: ModuleIosPodspecInfo[];
117
- flags: Record<string, any> | undefined;
118
- swiftModuleNames: string[];
119
- appDelegateSubscribers: string[];
120
- reactDelegateHandlers: string[];
121
- debugOnly: boolean;
122
- }
123
-
124
- export interface ModuleDescriptorDevTools {
125
- packageName: string;
126
- packageRoot: string;
127
- webpageRoot: string;
128
- }
129
-
130
- export type ModuleDescriptor =
131
- | ModuleDescriptorAndroid
132
- | ModuleDescriptorIos
133
- | ModuleDescriptorDevTools;
134
-
135
- export interface AndroidGradlePluginDescriptor {
136
- /**
137
- * Gradle plugin ID
138
- */
139
- id: string;
140
-
141
- /**
142
- * Artifact group
143
- */
144
- group: string;
145
-
146
- /**
147
- * Relative path to the gradle plugin directory
148
- */
149
- sourceDir: string;
150
-
151
- /**
152
- * Whether to apply the plugin to the root project
153
- * Defaults to true
154
- */
155
- applyToRootProject?: boolean;
156
- }
157
-
158
- export interface AndroidGradleAarProjectDescriptor {
159
- /**
160
- * Gradle project name
161
- */
162
- name: string;
163
-
164
- /**
165
- * Path to the AAR file
166
- */
167
- aarFilePath: string;
168
- }
169
-
170
- /**
171
- * Information about the available publication of an Android AAR file.
172
- */
173
- export interface AndroidPublication {
174
- /**
175
- * The Maven artifact ID.
176
- */
177
- id: string;
178
- /**
179
- * The Maven group ID.
180
- */
181
- group: string;
182
- /**
183
- * The Maven version.
184
- */
185
- version: string;
186
- /**
187
- * The Maven repository.
188
- */
189
- repository: string;
190
- }
191
-
192
- /**
193
- * Represents a raw config specific to Apple platforms.
194
- */
195
- export type RawModuleConfigApple = {
196
- /**
197
- * Names of Swift native modules classes to put to the generated modules provider file.
198
- */
199
- modules?: string[];
200
-
201
- /**
202
- * Names of Swift classes that hooks into `ExpoAppDelegate` to receive AppDelegate life-cycle events.
203
- */
204
- appDelegateSubscribers?: string[];
205
-
206
- /**
207
- * Names of Swift classes that implement `ExpoReactDelegateHandler` to hook React instance creation.
208
- */
209
- reactDelegateHandlers?: string[];
210
-
211
- /**
212
- * Podspec relative path.
213
- * To have multiple podspecs, string array type is also supported.
214
- */
215
- podspecPath?: string | string[];
216
-
217
- /**
218
- * Swift product module name. If empty, the pod name is used for Swift imports.
219
- * To have multiple modules, string array is also supported.
220
- */
221
- swiftModuleName?: string | string[];
222
-
223
- /**
224
- * Whether this module will be added only to the debug configuration.
225
- * Defaults to false.
226
- */
227
- debugOnly?: boolean;
228
- };
229
-
230
- /**
231
- * Represents a raw config specific to Android platforms.
232
- */
233
- export type RawAndroidProjectConfig = {
234
- /**
235
- * The name of the project. It will be used as the Gradle project name.
236
- */
237
- name?: string;
238
-
239
- /**
240
- * The path to the project directory. Should contain the `build.gradle{.kts}` file.
241
- * It's relative to the module root directory.
242
- */
243
- path?: string;
244
-
245
- /**
246
- * Information about the available publication of an Android AAR file
247
- */
248
- publication?: AndroidPublication;
249
-
250
- /**
251
- * The path to the script that determines whether the publication should be used.
252
- * Evaluate in the context of the `settings.gradle` file.
253
- * Won't be run if the publication is not defined.
254
- */
255
- shouldUsePublicationScriptPath?: string;
256
- /**
257
- * Names of the modules to be linked in the project.
258
- */
259
- modules?: string[];
260
-
261
- /**
262
- * Prebuilded AAR projects.
263
- */
264
- gradleAarProjects?: AndroidGradleAarProjectDescriptor[];
265
- };
266
-
267
- export type RawAndroidConfig = {
268
- projects?: WithRequired<RawAndroidProjectConfig, 'name' | 'path'>[];
269
- /**
270
- * Gradle plugins.
271
- */
272
- gradlePlugins?: AndroidGradlePluginDescriptor[];
273
-
274
- /**
275
- * Gradle projects containing AAR files.
276
- */
277
- } & RawAndroidProjectConfig;
278
-
279
- /**
280
- * Represents a raw config from `expo-module.json`.
281
- */
282
- export interface RawExpoModuleConfig {
283
- /**
284
- * An array of supported platforms.
285
- */
286
- platforms?: SupportedPlatform[];
287
-
288
- /**
289
- * A config for all Apple platforms.
290
- */
291
- apple?: RawModuleConfigApple;
292
-
293
- /**
294
- * The legacy config previously used for iOS platform. For backwards compatibility it's used as the fallback for `apple`.
295
- * @deprecated As the module can now support more than iOS platform, use the generic `apple` config instead.
296
- */
297
- ios?: RawModuleConfigApple;
298
-
299
- /**
300
- * Android-specific config.
301
- */
302
- android?: RawAndroidConfig;
303
-
304
- /**
305
- * List of core features that this module requires.
306
- */
307
- coreFeatures?: string[];
308
-
309
- /**
310
- * DevTools-specific config.
311
- */
312
- devtools?: {
313
- /**
314
- * The webpage root directory for Expo CLI DevTools to serve the web resources.
315
- */
316
- webpageRoot: string;
317
- };
318
- }
319
-
320
- interface AndroidMavenRepositoryPasswordCredentials {
321
- username: string;
322
- password: string;
323
- }
324
-
325
- interface AndroidMavenRepositoryHttpHeaderCredentials {
326
- name: string;
327
- value: string;
328
- }
329
-
330
- interface AndroidMavenRepositoryAWSCredentials {
331
- accessKey: string;
332
- secretKey: string;
333
- sessionToken?: string;
334
- }
335
-
336
- type AndroidMavenRepositoryCredentials =
337
- | AndroidMavenRepositoryPasswordCredentials
338
- | AndroidMavenRepositoryHttpHeaderCredentials
339
- | AndroidMavenRepositoryAWSCredentials;
340
-
341
- export interface AndroidMavenRepository {
342
- /**
343
- * The URL of the Maven repository.
344
- */
345
- url: string;
346
- /**
347
- * The credentials to use when accessing the Maven repository.
348
- * May be of type PasswordCredentials, HttpHeaderCredentials, or AWSCredentials.
349
- *
350
- * @see the authentication schemes section of [Gradle documentation](https://docs.gradle.org/current/userguide/declaring_repositories.html#sec:authentication_schemes) for more information.
351
- */
352
- credentials?: AndroidMavenRepositoryCredentials;
353
- /**
354
- * The authentication scheme to use when accessing the Maven repository.
355
- */
356
- authentication?: 'basic' | 'digest' | 'header';
357
- }
358
-
359
- interface ApplePod {
360
- name: string;
361
- version?: string;
362
- configurations?: string[];
363
- modular_headers?: boolean;
364
- source?: string;
365
- path?: string;
366
- podspec?: string;
367
- testspecs?: string[];
368
- git?: string;
369
- branch?: string;
370
- tag?: string;
371
- commit?: string;
372
- }
373
-
374
- export type ExtraDependencies = AndroidMavenRepository[] | ApplePod[];
375
-
376
- /**
377
- * Represents code signing entitlements passed to the `ExpoModulesProvider` for Apple platforms.
378
- */
379
- export interface AppleCodeSignEntitlements {
380
- /**
381
- * @see https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_application-groups
382
- */
383
- appGroups?: string[];
384
- }
@@ -1,138 +0,0 @@
1
- /* eslint-disable @typescript-eslint/unified-signatures */
2
- import {Options as LocatePathOptions} from 'locate-path';
3
-
4
- declare const stop: unique symbol;
5
-
6
- declare namespace findUp {
7
- interface Options extends LocatePathOptions {}
8
-
9
- type StopSymbol = typeof stop;
10
-
11
- type Match = string | StopSymbol | undefined;
12
- }
13
-
14
- declare const findUp: {
15
- sync: {
16
- /**
17
- Synchronously check if a path exists.
18
-
19
- @param path - Path to the file or directory.
20
- @returns Whether the path exists.
21
-
22
- @example
23
- ```
24
- import findUp = require('find-up');
25
-
26
- console.log(findUp.sync.exists('/Users/sindresorhus/unicorn.png'));
27
- //=> true
28
- ```
29
- */
30
- exists: (path: string) => boolean;
31
-
32
- /**
33
- Synchronously find a file or directory by walking up parent directories.
34
-
35
- @param name - Name of the file or directory to find. Can be multiple.
36
- @returns The first path found (by respecting the order of `name`s) or `undefined` if none could be found.
37
- */
38
- (name: string | readonly string[], options?: findUp.Options): string | undefined;
39
-
40
- /**
41
- Synchronously find a file or directory by walking up parent directories.
42
-
43
- @param matcher - Called for each directory in the search. Return a path or `findUp.stop` to stop the search.
44
- @returns The first path found or `undefined` if none could be found.
45
-
46
- @example
47
- ```
48
- import path = require('path');
49
- import findUp = require('find-up');
50
-
51
- console.log(findUp.sync(directory => {
52
- const hasUnicorns = findUp.sync.exists(path.join(directory, 'unicorn.png'));
53
- return hasUnicorns && directory;
54
- }, {type: 'directory'}));
55
- //=> '/Users/sindresorhus'
56
- ```
57
- */
58
- (matcher: (directory: string) => findUp.Match, options?: findUp.Options): string | undefined;
59
- };
60
-
61
- /**
62
- Check if a path exists.
63
-
64
- @param path - Path to a file or directory.
65
- @returns Whether the path exists.
66
-
67
- @example
68
- ```
69
- import findUp = require('find-up');
70
-
71
- (async () => {
72
- console.log(await findUp.exists('/Users/sindresorhus/unicorn.png'));
73
- //=> true
74
- })();
75
- ```
76
- */
77
- exists: (path: string) => Promise<boolean>;
78
-
79
- /**
80
- Return this in a `matcher` function to stop the search and force `findUp` to immediately return `undefined`.
81
- */
82
- readonly stop: findUp.StopSymbol;
83
-
84
- /**
85
- Find a file or directory by walking up parent directories.
86
-
87
- @param name - Name of the file or directory to find. Can be multiple.
88
- @returns The first path found (by respecting the order of `name`s) or `undefined` if none could be found.
89
-
90
- @example
91
- ```
92
- // /
93
- // └── Users
94
- // └── sindresorhus
95
- // ├── unicorn.png
96
- // └── foo
97
- // └── bar
98
- // ├── baz
99
- // └── example.js
100
-
101
- // example.js
102
- import findUp = require('find-up');
103
-
104
- (async () => {
105
- console.log(await findUp('unicorn.png'));
106
- //=> '/Users/sindresorhus/unicorn.png'
107
-
108
- console.log(await findUp(['rainbow.png', 'unicorn.png']));
109
- //=> '/Users/sindresorhus/unicorn.png'
110
- })();
111
- ```
112
- */
113
- (name: string | readonly string[], options?: findUp.Options): Promise<string | undefined>;
114
-
115
- /**
116
- Find a file or directory by walking up parent directories.
117
-
118
- @param matcher - Called for each directory in the search. Return a path or `findUp.stop` to stop the search.
119
- @returns The first path found or `undefined` if none could be found.
120
-
121
- @example
122
- ```
123
- import path = require('path');
124
- import findUp = require('find-up');
125
-
126
- (async () => {
127
- console.log(await findUp(async directory => {
128
- const hasUnicorns = await findUp.exists(path.join(directory, 'unicorn.png'));
129
- return hasUnicorns && directory;
130
- }, {type: 'directory'}));
131
- //=> '/Users/sindresorhus'
132
- })();
133
- ```
134
- */
135
- (matcher: (directory: string) => (findUp.Match | Promise<findUp.Match>), options?: findUp.Options): Promise<string | undefined>;
136
- };
137
-
138
- export = findUp;