Repository navigation
[0.85] Route npm, Yarn, and NuGet restores through PackageFeedProxy - #16502
Merged
Vladimir Morozov (vmoroz) merged 3 commits intoOct 24, 2026
Merged
Vladimir Morozov (vmoroz) merged 3 commits into
Vladimir Morozov (vmoroz) merged 3 commits into
Conversation
Keep ADO-only V8 packages on their mapped feed and preserve publication destinations. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Cross-cutting restore and source-mapping changes still need successful native and CLI-init pipeline validation before final human approval.
1 open issue
What changed in this PR
This PR backports anonymous package restores to 0.85, routing repository and CI dependencies through PackageFeedProxy while retaining ADO-only V8 packages and existing publishing destinations.
Changes:
- Route npm, Yarn, NuGet.org, and BinSkim restores through PackageFeedProxy.
- Reuse root NuGet source mappings in CI while preserving local test feeds and internal SDK opt-in.
- Update authentication handling and package-feed documentation.
| File | Description |
|---|---|
vnext/Scripts/NuGetRestoreForceEvaluateAllSolutions.ps1 |
Update comments to describe the approved source policy. |
vnext/Scripts/EnableInternalWinAppSDKFeed.ps1 |
Add source mapping when enabling the internal SDK feed. |
NuGet.Config |
Add the proxy and restrict ADO mappings to V8 packages. |
change/react-native-windows-9c991519-fc65-4a2d-b61e-466a628c8115.json |
Record the restore-routing change. |
.ado/variables/shared.yml |
Point npm and Yarn at the anonymous proxy. |
.ado/templates/react-native-init-windows.yml |
Import root NuGet policy and retain the local test feed. |
.ado/templates/prepare-js-env.yml |
Clarify the authentication step’s purpose in a comment. |
.ado/templates/prepare-build-env.yml |
Require NuGet 6+ and apply root policy to third-party configs. |
.ado/templates/auth-npm-feed.yml |
Stop writing global Yarn credentials while retaining npm authentication. |
.ado/scripts/build.js |
Download BinSkim through the proxy. |
.ado/README.md |
Document restore routing, authentication, and retained endpoints. |
.ado/build-template.yml |
Clarify the feed-token comment and remove trailing whitespace. |
Review effort: Balanced
Direct local internal SDK testing through the helper that adds both the NuGet source and its package mapping. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Vladimir Morozov (vmoroz)
enabled auto-merge (squash)
October 24, 2026 17:57
Andrew Dewar (Dewsk)
approved these changes
Oct 24, 2026
Vladimir Morozov (vmoroz)
merged commit Oct 24, 2026
9a2d830
into
microsoft:0.85-stable
32 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Type of Change
Erase all that don't apply.
Why
Apply the anonymous npm/Yarn restore behavior from #16480 to 0.85, and use PackageFeedProxy for NuGet.org dependencies. Preserve the ADO-only V8 packages required by existing builds.
Related: #16480.
What
Screenshots
Not applicable; package-feed configuration only.
Testing
npm view is-number@7.0.0 version --json,npx --yes --package=@react-native-community/cli@20.2.0 rnc-cli --version, andyarn install --mode=skip-build: passed in isolated proxy fixtures.git diff --check: passed.Optional: Azure PR validation 632098: passed (30 jobs, including all six CLI-init app/library jobs). Native builds were not run locally.
Changelog
Should this change be included in the release notes: no
Use PackageFeedProxy for package restores while preserving ADO-only V8 packages.
Microsoft Reviewers: Open in CodeFlow