494 Commits

Author SHA1 Message Date
Igor Minar
3997d97806 revert: feat(elements): implement @angular/elements ()
This PR was merged without API docs and general rollout plan.

We can't release this as is in 5.1 without a plan for documentation, cli integration, etc.
2017-11-03 15:54:54 -07:00
Jesús Rodríguez
c7fd172ba7 build(aio): make plunker works with rxjs operators () 2017-11-03 10:47:23 -07:00
George Kalpakas
ebfa204af0 feat(elements): set up the elements package 2017-11-02 16:09:09 -07:00
Peter Bacon Darwin
068348e9b1 build(aio): do not fail the initial doc-gen when running docs-watch
Checks that cause the doc-gen to fail were already disabled in `docs-watch`
for the doc-gen that runs when a file is changed.
Now these checks are also disabled for the initial doc-gen run.
closes 
2017-11-02 15:03:59 -07:00
Peter Bacon Darwin
1beab0da6a build(aio): do not fail on bad examples when running docs-watch 2017-11-02 15:00:22 -07:00
Peter Bacon Darwin
3a03ff6b2d build(aio): allow render-examples to complete even if examples are broken
By setting `renderExamples.ignoreBrokenExamples = true` the doc-gen will
not fail if there is something wrong with an example. Instead it will
just log a warning.
2017-11-02 15:00:22 -07:00
Peter Bacon Darwin
0355142737 build(aio): fail doc-gen if a code-example is badly formatted.
This will catch the problem that was missed in
https://github.com/angular/angular/pull/19845#issuecomment-338626662
2017-11-02 14:58:38 -07:00
Olivier Combe
132c0719dc docs(aio): updated i18n guide and example () 2017-11-02 14:22:09 -07:00
George Kalpakas
b8bb2dd0f5 build(aio): update lockfile for examples
Installing dependencies for the docs examples fails, because the
lockfile is out-of-sync with the corresponding `package.json`.
This commit brings the lockfile in sync with `package.json`.

(For reference, this was accidentally broken in #20039.)
2017-11-02 00:15:59 +01:00
Igor Minar
1ebc0d1e33 revert: build(aio): remove cli patches ()
This reverts commit f0d530b4de38f71c759e42afc8f3d7531eb1b1fb.

cli rc.8 reintroduces the node polyfill which causes size regression,
so I'm putting the patch back in.

-rw-r--r--  1 iminar  eng   14880 Nov  1 12:11 dist/0.b19e913fbdd6507d346b.chunk.js
-rw-r--r--  1 iminar  eng    1533 Nov  1 12:11 dist/inline.25600c3b48de18b97581.bundle.js
-rw-r--r--  1 iminar  eng  486476 Nov  1 12:11 dist/main.d1292a34401056535884.bundle.js
-rw-r--r--  1 iminar  eng   37070 Nov  1 12:11 dist/polyfills.0dfca732c5a075c110d0.bundle.js

PR Close 
2017-11-01 15:24:47 -07:00
Peter Bacon Darwin
9ab1f4a9c9 style(aio): fix docs linting issues ()
These issues appeared after upgrade of eslint jasmine plugin

PR Close 
2017-11-01 15:24:46 -07:00
Peter Bacon Darwin
3337865913 build(aio): remove cli patches ()
PR Close 
2017-11-01 15:24:45 -07:00
Igor Minar
19fbfbc371 build(aio): disable 'global' support in webpack ()
This will be fixed in CLI once https://github.com/angular/angular-cli/pull/8130 lands.

-rw-r--r--  1 iminar  eng   14942 Oct 20 22:23 dist/0.b19e913fbdd6507d346b.chunk.js
-rw-r--r--  1 iminar  eng    1535 Oct 20 22:23 dist/inline.5d66b81ec9e01af9d28d.bundle.js
-rw-r--r--  1 iminar  eng  528395 Oct 20 22:23 dist/main.e36bb99245ca52ae546f.bundle.js
-rw-r--r--  1 iminar  eng   37205 Oct 20 22:23 dist/polyfills.0dfca732c5a075c110d0.bundle.js

PR Close 
2017-11-01 15:24:44 -07:00
Igor Minar
10c1c2ba5a build(aio): upgrade to @angular/cli@1.5.0-rc.2 ()
-rw-r--r--  1 iminar  eng   84219 Oct 19 21:37 dist/0.0f327734d18211139822.chunk.js
-rw-r--r--  1 iminar  eng   14942 Oct 19 21:37 dist/4.c719ac5645940382cdce.chunk.js
-rw-r--r--  1 iminar  eng    1560 Oct 19 21:37 dist/inline.887757679ff553e20b54.bundle.js
-rw-r--r--  1 iminar  eng  492354 Oct 19 21:37 dist/main.5e5dc9ed980c9f5dc2bd.bundle.js
-rw-r--r--  1 iminar  eng   37402 Oct 19 21:37 dist/polyfills.f8409a9eb69060ac1aa6.bundle.js

PR Close 
2017-11-01 15:24:44 -07:00
Igor Minar
b396029d39 build(aio): patch @angular/cli to use esm builds of rxjs ()
-rw-r--r--  1 iminar  eng   14942 Oct 13 14:52 dist/0.b19e913fbdd6507d346b.chunk.js
-rw-r--r--  1 iminar  eng    1535 Oct 13 14:52 dist/inline.6ca24f1c3b848103b041.bundle.js
-rw-r--r--  1 iminar  eng  567802 Oct 13 14:52 dist/main.c8183a2c0116782ca366.bundle.js
-rw-r--r--  1 iminar  eng   37402 Oct 13 14:52 dist/polyfills.f8409a9eb69060ac1aa6.bundle.js

PR Close 
2017-11-01 15:24:43 -07:00
Jesus Rodriguez
c30eff898a docs(aio): update universal for CLI
PR Close 
2017-11-01 15:18:43 -07:00
Jesus Rodriguez
ca129ba549 docs(aio): upgrade to v5 and cli 1.5
PR Close 
2017-11-01 14:14:08 -07:00
Jesus Rodriguez
3a8665409d build(aio): add i18n boilerplate type ()
PR Close 
2017-10-31 01:06:25 -04:00
Ward Bell
2f63899be2 docs: ensure examples get rxjs ^5.5.0 ()
This change coincidentally updates other packages that were in `package.json`
because it regenerates `yarn.lock`. This too should be fine.

PR Close 
2017-10-27 22:27:27 -07:00
Alex Rickabaugh
4abacb58f1 fix(aio): add service worker entrypoint to aio build ()
Fixes 

PR Close 
2017-10-23 19:31:42 -04:00
George Kalpakas
910735d732 build: fix yarn install command (--freeze-lockfile --> --frozen-lockfile) 2017-10-20 10:14:30 -07:00
Filipe Silva
820bb7bd8c revert: ci: use chrome stable ()
This reverts commit 8bcb268140c1ec64093761de57200501ee65df61.
2017-10-20 09:38:59 -07:00
Kapunahele Wong
9b264c5c78 docs(aio): change in-mem-web-api version for examples ()
PR Close 
2017-10-17 10:38:15 -07:00
George Kalpakas
43f9d917d9 build(aio): fix overwriting with local Angular packages that depend on other local ones ()
PR Close 
2017-10-13 09:27:51 -07:00
George Kalpakas
62c7b7842b test(aio): fix testing of NgPackagesInstaller ()
PR Close 
2017-10-13 09:27:51 -07:00
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