angular-cli
angular-cli copied to clipboard
Support yarn/pnpm catalogs
Command
update
Description
Both yarn and pnpm have catalogs now
- https://yarnpkg.com/features/catalogs
- https://pnpm.io/catalogs
Would be neat if ng update would work with it. Currently it doesn't.
Using package manager: yarn
Collecting installed dependencies...
Found 17 dependencies.
Package @angular/build was not found on the registry. Skipping.
Package @angular/cli was not found on the registry. Skipping.
Package @angular/compiler-cli was not found on the registry. Skipping.
Package @angular/common was not found on the registry. Skipping.
Package @angular/compiler was not found on the registry. Skipping.
Package @angular/core was not found on the registry. Skipping.
Package @angular/forms was not found on the registry. Skipping.
Package @angular/platform-browser was not found on the registry. Skipping.
Package @angular/router was not found on the registry. Skipping.
We analyzed your package.json and everything seems to be in order. Good work!
// package.json
"dependencies": {
"@angular/common": "catalog:angular",
"@angular/compiler": "catalog:angular",
"@angular/core": "catalog:angular",
"@angular/forms": "catalog:angular",
"@angular/platform-browser": "catalog:angular",
"@angular/router": "catalog:angular",
# yarnrc.yml
catalogs:
angular:
'@angular/common': ^20.3.0
'@angular/core': ^20.3.0
'@angular/compiler': ^20.3.0
'@angular/forms': ^20.3.0
'@angular/platform-browser': ^20.3.0
'@angular/router': ^20.3.9
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.
You can find more details about the feature request process in our documentation.