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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2e9f5c76-a987-062b-4992-ec59791ec529 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D706:2088C9:366C332:4BEDBF5:6A635CB1 |
| html-safe-nonce | c9d2e73b4f9454116cbfbe4894555101b85acefb8b57e7c9bdd71b47db26403f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzA2OjIwODhDOTozNjZDMzMyOjRCRURCRjU6NkE2MzVDQjEiLCJ2aXNpdG9yX2lkIjoiNDkyNjAzNDU1NjM0NzQ0MDMwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 78179995c8c91d0cfbc0fb666fb079b15be56e90c5040fcab3d57a9cd11fb36d |
| hovercard-subject-tag | pull_request:3503588296 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/angular/angular-cli/pull/32959/files |
| twitter:image | https://avatars.githubusercontent.com/u/20875935?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20875935?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 71b1218de2f2ab29c4d5ce72568e68e2c56044c6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width