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.
This commit is contained in:
Charles Lyding 2020-09-25 16:05:20 -04:00 committed by Alan Agius
parent 5bbac0774f
commit ac9db989b8

View File

@ -83,6 +83,7 @@
"@angular/localize": "^11.0.0 || ^11.0.0-next",
"karma": "^5.2.0",
"ng-packagr": "^10.0.0",
"protractor": "^7.0.0",
"typescript": ">=3.9 < 4.1"
},
"peerDependenciesMeta": {
@ -94,6 +95,9 @@
},
"ng-packagr": {
"optional": true
},
"protractor": {
"optional": true
}
}
}