react-native-nitro-ark 0.0.56 → 0.0.58
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.
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
# include(${CMAKE_SOURCE_DIR}/../nitrogen/generated/android/NitroArk+autolinking.cmake)
|
|
14
14
|
# ```
|
|
15
15
|
|
|
16
|
+
# Define a flag to check if we are building properly
|
|
17
|
+
add_definitions(-DBUILDING_NITROARK_WITH_GENERATED_CMAKE_PROJECT)
|
|
18
|
+
|
|
19
|
+
# Enable Raw Props parsing in react-native (for Nitro Views)
|
|
20
|
+
add_definitions(-DRN_SERIALIZABLE_STATE)
|
|
21
|
+
|
|
16
22
|
# Add all headers that were generated by Nitrogen
|
|
17
23
|
include_directories(
|
|
18
24
|
"../nitrogen/generated/shared/c++"
|
|
@@ -32,12 +38,9 @@ target_sources(
|
|
|
32
38
|
|
|
33
39
|
)
|
|
34
40
|
|
|
35
|
-
# Define a flag to check if we are building properly
|
|
36
|
-
add_definitions(-DBUILDING_NITROARK_WITH_GENERATED_CMAKE_PROJECT)
|
|
37
|
-
|
|
38
41
|
# From node_modules/react-native/ReactAndroid/cmake-utils/folly-flags.cmake
|
|
39
42
|
# Used in node_modules/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake
|
|
40
|
-
|
|
43
|
+
target_compile_definitions(
|
|
41
44
|
NitroArk PRIVATE
|
|
42
45
|
-DFOLLY_NO_CONFIG=1
|
|
43
46
|
-DFOLLY_HAVE_CLOCK_GETTIME=1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-nitro-ark",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.58",
|
|
4
4
|
"description": "Pure C++ Nitro Modules for Ark client",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/module/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
41
41
|
"clean": "del-cli android/build android/.cxx example/android/build example/android/app/build example/android/app/.cxx example/ios/build lib",
|
|
42
42
|
"prepare": "bob build",
|
|
43
|
-
"nitrogen": "rm -rf nitrogen &&
|
|
43
|
+
"nitrogen": "rm -rf nitrogen && nitrogen",
|
|
44
44
|
"release": "release-it"
|
|
45
45
|
},
|
|
46
46
|
"keywords": [
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@eslint/eslintrc": "^3.3.0",
|
|
73
73
|
"@eslint/js": "^9.22.0",
|
|
74
74
|
"@evilmartians/lefthook": "^1.5.0",
|
|
75
|
-
"@react-native/eslint-config": "^0.81.
|
|
75
|
+
"@react-native/eslint-config": "^0.81.4",
|
|
76
76
|
"@release-it/conventional-changelog": "^9.0.2",
|
|
77
77
|
"@types/jest": "^29.5.5",
|
|
78
78
|
"@types/react": "^19.0.10",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"eslint-config-prettier": "^10.1.1",
|
|
83
83
|
"eslint-plugin-prettier": "^5.2.3",
|
|
84
84
|
"jest": "^29.7.0",
|
|
85
|
-
"
|
|
85
|
+
"nitrogen": "^0.29.8",
|
|
86
86
|
"prettier": "^3.0.3",
|
|
87
87
|
"react": "19.1.0",
|
|
88
|
-
"react-native": "0.81.
|
|
88
|
+
"react-native": "0.81.4",
|
|
89
89
|
"react-native-builder-bob": "^0.40.13",
|
|
90
|
-
"react-native-nitro-modules": "^0.29.
|
|
90
|
+
"react-native-nitro-modules": "^0.29.8",
|
|
91
91
|
"release-it": "^17.10.0",
|
|
92
92
|
"turbo": "^1.10.7",
|
|
93
93
|
"typescript": "^5.2.2"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"react": "*",
|
|
97
97
|
"react-native": "*",
|
|
98
|
-
"react-native-nitro-modules": "^0.29.
|
|
98
|
+
"react-native-nitro-modules": "^0.29.8"
|
|
99
99
|
},
|
|
100
100
|
"workspaces": [
|
|
101
101
|
"example"
|