mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "@angular/localize",
|
|
"version": "0.0.0-PLACEHOLDER",
|
|
"description": "Angular - library for localizing messages",
|
|
"bin": {
|
|
"localize-translate": "./tools/bundles/src/translate/cli.js",
|
|
"localize-extract": "./tools/bundles/src/extract/cli.js",
|
|
"localize-migrate": "./tools/bundles/src/migrate/cli.js"
|
|
},
|
|
"exports": {
|
|
"./tools": {
|
|
"types": "./tools/index.d.ts",
|
|
"default": "./tools/bundles/index.js"
|
|
}
|
|
},
|
|
"author": "angular",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "^12.20.0 || ^14.15.0 || >=16.10.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/angular/angular.git"
|
|
},
|
|
"schematics": "./schematics/collection.json",
|
|
"ng-update": {
|
|
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
|
|
},
|
|
"ng-add": {
|
|
"save": "devDependencies"
|
|
},
|
|
"sideEffects": [
|
|
"**/init/index.mjs",
|
|
"**/init.mjs"
|
|
],
|
|
"dependencies": {
|
|
"@babel/core": "7.8.6",
|
|
"glob": "7.2.0",
|
|
"yargs": "^17.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"@angular/compiler": "0.0.0-PLACEHOLDER",
|
|
"@angular/compiler-cli": "0.0.0-PLACEHOLDER"
|
|
}
|
|
}
|