react-native-windows 0.81.27 → 0.81.29

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 (39) hide show
  1. package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +3 -2
  2. package/Microsoft.ReactNative/Modules/NativeUIManager.cpp +2 -1
  3. package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +1 -0
  4. package/Microsoft.ReactNative/Utils/LocalBundleReader.cpp +33 -25
  5. package/Microsoft.ReactNative/Utils/LocalBundleReader.h +5 -3
  6. package/Microsoft.ReactNative/Utils/PropertyUtils.h +1 -1
  7. package/Microsoft.ReactNative/Utils/UwpScriptStore.cpp +2 -2
  8. package/Microsoft.ReactNative/Utils/UwpScriptStore.h +3 -2
  9. package/Microsoft.ReactNative/Views/FrameworkElementViewManager.cpp +1 -1
  10. package/Microsoft.ReactNative/Views/ScrollViewManager.cpp +5 -5
  11. package/Microsoft.ReactNative/Views/TextViewManager.cpp +1 -1
  12. package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems +16 -0
  13. package/Microsoft.ReactNative.Cxx/NativeModules.h +2 -1
  14. package/Microsoft.ReactNative.Managed/Microsoft.ReactNative.Managed.csproj +3 -3
  15. package/Microsoft.ReactNative.Managed.CodeGen/Microsoft.ReactNative.Managed.CodeGen.csproj +8 -18
  16. package/Microsoft.ReactNative.Managed.CodeGen/Properties/PublishProfiles/DeployAsTool-Debug.pubxml +1 -1
  17. package/Microsoft.ReactNative.Managed.CodeGen/Properties/PublishProfiles/DeployAsTool-Release.pubxml +1 -1
  18. package/PropertySheets/Generated/PackageVersion.g.props +3 -3
  19. package/PropertySheets/React.Cpp.props +4 -3
  20. package/PropertySheets/WinUI.props +2 -2
  21. package/Scripts/JustMyXaml.ps1 +8 -8
  22. package/Scripts/NuGetRestoreForceEvaluateAllSolutions.ps1 +12 -18
  23. package/Scripts/UnitTest.ps1 +3 -1
  24. package/Scripts/rnw-dependencies.ps1 +27 -14
  25. package/Shared/DevSettings.h +2 -0
  26. package/Shared/DevSupportManager.cpp +55 -48
  27. package/Shared/DevSupportManager.h +0 -1
  28. package/Shared/Hermes/HermesSamplingProfiler.cpp +2 -4
  29. package/Shared/HermesRuntimeHolder.cpp +1 -2
  30. package/Shared/Modules/IWebSocketModuleContentHandler.h +15 -0
  31. package/Shared/Modules/WebSocketModule.cpp +8 -3
  32. package/Shared/Networking/DefaultBlobResource.cpp +37 -0
  33. package/Shared/Networking/DefaultBlobResource.h +12 -0
  34. package/Shared/Networking/WinRTWebSocketResource.h +5 -1
  35. package/codegen/rnwcoreJSI-generated.cpp +419 -419
  36. package/just-task.js +13 -2
  37. package/package.json +3 -3
  38. package/templates/cpp-app/windows/MyApp/MyApp.vcxproj +1 -1
  39. package/templates/cpp-lib/windows/MyLib/MyLib.vcxproj +1 -1
package/just-task.js CHANGED
@@ -22,6 +22,7 @@ require('@rnw-scripts/just-task/flow-tasks');
22
22
 
23
23
  const {execSync} = require('child_process');
24
24
  const fs = require('fs');
25
+ const {findPowerShell} = require('@react-native-windows/find-dotnet-tools');
25
26
 
26
27
  option('production');
27
28
  option('clean');
@@ -43,9 +44,9 @@ function codegen(test) {
43
44
 
44
45
  function layoutMSRNCxx() {
45
46
  if (require('os').platform() === 'win32') {
46
- const powershell = `${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;
47
+ const powershell = findPowerShell();
47
48
  execSync(
48
- `${powershell} -NoProfile .\\Scripts\\Tfs\\Layout-MSRN-Headers.ps1 -GenerateLocalCxx`,
49
+ `"${powershell}" -NoProfile .\\Scripts\\Tfs\\Layout-MSRN-Headers.ps1 -GenerateLocalCxx`,
49
50
  {
50
51
  env: process.env,
51
52
  },
@@ -71,12 +72,22 @@ task('copyReadmeAndLicenseFromRoot', () => {
71
72
 
72
73
  task('compileTsPlatformOverrides', tscTask());
73
74
 
75
+ function installDotnetToolsTask() {
76
+ execSync(
77
+ `dotnet tool restore --tool-manifest ${path.resolve(__dirname, 'dotnet-tools.json')}`,
78
+ {env: process.env},
79
+ );
80
+ }
81
+
82
+ task('installDotnetTools', installDotnetToolsTask);
83
+
74
84
  task(
75
85
  'build',
76
86
  series(
77
87
  condition('clean', () => argv().clean),
78
88
  'copyRNLibraries',
79
89
  'copyReadmeAndLicenseFromRoot',
90
+ condition('installDotnetTools', () => !process.env.TF_BUILD),
80
91
  'layoutMSRNCxx',
81
92
  'compileTsPlatformOverrides',
82
93
  'codegen',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.81.27",
3
+ "version": "0.81.29",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "@react-native-community/cli": "17.0.0",
27
27
  "@react-native-community/cli-platform-android": "17.0.0",
28
28
  "@react-native-community/cli-platform-ios": "17.0.0",
29
- "@react-native-windows/cli": "0.81.5",
29
+ "@react-native-windows/cli": "0.81.6",
30
30
  "@react-native/assets": "1.0.0",
31
31
  "@react-native/assets-registry": "0.81.6",
32
32
  "@react-native/codegen": "0.81.6",
@@ -68,7 +68,7 @@
68
68
  "yargs": "^17.6.2"
69
69
  },
70
70
  "devDependencies": {
71
- "@react-native-windows/codegen": "0.81.5",
71
+ "@react-native-windows/codegen": "0.81.6",
72
72
  "@react-native/metro-config": "0.81.6",
73
73
  "@rnw-scripts/babel-react-native-config": "0.0.0",
74
74
  "@rnw-scripts/eslint-config": "1.2.37",
@@ -50,7 +50,7 @@
50
50
  <PropertyGroup Label="Configuration">
51
51
  <ConfigurationType>Application</ConfigurationType>
52
52
  <CharacterSet>Unicode</CharacterSet>
53
- <PlatformToolset>v143</PlatformToolset>
53
+ <PlatformToolset>v145</PlatformToolset>
54
54
  </PropertyGroup>
55
55
  <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
56
56
  <UseDebugLibraries>true</UseDebugLibraries>
@@ -49,7 +49,7 @@
49
49
  <PropertyGroup Label="Configuration">
50
50
  <ConfigurationType>DynamicLibrary</ConfigurationType>
51
51
  <CharacterSet>Unicode</CharacterSet>
52
- <PlatformToolset>v143</PlatformToolset>
52
+ <PlatformToolset>v145</PlatformToolset>
53
53
  <GenerateManifest>false</GenerateManifest>
54
54
  </PropertyGroup>
55
55
  <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">