Derek Cormier
|
f37dd0fc96
|
build(bazel): create AIO example playgrounds for manual testing
After the bazel migration, AIO examples are no longer fully formed in
the source tree.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
e4b82cea26
|
build(bazel): clean up pathing in aio build tooling
Make use of process.env.RUNFILES.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
ffea372105
|
build(bazel): update documentation for docs authors
Where possible, preseve the original yarn commands.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
c777fa7e22
|
build(bazel): fix a11y and pwa tests on Windows
Needed to use absoulte paths and fix a separator.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
cd1a90974a
|
build(bazel): fix broken aio github links on Windows
Caused the aio e2e tests to fail.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
474671568e
|
build(bazel): fix aio example systemjs tests for locally linked packages
These required a preserveSymlinks hack similar to the CLI tests
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
b6d80fb564
|
build(bazel): fix a bug where the opensearch url coudln't be substituted
The file was write protected in the bazel output tree.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
9d4211e52b
|
build(bazel): fix aio payload test to work with bazel output
Was pointing to legacy build dist folder.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
74d358b177
|
build(bazel): fix a bug where deps in aio local build were not included
This was breaking the local deps build.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
7bcefdcc63
|
build(bazel): selectively enable network access for some aio targets
By default network access is disabled for actions on ci.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
0d8f87407f
|
build(bazel): use git toolchain for dgeni build
Now using a toolchain from dev-infra that provides the
path to git in a template var.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
19397c2214
|
build(bazel): fix some regressions
Caused by some incompatible changes that were merged in.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
db478ab776
|
build(bazel): avoid network call during aio build by not inlining fonts
Allows the aio build target to be run under remote-exec
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
e27b3a6b7c
|
build(bazel): avoid writing ngsw-config to the source tree
This was originally done before runfiles was enabled and the output
and source trees were not merged for architect targets.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
72fbae01be
|
build(bazel): fix a circular dep in aio
Probably caused by some incompatible merges.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
b4c40c5d55
|
build(bazel): merge aio/tools/defaults.bzl and tools/defaults.bzl
Detect the correct workspace for the source maps dep.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
076c932497
|
build(bazel): patch architect to not clear output
Otherwise a failed build requires looking in the command log for the
error.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
8420a293b3
|
build(bazel): restore filtering for example e2e tests
Added a wrapper script that performs bazel queries, filters, then runs
the tests.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
3dba677763
|
build(bazel): adjust aio opensearch substitution with bazel paths
Now points to the bazel dist folder.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
944d107826
|
build(bazel): fix a bug where aio firebase utils tests could not link
deps
ts-node doesn't appear to use the require patch
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
1aeb8aa85c
|
build(bazel): run firebase deployment tests under bazel
The deployment is still run from a yarn script.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
e1cc2e14b4
|
build(bazel): test aio pwa score under bazel
Refactored the a11y score tests to share the pattern of running an http
server alongside a test script.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
9752d2d72b
|
build(bazel): run aio a11y tests under bazel
Wrap existsing scripts under bazel and write a new script
to spin up an http server on an unused port.
|
2022-11-22 13:51:16 -07:00 |
|
Derek Cormier
|
67a3dcc115
|
build(bazel): post-rebase fixes for aio bazel build
Updated cli source snapshot and had to fix up lockfile.
|
2022-11-22 13:51:16 -07:00 |
|
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
|
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 |
|
Alan Agius
|
57a9f67ae8
|
docs: fix dates in release guide (#48173)
A version always stays for about a year in LTS.
PR Close #48173
|
2022-11-22 11:32:01 -08:00 |
|