fix(build): prevent package tsconfigs from shadowing main tsconfig (#11454)
This commit is contained in:
parent
077e0be1e7
commit
d296298282
2
build.sh
2
build.sh
|
@ -82,7 +82,7 @@ do
|
||||||
LICENSE_BANNER=${PWD}/modules/@angular/license-banner.txt
|
LICENSE_BANNER=${PWD}/modules/@angular/license-banner.txt
|
||||||
|
|
||||||
echo "====== COMPILING: ${TSC} -p ${SRCDIR}/tsconfig.json ====="
|
echo "====== COMPILING: ${TSC} -p ${SRCDIR}/tsconfig.json ====="
|
||||||
$TSC -p ${SRCDIR}/tsconfig.json
|
$TSC -p ${SRCDIR}/tsconfig-build.json
|
||||||
|
|
||||||
cp ${SRCDIR}/package.json ${DESTDIR}/
|
cp ${SRCDIR}/package.json ${DESTDIR}/
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@ $(npm bin)/tsc -v
|
||||||
$(npm bin)/tsc -p tools
|
$(npm bin)/tsc -p tools
|
||||||
cp tools/@angular/tsc-wrapped/package.json dist/tools/@angular/tsc-wrapped
|
cp tools/@angular/tsc-wrapped/package.json dist/tools/@angular/tsc-wrapped
|
||||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules
|
node dist/tools/@angular/tsc-wrapped/src/main -p modules
|
||||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/core
|
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/core/tsconfig-build.json
|
||||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/common
|
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/common/tsconfig-build.json
|
||||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/router
|
node dist/tools/@angular/tsc-wrapped/src/main -p modules/@angular/router/tsconfig-build.json
|
||||||
|
|
||||||
echo 'travis_fold:end:BUILD'
|
echo 'travis_fold:end:BUILD'
|
||||||
|
|
Loading…
Reference in New Issue