fix(bazel): Fix integration test after v8 bump (#28194)
The integration test for bazel-schematics installs Angular in two different locations: 1. Bazel workspace 2. package.json -> fetched from npm Pull request #28142 changes the test to always install (1) from source. This breaks when there's a major version bump since the versions locally and the version in package.json no longer match. This change updates package.json to fetch @angular/* packages locally as well. PR Close #28194
This commit is contained in:

committed by
Andrew Kushnir

parent
35ec2dc9bc
commit
279c57f38d
@ -13,6 +13,7 @@ function testBazel() {
|
||||
# TODO(kyliau) Remove this once the type annotations are added to AppPage
|
||||
# https://github.com/angular/angular-cli/pull/13406
|
||||
cp ../app.po.ts ./e2e/src/
|
||||
cp ../package.json.replace ./package.json
|
||||
# Run build
|
||||
# TODO(kyliau): Use `bazel build` for now. Running `ng build` requires
|
||||
# node_modules to be available in project directory.
|
||||
|
Reference in New Issue
Block a user