mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7d476782dd
Note that this is not a public-facing change because the compiler is not supposed to be used directly. See `public-api-surface.md` We are changing this because in the current state, for advanced setups like our Bazel infrastructure in Material, this peer dependency can result in a cycle. That is because we may decide to link the `@angular/core` package using the compiler-cli/compiler; while transitively the compiler has a dependency on core. That's a cycle (surfacing in Bazel w/ `rules_js`). Dropping this optional peer dependency is acceptable because `core`, since recently, also has an optional peer dependency on the compiler. This one makes more sense and is also more user-facing (people generally never install the compiler directly). Notably the compiler does not have any runtime dependency on `core` and this was purely added for some safety checking. See: https://github.com/angular/angular/commit/8c171da29f499648273e61cfb5bffaa4278097e5 PR Close #60437
25 lines
530 B
JSON
25 lines
530 B
JSON
{
|
|
"name": "@angular/compiler",
|
|
"version": "0.0.0-PLACEHOLDER",
|
|
"description": "Angular - the compiler library",
|
|
"author": "angular",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "^18.19.1 || ^20.11.1 || >=22.0.0"
|
|
},
|
|
"dependencies": {
|
|
"tslib": "^2.3.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/angular/angular.git",
|
|
"directory": "packages/compiler"
|
|
},
|
|
"ng-update": {
|
|
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
|
|
},
|
|
"sideEffects": [
|
|
"./fesm2022/compiler.mjs"
|
|
]
|
|
}
|