Ward Bell
555b1cdf29
docs: add universal guide with production client app ( #18707 )
...
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 #18707
2017-10-09 14:46:04 -07:00
Ward Bell
0b0d25fa33
docs: add universal guide ( #18707 )
...
- based on original effort in PR 17573
PR Close #18707
2017-10-09 14:46:04 -07:00
Peter Bacon Darwin
963a4d0dc8
build(aio): sort API list alphabetically ( #19566 )
...
Closes #19559
PR Close #19566
2017-10-09 14:42:52 -07:00
Peter Bacon Darwin
03227e65cf
build(aio): example-boilerplate is no longer responsible for yarn install ( #19511 )
...
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 #19511
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
9ef8d8b85a
build(aio): support ignoring dist packages in "local" mode ( #19511 )
...
PR Close #19511
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
d1a00459a8
ci(aio): use custom package.json to run with local distributables ( #19511 )
...
Closes #19388
PR Close #19511
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
9fe6363575
docs(aio): fix aot-compiler example to work with Angular v5 ( #19511 )
...
PR Close #19511
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 ( #19511 )
...
PR Close #19511
2017-10-06 11:56:41 -07:00
Peter Bacon Darwin
4b3f82a47e
build(aio): upgrade `ts-node` to support newer TypeScript config ( #19511 )
...
This was causing `Cannot find type definition file for 'jasmine'. (2688)`
errors when running Protractor.
PR Close #19511
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 #19450
Closes #19452
Closes #19456
2017-10-03 08:15:02 -07:00
George Kalpakas
f7199aa8c8
build(aio): remove `--` from more yarn commands ( #19421 )
2017-09-28 09:29:04 -07:00
George Kalpakas
2e1fec17f5
ci(aio): temporarily disable aot-compiler example e2e tests ( #19410 )
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 #18611
2017-09-25 14:37:12 -07:00
Pete Bacon Darwin
adb0b761f1
build(aio): add metadata aliases for directives, components and pipes ( #19317 )
...
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 #16787
2017-09-25 12:00:05 -07:00
Pete Bacon Darwin
97e02c2fa0
build(aio): render class/interface "descendants" in API docs ( #19343 )
...
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 #19306
2017-09-25 11:59:44 -07:00
Pete Bacon Darwin
4ae546be1f
build(aio): ensure decorators with shared interface types are found ( #19361 )
...
Closes #19358
2017-09-25 11:59:21 -07:00
Jesus Rodriguez
9bbf009dff
build(aio): change examples to CLI ( #19248 )
...
PR Close #19248
2017-09-21 17:05:54 -07:00
Chuck Jazdzewski
f96142cd7c
build: remove references to `tsc-wrapped` ( #19298 )
...
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 #19298
2017-09-21 13:55:52 -07:00
Peter Bacon Darwin
4c73b52d5c
docs(aio): tidy up tooling documentation ( #18151 )
...
PR Close #18151
2017-09-21 10:00:37 -07:00
Jesus Rodriguez
48cd503d4a
docs(aio): applying some feedback ( #18151 )
...
PR Close #18151
2017-09-21 10:00:37 -07:00
Jesus Rodriguez
ba20e3bed0
docs(aio): add zipper documentation ( #18151 )
...
PR Close #18151
2017-09-21 10:00:36 -07:00
Jesus Rodriguez
6f7aa466ae
docs(aio): complete the plunker-builder docs ( #18151 )
...
PR Close #18151
2017-09-21 10:00:36 -07:00
Jesus Rodriguez
e6c612f5cd
docs(aio): add boilerplate readme ( #18151 )
...
PR Close #18151
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
4530654501
docs(aio): high-level documentation of the `transforms` folder ( #18151 )
...
PR Close #18151
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
28a80e6e05
docs(aio): high-level documentation of AIO tooling ( #18151 )
...
PR Close #18151
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
381e680758
build(aio): improve error message for ignored example files ( #19265 )
...
Addresses https://github.com/angular/angular/pull/18707#issuecomment-330396771
PR Close #19265
2017-09-20 12:36:14 -07:00
Peter Bacon Darwin
988b9f8378
build(aio): remove commented out code ( #19265 )
...
PR Close #19265
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 #18873
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 ( #19042 )
...
Closes #18258
2017-09-06 10:14:02 -07:00
Peter Bacon Darwin
35bc1eb218
build(aio): render the `extends` ancestors of classes in API docs ( #18927 )
...
PR Close #18927
2017-09-05 15:33:10 -05:00
Peter Bacon Darwin
dc7de0896c
build(aio): ensure dgeni can load all angular Typescript modules ( #18927 )
...
PR Close #18927
2017-09-05 15:33:10 -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
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
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
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
a085223331
ci(aio): test the example e2e files using local build of Angular
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
c8c2ab012a
build(aio): support overriding the Angular packages in examples with locally built ones
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
ecff8e6c93
build(aio): refactor and test the example-boilerplate tool
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
a5e18c4cdf
ci(aio): support sharding of example e2e tests
2017-07-28 15:28:28 -07:00
Jesus Rodriguez
b582e2b311
docs(aio): update examples to 4.3
2017-07-25 15:32:38 -07:00
Filipe Silva
8bcb268140
ci: use chrome stable ( #18307 )
2017-07-25 11:18:24 -07:00
WilliamKoza
36faba1aab
fix(aio): add quote to module
2017-07-18 17:48:04 +01:00
Peter Bacon Darwin
c453b7bcfa
build(aio): fail doc-gen if referenced images are missing
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
758848961e
build(aio): abort doc-gen on dangling links
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
99b666614d
build(aio): abort doc-gen if an example is missing
...
Closes #16936
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
0bf0c35bca
build(aio): render type parameters of API function exports
...
Fixes #18123
2017-07-15 08:52:35 +01:00
Alex Rickabaugh
db96c963a8
fix(aio): add <hr> in between overloads
2017-07-13 14:58:33 -07:00
Peter Bacon Darwin
ffda3e41e0
build(aio): simplify the primary overload's anchor
...
The primary link to a member should simply be its name, and not require
the parameter list.
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
a301dba68f
build(aio): improve API docs layout and styling
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
04f3a4a7a5
build(aio): fix githubLinks line numbers
...
The API docs have changed. The line numbers are now found in
`startingLine` and `endingLine` properties rather than the `location`
property, which moved into the `fileInfo` property anyway.
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
f06ce9adc8
build(aio): truncate API overview parameters at one line
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
be3352a084
build(aio): render grouped overloads
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
998049ec9b
build(aio): truncate API overview parameters at one line
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
e8bbf86e66
build(aio): add terms from heading to the search index
2017-07-11 15:04:37 +01:00
Peter Bacon Darwin
3a0886dc12
build(aio): capture all the headings from a doc in the vFile.headings property
2017-07-11 15:04:37 +01:00
Peter Bacon Darwin
d52ab8e2c9
build(aio): fix matchUpDirectiveDecorators processor
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
df7b875f6c
build(aio): fix mergeDecoratorDocs processor
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
470a7c6bcd
build(aio): use dedicated overview for decorator API docs
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
3abf208235
build(aio): update doc-gen templates
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
92c18d167e
build(aio): fix mergeDecoratorDocs processor
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
99b38f52cb
build(aio): fix matchUpDirectiveDecorators processor
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
633ec30291
build(aio): fix test description
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
57cfcb0830
build(aio): refactor filterMemberDocs to be more general
...
Now it also filters function-overloads, hence the name change.
2017-07-11 11:44:05 +01:00
Suguru Inatomi
b3d90365b6
fix(aio): add new common/http package into API list
2017-07-10 12:23:47 +01:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
Filipe Silva
abbac4bc69
feat(aio): use new ngo ( #17977 )
2017-07-07 16:34:47 -07:00
Jesus Rodriguez
dc88e0a881
docs(aio): update quickstart to latest cli
2017-07-03 08:25:19 +01:00
Jesus Rodriguez
8786ba95fb
build(aio): boilerplate wont be removed by default now
2017-06-26 11:05:34 -07:00
Filipe Silva
97fd2480e7
fix(aio): fix patch script on windows
...
Running the patch script on Windows (with `patch` available) yields an invalid syntax warning, and does not apply patches.
```
kamik@T460p MINGW64 /d/work/angular/aio (master)
$ yarn postinstall
yarn postinstall v0.24.6
$ node tools/cli-patches/patch.js && uglifyjs node_modules/lunr/lunr.js -c -m -o src/assets/js/lunr.min.js --source-map
The syntax of the command is incorrect.
Done in 1.52s.
```
2017-06-21 13:51:35 -07:00
Peter Bacon Darwin
1d93cf2e85
build(aio): ensure all doc tests are run
...
It is not possible to run all the docs tests directly via the jasmine CLI.
Instead we now have a small script that will run jasmine via its library.
2017-06-21 13:51:15 -07:00
Peter Bacon Darwin
3fb98fe4ea
build(aio): do not recurse node_modules when loading examples in doc-gen
2017-06-21 13:51:15 -07:00
Georgios Kalpakas
ce00fa3627
build(aio): do not fail if `check-env` for the main angular project fails
...
Fixes #17434
2017-06-16 07:51:18 +01:00
Peter Bacon Darwin
12452d4ab4
build(aio): increase docs integration test timeouts
...
The API docs tests have very variable run times, depending
upon the build environment.
This change doubles their test timeout values to prevent
false-negative failures.
2017-06-13 11:56:45 +01:00
Igor Minar
ff15509bc7
build(aio): turn on webpack 3.0 scope-hoisting
2017-06-09 18:31:50 -07:00
Igor Minar
c550f885a4
build(aio): upgrade to an unreleased version of cli with webpack 3.0-rc.0
2017-06-09 18:31:50 -07:00
Jesús Rodríguez
0020dad595
docs(aio): update examples to 4.2 ( #17367 )
2017-06-09 14:35:35 -07:00
George Kalpakas
65d49d5c94
fix(aio): temporarily remove link to source from the API pages ( #17371 )
...
We need to come up with a better design (possibly involving an icon button) to
link to the source code (for viewing and/or editing).
Fixes #17254
2017-06-09 14:14:39 -07:00
Peter Bacon Darwin
ef6609a723
docs(aio): remove example specific styles from the shared boilerplate styles.css
2017-06-09 14:33:21 +01:00
Peter Bacon Darwin
3db6b6ca7a
build(aio): ignore example files that are gitignored
...
Rather than hard coding excludes into the dgeni config,
use the fact that we are already ignoring the boilerplate
and generated files via the .gitignore file.
2017-06-09 14:33:21 +01:00
Peter Bacon Darwin
d5ce086089
build(aio): fix up API doc-gen templates
...
* Remove whitespace before type specifiers
* Generate `new` and `call` member info for interfaces
* Ensure that there is no double space after class names
2017-06-02 13:18:09 -04:00
Peter Bacon Darwin
cb2cb7c3bd
build(aio): display "call" and "new" members of interfaces in API docs
2017-05-31 08:45:50 +03:00
Peter Bacon Darwin
dfbbbb5e3e
build(aio): the the captured h1 as the title for the search index
...
If there is no title already provided, use the one captured from the renderedContent.
2017-05-31 08:45:31 +03:00
Peter Bacon Darwin
89f317915d
build(aio): use the captured h1 as the title if necessary
...
If the doc does not already have a `title` tag
then use the one captured from the renderedContent in
the final JSON output, instead.
2017-05-31 08:45:31 +03:00
Peter Bacon Darwin
4d5fa5c855
build(aio): capture the h1 title and attach it to the document
...
The HTML post-processing now collects any h1
that is found in the renderedContent and attaches
it to the doc via the `doc.vFile.title` property.
2017-05-31 08:45:31 +03:00
Igor Minar
db3113ba16
build(aio): externalize @angular/cli patches into a js file
...
This improves code readability and maintainability.
2017-05-26 01:19:59 -07:00
Igor Minar
8e2f72c644
build(aio): turn on pure_getters option in uglify
2017-05-26 01:19:59 -07:00
Jesús Rodríguez
4c5e28e53a
build(aio): less verbose boilerplate generator ( #16970 )
2017-05-25 17:43:46 -06:00
Pete Bacon Darwin
b0c5018c70
build(aio): better error message for invalid links ( #16993 )
2017-05-24 11:59:06 -06:00
Igor Minar
59136fdbe4
build(aio): add ngo + purify
2017-05-18 15:48:49 +01:00
Pete Bacon Darwin
af99cf2a41
build(aio): compute `{@link ...} titles more effectively ( #16813 )
...
If a usage of `{@link ...}` does not provide a title then
compute it based on the `title` and/or `name` properties
or set the link to invalid.
Closes #16811
2017-05-16 10:21:31 -07:00