Alan Agius
d51d39cb4c
docs: update docs to use new zone.js entry-points ( #40823 )
...
In CLI version 12, the old style of imports is no longer supported.
PR Close #40823
2021-02-24 07:58:29 -08:00
George Kalpakas
9cdf654293
build(docs-infra): upgrade cli command docs sources to 84b99497f ( #40824 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](c61df5d30...84b99497f
):
**Modified**
- help/generate.json
- help/new.json
PR Close #40824
2021-02-12 08:59:11 -08:00
George Kalpakas
46ab85996c
build(docs-infra): upgrade cli command docs sources to c61df5d30 ( #40758 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](e33d85e00...c61df5d30
):
**Modified**
- help/lint.json
PR Close #40758
2021-02-09 13:52:19 -08:00
George Kalpakas
74815de64a
build(docs-infra): upgrade cli command docs sources to e33d85e00 ( #40684 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](c366e223b...e33d85e00
):
**Modified**
- help/new.json
PR Close #40684
2021-02-03 09:08:33 -08:00
George Kalpakas
ac253d01ed
build(docs-infra): upgrade cli command docs sources to c366e223b ( #40501 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](e1bcfba66...c366e223b
):
**Modified**
- help/build.json
- help/serve.json
PR Close #40501
2021-01-21 13:52:07 -08:00
Pete Bacon Darwin
48009dc50b
build(docs-infra): do not display stack trace on doc-gen error ( #40404 )
...
This commit updates `dgeni` to the latest version, which
will now only display the stack-trace after an error if the
logger is set to `debug`.
Fixes #39610
PR Close #40404
2021-01-13 14:03:04 -08:00
Andrew Kushnir
f0c3e17512
refactor(docs-infra): rename contributors/check-pictures.js to validate-data.js ( #40369 )
...
This commit renames contributors/check-pictures.js to contributors/validate-data.js, since this file script will also
be used to include other checks.
PR Close #40369
2021-01-11 15:32:21 -08:00
George Kalpakas
94ec027865
build(docs-infra): upgrade cli command docs sources to e1bcfba66 ( #40373 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](4cefc7dc1...e1bcfba66
):
**Modified**
- help/extract-i18n.json
- help/test.json
##
Relevant changes in
[commit range](e41d0dd01...e1bcfba66
) since PR #40355 :
**Modified**
- help/extract-i18n.json
##
Closes #40355
PR Close #40373
2021-01-11 09:46:19 -08:00
George Kalpakas
d7665fdc96
build(docs-infra): upgrade cli command docs sources to 4cefc7dc1 ( #40250 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](3e58bafd2...4cefc7dc1
):
**Modified**
- help/build.json
- help/serve.json
- help/test.json
PR Close #40250
2020-12-23 13:06:47 -08:00
George Kalpakas
9057a0cc0b
build: use the latest versions of Chrome (v87) and Firefox (v84) in tests ( #40150 )
...
This commit updates the versions of Chrome and Firefox used in tests -
both with Bazel and without (via Puppeteer) - to the latest:
- Chrome v87
- Firefox v84
PR Close #40150
2020-12-21 14:15:31 -08:00
George Kalpakas
7413cb4386
build(docs-infra): update Lighthouse to v7.0.0 ( #40198 )
...
This commit updates `lighthouse` to version 7.0.0.
It also adds a `width` attribute to the `code-icon.svg` image on the
homepage, which was pointed out as missing in the Lighthouse report.
(Explicit `width`/`height` attributes on images help reduce the
[layout shift][1] of the page.)
[1]: https://web.dev/cls/
PR Close #40198
2020-12-21 10:36:02 -08:00
George Kalpakas
10a468aab9
build(docs-infra): upgrade cli command docs sources to 3e58bafd2 ( #40213 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](f6f0cde41...3e58bafd2
):
**Modified**
- help/lint.json
PR Close #40213
2020-12-21 10:10:53 -08:00
George Kalpakas
fea95059d5
build(docs-infra): upgrade cli command docs sources to f6f0cde41 ( #40064 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](416dff296...f6f0cde41
):
**Modified**
- help/build.json
- help/e2e.json
- help/extract-i18n.json
- help/serve.json
- help/test.json
PR Close #40064
2020-12-10 14:19:29 -08:00
George Kalpakas
13126d213a
build(docs-infra): upgrade cli command docs sources to 416dff296 ( #40034 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](099ce69de...416dff296
):
**Modified**
- help/add.json
- help/build.json
- help/config.json
- help/doc.json
- help/e2e.json
- help/extract-i18n.json
- help/generate.json
- help/new.json
- help/serve.json
- help/test.json
- help/update.json
PR Close #40034
2020-12-09 09:06:52 -08:00
George Kalpakas
8d30551954
build(docs-infra): upgrade cli command docs sources to 099ce69de ( #40020 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](2eb97bf5b...099ce69de
):
**Modified**
- help/build.json
- help/generate.json
- help/serve.json
PR Close #40020
2020-12-08 08:54:39 -08:00
George Kalpakas
7901ebafa0
build(docs-infra): upgrade cli command docs sources to 2eb97bf5b ( #39943 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
Relevant changes in
[commit range](548c6ed3e...2eb97bf5b
):
**Modified**
- help/analytics.json
- help/build.json
- help/config.json
- help/e2e.json
- help/extract-i18n.json
- help/generate.json
- help/lint.json
- help/new.json
- help/serve.json
- help/test.json
- help/update.json
PR Close #39943
2020-12-07 13:21:40 -08:00
George Kalpakas
d5fc51cc22
build(docs-infra): update `lighthouse` to 6.5.0 ( #39928 )
...
This commit updates the `lighthouse` package to version 6.5.0 to take
advantage of the latest fixes and audits.
PR Close #39928
2020-12-02 11:17:52 -08:00
George Kalpakas
7695671cd6
build(docs-infra): upgrade cli command docs sources to 548c6ed3e ( #39906 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](70150e3f0...548c6ed3e
):
**Modified**
- help/build.json
PR Close #39906
2020-12-01 14:59:04 -08:00
George Kalpakas
bf12f51b49
build(docs-infra): upgrade cli command docs sources to 70150e3f0 ( #39839 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](0defb1136...70150e3f0
):
**Modified**
- help/build.json
- help/deploy.json
- help/e2e.json
- help/extract-i18n.json
- help/run.json
- help/serve.json
- help/test.json
PR Close #39839
2020-11-25 11:03:46 -08:00
George Kalpakas
b521b5eb39
build(docs-infra): update @angular/material to 11.0.0 ( #39600 )
...
This commit updates `@angular/cdk` and `@angular/material` to version
11.0.0.
PR Close #39600
2020-11-18 15:49:17 -08:00
George Kalpakas
882804dd01
build(docs-infra): update @angular/* to 11.0.0 and @angular/cli to 11.0.1 ( #39600 )
...
This commit updates `@angular/*` and `@angular/cli` (and related
packages) to latest 11.0.x versions (11.0.0 and 11.0.1 respectively).
(See [here][1] for a diff between a v11.0.0-rc.2 and a v11.0.1 CLI app.)
[1]: https://github.com/cexbrayat/angular-cli-diff/compare/11.0.0-rc.2...11.0.1
PR Close #39600
2020-11-18 15:49:17 -08:00
George Kalpakas
cfb7564dda
build(docs-infra): update @angular/material to 11.0.0-rc.1 ( #39600 )
...
This commit updates `@angular/cdk` and `@angular/material` to version
11.0.0-rc.1.
PR Close #39600
2020-11-18 15:49:16 -08:00
George Kalpakas
e3af1a874e
build(docs-infra): downgrade `karma` to v5.1.1 due to regression in v5.2.0 ( #39600 )
...
This commit downgrades `karma` to version 5.1.1, because of a regression
in version 5.2.0: karma-runner/karma#3560
It has been fixed with karma-runner/karma@05dc288016 on
master, but the fix is not included in the latest release (v5.2.3).
PR Close #39600
2020-11-18 15:49:16 -08:00
George Kalpakas
18110a8ab0
build(docs-infra): update @angular/* and @angular/cli to 11.0.0-rc.2 ( #39600 )
...
This commit updates `@angular/*` and `@angular/cli` (and related
packages) to version 11.0.0-rc.2. Apart from the automatic migrations,
this commit also tries to align `aio/` with new apps generated by the
latest CLI. (See [here][1] for a diff between a v10.1.3 and a
v11.0.0-rc.2 CLI app.)
[1]: https://github.com/cexbrayat/angular-cli-diff/compare/10.1.3...11.0.0-rc.2
PR Close #39600
2020-11-18 15:49:15 -08:00
JiaLiPassion
f8956adb73
build: update zone.js version to 0.11.3 ( #39317 )
...
Update the version of `zone.js` from 0.10.3 to 0.11.3 inside
Angular repo.
PR Close #39317
2020-11-12 13:51:29 -08:00
George Kalpakas
6138bc2774
build(docs-infra): upgrade cli command docs sources to 0defb1136 ( #39575 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](3552504ac...0defb1136
):
**Modified**
- help/build.json
- help/test.json
PR Close #39575
2020-11-05 07:58:02 -08:00
George Kalpakas
2f05f14e6b
build(docs-infra): upgrade cli command docs sources to 3552504ac ( #39561 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](bf9a92299...3552504ac
):
**Modified**
- help/generate.json
- help/new.json
PR Close #39561
2020-11-04 10:53:35 -08:00
George Kalpakas
cf48d508af
build(docs-infra): upgrade `firebase-tools` to v8.14.1 ( #39470 )
...
This commit upgrades `firebase-tools` (used to deploy angular.io to
Firebase hosting) to the latest version. This gives us access to the
latest fixes/improvements and also new features, such as
[version cloning][1].
[1]:
https://firebase.google.com/docs/hosting/manage-hosting-resources#cli-commands-cloning
PR Close #39470
2020-11-02 07:57:51 -08:00
George Kalpakas
5143d52d2b
build(docs-infra): switch `deploy-to-firebase.sh` script to JS ( #39470 )
...
This commit switches the `deploy-to-firebase.sh` script, that we use for
deploying angular.io to production, from Bash to JavaScript. This makes
the script easier to maintain.
For the same reasons, it also switches the `deploy-to-firebase.test.sh`
script, that we use for testing the `deploy-to-firebase` script, from
Bash to JavaScript (using jasmine as the test runner).
Finally, this commit also updates ShellJS to the latest version to get
better error messages (including the actual error) when `exec()` fails.
NOTE: Before switching the test script to JS, I verified that the new
`deploy-to-firebase.js` script passed the tests with the old
`deploy-to-firebase.test.sh` script.
PR Close #39470
2020-11-02 07:57:51 -08:00
George Kalpakas
246d50e934
build(docs-infra): upgrade cli command docs sources to bf9a92299 ( #39465 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](241058c1e...bf9a92299
):
**Modified**
- help/build.json
PR Close #39465
2020-10-28 11:04:56 -07:00
George Kalpakas
2b09f5b2ce
build(docs-infra): upgrade cli command docs sources to 241058c1e ( #39406 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](34648b0cd...241058c1e
):
**Modified**
- help/generate.json
PR Close #39406
2020-10-26 10:51:10 -07:00
George Kalpakas
05f87be033
build(docs-infra): upgrade cli command docs sources to 34648b0cd ( #39379 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](9d53eac1b...34648b0cd
):
**Modified**
- help/update.json
**Renamed**
- help/extract-i18n.json
PR Close #39379
2020-10-22 13:48:28 -07:00
George Kalpakas
d33eaa64a2
build(docs-infra): upgrade cli command docs sources to 9d53eac1b ( #39359 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](e53ced024...9d53eac1b
):
**Modified**
- help/build.json
- help/generate.json
- help/serve.json
- help/update.json
- help/xi18n.json
PR Close #39359
2020-10-21 08:26:27 -07:00
George Kalpakas
25e14327ea
build(docs-infra): upgrade cli command docs sources to e53ced024 ( #39338 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](04ae7cbf5...e53ced024
):
**Modified**
- help/deploy.json
PR Close #39338
2020-10-20 08:49:08 -07:00
George Kalpakas
a93b7fd674
build(docs-infra): upgrade cli command docs sources to 04ae7cbf5 ( #39318 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](06ad10668...04ae7cbf5
):
**Modified**
- help/generate.json
- help/new.json
PR Close #39318
2020-10-19 08:08:01 -07:00
Pete Bacon Darwin
34b74cecb6
build(docs-infra): add a tool to create new examples ( #39283 )
...
This tool can be run from anywhere in the aio folder as:
```sh
yarn create-example <example-name>
```
It will create some basic scaffold files to get the example started.
After creation the developer should then use `yarn boilerplate:add`
or similar to ensure that the example can be run and tested.
You can optionally provide an absolute path to a pre-existing CLI
project and it will copy over appropriate files (ignoring boilerplate)
to the newly created example.
```sh
yarn create-example <example-name> /path/to/other/cli/project
```
Fixes #39275
PR Close #39283
2020-10-16 08:14:38 -07:00
George Kalpakas
f9f3c54c9a
build(docs-infra): upgrade cli command docs sources to 06ad10668 ( #39288 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](d807b8240...06ad10668
):
**Modified**
- help/generate.json
PR Close #39288
2020-10-15 14:16:23 -07:00
George Kalpakas
e930b0cd19
build(docs-infra): support passing args to `ng serve` via `serve-and-sync` ( #39201 )
...
When working on the docs, it is helpful to run a local instance of the
angular.io app and run scripts that watch both the docs contents and the
app build artifacts to automatically update the running instance on
changes. Typically, this is achieved via the `start` and `docs-watch`
npm scripts. As a convenience, one can run the `serve-and-sync` script,
which runs both in one terminal.
Previously, it was not possible to pass arguments to `ng nerve` (which
is what the `start` script runs under the hood) when running it via
`serve-and-sync`.
This commit adds support for passing any arguments passed to
`serve-and-sync` through to the `start` script. This can be useful for
things like specifying a custom host or port.
PR Close #39201
2020-10-12 08:27:00 -07:00
George Kalpakas
62945efab7
build(docs-infra): upgrade cli command docs sources to d807b8240 ( #39214 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](7208ef964...d807b8240
):
**Modified**
- help/new.json
PR Close #39214
2020-10-12 08:26:36 -07:00
George Kalpakas
9f3388e491
build(docs-infra): upgrade cli command docs sources to 7208ef964 ( #39181 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](65fb6788d...7208ef964
):
**Modified**
- help/generate.json
- help/new.json
PR Close #39181
2020-10-09 10:02:02 -07:00
Bjarki
ca4ef61c06
build: bump Chromium to next stable version: 84.0.4147 ( #39179 )
...
Bump Chrome to the next stable release (84.0.4147) by following the
instructions in dev-infra/browsers/README.md.
With Chrome 86 about to be released as stable, the current local version
(Chrome 83) is starting to lag behind. It also contains a bug that
blocks Angular unit and integration tests from using Trusted Types.
PR Close #39179
2020-10-09 07:53:11 -07:00
George Kalpakas
6205ed0fcc
build(docs-infra): upgrade cli command docs sources to 65fb6788d ( #39078 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](e526da605...65fb6788d
):
**Modified**
- help/generate.json
- help/new.json
PR Close #39078
2020-10-01 11:32:57 -07:00
George Kalpakas
8e3710349d
build(docs-infra): upgrade cli command docs sources to e526da605 ( #39059 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](568d34cdb...e526da605
):
**Modified**
- help/test.json
PR Close #39059
2020-09-30 12:47:39 -07:00
George Kalpakas
e8084ff906
build(docs-infra): upgrade cli command docs sources to 568d34cdb ( #39045 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](bc6369c68...568d34cdb
):
**Modified**
- help/xi18n.json
PR Close #39045
2020-09-30 09:33:35 -04:00
George Kalpakas
e2997ed5ee
build(docs-infra): update TypeScript and other deps to align with latest CLI ( #39017 )
...
This commit updates TypeScript and other dependencies used in angular.io
to more closely align with new apps created with the latest Angular CLI.
It also updates `tsconfig.json`, re-ordering some properties around and
introducing some more checks (again to more closely match new CLI apps).
NOTE:
I skipped updating RxJS from 6.5.4 to 6.6.3, because it increased the
main bundle by ~500B.
NOTE:
`tslint.json` will be updated in a subsequent PR, because it requires
more extensive changes.
PR Close #39017
2020-09-28 16:28:04 -04:00
George Kalpakas
bf010b9a07
build(docs-infra): update @angular/material to 10.2.2 ( #39017 )
...
This commit updates the version of Angular Components used in angular.io
to version 10.2.2.
NOTE:
The actual size increase for the main bundle in ViewEngine mode is 1.3KB
(because the actual size before this commit was 430423B, not 430008B as
seen in `aio-payloads.json`).
PR Close #39017
2020-09-28 16:28:04 -04:00
George Kalpakas
387fd89b3f
build(docs-infra): update @angular/* to 10.1.3 ( #39017 )
...
This commit updates the version of Angular framework used in angular.io
to version 10.1.3.
NOTE:
The actual size decrease for the main bundle is 3KB (because the actual
size before this commit was 451226B, not 450952B as seen in
`aio-payloads.json`).
PR Close #39017
2020-09-28 16:28:04 -04:00
George Kalpakas
e991fee6bf
build(docs-infra): update @angular/cli to 10.1.3 ( #39017 )
...
This commit updates the version of Angular CLI used in angular.io to
version 10.1.3.
PR Close #39017
2020-09-28 16:28:04 -04:00
George Kalpakas
0dd859757a
build(docs-infra): upgrade cli command docs sources to bc6369c68 ( #38973 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](800ba9271...bc6369c68
):
**Modified**
- help/build.json
- help/serve.json
PR Close #38973
2020-09-25 14:33:10 -04:00
George Kalpakas
354138eba9
build(docs-infra): upgrade cli command docs sources to 800ba9271 ( #38827 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from
[cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in
[commit range](32391604b...800ba9271
):
**Modified**
- help/build.json
- help/serve.json
PR Close #38827
2020-09-14 08:33:39 -07:00