Skip to content

Commit 47e38d5

Browse files
committed
refactor: add missing peer depedency on @angular/core and tslib
This is required to support strict mode in pnpm. Closes #30068
1 parent 0a84d6c commit 47e38d5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/angular/build/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"rxjs": "7.8.2"
5858
},
5959
"peerDependencies": {
60+
"@angular/core": "0.0.0-ANGULAR-FW-PEER-DEP",
6061
"@angular/compiler": "0.0.0-ANGULAR-FW-PEER-DEP",
6162
"@angular/compiler-cli": "0.0.0-ANGULAR-FW-PEER-DEP",
6263
"@angular/localize": "0.0.0-ANGULAR-FW-PEER-DEP",
@@ -69,9 +70,13 @@
6970
"ng-packagr": "0.0.0-NG-PACKAGR-PEER-DEP",
7071
"postcss": "^8.4.0",
7172
"tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0",
73+
"tslib": "^2.3.0",
7274
"typescript": ">=5.8 <5.9"
7375
},
7476
"peerDependenciesMeta": {
77+
"@angular/core": {
78+
"optional": true
79+
},
7580
"@angular/localize": {
7681
"optional": true
7782
},

packages/angular_devkit/build_angular/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"undici": "7.7.0"
7474
},
7575
"peerDependencies": {
76+
"@angular/core": "0.0.0-ANGULAR-FW-PEER-DEP",
7677
"@angular/compiler-cli": "0.0.0-ANGULAR-FW-PEER-DEP",
7778
"@angular/localize": "0.0.0-ANGULAR-FW-PEER-DEP",
7879
"@angular/platform-browser": "0.0.0-ANGULAR-FW-PEER-DEP",
@@ -90,6 +91,9 @@
9091
"typescript": ">=5.8 <5.9"
9192
},
9293
"peerDependenciesMeta": {
94+
"@angular/core": {
95+
"optional": true
96+
},
9397
"@angular/localize": {
9498
"optional": true
9599
},

0 commit comments

Comments
 (0)