fix(platform-browser): add missing peerDependency on `@angular/animations` (#35949)
`@angular/platform-browser/animations` has a dependency on `@angular/animations` however, this is not listed in `peerDependencies` With this change we add this package as an optional peerDependency as it's only required when using the `@angular/platform-browser/animations` entrypoint. Fixes #35888 PR Close #35949
This commit is contained in:
parent
fc71032dc4
commit
64d6f13b87
|
@ -13,10 +13,16 @@
|
||||||
"author": "angular",
|
"author": "angular",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
"@angular/animations": "0.0.0-PLACEHOLDER",
|
||||||
"@angular/core": "0.0.0-PLACEHOLDER",
|
"@angular/core": "0.0.0-PLACEHOLDER",
|
||||||
"@angular/common": "0.0.0-PLACEHOLDER",
|
"@angular/common": "0.0.0-PLACEHOLDER",
|
||||||
"tslib": "^1.10.0"
|
"tslib": "^1.10.0"
|
||||||
},
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"@angular/animations": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/angular/angular.git",
|
"url": "https://github.com/angular/angular.git",
|
||||||
|
|
Loading…
Reference in New Issue