Pete Bacon Darwin
92c8752d0a
docs(docs-infra): the `build.sh` script was renamed to `create-image.sh`
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
68bfe686d8
ci(docs-infra): rename 'upload-server' to 'preview-server'
...
The server no longer has files uploaded to it. Instead it is more
accurate to refer to it as dealing with "previews" of PRs.
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
d604ef7cf0
ci(docs-infra): add explicit return types to methods
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
36c4c8daa9
ci(docs-infra): improve preview-server logging
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
cc6f36a9d7
ci(docs-infra): change AIO preview server stuff to pull builds from CircleCI
...
Previously, Travis pushed the build artitfacts to the preview server.
This required us to use JWT to secure the POST request from Travis, to
ensure we couldn't receive malicious builds.
JWT has been deprecated and we are moving our builds to CircleCI.
This commit rewrites the TypeScript part of the preview server that
handles converting build artifact into hosted previews of the docs.
2018-08-16 10:26:13 +01:00
Pete Bacon Darwin
643766637e
ci(docs-infra): factor out the aio-builds-setup environment variables
2018-08-16 10:26:12 +01:00
Pete Bacon Darwin
a800a5118a
ci(docs-infra): move the payload-size check to the test job
2018-08-16 10:26:12 +01:00
Pete Bacon Darwin
3b8b7f4087
ci(docs-infra): add helper scripts for running TDD in Docker
2018-08-16 10:26:12 +01:00
Pete Bacon Darwin
9b820555a3
docs(docs-infra): update the preview server documentation
2018-08-16 10:26:12 +01:00
Pete Bacon Darwin
364459c576
ci(docs-infra): move AIO preview deployment to CircleCI
...
Now instead of pushing the AIO build artifacts to the preview server
from inside a Travis job, the artifacts are built and hosted on the
CircleCI infrastructure. The preview server will then pull these
down after being triggered by a CircleCI build webhook.
2018-08-16 10:26:11 +01:00
Pete Bacon Darwin
8347bb0d2d
ci(docs-infra): update upload-server to run on node.js v10
2018-08-16 10:21:24 +01:00
Ben Lesh
4ce70b9edf
release: cut the vv7.0.0-beta.2 release
2018-08-15 15:35:41 -07:00
Victor Berchet
1f1103913a
refactor(ivy): cleanup the public API for core/testing ( #25492 )
...
PR Close #25492
2018-08-15 09:53:17 -07:00
Alan Agius
01ec5fd6b0
fix(service-worker): `Cache-Control: no-cache` on assets breaks service worker ( #25408 )
...
At the moment `cacheAge` can we undefined when having `Cache-Control` set to `no-cache` due the mapping method in `needToRevalidate`
Closes #25442
PR Close #25408
2018-08-14 16:40:15 -07:00
Kieran Whiteman
be2cf4dfd6
docs(core): Correct spelling error in directives docs ( #25377 )
...
Link to life-cycle hooks was spelt as "life-cycle hoooks".
PR Close #25377
2018-08-14 16:39:33 -07:00
Jonas Bandi
eeb81b9370
docs: enable debug tools with current versions of Angular ( #25361 )
...
Updating code snippet in docs that shows how to enable debug tools.
PR Close #25361
2018-08-14 16:38:26 -07:00
Greg Magolan
b5f354f2fb
build(bazel): update to rules_typescript 0.16.0 & update to tagged rules_webtesting 0.2.1 ( #25433 )
...
PR Close #25433
2018-08-14 16:37:15 -07:00
Ben Lesh
a0a29fdd27
feat(ivy): Add AOT handling for bare classes with Input and Output decorators ( #25367 )
...
PR Close #25367
2018-08-14 16:36:18 -07:00
Alex Rickabaugh
26066f282e
fix(ivy): consider exported modules from other compilation scopes ( #25425 )
...
PR Close #25425
2018-08-14 14:23:24 -07:00
Alex Rickabaugh
b40c437379
fix(ivy): ensure factory statements are emitted correctly ( #25425 )
...
A small bug caused base factory variable statements for @Component to
not be emitted properly. At the same time as this is fixed, those
statements are now emitted as const.
PR Close #25425
2018-08-14 14:23:24 -07:00
Alex Rickabaugh
82e2725154
fix(ivy): handle the case where no base factory is found ( #25425 )
...
When an Angular decorated class is inherited, it might be the case that
the entire inheritance chain actually has no constructor defined. In
that event, a factory which simply instantiates the type without any
arguments should be used.
PR Close #25425
2018-08-14 14:23:24 -07:00
Pete Bacon Darwin
c13901f4c8
build(docs-infra): remove stability labels from API docs ( #25453 )
...
PR Close #25453
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin
6a2130117f
build(docs-infra): clean up API package template ( #25453 )
...
PR Close #25453
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin
4e45f2c481
build(docs-infra): include packages in API template breadcrumbs ( #25453 )
...
PR Close #25453
2018-08-14 13:17:15 -07:00
Pete Bacon Darwin
78f477652e
build(docs-infra): change breadcrumb delimiter to `>` ( #25453 )
...
PR Close #25453
2018-08-14 13:17:15 -07:00
Judy Bogart
98f336c0fb
docs: add api doc for programmatic animation classes ( #24668 )
...
PR Close #24668
2018-08-14 13:15:27 -07:00
Pawel Kozlowski
9117fa199c
test(ivy): activate local references canonical spec ( #25462 )
...
PR Close #25462
2018-08-14 12:01:55 -07:00
Pawel Kozlowski
0c4209f4b9
refactor(ivy): harmonize container and element / elementContainer signatures ( #25458 )
...
PR Close #25458
2018-08-14 12:01:23 -07:00
Victor Berchet
14ac7ad6b4
feat(ivy): implement TestBed ( #25369 )
...
PR Close #25369
2018-08-14 11:58:47 -07:00
Victor Berchet
85106375ac
refactor(ivy): misc cleanup ( #25369 )
...
PR Close #25369
2018-08-14 11:58:47 -07:00
annefernandez3
ecb5dc03f9
docs: add Accelebrate to resources ( #23204 )
...
PR Close #23204
2018-08-14 11:58:04 -07:00
Ben Lesh
bbb3f8fa60
docs(ivy): add better documentation around debugging ivy tests ( #25432 )
...
PR Close #25432
2018-08-13 21:44:55 -07:00
Igor Minar
09711507f9
ci: github robot should enforce that all requested reviews are submitted ( #25336 )
...
See docs in the diff for justification.
PR Close #25336
2018-08-13 21:39:04 -07:00
Justin Noel
3ac7070009
docs: fix typo in Architecture overview page ( #25438 )
...
PR Close #25438
2018-08-13 21:38:22 -07:00
Martin Probst
c869b143c6
build: drop unused re-export of json_marshal. ( #25449 )
...
This appears to be unused, and will be removed from rules_typescript now
that `struct.to_json` can take `dicts`.
PR Close #25449
2018-08-13 21:37:41 -07:00
Ana María Martínez Gómez
e0314b5d90
docs: add link to Yarn in README ( #24856 )
...
Remove the code markdown. It is not code, it is a name.
PR Close #24856
2018-08-13 21:36:13 -07:00
Ben Lesh
1bb30147d3
fix(ivy): add typeof guard around ngDevMode for instances where we cannot set it in Node ( #25475 )
...
PR Close #25475
2018-08-13 20:50:53 -07:00
Ben Lesh
fb2c5241fc
fix(bazel): correct type concatenated to devmode_js ( #25467 )
...
PR Close #25467
2018-08-13 17:27:45 -07:00
Ben Lesh
97d8b5ed88
fix(ivy): reordering how root is acquired ( #25470 )
...
PR Close #25470
2018-08-13 17:25:47 -07:00
Kara Erickson
4a4d6fb0e6
test(ivy): compiler compliance tests should support ? ( #25435 )
...
PR Close #25435
2018-08-10 17:12:18 -07:00
Miško Hevery
2016afdbff
fix(ivy): remove ivy dependency on ViewEngine's resolveRendererType2 ( #25396 )
...
PR Close #25396
2018-08-10 13:32:04 -07:00
Tomasz Kula
c8c1aa7fc0
docs(aio): add async validation chapter ( #25189 )
...
Closes #22881
PR Close #25189
2018-08-10 09:14:25 -07:00
Kara Erickson
409860a4da
fix(ivy): queries should be restored when view changes ( #25415 )
...
PR Close #25415
2018-08-10 09:13:16 -07:00
Kara Erickson
2b128a47b9
refactor(ivy): queries should not rely on LNode ( #25415 )
...
PR Close #25415
2018-08-10 09:13:16 -07:00
Jonathan Sharpe
209cc7e1b0
docs: fix typo in testing guide ( closes #25400 ) ( #25418 )
...
PR Close #25418
2018-08-10 09:11:35 -07:00
Pawel Kozlowski
2d759927d4
feat(ivy): add support for ng-container in the compiler ( #25383 )
...
PR Close #25383
2018-08-09 13:13:04 -07:00
Alex Rickabaugh
7058072ff6
feat(ivy): enable .ngfactory.js generation in g3 only ( #25392 )
...
This turns on generation of ngfactory.js files when compiling in Ivy
mode in g3. They're not turned on for Bazel users as there appears to
be a strange interaction with the way our tests run in Bazel mode.
PR Close #25392
2018-08-09 09:58:13 -07:00
Alex Rickabaugh
33fd7e0784
fix(ivy): export NgModuleFactory via r3_symbols for core factories ( #25392 )
...
When @angular/core is compiled by ngtsc, a factory file is generated
for ApplicationModule, that is currently invalid because r3_symbols
does not export NgModuleFactory. This change fixes that issue and
ensures the generated ngfactory file for @angular/core is valid.
PR Close #25392
2018-08-09 09:58:13 -07:00
Alex Rickabaugh
2befc65777
fix(ivy): ngtsc should pay attention to declaration order ( #25392 )
...
When generating the 'directives:' property of ngComponentDef, ngtsc
needs to be conscious of declaration order. If a directive being
written into the array is declarated after the component currently
being compiled, then the entire directives array needs to be wrapped
in a closure.
This commit fixes ngtsc to pay attention to such ordering issues
within directives arrays.
PR Close #25392
2018-08-09 09:58:13 -07:00
Alex Rickabaugh
6f085f8610
fix(ivy): add missing exportAs field to ngDirectiveDef ( #25392 )
...
This commit includes the missing exportAs field from @Directive and
propagates it into the ngDirectiveDef.
PR Close #25392
2018-08-09 09:58:13 -07:00