react-native-windows 0.84.0-preview.4 → 0.84.0-preview.5
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.
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +1 -1
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CSharpApp.targets +1 -1
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CppApp.targets +1 -1
- package/PropertySheets/Generated/PackageVersion.g.props +2 -2
- package/PropertySheets/JSEngine.props +2 -1
- package/Scripts/Tfs/Invoke-WebRequestWithRetry.ps1 +40 -0
- package/package.json +2 -2
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
<ItemGroup>
|
|
429
429
|
<PackageReference Include="boost" Version="1.84.0.0" />
|
|
430
430
|
<PackageReference Include="Microsoft.Windows.CppWinRT" Version="$(CppWinRTVersion)" PrivateAssets="all" />
|
|
431
|
-
<PackageReference Include="
|
|
431
|
+
<PackageReference Include="$(HermesPackageName)" Version="$(HermesVersion)" />
|
|
432
432
|
<PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" Condition="'$(OverrideWinUIPackage)'!='true'" />
|
|
433
433
|
<PackageReference Include="$(V8PackageName)" Version="$(V8Version)" Condition="'$(UseV8)' == 'true'" />
|
|
434
434
|
</ItemGroup>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<!-- WinUI package name and version are set by WinUI.props -->
|
|
26
26
|
<PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" Condition="'$(OverrideWinUIPackage)'!='true'" />
|
|
27
27
|
<!-- Hermes version is set by JSEngine.props -->
|
|
28
|
-
<PackageReference Include="
|
|
28
|
+
<PackageReference Include="$(HermesPackageName)" Version="$(HermesVersion)" />
|
|
29
29
|
</ItemGroup>
|
|
30
30
|
|
|
31
31
|
<Import Project="$(ReactNativeWindowsDir)PropertySheets\ManagedCodeGen\Microsoft.ReactNative.Managed.CodeGen.targets"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<!-- WinUI package name and version are set by WinUI.props -->
|
|
26
26
|
<PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" Condition="'$(OverrideWinUIPackage)'!='true'" />
|
|
27
27
|
<!-- Hermes version is set by JSEngine.props -->
|
|
28
|
-
<PackageReference Include="
|
|
28
|
+
<PackageReference Include="$(HermesPackageName)" Version="$(HermesVersion)" />
|
|
29
29
|
</ItemGroup>
|
|
30
30
|
|
|
31
31
|
<!-- The props file for bundling is not set up to be just defaults, it assumes to be run at the end of the project. -->
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.84.0-preview.
|
|
13
|
+
<ReactNativeWindowsVersion>0.84.0-preview.5</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>84</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>4065de3a56f0db924a7b8849b5946af2472ee050</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
<UseHermes Condition="'$(UseHermes)' == ''">true</UseHermes>
|
|
8
8
|
<!-- This will be true if (1) the client want to use hermes by setting UseHermes to true OR (2) We are building for UWP where dynamic switching is enabled -->
|
|
9
9
|
<HermesVersion Condition="'$(HermesVersion)' == ''">0.0.0-2512.22001-bc3d0ed7</HermesVersion>
|
|
10
|
+
<HermesPackageName Condition="'$(HermesPackageName)' == ''">Microsoft.JavaScript.Hermes</HermesPackageName>
|
|
10
11
|
<HermesPackage Condition="'$(HermesPackage)' == '' And Exists('$(PkgMicrosoft_JavaScript_Hermes)')">$(PkgMicrosoft_JavaScript_Hermes)</HermesPackage>
|
|
11
|
-
<HermesPackage Condition="'$(HermesPackage)' == ''">$(NuGetPackageRoot)
|
|
12
|
+
<HermesPackage Condition="'$(HermesPackage)' == ''">$(NuGetPackageRoot)\$(HermesPackageName)\$(HermesVersion)</HermesPackage>
|
|
12
13
|
<EnableHermesInspectorInReleaseFlavor Condition="'$(EnableHermesInspectorInReleaseFlavor)' == ''">false</EnableHermesInspectorInReleaseFlavor>
|
|
13
14
|
<!-- Disable linking Hermes into the output in cases where we need to fully rely on HermesShim -->
|
|
14
15
|
<HermesNoLink Condition="'$(HermesNoLink)' == '' and '$(Configuration)' == 'Release' and '$(EnableHermesInspectorInReleaseFlavor)' != 'true'">true</HermesNoLink>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
<#
|
|
5
|
+
.SYNOPSIS
|
|
6
|
+
Downloads a file from a URI with retry logic.
|
|
7
|
+
|
|
8
|
+
.PARAMETER Uri
|
|
9
|
+
The URI to download from.
|
|
10
|
+
|
|
11
|
+
.PARAMETER OutFile
|
|
12
|
+
The output file path.
|
|
13
|
+
|
|
14
|
+
.PARAMETER MaxRetries
|
|
15
|
+
Maximum number of download attempts. Default is 3.
|
|
16
|
+
#>
|
|
17
|
+
param(
|
|
18
|
+
[Parameter(Mandatory)]
|
|
19
|
+
[string]$Uri,
|
|
20
|
+
|
|
21
|
+
[Parameter(Mandatory)]
|
|
22
|
+
[string]$OutFile,
|
|
23
|
+
|
|
24
|
+
[int]$MaxRetries = 3
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
Set-StrictMode -Version Latest
|
|
28
|
+
$ErrorActionPreference = 'Stop'
|
|
29
|
+
|
|
30
|
+
for ($i = 1; $i -le $MaxRetries; $i++) {
|
|
31
|
+
try {
|
|
32
|
+
Write-Host "Downloading $OutFile (attempt $i of $MaxRetries)"
|
|
33
|
+
Invoke-WebRequest -Uri $Uri -OutFile $OutFile
|
|
34
|
+
return
|
|
35
|
+
} catch {
|
|
36
|
+
Write-Host "Attempt $i failed: $_"
|
|
37
|
+
if ($i -eq $MaxRetries) { throw }
|
|
38
|
+
Start-Sleep -Seconds (5 * $i)
|
|
39
|
+
}
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.84.0-preview.
|
|
3
|
+
"version": "0.84.0-preview.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@react-native-community/cli": "20.0.0",
|
|
27
27
|
"@react-native-community/cli-platform-android": "20.0.0",
|
|
28
28
|
"@react-native-community/cli-platform-ios": "20.0.0",
|
|
29
|
-
"@react-native-windows/cli": "0.84.0-preview.
|
|
29
|
+
"@react-native-windows/cli": "0.84.0-preview.3",
|
|
30
30
|
"@react-native/assets": "1.0.0",
|
|
31
31
|
"@react-native/assets-registry": "0.84.1",
|
|
32
32
|
"@react-native/codegen": "0.84.1",
|