Skip to content

Commit 60142f5

Browse files
committed
Fork fmt lib locally
1 parent 33b5099 commit 60142f5

195 files changed

Lines changed: 82400 additions & 2601 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,3 +198,4 @@ nul
198198

199199
/npm-pkgs
200200
/.claude/
201+
/.sync/

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"release-notes": "yarn workspace @rnw-scripts/generate-release-notes release-notes",
1616
"spellcheck": "npx cspell",
1717
"test": "lage test --verbose --passWithNoTests",
18-
"validate-overrides": "react-native-platform-override validate"
18+
"validate-overrides": "react-native-platform-override validate",
19+
"fork-sync": "node packages/@rnw-scripts/fork-sync/lib-commonjs/sync.js",
20+
"fork-sync:status": "yarn fork-sync --dep fmt --status"
1921
},
2022
"repository": {
2123
"type": "git",

packages/@react-native-windows/automation-channel/windows/AutomationChannel.sln

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AutomationChannel", "Automa
1010
EndProject
1111
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Folly", "..\..\..\..\vnext\Folly\Folly.vcxproj", "{A990658C-CE31-4BCC-976F-0FC6B1AF693D}"
1212
EndProject
13-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fmt", "..\..\..\..\vnext\fmt\fmt.vcxproj", "{14B93DC8-FD93-4A6D-81CB-8BC96644501C}"
14-
EndProject
1513
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReactCommon", "..\..\..\..\vnext\ReactCommon\ReactCommon.vcxproj", "{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}"
1614
ProjectSection(ProjectDependencies) = postProject
1715
{A990658C-CE31-4BCC-976F-0FC6B1AF693D} = {A990658C-CE31-4BCC-976F-0FC6B1AF693D}
@@ -116,20 +114,6 @@ Global
116114
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x64.Build.0 = Release|x64
117115
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.ActiveCfg = Release|Win32
118116
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.Build.0 = Release|Win32
119-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.ActiveCfg = Debug|ARM64
120-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.Build.0 = Debug|ARM64
121-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.ActiveCfg = Debug|x64
122-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.Build.0 = Debug|x64
123-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.ActiveCfg = Debug|Win32
124-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Build.0 = Debug|Win32
125-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Deploy.0 = Debug|Win32
126-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.ActiveCfg = Release|ARM64
127-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.Build.0 = Release|ARM64
128-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.ActiveCfg = Release|x64
129-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.Build.0 = Release|x64
130-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.ActiveCfg = Release|Win32
131-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Build.0 = Release|Win32
132-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Deploy.0 = Release|Win32
133117
EndGlobalSection
134118
GlobalSection(SolutionProperties) = preSolution
135119
HideSolutionNode = FALSE
@@ -143,7 +127,6 @@ Global
143127
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
144128
{84E05BFA-CBAF-4F0D-BFB6-4CE85742A57E} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
145129
{EF074BA1-2D54-4D49-A28E-5E040B47CD2E} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
146-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
147130
EndGlobalSection
148131
GlobalSection(ExtensibilityGlobals) = postSolution
149132
SolutionGuid = {D43FAD39-F619-437D-BB40-04A3982ACB6A}

packages/@react-native-windows/automation-channel/windows/AutomationChannel/packages.lock.json

Lines changed: 1 addition & 159 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,10 @@
161161
"boost": "[1.83.0, )"
162162
}
163163
},
164-
"fmt": {
165-
"type": "Project"
166-
},
167164
"folly": {
168165
"type": "Project",
169166
"dependencies": {
170-
"boost": "[1.83.0, )",
171-
"fmt": "[1.0.0, )"
167+
"boost": "[1.83.0, )"
172168
}
173169
},
174170
"microsoft.reactnative": {
@@ -190,160 +186,6 @@
190186
"boost": "[1.83.0, )"
191187
}
192188
}
193-
},
194-
"native,Version=v0.0/win10-arm": {
195-
"Microsoft.VCRTForwarders.140": {
196-
"type": "Direct",
197-
"requested": "[1.0.2-rc, )",
198-
"resolved": "1.0.2-rc",
199-
"contentHash": "/r+sjtEeCIGyDhobIZ5hSmYhC/dSyGZxf1SxYJpElUhB0LMCktOMFs9gXrauXypIFECpVynNyVjAmJt6hjJ5oQ=="
200-
},
201-
"Microsoft.Web.WebView2": {
202-
"type": "Transitive",
203-
"resolved": "1.0.3179.45",
204-
"contentHash": "3pokSH5CnN0G6rGhGFo1y87inxYhNxBQ2Vdf0wlvBj99KHxQJormjDACmqRnFeUsmuNFIhWwfAL1ztq7wD5qRA=="
205-
},
206-
"Microsoft.WindowsAppSDK.Foundation": {
207-
"type": "Transitive",
208-
"resolved": "1.8.260203002",
209-
"contentHash": "eKQ/prWq98mW7+E+ffot47iZNbDnq/NVN9R9Gi8vmoU/3Ka6zNNivxdICXh6j7g6REFPCV9530/nQYQC0L3fwg==",
210-
"dependencies": {
211-
"Microsoft.WindowsAppSDK.Base": "1.8.251216001",
212-
"Microsoft.WindowsAppSDK.InteractiveExperiences": "1.8.260125001"
213-
}
214-
}
215-
},
216-
"native,Version=v0.0/win10-arm-aot": {
217-
"Microsoft.VCRTForwarders.140": {
218-
"type": "Direct",
219-
"requested": "[1.0.2-rc, )",
220-
"resolved": "1.0.2-rc",
221-
"contentHash": "/r+sjtEeCIGyDhobIZ5hSmYhC/dSyGZxf1SxYJpElUhB0LMCktOMFs9gXrauXypIFECpVynNyVjAmJt6hjJ5oQ=="
222-
},
223-
"Microsoft.Web.WebView2": {
224-
"type": "Transitive",
225-
"resolved": "1.0.3179.45",
226-
"contentHash": "3pokSH5CnN0G6rGhGFo1y87inxYhNxBQ2Vdf0wlvBj99KHxQJormjDACmqRnFeUsmuNFIhWwfAL1ztq7wD5qRA=="
227-
},
228-
"Microsoft.WindowsAppSDK.Foundation": {
229-
"type": "Transitive",
230-
"resolved": "1.8.260203002",
231-
"contentHash": "eKQ/prWq98mW7+E+ffot47iZNbDnq/NVN9R9Gi8vmoU/3Ka6zNNivxdICXh6j7g6REFPCV9530/nQYQC0L3fwg==",
232-
"dependencies": {
233-
"Microsoft.WindowsAppSDK.Base": "1.8.251216001",
234-
"Microsoft.WindowsAppSDK.InteractiveExperiences": "1.8.260125001"
235-
}
236-
}
237-
},
238-
"native,Version=v0.0/win10-arm64-aot": {
239-
"Microsoft.VCRTForwarders.140": {
240-
"type": "Direct",
241-
"requested": "[1.0.2-rc, )",
242-
"resolved": "1.0.2-rc",
243-
"contentHash": "/r+sjtEeCIGyDhobIZ5hSmYhC/dSyGZxf1SxYJpElUhB0LMCktOMFs9gXrauXypIFECpVynNyVjAmJt6hjJ5oQ=="
244-
},
245-
"Microsoft.Web.WebView2": {
246-
"type": "Transitive",
247-
"resolved": "1.0.3179.45",
248-
"contentHash": "3pokSH5CnN0G6rGhGFo1y87inxYhNxBQ2Vdf0wlvBj99KHxQJormjDACmqRnFeUsmuNFIhWwfAL1ztq7wD5qRA=="
249-
},
250-
"Microsoft.WindowsAppSDK.Foundation": {
251-
"type": "Transitive",
252-
"resolved": "1.8.260203002",
253-
"contentHash": "eKQ/prWq98mW7+E+ffot47iZNbDnq/NVN9R9Gi8vmoU/3Ka6zNNivxdICXh6j7g6REFPCV9530/nQYQC0L3fwg==",
254-
"dependencies": {
255-
"Microsoft.WindowsAppSDK.Base": "1.8.251216001",
256-
"Microsoft.WindowsAppSDK.InteractiveExperiences": "1.8.260125001"
257-
}
258-
}
259-
},
260-
"native,Version=v0.0/win10-x64": {
261-
"Microsoft.VCRTForwarders.140": {
262-
"type": "Direct",
263-
"requested": "[1.0.2-rc, )",
264-
"resolved": "1.0.2-rc",
265-
"contentHash": "/r+sjtEeCIGyDhobIZ5hSmYhC/dSyGZxf1SxYJpElUhB0LMCktOMFs9gXrauXypIFECpVynNyVjAmJt6hjJ5oQ=="
266-
},
267-
"Microsoft.Web.WebView2": {
268-
"type": "Transitive",
269-
"resolved": "1.0.3179.45",
270-
"contentHash": "3pokSH5CnN0G6rGhGFo1y87inxYhNxBQ2Vdf0wlvBj99KHxQJormjDACmqRnFeUsmuNFIhWwfAL1ztq7wD5qRA=="
271-
},
272-
"Microsoft.WindowsAppSDK.Foundation": {
273-
"type": "Transitive",
274-
"resolved": "1.8.260203002",
275-
"contentHash": "eKQ/prWq98mW7+E+ffot47iZNbDnq/NVN9R9Gi8vmoU/3Ka6zNNivxdICXh6j7g6REFPCV9530/nQYQC0L3fwg==",
276-
"dependencies": {
277-
"Microsoft.WindowsAppSDK.Base": "1.8.251216001",
278-
"Microsoft.WindowsAppSDK.InteractiveExperiences": "1.8.260125001"
279-
}
280-
}
281-
},
282-
"native,Version=v0.0/win10-x64-aot": {
283-
"Microsoft.VCRTForwarders.140": {
284-
"type": "Direct",
285-
"requested": "[1.0.2-rc, )",
286-
"resolved": "1.0.2-rc",
287-
"contentHash": "/r+sjtEeCIGyDhobIZ5hSmYhC/dSyGZxf1SxYJpElUhB0LMCktOMFs9gXrauXypIFECpVynNyVjAmJt6hjJ5oQ=="
288-
},
289-
"Microsoft.Web.WebView2": {
290-
"type": "Transitive",
291-
"resolved": "1.0.3179.45",
292-
"contentHash": "3pokSH5CnN0G6rGhGFo1y87inxYhNxBQ2Vdf0wlvBj99KHxQJormjDACmqRnFeUsmuNFIhWwfAL1ztq7wD5qRA=="
293-
},
294-
"Microsoft.WindowsAppSDK.Foundation": {
295-
"type": "Transitive",
296-
"resolved": "1.8.260203002",
297-
"contentHash": "eKQ/prWq98mW7+E+ffot47iZNbDnq/NVN9R9Gi8vmoU/3Ka6zNNivxdICXh6j7g6REFPCV9530/nQYQC0L3fwg==",
298-
"dependencies": {
299-
"Microsoft.WindowsAppSDK.Base": "1.8.251216001",
300-
"Microsoft.WindowsAppSDK.InteractiveExperiences": "1.8.260125001"
301-
}
302-
}
303-
},
304-
"native,Version=v0.0/win10-x86": {
305-
"Microsoft.VCRTForwarders.140": {
306-
"type": "Direct",
307-
"requested": "[1.0.2-rc, )",
308-
"resolved": "1.0.2-rc",
309-
"contentHash": "/r+sjtEeCIGyDhobIZ5hSmYhC/dSyGZxf1SxYJpElUhB0LMCktOMFs9gXrauXypIFECpVynNyVjAmJt6hjJ5oQ=="
310-
},
311-
"Microsoft.Web.WebView2": {
312-
"type": "Transitive",
313-
"resolved": "1.0.3179.45",
314-
"contentHash": "3pokSH5CnN0G6rGhGFo1y87inxYhNxBQ2Vdf0wlvBj99KHxQJormjDACmqRnFeUsmuNFIhWwfAL1ztq7wD5qRA=="
315-
},
316-
"Microsoft.WindowsAppSDK.Foundation": {
317-
"type": "Transitive",
318-
"resolved": "1.8.260203002",
319-
"contentHash": "eKQ/prWq98mW7+E+ffot47iZNbDnq/NVN9R9Gi8vmoU/3Ka6zNNivxdICXh6j7g6REFPCV9530/nQYQC0L3fwg==",
320-
"dependencies": {
321-
"Microsoft.WindowsAppSDK.Base": "1.8.251216001",
322-
"Microsoft.WindowsAppSDK.InteractiveExperiences": "1.8.260125001"
323-
}
324-
}
325-
},
326-
"native,Version=v0.0/win10-x86-aot": {
327-
"Microsoft.VCRTForwarders.140": {
328-
"type": "Direct",
329-
"requested": "[1.0.2-rc, )",
330-
"resolved": "1.0.2-rc",
331-
"contentHash": "/r+sjtEeCIGyDhobIZ5hSmYhC/dSyGZxf1SxYJpElUhB0LMCktOMFs9gXrauXypIFECpVynNyVjAmJt6hjJ5oQ=="
332-
},
333-
"Microsoft.Web.WebView2": {
334-
"type": "Transitive",
335-
"resolved": "1.0.3179.45",
336-
"contentHash": "3pokSH5CnN0G6rGhGFo1y87inxYhNxBQ2Vdf0wlvBj99KHxQJormjDACmqRnFeUsmuNFIhWwfAL1ztq7wD5qRA=="
337-
},
338-
"Microsoft.WindowsAppSDK.Foundation": {
339-
"type": "Transitive",
340-
"resolved": "1.8.260203002",
341-
"contentHash": "eKQ/prWq98mW7+E+ffot47iZNbDnq/NVN9R9Gi8vmoU/3Ka6zNNivxdICXh6j7g6REFPCV9530/nQYQC0L3fwg==",
342-
"dependencies": {
343-
"Microsoft.WindowsAppSDK.Base": "1.8.251216001",
344-
"Microsoft.WindowsAppSDK.InteractiveExperiences": "1.8.260125001"
345-
}
346-
}
347189
}
348190
}
349191
}

packages/@react-native-windows/cli/src/e2etest/projects/WithIndirectDependency/windows/WithIndirectDependency.sln

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WithIndirectDependency", "W
1010
EndProject
1111
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Folly", "..\node_modules\react-native-windows\Folly\Folly.vcxproj", "{A990658C-CE31-4BCC-976F-0FC6B1AF693D}"
1212
EndProject
13-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fmt", "..\node_modules\react-native-windows\fmt\fmt.vcxproj", "{14B93DC8-FD93-4A6D-81CB-8BC96644501C}"
14-
EndProject
1513
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReactCommon", "..\node_modules\react-native-windows\ReactCommon\ReactCommon.vcxproj", "{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}"
1614
ProjectSection(ProjectDependencies) = postProject
1715
{A990658C-CE31-4BCC-976F-0FC6B1AF693D} = {A990658C-CE31-4BCC-976F-0FC6B1AF693D}
@@ -120,20 +118,6 @@ Global
120118
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x64.Build.0 = Release|x64
121119
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.ActiveCfg = Release|Win32
122120
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.Build.0 = Release|Win32
123-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.ActiveCfg = Debug|ARM64
124-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.Build.0 = Debug|ARM64
125-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.ActiveCfg = Debug|x64
126-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.Build.0 = Debug|x64
127-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.ActiveCfg = Debug|Win32
128-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Build.0 = Debug|Win32
129-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Deploy.0 = Debug|Win32
130-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.ActiveCfg = Release|ARM64
131-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.Build.0 = Release|ARM64
132-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.ActiveCfg = Release|x64
133-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.Build.0 = Release|x64
134-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.ActiveCfg = Release|Win32
135-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Build.0 = Release|Win32
136-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Deploy.0 = Release|Win32
137121
EndGlobalSection
138122
GlobalSection(SolutionProperties) = preSolution
139123
HideSolutionNode = FALSE
@@ -148,7 +132,6 @@ Global
148132
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
149133
{84E05BFA-CBAF-4F0D-BFB6-4CE85742A57E} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
150134
{EF074BA1-2D54-4D49-A28E-5E040B47CD2E} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
151-
{14B93DC8-FD93-4A6D-81CB-8BC96644501C} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
152135
EndGlobalSection
153136
GlobalSection(ExtensibilityGlobals) = postSolution
154137
SolutionGuid = {D43FAD39-F619-437D-BB40-04A3982ACB6A}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env node
2+
3+
/**
4+
* Copyright (c) Microsoft Corporation.
5+
* Licensed under the MIT License.
6+
*
7+
* @format
8+
*/
9+
10+
require('source-map-support').install();
11+
require('./lib-commonjs/sync');
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation.
3+
* Licensed under the MIT License.
4+
*
5+
* Wrapper script for fork-sync that points to the react-native-windows root.
6+
*
7+
* Usage:
8+
* node packages/@rnw-scripts/fork-sync/lib-commonjs/sync.js --dep fmt
9+
* node packages/@rnw-scripts/fork-sync/lib-commonjs/sync.js --dep fmt --status
10+
* node packages/@rnw-scripts/fork-sync/lib-commonjs/sync.js --dep fmt --continue
11+
*
12+
* All arguments are forwarded to fork-sync with `-C` prepended
13+
* so it finds the sync-manifest.json in the repository root.
14+
*
15+
* @format
16+
*/
17+
export {};

packages/@rnw-scripts/fork-sync/lib-commonjs/sync.js

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@rnw-scripts/fork-sync/lib-commonjs/sync.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)