angular/packages/compiler-cli/package.json
Kristiyan Kostadinov 29039fcdbc feat(core): support TypeScript 4.7 (#45749)
Adds support for TypeScript 4.7. Changes include:
* Bumping the TS version as well as some Bazel dependencies to include https://github.com/bazelbuild/rules_nodejs/pull/3420.
* Adding a backwards-compatibility layer for calls to `updateTypeParameterDeclaration`.
* Making `LView` generic in order to make it easier to type the context based on the usage. Currently the context can be 4 different types which coupled with stricter type checking would required a lot of extra casting all over `core`.
* Fixing a bunch of miscellaneous type errors.
* Removing assertions of `ReferenceEntry.isDefinition` in a few of the language service tests. The field isn't returned by TS anymore and we weren't using it for anything.
* Resolving in error in the language service that was caused by TS attempting to parse HTML files when we try to open them. Previous TS was silently setting them as `ScriptKind.Unknown` and ignoring the errors, but now it throws. I've worked around it by setting them as `ScriptKind.JSX`.

PR Close #45749
2022-04-29 12:19:45 -04:00

91 lines
2.5 KiB
JSON

{
"name": "@angular/compiler-cli",
"version": "0.0.0-PLACEHOLDER",
"description": "Angular - the compiler CLI for Node.js",
"typings": "index.d.ts",
"bin": {
"ngcc": "./bundles/ngcc/main-ngcc.js",
"ngc": "./bundles/src/bin/ngc.js",
"ng-xi18n": "./bundles/src/bin/ng_xi18n.js"
},
"type": "module",
"exports": {
".": {
"types": "./index.d.ts",
"default": "./bundles/index.js"
},
"./package.json": {
"default": "./package.json"
},
"./ngcc": {
"types": "./ngcc/index.d.ts",
"default": "./bundles/ngcc/index.js"
},
"./linker": {
"types": "./linker/index.d.ts",
"default": "./bundles/linker/index.js"
},
"./linker/babel": {
"types": "./linker/babel/index.d.ts",
"default": "./bundles/linker/babel/index.js"
},
"./private/bazel": {
"types": "./private/bazel.d.ts",
"default": "./bundles/private/bazel.js"
},
"./private/localize": {
"types": "./private/localize.d.ts",
"default": "./bundles/private/localize.js"
},
"./private/migrations": {
"types": "./private/migrations.d.ts",
"default": "./bundles/private/migrations.js"
},
"./private/tooling": {
"types": "./private/tooling.d.ts",
"default": "./bundles/private/tooling.js"
},
"./ngcc/src/execution/cluster/ngcc_cluster_worker": {
"default": "./bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js"
},
"./ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker": {
"default": "./bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js"
}
},
"dependencies": {
"@babel/core": "^7.17.2",
"reflect-metadata": "^0.1.2",
"chokidar": "^3.0.0",
"convert-source-map": "^1.5.1",
"dependency-graph": "^0.11.0",
"magic-string": "^0.26.0",
"semver": "^7.0.0",
"sourcemap-codec": "^1.4.8",
"tslib": "^2.3.0",
"yargs": "^17.2.1"
},
"peerDependencies": {
"@angular/compiler": "0.0.0-PLACEHOLDER",
"typescript": ">=4.6.2 <4.8"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.git",
"directory": "packages/compiler-cli"
},
"keywords": [
"angular",
"compiler"
],
"license": "MIT",
"engines": {
"node": "^14.15.0 || >=16.10.0"
},
"bugs": {
"url": "https://github.com/angular/angular/issues"
},
"homepage": "https://github.com/angular/angular/tree/master/packages/compiler-cli",
"ng-update": {
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
}
}