build: upgrade to TypeScript 2.7 (#22669)
Fixes: #21571 PR Close #22669
This commit is contained in:

committed by
Kara Erickson

parent
a225b48482
commit
8449eb8d62
@ -8,7 +8,7 @@ set -u -e -o pipefail
|
||||
# packages, then install them from the resulting .tgz files later.
|
||||
ANGULAR_PKGS=$(npm pack dist/packages-dist/{common,forms,core,compiler,compiler-cli,platform-{browser,server},platform-browser-dynamic,router,http,animations} | awk "{ printf \"$PWD/\"; print }")
|
||||
|
||||
TYPESCRIPT_2_4=typescript@2.4.x
|
||||
TYPESCRIPT_VERSION=typescript@2.7.2
|
||||
PKGS=(
|
||||
reflect-metadata@0.1.8
|
||||
zone.js@0.8.7
|
||||
@ -33,7 +33,7 @@ cp -v package.json $TMP
|
||||
(
|
||||
cd $TMP
|
||||
set -ex -o pipefail
|
||||
npm install ${PKGS[*]} $TYPESCRIPT_2_4
|
||||
npm install ${PKGS[*]} $TYPESCRIPT_VERSION
|
||||
npm install ${ANGULAR_PKGS[*]}
|
||||
|
||||
./node_modules/.bin/tsc --version
|
||||
|
Reference in New Issue
Block a user