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
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"name": "platform-server-integration",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"description": "Integration tests for @angular/platform-server",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/angular/angular.git"
|
|
},
|
|
"dependencies": {
|
|
"@angular/animations": "file:../../dist/packages-dist/animations",
|
|
"@angular/common": "file:../../dist/packages-dist/common",
|
|
"@angular/compiler": "file:../../dist/packages-dist/compiler",
|
|
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
|
|
"@angular/core": "file:../../dist/packages-dist/core",
|
|
"@angular/platform-browser": "file:../../dist/packages-dist/platform-browser",
|
|
"@angular/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic",
|
|
"@angular/platform-server": "file:../../dist/packages-dist/platform-server",
|
|
"express": "4.16.4",
|
|
"rxjs": "file:../../node_modules/rxjs",
|
|
"typescript": "file:../../node_modules/typescript",
|
|
"zone.js": "file:../../dist/zone.js-dist/zone.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jasmine": "2.5.41",
|
|
"@types/node": "file:../../node_modules/@types/node",
|
|
"babel-core": "6.26.3",
|
|
"babel-loader": "6.4.1",
|
|
"babel-preset-es2015": "6.24.1",
|
|
"concurrently": "3.1.0",
|
|
"protractor": "file:../../node_modules/protractor",
|
|
"raw-loader": "0.5.1",
|
|
"webpack": "2.7.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "webdriver-manager update --gecko false --standalone false $CI_CHROMEDRIVER_VERSION_ARG",
|
|
"build": "./build.sh",
|
|
"test": "npm run build && concurrently \"npm run serve\" \"npm run protractor\" --kill-others --success first",
|
|
"serve": "node built/server-bundle.js",
|
|
"preprotractor": "tsc -p e2e",
|
|
"protractor": "protractor e2e/protractor.config.js"
|
|
}
|
|
}
|