feat(ngcc): automatically clean outdated ngcc artifacts (#35079)

If ngcc gets updated to a new version then the artifacts
left in packages that were processed by the previous
version are possibly invalid.

Previously we just errored if we found packages that
had already been processed by an outdated version.

Now we automatically clean the packages that have
outdated artifacts so that they can be reprocessed
correctly with the current ngcc version.

Fixes #35082

PR Close #35079
This commit is contained in:
Pete Bacon Darwin
2020-01-31 21:07:59 +00:00
committed by Misko Hevery
parent 2e52fcf1eb
commit 2bfddcf29f
9 changed files with 548 additions and 7 deletions

View File

@ -31,6 +31,7 @@ nodejs_test(
"@nodejs//:node",
"@npm//domino",
"@npm//chokidar",
"@npm//fs-extra",
"@npm//source-map-support",
"@npm//shelljs",
"@npm//typescript",