mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
93078e3709
When @angular/bazel is installed, a postinstall script is run to make sure that the npm version is *exactly* the same as the Angular repository install by Bazel. This check is overly stringent. Instead, it should enforce that the version satisfies the range check instead. This is consistent with the range defined in angular-cli/packages/schematics/angular/utility/latest-versions.ts. This commit also fixes the Bazel workspace to use the same Rxjs version if it's already installed. PR Close #27591
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "@angular/bazel",
|
|
"version": "0.0.0-PLACEHOLDER",
|
|
"description": "Angular - bazel build rules",
|
|
"author": "angular",
|
|
"license": "MIT",
|
|
"bin": {
|
|
"ngc-wrapped": "./src/ngc-wrapped/index.js",
|
|
"packager": "./src/ng_package/packager.js",
|
|
"xi18n": "./src/ngc-wrapped/extract_i18n.js",
|
|
"modify_tsconfig": "./src/modify_tsconfig.js"
|
|
},
|
|
"typings": "./src/ngc-wrapped/index.d.ts",
|
|
"dependencies": {
|
|
"@angular-devkit/architect": "^0.10.6",
|
|
"@angular-devkit/core": "^7.0.4",
|
|
"@angular-devkit/schematics": "^7.0.4",
|
|
"@bazel/typescript": "^0.21.0",
|
|
"@schematics/angular": "^7.0.4",
|
|
"@types/node": "6.0.84",
|
|
"semver": "^5.6.0",
|
|
"shelljs": "0.8.2",
|
|
"tsickle": "0.34.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@angular/compiler-cli": "0.0.0-PLACEHOLDER",
|
|
"typescript": ">=3.1.1 <3.2"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/angular/angular.git"
|
|
},
|
|
"builders": "./src/builders/builders.json",
|
|
"schematics": "./src/schematics/collection.json",
|
|
"ng-update": {
|
|
"packageGroup": "NG_UPDATE_PACKAGE_GROUP"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "node ./check_version.js"
|
|
}
|
|
}
|