test(ngcc): build zone.js
from source in scripts/build-packages-dist.sh
(#33733)
In #33046, internal uses of `zone.js` were switched to reference it directly from source (built with Bazel) instead of npm. As a result, the necessary scripts were updated to build `zone.js` as necessary. However, some `integration/**/debug-test.sh` scripts were missed (apparently because they are not used on CI, but only locally as helpers for debugging the integration projects). This commit updates the `scripts/build-packages-dist.sh` script to also build `zone.js`, so that other scripts (such as the various `debug-test.sh` scripts) can use it. PR Close #33733
This commit is contained in:

committed by
Kara Erickson

parent
f1b0547f0a
commit
74b7d1ace1
@ -36,9 +36,6 @@ else
|
||||
TEST_DIRS=$(ls | grep -v node_modules)
|
||||
fi
|
||||
|
||||
# We need to build zone.js npm package because it is not built in build-packages-dist.sh
|
||||
${bazel_bin} build //packages/zone.js:npm_package
|
||||
|
||||
# Workaround https://github.com/yarnpkg/yarn/issues/2165
|
||||
# Yarn will cache file://dist URIs and not update Angular code
|
||||
readonly cache=.yarn_local_cache
|
||||
|
Reference in New Issue
Block a user