Olivier Combe
ec56760c9b
refactor(common): remove deprecated `NgFor` ( #18758 )
...
BREAKING CHANGE: `NgFor` has been removed as it was deprecated since v4. Use `NgForOf` instead. This does not impact the use of`*ngFor` in your templates.
PR Close #18758
2017-08-21 18:11:01 -05:00
Peter Bacon Darwin
7ce9e06dab
fix(aio): do not redirect API pages on archive and next deployments ( #18791 )
...
PR Close #18791
2017-08-21 17:32:10 -05:00
Zackary Chapple
c0ba2b9ca7
docs(aio): add ngAtlanta to the events page ( #18649 )
...
PR Close #18649
2017-08-21 17:13:09 -05:00
Chau (Joe) Nguyen
fc7c858e62
docs(aio): update resources to include NinjaCodeGen Angular CRUD generator ( #18518 )
...
PR Close #18518
2017-08-21 17:13:01 -05:00
Joe
ff6a20d138
docs(aio): fix card inconsistency ( #18726 )
...
PR Close #18726
2017-08-18 22:27:48 -05:00
Yuan Gao
4eb1f91bee
ci(aio): Refactored payload size script, add script to track payload ( #18517 )
...
PR Close #18517
2017-08-18 22:27:38 -05:00
Peter Bacon Darwin
b8a3736275
build(aio): do not auto-link code elements already inside a link ( #18776 )
...
Closes #18769
PR Close #18776
2017-08-18 17:13:16 -05:00
Tea
7f4c964eef
docs(aio): typo in template-syntax guide ( #18765 )
...
PR Close #18765
2017-08-18 17:13:15 -05:00
mgechev
da14391cff
docs(aio): update resource for codelyzer ( #18742 )
...
PR Close #18742
2017-08-18 13:23:26 -05:00
Georgios Kalpakas
60c803649b
test(aio): fix error logged during tests ( #18659 )
...
The fixed test expected there to be a doc version without a URL. This used to be
the case but not any more. As a result, an error was logged in the test output
(but no failure).
This commit fixes it by ensuring that a version without a URL exists.
PR Close #18659
2017-08-18 13:23:16 -05:00
Georgios Kalpakas
17b71ae382
docs(aio): move code snippet to appropriate location ( #18650 )
...
PR Close #18650
2017-08-18 13:23:09 -05:00
cexbrayat
5f5a8e1da6
docs(aio): typo in metadata guide ( #18730 )
...
PR Close #18730
2017-08-17 18:01:20 -05:00
ksvitkovsky
c65f18a2fa
docs(forms): fix reactive-forms guide typo
...
closes #17943
2017-08-15 16:42:58 -07:00
Ward Bell
697c6ed0fe
docs: remove TypeScript to JavaScript guide & sample
2017-08-15 16:31:31 -07:00
Georgios Kalpakas
38addacda0
build(aio): switch from `@angular/http` to `@angular/common/http`
...
```
$ ls -l dist/*.js
14942 dist/0.b19e913fbdd6507d346b.chunk.js
1535 dist/inline.a1b446562b36eebb766d.bundle.js
524385 (+ 682) dist/main.19fec4390ff7837ee6ef.bundle.js
37402 dist/polyfills.9f7e0e53bce2a6c8326e.bundle.js
54001 dist/worker-basic.min.js
632265 (+ 682) total
```
2017-08-15 15:13:47 -07:00
Georgios Kalpakas
3efd4a15d6
build(aio): upgrade `zone.js` to 0.8.16
...
```
$ ls -l dist/*.js
14942 dist/0.b19e913fbdd6507d346b.chunk.js
1535 dist/inline.a1b446562b36eebb766d.bundle.js
523703 dist/main.19fec4390ff7837ee6ef.bundle.js
37402 (+ 3088) dist/polyfills.9f7e0e53bce2a6c8326e.bundle.js
54001 dist/worker-basic.min.js
631583 (+ 3088) total
```
2017-08-15 15:13:47 -07:00
Georgios Kalpakas
96b57bfcc1
build(aio): upgrade `@angular/*` to 5.0.0-beta.3
...
```
$ ls -l dist/*.js
14942 dist/0.b19e913fbdd6507d346b.chunk.js
1535 dist/inline.7813f9128903f164bc00.bundle.js
523703 (-18484) dist/main.19fec4390ff7837ee6ef.bundle.js
34314 dist/polyfills.9b05df3b6c9270ebf575.bundle.js
54001 dist/worker-basic.min.js
628495 (-18484) total
```
2017-08-15 15:13:47 -07:00
Georgios Kalpakas
a93dece069
build(aio): upgrade `@angular/*` to 4.3.4
...
```
$ ls -l dist/*.js
14942 dist/0.b19e913fbdd6507d346b.chunk.js
1535 dist/inline.dd77b84267809087d225.bundle.js
542187 (+ 2191) dist/main.f3ffdb5bb1a5bcec2163.bundle.js
34314 dist/polyfills.9b05df3b6c9270ebf575.bundle.js
54001 dist/worker-basic.min.js
646979 (+ 2191) total
```
2017-08-15 15:13:47 -07:00
Georgios Kalpakas
14d8186bf6
build(aio): upgrade `@angular/cli` to 1.3.0
...
```
$ ls -l dist/*.js
14942 (+ 4) dist/0.b19e913fbdd6507d346b.chunk.js
1535 dist/inline.e07e02e29b7fc93816c6.bundle.js
539996 (-56433) dist/main.f466098a873c1169a6dc.bundle.js
34314 (- 33) dist/polyfills.9b05df3b6c9270ebf575.bundle.js
54001 dist/worker-basic.min.js
644788 (-56462) total
```
2017-08-15 15:13:47 -07:00
Kapunahele Wong
9320f34f19
docs(aio): add Metadata guide based on Chuck’s docs
...
Chuck’s gist
https://gist.github.com/chuckjaz/65dcc2fd5f4f5463e492ed0cb93bca60#file-Angular%20Metadata-md
Also chuck’s doc on metadata-related errors (link needed)
2017-08-15 12:14:57 -07:00
Kara Erickson
088532bf2e
perf(aio): update to new version of build-optimizer
2017-08-11 13:23:33 -07:00
Georgios Kalpakas
06faac8b5c
fix(aio): skip PWA test when redeploying non-public commit
2017-08-10 15:59:00 -07:00
Georgios Kalpakas
4d523fda98
fix(aio): fix compilation error by using the correct type for `providers`
2017-08-10 15:57:19 -07:00
George Kalpakas
7f2037f0b6
test(aio): fix running docs examples against local builds ( #18520 )
...
This commit also updates the version of `@angular/cli` used for docs examples.
The previous (transient) dependency `@ngtools/webpack` was not compatible with
`@angular/compiler-cli@>=5` and was breaking when running against the local
builds (currently at 5.0.0-beta.2). The version of `@ngtools/webpack` used by
the latest `@angular/cli` version is compatible with `@angular/compiler-cli@5`.
2017-08-09 14:21:10 -07:00
George Kalpakas
fd6ae571b8
fix(aio): add missing code snippet ( #18547 )
...
The snippet got lost some time during the migration from the old version (it is
[present in v2][1]).
[1]: https://v2.angular.io/docs/ts/latest/cookbook/aot-compiler.html#!#running-the-application
Fixes #18544
2017-08-09 14:20:25 -07:00
Georgios Kalpakas
b14250bef9
test(aio): fix the `deploy-to-firebase` tests
...
This commit also ensures that if the tests fail, the script exits with an error.
2017-08-09 14:18:33 -07:00
Georgios Kalpakas
6fb5250185
ci(aio): fix deploying the stable branch to Firebase
...
The `deploy-to-firebase.sh` always expects there to be a
`src/extra-files/<mode>` directory and breaks if it doesn't exist.
2017-08-09 14:18:33 -07:00
George Kalpakas
1e1833198d
ci(aio): fix deploying to firebase ( #18590 )
2017-08-08 13:59:25 -07:00
雪狼
f9f8924c49
docs(aio): typo & update the bio ( #18559 )
2017-08-07 10:20:11 -07:00
Peter Bacon Darwin
10897d6473
ci(aio): compute AIO deployment mode
...
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.
If the TRAVIS_BRANCH is master we deploy as "next".
If the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` we deploy as "stable".
Otherwise if the branch has a major version lower than the stable version
and its minor version is highest of similar branches we deploy as "archive".
For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.
As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.
See #18287
Closes #18297
2017-08-04 09:14:18 -07:00
Peter Bacon Darwin
340837aa46
feat(aio): add "archive" and "next" color themes
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
42ef1be75c
feat(aio): redirect marketing pages to `docs` if deploy mode is `archive`
...
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
a5801b6020
feat(aio): add deploy mode to version picker
...
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
70b62949de
feat(aio): enable deployment mode to be set via URL query
...
The deployment mode set from the environment provided at build time;
or overridden by the `mode` query parameter: e.g. `...?mode=archive`
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
36161d99f6
feat(aio): update UI based on deployment mode
...
* Add a banner if the mode is "archive"
* Add a `mode-...` class to the `aio-shell` element to enable
mode based theming.
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
0714139e37
ci(aio): include extra files in AIO deployment based on mode
...
Any files that are inside the `extra-files/{mode}` folder
will be copied over to the `dist` folder before deployment
to Firebase.
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
bcb36d9b6d
ci(aio): compute AIO deployment mode
...
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.
If the TRAVIS_BRANCH is master we deploy as "next".
Otherwise if the branch is the highest of its minor versions
we deploy as "stable" if the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` or
else "archive".
For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.
As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.
See #18287
2017-08-04 09:13:34 -07:00
Kapunahele Wong
9b015a95eb
docs(aio): tech edits to form validation
...
closes #18495
2017-08-03 13:57:31 -07:00
Kara Erickson
939dc44391
docs(forms): update and re-organize validation guide
2017-08-03 13:56:53 -07:00
George Kalpakas
44ae6e94e3
fix(aio): fix layout of the webpack guide ( #18493 )
...
This is possibly a temporary fix for the layout, until we decide whether we want
to remove the guide or properly add it to the SideNav menu.
Fixes #17912
2017-08-02 16:00:36 -07:00
tinayuangao
1635a06bda
ci(aio): Add commit message to payload data ( #18137 )
2017-08-02 15:59:20 -07:00
David Brooks
3923c30df0
docs(aio): fix missing anchor-open in i18n documentation ( #18476 )
...
The Internationalisation documentation, "Translate text nodes" section, has an incomplete
markdown anchor, and leaks markdown into the page. Fix the anchor by adding the opening bracket.
2017-08-02 15:56:01 -07:00
George Kalpakas
99017bf3ff
fix(aio): correctly redirect `cookbook/a1-a2-quick-reference.html` ( #18418 )
...
Fixes #18415
2017-08-02 15:54:22 -07:00
Øystein Lygre
5cc9913ded
docs(aio): replace old blog link in footer ( #18448 )
...
Fixes #18233
2017-08-02 15:45:54 -07:00
Filipe Silva
9adf40aa77
build(aio): use cli 1.3.0-rc ( #18290 )
2017-08-02 15:37:03 -07:00
Georgios Kalpakas
cc2a4c41f9
build(aio): fix warning about missing `<h1>`
...
Fixes #17549
2017-07-31 13:40:07 -07:00
chumtoadafuq
a11542a375
docs(aio): fixed list format in FormArray section
2017-07-31 11:31:05 -07:00
Georgios Kalpakas
d71ae278ef
fix(aio): fix links to source for paths with symlinks
...
Fixes #18353
2017-07-28 15:28:59 -07:00
Peter Bacon Darwin
71eb7437b6
docs(aio): delay ngUpgrade e2e test to avoid flakes
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
0f79223008
docs(aio): fix deprecated protractor API usage
...
`browser.getLocationAbsUrl()` is deprecated.
We should use `browser.getCurrentUrl()` instead.
2017-07-28 15:28:28 -07:00