Closed
Description
Command
new
Description
Update rxjs to v7.x
Describe the solution you'd like
rxjs is a quite heavy package at least in terms of the number of files (v6.x ~3.7K, v7.x ~2.3K). It'd be nice if the @angular-devkit
packages updated to rxjs v7.x so that it can be deduped by package managers. An example from keycloak-angular:
C:\Users\xmr\Desktop\keycloak-angular>npm ls rxjs
keycloak-angular@13.0.0 C:\Users\xmr\Desktop\keycloak-angular
+-- @angular-devkit/build-angular@15.0.2
| +-- @angular-devkit/architect@0.1500.2
| | `-- rxjs@6.6.7
| +-- @angular-devkit/build-webpack@0.1500.2
| | `-- rxjs@6.6.7
| +-- inquirer@8.2.4
| | `-- rxjs@7.6.0 deduped
| `-- rxjs@6.6.7
+-- @angular-devkit/core@15.0.2
| `-- rxjs@6.6.7
+-- @angular/cli@15.0.2
| `-- @angular-devkit/schematics@15.0.2
| `-- rxjs@6.6.7
+-- @angular/common@15.0.2
| `-- rxjs@7.6.0 deduped
+-- @angular/core@15.0.2
| `-- rxjs@7.6.0 deduped
+-- @angular/router@15.0.2
| `-- rxjs@7.6.0 deduped
+-- concurrently@7.6.0
| `-- rxjs@7.6.0 deduped
+-- ng-packagr@15.0.1
| `-- rxjs@7.6.0 deduped
`-- rxjs@7.6.0
Diff if I remove the duplicate rxjs 6.x packages from node_modules
:
327 MB (343.012.651 bytes)
50.909 Files, 6.350 Folders
302 MB (317.352.111 bytes)
32.816 Files, 5.910 Folders
As you can see, even with fast disks and fast connections, this would significantly reduce the disk churn.
Sorry if there's had been an issue about it already, I searched but I couldn't find an existent issue.
Describe alternatives you've considered
No response