mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Speeds up the dev-turnaround by only bundling types when packaging. Currently bundling occurs for all the `ng_module` targets in devmode. This has various positive benefits: * Avoidance of this rather slower operation in development * Makes APF-built packages also handle types for `ts_library` targets consistently. * Allows us to ensure APF entry-points have `d.ts` _always_ bundled (working with ESM module resolution in TypeScript -- currently experimental) * Allows us to remove the secondary `package.json` files from APF (maybe APF v14? - seems low-impact). This would clean-up the APF even more and fix resolution issues (like in Vite) PR Close #45405
46 lines
1.1 KiB
JSON
46 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": "^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": [
|
|
"./esm2020/init/**",
|
|
"./fesm2015/init.mjs",
|
|
"./fesm2020/init.mjs"
|
|
],
|
|
"dependencies": {
|
|
"@babel/core": "7.17.9",
|
|
"glob": "8.0.1",
|
|
"yargs": "^17.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"@angular/compiler": "0.0.0-PLACEHOLDER",
|
|
"@angular/compiler-cli": "0.0.0-PLACEHOLDER"
|
|
}
|
|
}
|