mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1ccd1eed92
* Due to the fact that we modify the `package.json` in cronjobs without updating the actual lock-file, the `--frozen-lockfile` installation fails. In order to fix this, we should just re-install the dependencies after the general `yarn` installation.
13 lines
419 B
Bash
Executable File
13 lines
419 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Script that re-installs all Angular dependencies using the GitHub build snapshots. We need to
|
|
# this after the locked node modules have been installed because otherwise `--frozen-lockfile`
|
|
# would complain about outdated lock files.
|
|
set -e
|
|
|
|
# Go to the project root directory
|
|
cd $(dirname $0)/../
|
|
|
|
yarn add \
|
|
$(awk 'match($0, "@angular/(.*)\":", m){print "github:angular/"m[1]"-builds"}' package.json)
|