react-native-windows 0.79.0-preview.1 → 0.79.0
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.
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#include "pch.h"
|
|
5
5
|
#include "IReactModuleBuilder.h"
|
|
6
|
+
#include <IReactContext.h>
|
|
6
7
|
#include <strsafe.h>
|
|
7
8
|
#include "DynamicWriter.h"
|
|
8
9
|
#include "ReactHost/MsoUtils.h"
|
|
@@ -159,6 +160,13 @@ std::unique_ptr<CxxModule> ReactModuleBuilder::MakeCxxModule(
|
|
|
159
160
|
for (auto &initializer : m_initializers) {
|
|
160
161
|
initializer(m_reactContext);
|
|
161
162
|
}
|
|
163
|
+
for (auto &initializer : m_jsiinitializers) {
|
|
164
|
+
initializer(
|
|
165
|
+
m_reactContext,
|
|
166
|
+
winrt::get_self<winrt::Microsoft::ReactNative::implementation::ReactContext>(m_reactContext)
|
|
167
|
+
->GetInner()
|
|
168
|
+
.JsiRuntime());
|
|
169
|
+
}
|
|
162
170
|
return std::make_unique<ABICxxModule>(
|
|
163
171
|
nativeModule, Mso::Copy(name), Mso::Copy(m_constantProviders), Mso::Copy(m_methods));
|
|
164
172
|
}
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.79.0
|
|
13
|
+
<ReactNativeWindowsVersion>0.79.0</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>79</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>94f97f4e9f173382c89474ac8ff2b42dbec69b71</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
9
9
|
|
|
10
|
+
#ifdef __cplusplus
|
|
11
|
+
|
|
10
12
|
#include <ReactCommon/RuntimeExecutor.h>
|
|
11
13
|
#include <cxxreact/MessageQueueThread.h>
|
|
12
14
|
#include <jsinspector-modern/ConsoleMessage.h>
|
|
@@ -85,3 +87,5 @@ class JSIRuntimeHolder : public JSRuntime {
|
|
|
85
87
|
};
|
|
86
88
|
|
|
87
89
|
} // namespace facebook::react
|
|
90
|
+
|
|
91
|
+
#endif // __cplusplus
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.79.0
|
|
3
|
+
"version": "0.79.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/runtime": "^7.0.0",
|
|
25
25
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
26
|
-
"@react-native-community/cli": "15.0.0
|
|
27
|
-
"@react-native-community/cli-platform-android": "15.0.0
|
|
28
|
-
"@react-native-community/cli-platform-ios": "15.0.0
|
|
29
|
-
"@react-native-windows/cli": "0.79.0
|
|
26
|
+
"@react-native-community/cli": "^15.0.0",
|
|
27
|
+
"@react-native-community/cli-platform-android": "^15.0.0",
|
|
28
|
+
"@react-native-community/cli-platform-ios": "^15.0.0",
|
|
29
|
+
"@react-native-windows/cli": "0.79.0",
|
|
30
30
|
"@react-native/assets": "1.0.0",
|
|
31
|
-
"@react-native/assets-registry": "0.79.0
|
|
32
|
-
"@react-native/codegen": "0.79.0
|
|
33
|
-
"@react-native/community-cli-plugin": "0.79.0
|
|
34
|
-
"@react-native/gradle-plugin": "0.79.0
|
|
35
|
-
"@react-native/js-polyfills": "0.79.0
|
|
36
|
-
"@react-native/normalize-colors": "0.79.0
|
|
37
|
-
"@react-native/virtualized-lists": "0.79.0
|
|
31
|
+
"@react-native/assets-registry": "0.79.0",
|
|
32
|
+
"@react-native/codegen": "0.79.0",
|
|
33
|
+
"@react-native/community-cli-plugin": "0.79.0",
|
|
34
|
+
"@react-native/gradle-plugin": "0.79.0",
|
|
35
|
+
"@react-native/js-polyfills": "0.79.0",
|
|
36
|
+
"@react-native/normalize-colors": "0.79.0",
|
|
37
|
+
"@react-native/virtualized-lists": "0.79.0",
|
|
38
38
|
"abort-controller": "^3.0.0",
|
|
39
39
|
"anser": "^1.4.9",
|
|
40
40
|
"ansi-regex": "^5.0.0",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"invariant": "^2.2.4",
|
|
50
50
|
"jest-environment-node": "^29.7.0",
|
|
51
51
|
"memoize-one": "^5.0.0",
|
|
52
|
-
"metro-runtime": "^0.
|
|
53
|
-
"metro-source-map": "^0.
|
|
52
|
+
"metro-runtime": "^0.82.0",
|
|
53
|
+
"metro-source-map": "^0.82.0",
|
|
54
54
|
"mkdirp": "^0.5.1",
|
|
55
55
|
"nullthrows": "^1.1.1",
|
|
56
56
|
"pretty-format": "^29.7.0",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"yargs": "^17.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@react-native-windows/codegen": "0.79.0
|
|
71
|
-
"@react-native/metro-config": "0.79.0
|
|
70
|
+
"@react-native-windows/codegen": "0.79.0",
|
|
71
|
+
"@react-native/metro-config": "0.79.0",
|
|
72
72
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
73
73
|
"@rnw-scripts/eslint-config": "1.2.36",
|
|
74
74
|
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.40",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"just-scripts": "^1.3.3",
|
|
84
84
|
"prettier": "2.8.8",
|
|
85
85
|
"react": "19.0.0",
|
|
86
|
-
"react-native": "0.79.0
|
|
86
|
+
"react-native": "0.79.0",
|
|
87
87
|
"react-native-platform-override": "^1.9.55",
|
|
88
88
|
"react-refresh": "^0.14.0",
|
|
89
89
|
"typescript": "5.0.4"
|
|
@@ -91,14 +91,14 @@
|
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@types/react": "^19.0.0",
|
|
93
93
|
"react": "^19.0.0",
|
|
94
|
-
"react-native": "0.79.0
|
|
94
|
+
"react-native": "^0.79.0"
|
|
95
95
|
},
|
|
96
96
|
"beachball": {
|
|
97
|
-
"defaultNpmTag": "
|
|
97
|
+
"defaultNpmTag": "latest",
|
|
98
98
|
"disallowedChangeTypes": [
|
|
99
99
|
"major",
|
|
100
100
|
"minor",
|
|
101
|
-
"
|
|
101
|
+
"prerelease",
|
|
102
102
|
"premajor",
|
|
103
103
|
"preminor",
|
|
104
104
|
"prepatch"
|