Skip to content

Commit 0cff9a1

Browse files
devversionAndrewKushnir
authored andcommittedMar 10, 2025·
fix(platform-server): add missing peer dependency for rxjs (#60308)
The server package imports from `rxjs`, but the dependency was not specified as `peerDependency`, nor `dependency`. This surfaces as an error in strict dependency environments, like with pnpm's symlinked node modules structure. This commit fixes this. It presumably doesn't fail with e.g. Yarn, or npm because of node modules hoisting. PR Close #60308
1 parent 6521be2 commit 0cff9a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎packages/platform-server/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"@angular/common": "0.0.0-PLACEHOLDER",
1212
"@angular/compiler": "0.0.0-PLACEHOLDER",
1313
"@angular/core": "0.0.0-PLACEHOLDER",
14-
"@angular/platform-browser": "0.0.0-PLACEHOLDER"
14+
"@angular/platform-browser": "0.0.0-PLACEHOLDER",
15+
"rxjs": "^6.5.3 || ^7.4.0"
1516
},
1617
"dependencies": {
1718
"tslib": "^2.3.0",

0 commit comments

Comments
 (0)
Please sign in to comment.