angular/packages/compiler-cli/package.json
Paul Gschwendtner e0a0d05d45 feat(core): update node version support range to support v16 (#43740)
This commit updates the `node` engines range for all Angular
framework packages to:

* No longer support NodeJS v12 `< 12.20`. This is done because APF v13
  uses package export patterns which are only supported as of v12.20.
  https://nodejs.org/api/packages.html#packages_subpath_patterns.

* Allows for the latest v16 NodeJS versions. This matches with the CLI
  which added NodeJS v16 support with https://github.com/angular/angular-cli/pull/21854.

  We already limit this to `>= v16.10.0` in preparation to only
  supporting the LTS minors of Node v16.

BREAKING CHANGE: NodeJS versions older than `v12.20.0` are no longer
supported due to the Angular packages using the NodeJS package exports
feature with subpath patterns.

PR Close #43740
2021-10-06 10:55:44 -07:00

92 lines
2.6 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.8.6",
"reflect-metadata": "^0.1.2",
"canonical-path": "1.0.0",
"chokidar": "^3.0.0",
"convert-source-map": "^1.5.1",
"dependency-graph": "^0.11.0",
"magic-string": "^0.25.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.4.2 <4.5"
},
"repository": {
"type": "git",
"url": "https://github.com/angular/angular.git",
"directory": "packages/compiler-cli"
},
"keywords": [
"angular",
"compiler"
],
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^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"
}
}