René's URL Explorer Experiment


Title: fix(@angular/cli): copy project config files to temp directory during ng update by ptu14 · Pull Request #32959 · angular/angular-cli · GitHub

Open Graph Title: fix(@angular/cli): copy project config files to temp directory during ng update by ptu14 · Pull Request #32959 · angular/angular-cli

X Title: fix(@angular/cli): copy project config files to temp directory during ng update by ptu14 · Pull Request #32959 · angular/angular-cli

Description: Fixes #27163 PR Checklist Please check to confirm your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines Tests for the changes have been added (for bug fixes / features) Docs have been added / updated (for bug fixes / features) PR Type What kind of change does this PR introduce? Bugfix Feature Code style update (formatting, local variables) Refactoring (no functional changes, no api changes) Build related changes CI related changes Documentation content changes Other... Please describe: What is the current behavior? During ng update, the CLI installs a temporary version of itself in a system temp directory (e.g. /tmp/angular-cli-packages-xxx). Since this directory is outside the project tree, npm/pnpm/yarn-classic cannot find the project's .npmrc and falls back to the user-level ~/.npmrc. This causes registry settings defined in the project's .npmrc to be ignored. Issue Number: #27163 What is the new behavior? Project configuration files (.npmrc, .yarnrc, pnpm-workspace.yaml) are now copied to the temporary directory before running npm install. This reuses the existing copyConfigFromProject mechanism (previously only enabled for bun) for npm, pnpm, and yarn-classic. Does this PR introduce a breaking change? Yes No

Open Graph Description: Fixes #27163 PR Checklist Please check to confirm your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIB...

X Description: Fixes #27163 PR Checklist Please check to confirm your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIB...

Opengraph URL: https://github.com/angular/angular-cli/pull/32959

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:2e9f5c76-a987-062b-4992-ec59791ec529
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD706:2088C9:366C332:4BEDBF5:6A635CB1
html-safe-noncec9d2e73b4f9454116cbfbe4894555101b85acefb8b57e7c9bdd71b47db26403f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzA2OjIwODhDOTozNjZDMzMyOjRCRURCRjU6NkE2MzVDQjEiLCJ2aXNpdG9yX2lkIjoiNDkyNjAzNDU1NjM0NzQ0MDMwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac78179995c8c91d0cfbc0fb666fb079b15be56e90c5040fcab3d57a9cd11fb36d
hovercard-subject-tagpull_request:3503588296
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular-cli/pull/32959/files
twitter:imagehttps://avatars.githubusercontent.com/u/20875935?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/20875935?s=400&v=4
og:image:altFixes #27163 PR Checklist Please check to confirm your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIB...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release71b1218de2f2ab29c4d5ce72568e68e2c56044c6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/pull/32959/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F32959%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fpull%2F32959%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/pull/32959/files
Reloadhttps://github.com/angular/angular-cli/pull/32959/files
Reloadhttps://github.com/angular/angular-cli/pull/32959/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/32959/files
angular https://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Notifications https://github.com/login?return_to=%2Fangular%2Fangular-cli
Fork 11.9k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Star 27k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Code https://github.com/angular/angular-cli
Issues 269 https://github.com/angular/angular-cli/issues
Pull requests 32 https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security and quality 5 https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
Code https://github.com/angular/angular-cli
Issues https://github.com/angular/angular-cli/issues
Pull requests https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security and quality https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular-cli%2Fissues%2Fnew%2Fchoose
ptu14https://github.com/ptu14
angular:mainhttps://github.com/angular/angular-cli/tree/main
ptu14:fix/ng-update-copy-project-npmrchttps://github.com/ptu14/angular-cli/tree/fix/ng-update-copy-project-npmrc
Conversation 5 https://github.com/angular/angular-cli/pull/32959
Commits 1 https://github.com/angular/angular-cli/pull/32959/commits
Checks 36 https://github.com/angular/angular-cli/pull/32959/checks
Files changed https://github.com/angular/angular-cli/pull/32959/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/32959/files
fix(@angular/cli): copy project config files to temp directory during ng update https://github.com/angular/angular-cli/pull/32959/files#top
Show all changes 1 commit https://github.com/angular/angular-cli/pull/32959/files
7613be7 fix(@angular/cli): copy project config files to temp directory during… ptu14 Apr 8, 2026 https://github.com/angular/angular-cli/pull/32959/commits/7613be781846a10898188dbf5aab1d404e413bd4
Clear filters https://github.com/angular/angular-cli/pull/32959/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/32959/files
Please reload this pagehttps://github.com/angular/angular-cli/pull/32959/files
package-manager-descriptor.ts https://github.com/angular/angular-cli/pull/32959/files#diff-f46c76a7fcc69b9f3a36b26ab3485029731123967711bc0e0ed1eed66546e220
package-manager.ts https://github.com/angular/angular-cli/pull/32959/files#diff-71b3c6c946662600eaa068c53cacc85d59f732ee6a550ca22d69ce932d0be825
package-manager_spec.ts https://github.com/angular/angular-cli/pull/32959/files#diff-52205256bdc597373e20ea60690a6739609188fd9ace7a4a8cb8bedec5302937
packages/angular/cli/src/package-managers/package-manager-descriptor.tshttps://github.com/angular/angular-cli/pull/32959/files#diff-f46c76a7fcc69b9f3a36b26ab3485029731123967711bc0e0ed1eed66546e220
View file https://github.com/angular/angular-cli/blob/7613be781846a10898188dbf5aab1d404e413bd4/packages/angular/cli/src/package-managers/package-manager-descriptor.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/32959/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/32959/files#diff-f46c76a7fcc69b9f3a36b26ab3485029731123967711bc0e0ed1eed66546e220
Please reload this pagehttps://github.com/angular/angular-cli/pull/32959/files
https://github.com/angular/angular-cli/pull/32959/files#diff-f46c76a7fcc69b9f3a36b26ab3485029731123967711bc0e0ed1eed66546e220
https://github.com/angular/angular-cli/pull/32959/files#diff-f46c76a7fcc69b9f3a36b26ab3485029731123967711bc0e0ed1eed66546e220
https://github.com/angular/angular-cli/pull/32959/files#diff-f46c76a7fcc69b9f3a36b26ab3485029731123967711bc0e0ed1eed66546e220
https://github.com/angular/angular-cli/pull/32959/files#diff-f46c76a7fcc69b9f3a36b26ab3485029731123967711bc0e0ed1eed66546e220
gemini-code-assisthttps://github.com/apps/gemini-code-assist
Apr 8, 2026https://github.com/angular/angular-cli/pull/32959/files#r3051906719
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/32601710f6703a1d3cdbb05c7f9f05d1d8c88abc4d4e4d4e25ff218874a45279/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667
Please reload this pagehttps://github.com/angular/angular-cli/pull/32959/files
ptu14https://github.com/ptu14
Apr 8, 2026https://github.com/angular/angular-cli/pull/32959/files#r3051984658
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular-cli/pull/32959/files
https://github.com/angular/angular-cli/pull/32959/files#diff-f46c76a7fcc69b9f3a36b26ab3485029731123967711bc0e0ed1eed66546e220
packages/angular/cli/src/package-managers/package-manager.tshttps://github.com/angular/angular-cli/pull/32959/files#diff-71b3c6c946662600eaa068c53cacc85d59f732ee6a550ca22d69ce932d0be825
View file https://github.com/angular/angular-cli/blob/7613be781846a10898188dbf5aab1d404e413bd4/packages/angular/cli/src/package-managers/package-manager.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/32959/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/32959/files#diff-71b3c6c946662600eaa068c53cacc85d59f732ee6a550ca22d69ce932d0be825
https://github.com/angular/angular-cli/pull/32959/files#diff-71b3c6c946662600eaa068c53cacc85d59f732ee6a550ca22d69ce932d0be825
packages/angular/cli/src/package-managers/package-manager_spec.tshttps://github.com/angular/angular-cli/pull/32959/files#diff-52205256bdc597373e20ea60690a6739609188fd9ace7a4a8cb8bedec5302937
View file https://github.com/angular/angular-cli/blob/7613be781846a10898188dbf5aab1d404e413bd4/packages/angular/cli/src/package-managers/package-manager_spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular-cli/pull/32959/{{ revealButtonHref }}
https://github.com/angular/angular-cli/pull/32959/files#diff-52205256bdc597373e20ea60690a6739609188fd9ace7a4a8cb8bedec5302937
Please reload this pagehttps://github.com/angular/angular-cli/pull/32959/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.