Derek Cormier
3288868217
build(bazel): run aio firebase redirect tests under bazel
...
Adjust to run under ci.
2022-11-22 13:51:16 -07:00
Derek Cormier
7fd6f04df1
build(bazel): run aio systemjs example e2es concurrently
...
These had to be run with the 'exclusive' tag under bazel due to
hardcoded ports.
2022-11-22 13:51:16 -07:00
Derek Cormier
308567167b
build(bazel): Fix a bug where the aio build artifact didn't include assets.
...
Copy the applicaiton sources to the bin dir in order to find the generated relative asset paths.
2022-11-22 13:51:16 -07:00
Derek Cormier
d9f90b55f6
build(bazel): build aio 404 page under bazel
...
The legacy build injected this file into the dist folder, however that's
not possible under bazel so files are copied to a new directory.
2022-11-22 13:51:16 -07:00
Derek Cormier
4cc881e7eb
build(bazel): clean up manual build contents for aio example deps
...
This avoids the need to depend on "node_modules" and "node_modules/.bin"
separately.
2022-11-22 13:51:16 -07:00
Derek Cormier
04935771b7
build(bazel): fix a failing example e2e test that failed to find the
...
shadow root
This broke after using the chrome version provided by dev-infra.
2022-11-22 13:51:16 -07:00
Derek Cormier
8775a745ad
build(bazel): fix some aio linting errors
...
Surfaced by modifying ci to include aio targets
2022-11-22 13:51:16 -07:00
Derek Cormier
50dee93f35
build(bazel): add aio targets to ci
...
This is a first pass. There is more work to do on package.json, adding
more test targets under bazel, and revising documentation.
2022-11-22 13:51:16 -07:00
Derek Cormier
bc1e93d639
build(bazel): refactor aio example e2es to fix windows performance
...
Use the same config flag to enable local vs npm deps as aio.
2022-11-22 13:51:16 -07:00
Derek Cormier
22a317de3d
build(bazel): stamp targets to build, test, and serve aio against
...
first party deps
Architect is not compatible with disabling the rules_nodejs linker so
these targets must use npm_link to link first party deps
2022-11-22 13:51:16 -07:00
Derek Cormier
7a134cf41a
build(bazel): incrementally run aio example e2e tests
...
Replaces the workflow where all example e2es are run at once
2022-11-22 13:51:16 -07:00
Derek Cormier
8015d467fd
build(bazel): remove rules_nodejs patch
...
This patch was added to remove an unnecessary wrapper script around
nodejs binaries which prevented running esm scripts when the linker
was disabled.
2022-11-22 13:51:16 -07:00
Derek Cormier
07126ae40f
build(bazel): fix race conditions in windows aio build
...
Disables the rules_nodejs linker and adds a custom esm module resolver
2022-11-22 13:51:16 -07:00
Derek Cormier
7c8ca113c1
build(bazel): replace ignore example feature with bazel equivalent
...
Comment out the entry in the EXAMPLES map to ignore an example.
2022-11-22 13:51:16 -07:00
Derek Cormier
9a27c4cb50
build(bazel): incrementally build aio example zips and live examples
...
The existing scripts were amended to work on one example at a time
2022-11-22 13:51:16 -07:00
Derek Cormier
7642abfb7a
build(bazel): fix bazel aio regressions after rebase
...
The aio-bazel-migration branch was rebased onto main to include runfiles
support on windows.
2022-11-22 13:51:16 -07:00
Derek Cormier
c5acfb2b33
build(bazel): run aio app tests with bazel-provided chromium
...
Similar to the e2e protractor tests
2022-11-22 13:51:16 -07:00
Derek Cormier
b5ebe9ae6e
build(bazel): run aio application e2e tests under bazel
...
Includes a postinstall fix for puppeteer so that chromium
can be run with protractor on osx under bazel
2022-11-22 13:51:16 -07:00
Derek Cormier
20ff128103
build(bazel): create targets for aio example tooling tests
...
This replaces the boilerplate:test npm script
2022-11-22 13:51:16 -07:00
Derek Cormier
8678550a94
build(bazel): create targets for aio docs tests
...
This replaces the docs-test npm script
2022-11-22 13:51:16 -07:00
Derek Cormier
2daf369ec8
build(bazel): add an aio fast serve target
...
This is equivalent to docs-watch in the legacy build.
2022-11-22 13:51:16 -07:00
Derek Cormier
9cb9161876
build(bazel): generate aio stackblitz and example zips
...
Can be served by running bazel run //aio:serve
2022-11-22 13:51:16 -07:00
Derek Cormier
655427f9b8
build(bazel): add a bazel aio serve target
...
This works with ibazel but is not highly incremental
2022-11-22 13:51:16 -07:00
Derek Cormier
431c562815
build(bazel): add bazel targets for aio doc generation
...
This is an incremental step to produce dgeni output with bazel. The
generated outputs are not yet used by other targets.
2022-11-22 13:51:16 -07:00
Bob Watson
4f03a9c327
docs: fix broken link in v15 deprecations table ( #48157 )
...
PR Close #48157
2022-11-22 11:39:47 -08:00
Bob Watson
2e2135bf18
docs: add missing documentation setup instructions ( #48174 )
...
PR Close #48174
2022-11-22 11:39:25 -08:00
Wooshaah
7fbb53f52d
docs(forms): fix typos in removeValidators and hasValidator usage notes ( #48144 )
...
PR Close #48144
2022-11-22 11:39:02 -08:00
Matthieu Riegler
5127a4d5ed
refactor(platform-browser): Remove ViewEncapsulation.Native warning ( #48101 )
...
ViewEncapsulation.Native has been dropped in v11, let's remove this warning.
PR Close #48101
2022-11-22 11:38:25 -08:00
Andrew Scott
83f0b7b7b2
refactor(router): Update RouterOutlet to not read internal route property ( #48112 )
...
The `RouterOutlet` currently reads the `_futureSnapshot` of the Route.
However, by the time `activateWith` is called, this value is the same as
`snapshot` (https://github.com/angular/angular/blob/414b1b2d5ffe8eac33749bf472af7eafcf248dba/packages/router/src/operators/activate_routes.ts#L163-L205 ).
This change will make it easier for developers to fork the `RouterOutlet`
implementation if necessary without needing to modify any code.
PR Close #48112
2022-11-22 11:37:38 -08:00
Andrew Scott
bc148c30d5
refactor(router): Remove unnecessary logic in enabledBlocking option ( #48064 )
...
The `initNavigated` flag is not necessary. The way `enabledBlocking`
works is by blocking any navigations from finishing until the
application has bootstrapped. The bootstrap is unblocked as soon as we
hit the `afterPreactivation` step. After that point,
`afterPreactivation` is always unblocked because the `bootstrapDone`
Subject is completed/stopped. There is no need for an additional
variable to track this information.
PR Close #48064
2022-11-22 11:36:14 -08:00