build: remove references to tsc-wrapped
(#19298)
With this commit `ngc` is used instead of `tsc-wrapped` for collecting metadata and tsickle rewriting and `tsc-wrapped` is removed from the repository. `@angular/tsc-wrapped@5` is now deprecated and is no longer used, updated, or maintained as part as of Angular 5.x.x. `@angular/tsc-wrapped@4` is still maintained and required by Angular 4.x.x and will be maintained as long as 4.x.x is in LTS. PR Close #19298
This commit is contained in:

committed by
Igor Minar

parent
4c73b52d5c
commit
f96142cd7c
9
test.sh
9
test.sh
@ -19,12 +19,13 @@ else
|
||||
fi
|
||||
echo "Compiling tools..."
|
||||
$(npm bin)/tsc -p tools
|
||||
$(npm bin)/tsc -p packages/tsc-wrapped
|
||||
if [[ $1 == 'node' ]]; then
|
||||
# Note: .metadata.json files are needed for the language service tests!
|
||||
echo "Creating .metadata.json files..."
|
||||
node --max-old-space-size=3000 dist/all/@angular/tsc-wrapped/src/main -p packages
|
||||
node --max-old-space-size=3000 dist/all/@angular/tsc-wrapped/src/main -p modules
|
||||
echo "Building compiler..."
|
||||
$(npm bin)/tsc -p packages/compiler/tsconfig-tools.json
|
||||
$(npm bin)/tsc -p packages/compiler-cli/tsconfig-tools.json
|
||||
echo "Creating packages .metadata.json files..."
|
||||
node --max-old-space-size=3000 dist/tools/@angular/compiler-cli/src/main -p packages/tsconfig-metadata.json
|
||||
fi
|
||||
node dist/tools/tsc-watch/ $1 watch $2
|
||||
fi
|
||||
|
Reference in New Issue
Block a user