Angular Robot
6b6bf6332b
build: update all non-major dependencies ( #48372 ) ( #48384 )
...
See associated pull request for more information.
PR Close #48372
(cherry picked from commit 126573d76b )
PR Close #48384
2022-12-07 09:09:30 -08:00
Paul Gschwendtner
2eccfd412e
build: fix unnecessary large runfiles in AIO when composing boilerplate ( #48329 )
...
The `example-boilerplate` NodeJS binary always depends on all files from
the individual examples. This is not needed as for composition w/ the
boilerplate, only the target example content + boilerplate is needed
in the runfiles. This reduces the runfiles and therefore speeds up
boilerplate creation (which can happen for all examples concurrently).
PR Close #48329
2022-12-02 09:47:44 -08:00
Paul Gschwendtner
f1cb455c1e
build: always ensure node_modules folders are not picked up in AIO ( #48329 )
...
AIO has two risk places where `node_modules` folders may exist and may
be accidentally picked up by Bazel- even though they are already added
as part of `.bazelignore` and made visible through `.gitignore`. It
doesn't hurt instructing Bazel to always ignore `node_modules` as part
of the `glob` instruction.
Co-authored-by: Joey Perrott <josephperrott@gmail.com >
PR Close #48329
2022-12-02 09:47:44 -08:00
Joey Perrott
8600b3077d
build: reformat BUILD files
...
Reformat BUILD file usage of globs.
2022-11-22 13:51:19 -07:00
Derek Cormier
31b2716c1c
build(bazel): remaining AIO Bazel migration fixes
...
Fix the remaining AIO Bazel migration TODOs
2022-11-22 13:51:19 -07:00
Derek Cormier
6efefec55c
build(bazel): fix a regression when linking local packages for AIO example
...
tests
Caused by code moving around.
2022-11-22 13:51:19 -07:00
Derek Cormier
a02d114dae
build(bazel): support ibazel for AIO example playgrounds
...
Also uses more fine-grained deps to make an ibazel rebuild fast.
2022-11-22 13:51:19 -07:00
Derek Cormier
df5e1802a3
build(bazel): fix a bug where local ngc couldn't be linked into AIO example tests
...
The ngc entrypoint escapes the sandboxed example folder. Rather than
always symlinking local packages, copy the full package when there are
bin entries.
2022-11-22 13:51:19 -07:00
Derek Cormier
c142511084
build(bazel): fix regressions for docs-watch
...
Some earlier refactoring prevented the watchr script from running in
the source tree. There was also a Windows issue where running architect
didn't preserve symlinks causing the app to not be served.
2022-11-22 13:51:19 -07:00
Derek Cormier
afad500f40
build(bazel): fix a regression where github links were incorrectly
...
written
Incorrectly prepended 'packages/' to docs that were under aio/content.
2022-11-22 13:51:19 -07:00
Derek Cormier
5769eb0bd2
build(bazel): consolidate windows chromium path workaround
...
Add the hack to a central location so that it's easier to fix later.
2022-11-22 13:51:19 -07:00
Derek Cormier
a908ba7a68
build(bazel): use workspace status command for AIO version stamping
...
Fixes a bug where the navigation map did not have the correct SHAs.
2022-11-22 13:51:19 -07:00
Derek Cormier
500acfcf98
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:19 -07:00
Derek Cormier
71ee5d58cf
build(bazel): clean up pathing in aio build tooling
...
Make use of process.env.RUNFILES.
2022-11-22 13:51:19 -07:00
Derek Cormier
8d685f6997
build(bazel): update documentation for docs authors
...
Where possible, preseve the original yarn commands.
2022-11-22 13:51:19 -07:00
Derek Cormier
425035b8fd
build(bazel): fix broken aio github links on Windows
...
Caused the aio e2e tests to fail.
2022-11-22 13:51:19 -07:00
Derek Cormier
6c6eaddbe2
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:19 -07:00
Derek Cormier
bd20c71391
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:19 -07:00
Derek Cormier
19fe298d11
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:19 -07:00
Derek Cormier
57f63bf471
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:19 -07:00
Derek Cormier
c0655e447a
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:19 -07:00
Derek Cormier
4cafb67e82
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:19 -07:00
Derek Cormier
8062e7113f
build(bazel): run aio firebase redirect tests under bazel
...
Adjust to run under ci.
2022-11-22 13:51:19 -07:00
Derek Cormier
7b5e073a70
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:19 -07:00
Derek Cormier
fa92cf055d
build(bazel): fix some aio linting errors
...
Surfaced by modifying ci to include aio targets
2022-11-22 13:51:19 -07:00
Derek Cormier
4aab63f31e
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:19 -07:00
Derek Cormier
8d24a91c6a
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:19 -07:00
Derek Cormier
a36034a135
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:19 -07:00
Derek Cormier
12855f3805
build(bazel): incrementally run aio example e2e tests
...
Replaces the workflow where all example e2es are run at once
2022-11-22 13:51:19 -07:00
Derek Cormier
d7eb429430
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:19 -07:00
Derek Cormier
3d6315e6e8
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:19 -07:00
Derek Cormier
5ece26a6dc
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:19 -07:00
Derek Cormier
1dc641ea30
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:19 -07:00
Derek Cormier
7cbedba3af
build(bazel): create targets for aio example tooling tests
...
This replaces the boilerplate:test npm script
2022-11-22 13:51:19 -07:00
Derek Cormier
0b55b647aa
build(bazel): create targets for aio docs tests
...
This replaces the docs-test npm script
2022-11-22 13:51:19 -07:00
Derek Cormier
75e623b179
build(bazel): add an aio fast serve target
...
This is equivalent to docs-watch in the legacy build.
2022-11-22 13:51:19 -07:00
Derek Cormier
472abd7944
build(bazel): generate aio stackblitz and example zips
...
Can be served by running bazel run //aio:serve
2022-11-22 13:51:19 -07:00
Derek Cormier
4ff8f27bad
build(bazel): add a bazel aio serve target
...
This works with ibazel but is not highly incremental
2022-11-22 13:51:19 -07:00
Derek Cormier
c9478f78a2
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:19 -07:00
Angular Robot
2e5039bb95
build: update dependency @nguniversal/builders to v15 ( #48093 )
...
See associated pull request for more information.
PR Close #48093
2022-11-17 09:30:51 -08:00
Alan Agius
604d89eef9
docs: update examples to reflect changes in Angular CLI version 15. ( #47904 )
...
These changes include
- Remove the usage of `enableProdMode`
- Remove `test.ts`, `polyfills.ts`, `karma.conf.js` and environment files which are no longer generated by default
PR Close #47904
2022-11-03 17:46:46 -07:00
Alan Agius
b3ea67e8a7
docs: improve grammer in CLI command template ( #47891 )
...
Before
```
This command has the following commands:
```
Now
```
This command has the following sub-commands:
```
PR Close #47891
2022-10-28 02:29:08 -07:00
Andrew Kushnir
074b794c50
fix(docs-infra): display "developer preview" label on class members ( #47814 )
...
This commit adds the "developer preview" label for class properties and methods.
PR Close #47814
2022-10-19 23:08:52 +02:00
Angular Robot
e3fbeab3bd
build: update dependency @rollup/plugin-commonjs to v23 ( #47711 )
...
See associated pull request for more information.
PR Close #47711
2022-10-11 23:09:06 +00:00
Bob Watson
deb4cabe2e
docs: update spelling dictionary ( #47697 )
...
PR Close #47697
2022-10-07 11:45:32 -07:00
Angular Robot
8cef5dd7c1
build: update all non-major dependencies ( #47487 )
...
See associated pull request for more information.
PR Close #47487
2022-09-21 16:00:46 +02:00
Angular Robot
ebc0135239
build: update all non-major dependencies ( #47415 )
...
See associated pull request for more information.
PR Close #47415
2022-09-13 09:19:51 -07:00
Marc Wrobel
eca3db5692
docs(docs-infra): fix minor typos in angular.io ( #47295 ) ( #47295 )
...
PR Close #47295
PR Close #47295
2022-09-07 10:47:21 -07:00
Angular Robot
bea953a5cf
build: update dependency typescript to ~4.8.0 ( #47293 )
...
See associated pull request for more information.
PR Close #47293
2022-09-06 13:10:36 -07:00
Bob Watson
1edb8e5c45
docs: add new words to vocabulary ( #47344 )
...
docs: add VMWare to spell check dictionary
docs: add rebase, rebases, rebased to spell check dictionary
docs: add repos to spell check dictionary
docs: change repeated string regex
PR Close #47344
2022-09-06 11:33:14 -07:00