269 Commits

Author SHA1 Message Date
Peter Bacon Darwin
09b4244baf fix(aio): upgrade rxjs dependency to work with TS 2.4 ()
PR Close 
2017-10-13 09:18:41 -07:00
Peter Bacon Darwin
ad7e781a18 build(aio): freeze lockfile when installing example dependencies ()
PR Close 
2017-10-11 11:52:35 -07:00
Peter Bacon Darwin
dbe6cdad7e build(aio): improve accessor rendering ()
Includes an update to `dgeni-packages@0.22.0` which provides more info
about accessors if required.

PR Close 
2017-10-11 11:51:42 -07:00
Peter Bacon Darwin
8b571309ed build(aio): append information about links in and out of docs ()
Closes 

PR Close 
2017-10-10 17:06:51 -07:00
Ward Bell
555b1cdf29 docs: add universal guide with production client app ()
Revises both universal and client build to use AOT and webpack for both.
Guide text adjusted accordingly
Dodges CLI client build, expected in near future.

PR Close 
2017-10-09 14:46:04 -07:00
Ward Bell
0b0d25fa33 docs: add universal guide ()
- based on original effort in PR 17573

PR Close 
2017-10-09 14:46:04 -07:00
Peter Bacon Darwin
963a4d0dc8 build(aio): sort API list alphabetically ()
Closes 

PR Close 
2017-10-09 14:42:52 -07:00
Peter Bacon Darwin
03227e65cf build(aio): example-boilerplate is no longer responsible for yarn install ()
The tooling for boilerplate was also running `yarn install` on the examples'
shared folder. But since this is handled by `ng-packages-installer` this
commit refactors the tools so that the boilerplate no longer does this
anymore.

PR Close 
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
9ef8d8b85a build(aio): support ignoring dist packages in "local" mode ()
PR Close 
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
d1a00459a8 ci(aio): use custom package.json to run with local distributables ()
Closes 

PR Close 
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
9fe6363575 docs(aio): fix aot-compiler example to work with Angular v5 ()
PR Close 
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
142a2b7341 build(aio): ensure webdriver is updated when switching between local and npm deps ()
PR Close 
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
4b3f82a47e build(aio): upgrade ts-node to support newer TypeScript config ()
This was causing `Cannot find type definition file for 'jasmine'. (2688)`
errors when running Protractor.

PR Close 
2017-10-06 11:56:40 -07:00
Peter Bacon Darwin
9783c92935 build(aio): fix various API rendering issues
Upgrading to dgeni-packages 0.21.4 gives us
access to more properties on the API docs, which
allows us to fix the following issues:

Closes 
Closes 
Closes 
2017-10-03 08:15:02 -07:00
George Kalpakas
f7199aa8c8 build(aio): remove -- from more yarn commands () 2017-09-28 09:29:04 -07:00
George Kalpakas
2e1fec17f5 ci(aio): temporarily disable aot-compiler example e2e tests () 2017-09-26 10:21:43 -07:00
George Kalpakas
ffceae0a01 refactor(aio): remove unnecessary -- from yarn commands 2017-09-25 14:37:13 -07:00
Georgios Kalpakas
7a965dc58f build(aio): add support for using the locally built Angular packages for aio
This commit allows building angular.io against the locally built Angular
packages. It adds two new npm scripts:

- `setup-local`: Same as `setup`, but overwrites the Angular packages for both
  angular.io and the examples boilerplate with the locally built ones.
- `build-local`: Same as `build`, but uses `setup-local` instead of `setup`
  under the hood, thus overwriting installed Angular packages with locally built
  ones.

Fixes 
2017-09-25 14:37:12 -07:00
Pete Bacon Darwin
adb0b761f1 build(aio): add metadata aliases for directives, components and pipes ()
This change will enable people to link to the API docs via their selectors
or names, as used in a template.

Since the selectors can be quite complex we are not able to get 100%
accuracy.

Closes 
2017-09-25 12:00:05 -07:00
Pete Bacon Darwin
97e02c2fa0 build(aio): render class/interface "descendants" in API docs ()
For classes, the tree of subclasses is rendered, recursively.

For interfaces, the descendants are separated into child interfaces, which
extend the interface, and classes, which implement the interface.

Closes 
2017-09-25 11:59:44 -07:00
Pete Bacon Darwin
4ae546be1f build(aio): ensure decorators with shared interface types are found ()
Closes 
2017-09-25 11:59:21 -07:00
Jesus Rodriguez
9bbf009dff build(aio): change examples to CLI ()
PR Close 
2017-09-21 17:05:54 -07:00
Chuck Jazdzewski
f96142cd7c build: remove references to tsc-wrapped ()
With this commit `ngc` is used instead of `tsc-wrapped` for
collecting metadata and tsickle rewriting and `tsc-wrapped`
is removed from the repository.

`@angular/tsc-wrapped@5` is now deprecated and is no longer
used, updated, or maintained as part as of Angular 5.x.x.

`@angular/tsc-wrapped@4` is still maintained and required by
Angular 4.x.x and will be maintained as long as 4.x.x is in
LTS.

PR Close 
2017-09-21 13:55:52 -07:00
Peter Bacon Darwin
4c73b52d5c docs(aio): tidy up tooling documentation ()
PR Close 
2017-09-21 10:00:37 -07:00
Jesus Rodriguez
48cd503d4a docs(aio): applying some feedback ()
PR Close 
2017-09-21 10:00:37 -07:00
Jesus Rodriguez
ba20e3bed0 docs(aio): add zipper documentation ()
PR Close 
2017-09-21 10:00:36 -07:00
Jesus Rodriguez
6f7aa466ae docs(aio): complete the plunker-builder docs ()
PR Close 
2017-09-21 10:00:36 -07:00
Jesus Rodriguez
e6c612f5cd docs(aio): add boilerplate readme ()
PR Close 
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
4530654501 docs(aio): high-level documentation of the transforms folder ()
PR Close 
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
28a80e6e05 docs(aio): high-level documentation of AIO tooling ()
PR Close 
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
381e680758 build(aio): improve error message for ignored example files ()
Addresses https://github.com/angular/angular/pull/18707#issuecomment-330396771

PR Close 
2017-09-20 12:36:14 -07:00
Peter Bacon Darwin
988b9f8378 build(aio): remove commented out code ()
PR Close 
2017-09-20 12:36:14 -07:00
Peter Bacon Darwin
9ab9437319 build(aio): auto-link more code items
We now parse all code blocks, after they have been rendered by dgeni
and insert links to API docs that match "words" in the code.
2017-09-12 13:58:43 -04:00
Peter Bacon Darwin
a2b50ec8c9 build(aio): do not render annotations block for directives 2017-09-12 13:56:21 -04:00
Peter Bacon Darwin
77d24afea3 build(aio): improve rendering of directive selectors 2017-09-12 13:55:54 -04:00
Peter Bacon Darwin
39386eadea build(aio): do not render comments in decorators
Closes 
2017-09-12 13:52:02 -04:00
Ward Bell
112e777b90 build(aio): update karma & systemjs config for HttpClient
While adding the references to the `HttpClient` packages it also crucially
adds ref to new “tslib” library required by `HttpClient`.
2017-09-08 19:31:15 -04:00
Ward Bell
a176cd646c build(aio): update package.json for angular-in-mem-web-api 0.4.0 2017-09-08 17:05:57 -04:00
Peter Bacon Darwin
bd928f3dcc build(aio): render metadata members from decorator ancestors 2017-09-08 17:04:36 -04:00
Peter Bacon Darwin
e78402dd4c build(aio): render ancestor members in directives
See `CheckBoxRequiredValidator` for an example.
2017-09-08 17:04:28 -04:00
Peter Bacon Darwin
917d0870e8 build(aio): don't show constructor detail if there is none 2017-09-08 13:21:16 -04:00
Pete Bacon Darwin
3c480e4e63 build(aio): support rendering of constructor overloads in API docs ()
Closes 
2017-09-06 10:14:02 -07:00
Peter Bacon Darwin
35bc1eb218 build(aio): render the extends ancestors of classes in API docs ()
PR Close 
2017-09-05 15:33:10 -05:00
Peter Bacon Darwin
dc7de0896c build(aio): ensure dgeni can load all angular Typescript modules ()
PR Close 
2017-09-05 15:33:10 -05:00
Peter Bacon Darwin
b8a3736275 build(aio): do not auto-link code elements already inside a link ()
Closes 

PR Close 
2017-08-18 17:13:16 -05:00
George Kalpakas
7f2037f0b6 test(aio): fix running docs examples against local builds ()
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
Filipe Silva
9adf40aa77 build(aio): use cli 1.3.0-rc () 2017-08-02 15:37:03 -07:00
Georgios Kalpakas
cc2a4c41f9 build(aio): fix warning about missing <h1>
Fixes 
2017-07-31 13:40:07 -07:00
Georgios Kalpakas
d71ae278ef fix(aio): fix links to source for paths with symlinks
Fixes 
2017-07-28 15:28:59 -07:00
Peter Bacon Darwin
a085223331 ci(aio): test the example e2e files using local build of Angular 2017-07-28 15:28:28 -07:00