Skip to content

Commit ac9db98

Browse files
clydinalan-agius4
authored andcommitted
fix(@angular-devkit/build-angular): add protractor as an optional peer dependency
protractor is currently used by the protractor builder within this package but is not represented in the dependencies. The can lead to accidental version mismatches as well as package manager hoisting problems due to the package manager not knowing the full dependency set of the package.
1 parent 5bbac07 commit ac9db98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/angular_devkit/build_angular/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"@angular/localize": "^11.0.0 || ^11.0.0-next",
8484
"karma": "^5.2.0",
8585
"ng-packagr": "^10.0.0",
86+
"protractor": "^7.0.0",
8687
"typescript": ">=3.9 < 4.1"
8788
},
8889
"peerDependenciesMeta": {
@@ -94,6 +95,9 @@
9495
},
9596
"ng-packagr": {
9697
"optional": true
98+
},
99+
"protractor": {
100+
"optional": true
97101
}
98102
}
99103
}

0 commit comments

Comments
 (0)