4ece0eb27c
Since we cannot run `yarn install` with the `--frozen-lockfile` option (because we want to be able to install the locally built Angular packages), integration project lockfiles are susceptible to getting out-of-sync with the corresponding `package.json`. When this happens, yarn will install the latest available version that satisfies the version range specified in `package.json`. This commit adds another line of defense, by specifying exact versions for the dependencies in `package.json` files (i.e. `1.33.7` instead of `^1.33.0`). While transitive dependencies will be unpinned, this still ensures that the same version of direct dependencies will be installed in case of an out-of-sync lockfile, thus reducing the probability of random failures. PR Close #33968
45 lines
1.7 KiB
JSON
45 lines
1.7 KiB
JSON
{
|
|
"name": "angular-bazel",
|
|
"description": "example and integration test for building Angular apps with Bazel",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@angular/animations": "file:../../dist/packages-dist/animations",
|
|
"@angular/cdk": "8.0.1",
|
|
"@angular/common": "file:../../dist/packages-dist/common",
|
|
"@angular/core": "file:../../dist/packages-dist/core",
|
|
"@angular/forms": "file:../../dist/packages-dist/forms",
|
|
"@angular/material": "8.0.1",
|
|
"@angular/platform-browser": "file:../../dist/packages-dist/platform-browser",
|
|
"@angular/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic",
|
|
"@angular/router": "file:../../dist/packages-dist/router",
|
|
"reflect-metadata": "0.1.12",
|
|
"rxjs": "file:../../node_modules/rxjs",
|
|
"tslib": "file:../../node_modules/tslib",
|
|
"zone.js": "0.10.2"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/bazel": "file:../../dist/packages-dist/bazel",
|
|
"@angular/compiler": "file:../../dist/packages-dist/compiler",
|
|
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
|
|
"@bazel/bazel": "file:../../node_modules/@bazel/bazel",
|
|
"@bazel/karma": "0.40.0",
|
|
"@bazel/protractor": "0.40.0",
|
|
"@bazel/rollup": "0.40.0",
|
|
"@bazel/terser": "0.40.0",
|
|
"@bazel/typescript": "0.40.0",
|
|
"@types/jasmine": "2.8.8",
|
|
"http-server": "0.11.1",
|
|
"rollup": "1.25.2",
|
|
"rollup-plugin-commonjs": "10.1.0",
|
|
"rollup-plugin-node-resolve": "5.2.0",
|
|
"rollup-plugin-sourcemaps": "0.4.2",
|
|
"terser": "4.3.9",
|
|
"typescript": "3.6.4"
|
|
},
|
|
"scripts": {
|
|
"test": "bazel build ... --noshow_progress && bazel test ...",
|
|
"postinstall": "ngcc"
|
|
}
|
|
}
|