react-native-windows 0.74.53 → 0.74.55

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.
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.74.53</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.74.55</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>74</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>53</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>55</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>afc0419a12f33c6c13baca56d7685b97f177af6d</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>b4d2eb3fe2548f870714a8cdd692ad533085b397</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -1,4 +1,5 @@
1
1
  param(
2
+ [switch] $SkipLockDeletion
2
3
  )
3
4
 
4
5
  [string] $RepoRoot = Resolve-Path "$PSScriptRoot\..\.."
@@ -8,15 +9,20 @@ Set-Location -Path $RepoRoot
8
9
 
9
10
  try
10
11
  {
11
- # Delete existing lock files
12
- $existingLockFiles = (Get-ChildItem -File -Recurse -Path $RepoRoot -Filter *.lock.json)
13
- $existingLockFiles | Foreach-Object {
14
- Write-Host Deleting $_.FullName
15
- Remove-Item $_.FullName
12
+ if (-not $SkipLockDeletion) {
13
+ # Delete existing lock files
14
+ $existingLockFiles = (Get-ChildItem -File -Recurse -Path $RepoRoot -Filter *.lock.json)
15
+ $existingLockFiles | Foreach-Object {
16
+ Write-Host Deleting $_.FullName
17
+ Remove-Item $_.FullName
18
+ }
16
19
  }
17
20
 
18
- $packagesSolutions = (Get-ChildItem -File -Recurse -Path $RepoRoot\packages -Filter *.sln )| Where-Object { !$_.FullName.Contains('node_modules') -and !$_.FullName.Contains('e2etest') }
19
- $vnextSolutions = (Get-ChildItem -File -Path $RepoRoot\vnext -Filter *.sln)
21
+ # Solutions that fail NuGet restore due to project type incompatibilities (e.g., WAP + native)
22
+ $excludedSolutions = @("playground-win32-packaged.sln")
23
+
24
+ $packagesSolutions = @(Get-ChildItem -File -Recurse -Path $RepoRoot\packages -Include *.sln,*.slnf) | Where-Object { !$_.FullName.Contains('node_modules') -and !$_.FullName.Contains('e2etest') -and ($excludedSolutions -notcontains $_.Name) }
25
+ $vnextSolutions = @(Get-ChildItem -File -Path $RepoRoot\vnext\* -Include *.sln,*.slnf)
20
26
 
21
27
  # Run all solutions with their defaults
22
28
  $($packagesSolutions; $vnextSolutions) | Foreach-Object {
@@ -25,12 +31,46 @@ try
25
31
  }
26
32
 
27
33
  # Re-run solutions that build with UseExperimentalWinUI3
28
- $experimentalSolutions = @("playground-composition.sln", "Microsoft.ReactNative.sln", "Microsoft.ReactNative.NewArch.sln", "ReactWindows-Desktop.sln");
34
+ # (sets UseExperimentalWinUI3 which selects the experimental WinUI3 version)
35
+ $experimentalSolutions = @("playground-composition.sln", "Microsoft.ReactNative.sln", "Microsoft.ReactNative.CppOnly.slnf");
29
36
  $($packagesSolutions; $vnextSolutions) | Where-Object { $experimentalSolutions -contains $_.Name } | Foreach-Object {
30
37
  Write-Host Restoring $_.FullName with UseExperimentalWinUI3=true
31
38
  & msbuild /t:Restore /p:RestoreForceEvaluate=true /p:UseExperimentalWinUI3=true $_.FullName
32
39
  }
33
40
 
41
+ # Re-run Desktop solution with Fabric settings to match CI Fabric Desktop builds.
42
+ # The CI enable-fabric-experimental-feature.yml template appends UseFabric=true and
43
+ # UseWinUI3=true to ExperimentalFeatures.props. We replicate that here so the lock
44
+ # files contain deps for both Fabric and non-Fabric Desktop builds.
45
+ $fabricDesktopSolutions = @("ReactWindows-Desktop.sln");
46
+ $propsFile = Join-Path $RepoRoot "vnext\ExperimentalFeatures.props"
47
+ $propsBackup = "$propsFile.bak"
48
+ Copy-Item $propsFile $propsBackup
49
+ try {
50
+ # Append Fabric properties — same as enable-fabric-experimental-feature.yml
51
+ $content = Get-Content $propsFile -Raw
52
+ $fabricProps = " <PropertyGroup>`n <UseFabric>true</UseFabric>`n <UseWinUI3>true</UseWinUI3>`n </PropertyGroup>`n"
53
+ $content = $content -replace '</Project>', "$fabricProps</Project>"
54
+ Set-Content $propsFile -Value $content -NoNewline
55
+
56
+ $($packagesSolutions; $vnextSolutions) | Where-Object { $fabricDesktopSolutions -contains $_.Name } | Foreach-Object {
57
+ Write-Host "Restoring $($_.FullName) with Fabric via ExperimentalFeatures.props"
58
+ & msbuild /t:Restore /p:RestoreForceEvaluate=true $_.FullName
59
+ }
60
+ }
61
+ finally {
62
+ # Restore original ExperimentalFeatures.props
63
+ Move-Item $propsBackup $propsFile -Force
64
+ }
65
+
66
+ # Re-run Desktop solution with defaults to reset lock files to non-Fabric state.
67
+ # The Fabric pass above added WindowsAppSDK deps to Mso.UnitTests; this pass
68
+ # removes them so the committed lock file matches non-Fabric CI builds.
69
+ $($packagesSolutions; $vnextSolutions) | Where-Object { $fabricDesktopSolutions -contains $_.Name } | Foreach-Object {
70
+ Write-Host "Restoring $($_.FullName) with defaults (post-Fabric reset)"
71
+ & msbuild /t:Restore /p:RestoreForceEvaluate=true $_.FullName
72
+ }
73
+
34
74
  # Re-run solutions that build with Chakra
35
75
  $chakraSolutions = @("ReactUWPTestApp.sln", "integrationtest.sln");
36
76
  $($packagesSolutions; $vnextSolutions) | Where-Object { $chakraSolutions -contains $_.Name } | Foreach-Object {
@@ -41,4 +81,4 @@ try
41
81
  finally
42
82
  {
43
83
  Set-Location -Path "$StartingLocation"
44
- }
84
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.74.53",
3
+ "version": "0.74.55",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "@react-native-community/cli": "13.6.9",
27
27
  "@react-native-community/cli-platform-android": "13.6.9",
28
28
  "@react-native-community/cli-platform-ios": "13.6.9",
29
- "@react-native-windows/cli": "0.74.12",
29
+ "@react-native-windows/cli": "0.74.14",
30
30
  "@react-native/assets": "1.0.0",
31
31
  "@react-native/assets-registry": "0.74.89",
32
32
  "@react-native/codegen": "0.74.89",
@@ -65,7 +65,7 @@
65
65
  "yargs": "^17.6.2"
66
66
  },
67
67
  "devDependencies": {
68
- "@react-native-windows/codegen": "0.74.8",
68
+ "@react-native-windows/codegen": "0.74.9",
69
69
  "@react-native/metro-config": "0.74.89",
70
70
  "@rnw-scripts/babel-react-native-config": "0.0.0",
71
71
  "@rnw-scripts/eslint-config": "1.2.9",