21 Commits

Author SHA1 Message Date
Oleg Teterin
79742a397f fix(docs-infra): fix parameters with @Optional() decorator do not match declared, optional type ()
PR Close 
2020-02-07 09:58:31 -08:00
Sonu Kapoor
f49b45832c build(docs-infra): always specify a landing file for StackBlitz projects ()
The StackBlitz API (which we use to generate StackBlitz projects on the
fly, when a user clicks on a live example link in the docs) allows
specifying the file to open in the editor by passing a query param. If
no file is specified, StackBlitz opens a default one. In the past, it
used to be `main.ts` and nowadays it seems to be `app.component.ts`.

StackBlitz builder, the tool that we use to generate the StackBlitz
projects, allows specifying the primary file by setting the `file`
property in the corresponding `stackblitz.json`.

Previously, if the `file` property was not set, StackBlitz builder would
not specify a file, thus falling back on StackBlitz's default behavior.
This was not great, because the default behavior may change unexpectedly
is the future to something that is less useful for our users.

This commit change StackBlitz builder to always specify a primary file.
If no file is specified in `stackblitz.json`, the builder will look
for the first file that exists in the example from a list of predefined
files.

Partially addresses .

PR Close 
2020-01-22 13:45:23 -08:00
ajitsinghkaler
1217c6b7cc docs: replace class hero to interface wherever class properties not used ()
Fixes 

PR Close 
2019-11-25 11:37:39 -05:00
janith
c79bffaacb docs: remove gender prefixes from examples ()
PR Close 
2019-05-20 16:42:59 -07:00
Paul Gschwendtner
e20a29a153 build(docs-infra): support running cli docs examples concurrently ()
PR Close 
2019-03-12 10:46:03 -07:00
Brandon
5f2ae784da docs: run component-interaction and DI in JiT mode ()
PR Close 
2019-02-11 17:09:25 +00:00
Judy Bogart
2379ad1a4b docs: edit and organize di guide ()
PR Close 
2018-08-30 13:15:47 -04:00
Brandon Roberts
367841d237 docs: replace ReflectiveInjector samples with Injector samples ()
PR Close 
2018-08-01 10:52:32 -07:00
Brandon Roberts
2278fe8f0e docs(aio): Upgrade examples to Angular 6 ()
PR Close 
2018-04-17 14:09:02 -07:00
Igor Minar
7d1990e4d1 style(aio): lint fixes for examples ()
PR Close 
2018-04-17 14:09:02 -07:00
Rafael
639d52fe71 refactor: ensure all 'TODO's are consistent ()
PR Close 
2018-04-13 13:11:01 -07:00
Alex Rickabaugh
e1ea7ed019 docs: update examples for tree-shakeable providers ()
PR Close 
2018-03-28 07:53:04 -07:00
Jesus Rodriguez
1a75934cc0 build(aio): migrate plunker to stackblitz ()
PR Close 
2018-01-23 21:30:27 -08:00
Jesus Rodriguez
74e3115686 build(aio): make zipper work correctly with CLI projects 2017-12-19 10:44:56 -08:00
Ward Bell
c03186013c docs: Dependency Injection guides for CLI ()
PR Close 
2017-11-14 10:00:28 -08:00
Jesus Rodriguez
9bbf009dff build(aio): change examples to CLI ()
PR Close 
2017-09-21 17:05:54 -07:00
Olivier Combe
3c4eef8a86 refactor(core): remove deprecated OpaqueToken ()
BREAKING CHANGE: `OpaqueToken` has been removed as it was deprecated since v4. Use `InjectionToken` instead.
PR Close 
2017-09-01 16:29:47 -05:00
Jesús Rodríguez
55b8de9fdd build(aio): lint examples 2017-05-03 13:44:41 -07:00
Jesus Rodriguez
0e38bf9de0 build(aio): new migration 2017-04-03 15:41:05 -07:00
Peter Bacon Darwin
fd72fad8fd docs(aio): update migrated content from anguar.io 2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
1f3198cb50 feat(aio): copy example code from angular.io 2017-02-23 23:23:58 -08:00