@expensify/react-native-live-markdown 0.1.147 → 0.1.149

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.
@@ -18,18 +18,17 @@ find_package(fbjni REQUIRED CONFIG)
18
18
  find_package(ReactAndroid REQUIRED CONFIG)
19
19
  find_package(hermes-engine REQUIRED CONFIG)
20
20
 
21
+ target_link_libraries(
22
+ ${CMAKE_PROJECT_NAME}
23
+ fbjni::fbjni
24
+ hermes-engine::libhermes
25
+ ReactAndroid::jsi
26
+ )
27
+
21
28
  if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
22
- target_link_libraries(${CMAKE_PROJECT_NAME}
23
- fbjni::fbjni
24
- ReactAndroid::jsi
25
- ReactAndroid::reactnative
26
- hermes-engine::libhermes)
29
+ target_link_libraries(${CMAKE_PROJECT_NAME} ReactAndroid::reactnative)
27
30
  elseif (ReactAndroid_VERSION_MINOR GREATER_EQUAL 75)
28
- target_link_libraries(${CMAKE_PROJECT_NAME}
29
- fbjni::fbjni
30
- ReactAndroid::jsi
31
- ReactAndroid::reactnativejni
32
- hermes-engine::libhermes)
31
+ target_link_libraries(${CMAKE_PROJECT_NAME} ReactAndroid::reactnativejni)
33
32
  else ()
34
33
  message(FATAL_ERROR "react-native-live-markdown requires react-native 0.75 or newer.")
35
34
  endif ()
@@ -18,84 +18,76 @@ file(GLOB LIB_CODEGEN_SRCS CONFIGURE_DEPENDS ${LIB_ANDROID_GENERATED_COMPONENTS_
18
18
  set(RN_DIR ${LIB_ANDROID_DIR}/../example/node_modules/react-native)
19
19
 
20
20
  add_library(
21
- ${LIB_TARGET_NAME}
22
- SHARED
23
- ${LIB_MODULE_SRCS}
24
- ${LIB_CUSTOM_SRCS}
25
- ${LIB_CODEGEN_SRCS}
21
+ ${LIB_TARGET_NAME}
22
+ SHARED
23
+ ${LIB_MODULE_SRCS}
24
+ ${LIB_CUSTOM_SRCS}
25
+ ${LIB_CODEGEN_SRCS}
26
26
  )
27
27
 
28
28
  target_include_directories(
29
- ${LIB_TARGET_NAME}
30
- PUBLIC
31
- .
32
- ${LIB_ANDROID_GENERATED_JNI_DIR}
33
- ${LIB_ANDROID_GENERATED_COMPONENTS_DIR}
34
- ${LIB_CPP_DIR}
29
+ ${LIB_TARGET_NAME}
30
+ PUBLIC
31
+ .
32
+ ${LIB_ANDROID_GENERATED_JNI_DIR}
33
+ ${LIB_ANDROID_GENERATED_COMPONENTS_DIR}
34
+ ${LIB_CPP_DIR}
35
35
  )
36
36
 
37
+ find_package(fbjni REQUIRED CONFIG)
37
38
  find_package(ReactAndroid REQUIRED CONFIG)
38
39
 
40
+ target_link_libraries(
41
+ ${LIB_TARGET_NAME}
42
+ fbjni::fbjni
43
+ ReactAndroid::jsi
44
+ )
45
+
39
46
  if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
40
47
  target_link_libraries(
41
- ${LIB_TARGET_NAME}
42
- ReactAndroid::reactnative
43
- ReactAndroid::jsi
44
- fbjni::fbjni
48
+ ${LIB_TARGET_NAME}
49
+ ReactAndroid::reactnative
45
50
  )
46
51
  elseif (ReactAndroid_VERSION_MINOR GREATER_EQUAL 75)
47
52
  target_link_libraries(
48
- ${LIB_TARGET_NAME}
49
- ReactAndroid::rrc_text
50
- ReactAndroid::rrc_textinput
51
- ReactAndroid::react_render_textlayoutmanager
52
- ReactAndroid::react_render_imagemanager
53
- ReactAndroid::reactnativejni
54
- ReactAndroid::mapbufferjni
55
- fabricjni
56
- fbjni
57
- folly_runtime
58
- glog
59
- jsi
60
- react_codegen_rncore
61
- react_debug
62
- react_nativemodule_core
63
- react_render_core
64
- react_render_debug
65
- react_render_graphics
66
- react_render_mapbuffer
67
- ReactAndroid::react_render_uimanager
68
- ReactAndroid::react_render_scheduler
69
- react_utils
70
- runtimeexecutor
71
- rrc_view
72
- turbomodulejsijni
73
- yoga
74
- android
75
- log
76
- mapbufferjni
77
- reactnativejni
78
- react_render_consistency
79
- react_performance_timeline
80
- react_render_observers_events
81
- react_featureflags
53
+ ${LIB_TARGET_NAME}
54
+ ReactAndroid::fabricjni
55
+ ReactAndroid::folly_runtime
56
+ ReactAndroid::glog
57
+ ReactAndroid::react_debug
58
+ ReactAndroid::react_nativemodule_core
59
+ ReactAndroid::react_performance_timeline
60
+ ReactAndroid::react_render_consistency
61
+ ReactAndroid::react_render_core
62
+ ReactAndroid::react_render_debug
63
+ ReactAndroid::react_render_graphics
64
+ ReactAndroid::react_render_imagemanager
65
+ ReactAndroid::react_render_mapbuffer
66
+ ReactAndroid::react_render_observers_events
67
+ ReactAndroid::react_render_textlayoutmanager
68
+ ReactAndroid::reactnativejni
69
+ ReactAndroid::rrc_text
70
+ ReactAndroid::rrc_textinput
71
+ ReactAndroid::rrc_view
72
+ ReactAndroid::runtimeexecutor
73
+ ReactAndroid::yoga
82
74
  )
83
75
  else ()
84
76
  message(FATAL_ERROR "react-native-live-markdown requires react-native 0.75 or newer.")
85
77
  endif ()
86
78
 
87
79
  target_compile_options(
88
- ${LIB_TARGET_NAME}
89
- PRIVATE
90
- -DLOG_TAG=\"ReactNative\"
91
- -fexceptions
92
- -frtti
93
- -Wall
94
- -std=c++20
80
+ ${LIB_TARGET_NAME}
81
+ PRIVATE
82
+ -DLOG_TAG=\"ReactNative\"
83
+ -fexceptions
84
+ -frtti
85
+ -Wall
86
+ -std=c++20
95
87
  )
96
88
 
97
89
  target_include_directories(
98
- ${CMAKE_PROJECT_NAME}
99
- PUBLIC
100
- ${CMAKE_CURRENT_SOURCE_DIR}
90
+ ${CMAKE_PROJECT_NAME}
91
+ PUBLIC
92
+ ${CMAKE_CURRENT_SOURCE_DIR}
101
93
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expensify/react-native-live-markdown",
3
- "version": "0.1.147",
3
+ "version": "0.1.149",
4
4
  "description": "Drop-in replacement for React Native's TextInput component with Markdown formatting.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",