angular/packages/core/package.json
Emil Rowland 7eb59d3887 fix(core): added @angular/compiler as a peer dependency (#55610)
This fixes an issue with packages managers likes pmpm
that will not link the @angular/compiler package to the @angular/core
package if it is not listed as a peer dependency.
I added it as optional peer dependency as it's only used in special cases.

Fixes #38096

PR Close #55610
2025-03-04 22:06:59 +00:00

42 lines
997 B
JSON

{
"name": "@angular/core",
"version": "0.0.0-PLACEHOLDER",
"description": "Angular - the core framework",
"author": "angular",
"license": "MIT",
"engines": {
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
},
"exports": {
"./schematics/*": {
"default": "./schematics/*.js"
},
"./event-dispatch-contract.min.js": {
"default": "./event-dispatch-contract.min.js"
}
},
"dependencies": {
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/compiler": "0.0.0-PLACEHOLDER",
"rxjs": "^6.5.3 || ^7.4.0",
"zone.js": "~0.15.0"
},
"peerDependenciesMeta": {
"@angular/compiler": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.git",
"directory": "packages/core"
},
"ng-update": {
"migrations": "./schematics/migrations.json",
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
},
"schematics": "./schematics/collection.json",
"sideEffects": false
}