Alex Rickabaugh
1c44b71fd2
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-09-18 15:04:31 -07:00
Alex Eagle
a5e0ae501d
docs(bazel): add skydoc generation ( #23544 )
...
PR Close #23544
2018-09-18 15:04:26 -07:00
Alex Rickabaugh
2d0e642dbe
fix(bazel): allow compile_strategy to be (privately) imported ( #25080 )
...
compile_strategy() is used to decide whether to build Angular code
using ngc (legacy) or ngtsc (local). In order for g3 BUILD rules
to switch properly and allow testing of Ivy in g3, they need to
import this function.
This commit removes the _ prefix which allows the function to be
imported.
PR Close #25080
2018-09-18 15:00:32 -07:00
Alan Agius
9ea656f20e
build: use nodejs public api ( #25940 )
...
`nodejs_binary` and `nodejs_test` from `@build_bazel_rules_nodejs//:defs.bzl` and `@build_bazel_rules_nodejs//internal/node:node.bzl` are different as the first one uses a macro https://github.com/bazelbuild/rules_nodejs/blob/master/internal/node/node.bzl#L229 to wrap the `nodejs_binary` and `nodejs_test` as an `.exe` for Windows.
PR Close #25940
2018-09-18 14:47:43 -07:00
Alan Agius
97ae7aed41
feat(bazel): add additional parameters to ts_api_guardian_test
def ( #25694 )
...
Added `strip_export_pattern` and `allow_module_identifiers` so that these can be passed from downstream
PR Close #25694
2018-09-18 14:47:35 -07:00
Alan Agius
678b4209c8
fix(bazel): specify the package and lock files using the workspace ( #25694 )
...
PR Close #25694
2018-09-18 14:47:30 -07:00
Miško Hevery
b7be4f55be
build: add support for running builds outside of sandbox on Mac. ( #25870 )
...
Add following to your `~/.bazelrc`. This will run the build faster locally
(outside of sandbox), but continue running the builds with sandboxing
on CI.
```
build --spawn_strategy=standalone --strategy=ESM5=sandboxed
```
PR Close #25870
2018-09-18 14:43:39 -07:00
Alex Eagle
e7c72ab556
style: reformat bzl files on patch branch to match master
2018-09-18 14:43:05 -07:00
Alex Eagle
af785f9e91
ci: enforce formatting of .bzl files ( #23544 )
...
These are now enforced in google3 so we want to match, so that PRs don't get held up when we sync
PR Close #23544
2018-09-18 14:40:59 -07:00
Igor Minar
1ac5d68827
build: bump the com_github_bazelbuild_buildtools version to 0.12.0 ( #25917 )
...
This is a preliminary fix to make buildifier work with Bazel 0.16.
See alexeagle/angular-bazel-example/issues/173
PR Close #25917
2018-09-18 14:36:38 -07:00
Greg Magolan
2c987625ae
build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ( #25920 )
...
PR Close #25920
2018-09-18 14:36:28 -07:00
Alex Eagle
a77f567403
ci: update to bazel 0.17 ( #25967 )
...
this includes support for @ character in labels, which we need for fine-grained deps
PR Close #25967
2018-09-18 14:32:34 -07:00
George Kalpakas
110c81f359
build: ignore aio
/docs-infra
commits in changelog
gulp task ( #25838 )
...
PR Close #25838
2018-09-18 13:23:06 -07:00
George Kalpakas
ef4b5c7e59
build: update conventional-changelog
and simplify changelog
gulp task ( #25838 )
...
The version prefix issue has been fixed with
conventional-changelog/conventional-changelog#179.
PR Close #25838
2018-09-18 13:23:00 -07:00
Pete Bacon Darwin
c69362442d
build: update .nvmrc file to correct node version ( #25992 )
...
The version was updated in 34ec9244a6
but this file got missed.
PR Close #25992
2018-09-18 13:11:58 -07:00
George Wilde
6c8791ee32
docs(forms): change documentation of the FormGroup patchValue method ( #25901 )
...
Improve the grammar of the description to make it more readable.
PR Close #25901
2018-09-18 13:08:06 -07:00
Greg Magolan
274dc1e972
build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ( #25977 )
...
PR Close #25977
2018-09-18 13:03:37 -07:00
songjunting
d9bd86050b
docs: fix typo in bootstrapping guide ( #25939 )
...
Fixes #25938
PR Close #25939
2018-09-14 16:38:18 -07:00
Kapunahele Wong
076374ba4f
docs: delete old comments from example ( #25931 )
...
PR Close #25931
2018-09-13 15:33:33 -07:00
Daniel Wiehl
e117b1ffd2
fix(router): mount correct component if router outlet was not instantiated and if using a route reuse strategy ( #25313 ) ( #25314 )
...
This unsets 'attachRef' on outlet context if no route is to be reused in route activation.
Closes #25313
PR Close #25314
2018-09-11 16:26:42 -07:00
vincecampanale
8d7fbb614b
docs(router): change description of parameter usage for navigation functions ( #21840 )
...
PR Close #21840
2018-09-11 16:24:23 -07:00
Matt Keller
a31cfc521c
fix(compiler): Fix look up of entryComponents in AOT Summaries ( #24892 )
...
Previously, when you attempted to bootstrap a component that had a
router-outlet using ngsummaries, it would complain that the component
was not provided by any module even if it was. This commit fixes a
mistake (AFAICT) which caused the lookup of the component in the AOT
summaries to fail.
I believe this change is safe. I've run the affected tests within Google
and there were no breakages caused by this change.
PR Close #24892
2018-09-11 16:23:17 -07:00
Alan Agius
55a1ce7adf
docs: add disableTypeScriptVersionCheck
documentation ( #25537 )
...
PR Close #25537
2018-09-11 12:25:55 -07:00
Plamena Radneva
9f3da659aa
docs(aio): add ng-sq-ui to resources ( #25874 )
...
PR Close #25874
2018-09-10 10:31:11 -07:00
Vani
8f9aeaaa67
docs: move compiler options to last section of the page ( #22353 )
...
PR Close #22353
2018-09-10 10:30:01 -07:00
Liad Idan
b9a5ce1c06
docs(service-worker): update http-server command ( #25845 )
...
PR Close #25845
2018-09-06 14:59:51 -07:00
George Kalpakas
f67229efa3
build(docs-infra): ensure any stale generated content is deleted ( #25841 )
...
Since `aio/src/generated/` is git-ignored, it is easy for stale content
(e.g. removed images, examples, zips, etc.) to remain there on local
clones and then get copied into the `dist/` directory.
This commit ensures `aio/src/generated/` is cleaned up before generating
the new content.
PR Close #25841
2018-09-06 14:59:29 -07:00
Alex Eagle
f707f545aa
build: update to Node 10 ( #25822 )
...
PR Close #25822
2018-09-06 14:58:30 -07:00
George Kalpakas
62f4ea5f0f
test(docs-infra): fix double-slash in URL of aio_monitoring
test ( #25641 ) ( #25820 )
...
As part of the tests run in the CircleCI `aio_monitoring` job, we need
to retrieve `sitemap.xml` from the site under test. Previously, the URL
used to retrieve that contained a double-slash (`//`). At some point,
Firebase (which is used for hosting the site) stopped normalizing
double-slashes to a single slash, causing the test to fail.
This commit fixes the problem by ensuring that the constructed URLs do
not contain double-slashes.
PR Close #25641
PR Close #25820
2018-09-06 14:58:09 -07:00
George Kalpakas
ecc3406ca6
test(docs-infra): correctly extract sitemap URLs ( #19795 ) ( #25820 )
...
`%%DEPLOYMENT_HOST%%` has been assumed to be the host prefix for sitemap
URLs since bf29936af, but afaict this was never the case.
PR Close #19795
PR Close #25820
2018-09-06 14:58:09 -07:00
Greg Magolan
e244b5180e
build(bazel): update bazel integration to build angular from source ( #25774 )
...
PR Close #25774
2018-09-06 14:56:53 -07:00
Greg Magolan
f85d3d7857
build(bazel): make resolveTypeReferenceDirectives override work with both ts 2.9 & ts 3.0 ( #25774 )
...
PR Close #25774
2018-09-06 14:56:53 -07:00
Greg Magolan
b404d47b16
build(bazel): fix bazel types reference directive resolves ( #25774 )
...
PR Close #25774
2018-09-06 14:56:53 -07:00
Misko Hevery
815d1ffa19
release: cut the v6.1.7 release
6.1.7
2018-09-05 20:49:37 -07:00
George Kalpakas
d1063c62b3
build(docs-infra): restore correct dependency versions in package.json
( #25827 )
...
Accidentally broken in 46de203f8 (while cherry-picking #25806 into
6.1.x).
2018-09-05 17:57:27 -07:00
George Kalpakas
3a0b7355e5
build: upgrade Chromium and ChromeDriver to latest versions ( #25602 ) ( #25669 )
...
PR Close #25602
PR Close #25669
2018-09-05 11:40:30 -07:00
George Kalpakas
3bdd4e249f
build: check for latest Chromium version ( #25602 ) ( #25669 )
...
Now that https://omahaproxy.appspot.com/all is back up, we can restore
the check for newer available version of Chromium.
Fixes #22231
PR Close #25602
PR Close #25669
2018-09-05 11:40:30 -07:00
Filipe Silva
2c1f55069f
build: update ngcontainer to node 10.9.0 ( #25812 )
...
PR Close #25812
2018-09-05 11:37:26 -07:00
Frederik Schlemmer
e72f741e78
docs: update event page ( #25799 )
...
docs: change reactiveconf event location
PR Close #25799
2018-09-05 11:37:03 -07:00
Maicon Wagner
f0bcfd0e78
docs: fix showcase address truly-ui ( #25757 )
...
PR Close #25757
2018-09-05 11:36:39 -07:00
George Kalpakas
82e06766b8
fix(upgrade): trigger $destroy
event on upgraded component element ( #25357 )
...
Fixes #25334
PR Close #25357
2018-09-05 11:35:15 -07:00
George Kalpakas
eea1600a38
refactor(upgrade): share code for destroying upgraded components between dynamic
and static
( #25357 )
...
PR Close #25357
2018-09-05 11:35:14 -07:00
Rob Wormald
8f8c390c75
test: remove deprecated Buffer usage in sourcemap test ( #25805 )
...
PR Close #25805
2018-09-05 09:38:49 -07:00
Trotyl
23a96dca2d
feat(router): warn if navigation triggered outside Angular zone ( #24959 )
...
closes #15770 , closes #15946 , closes #24728
PR Close #24959
2018-09-05 09:35:14 -07:00
Pete Bacon Darwin
6f7df8a1fa
feat(docs-infra): disable "status" selector in API list when displaying only packages ( #25718 )
...
Closes #25708
PR Close #25718
2018-09-05 09:28:29 -07:00
Pete Bacon Darwin
92298e5271
build(docs-infra): do not render internals in package API pages ( #25723 )
...
Closes #24493
PR Close #25723
2018-09-05 09:28:06 -07:00
Tomáš Livora
27f0817000
docs(changelog): fix version 6.1.5 typo ( #25760 )
...
PR Close #25760
2018-09-05 09:27:16 -07:00
Rob Wormald
4596fc0217
refactor(docs-infra): bump polyfills payload limit ( #25806 )
...
PR Close #25806
2018-09-05 09:26:10 -07:00
Rob Wormald
46de203f85
refactor(docs-infra): simplify custom-element polyfill setup ( #25806 )
...
PR Close #25806
2018-09-05 09:24:12 -07:00
Pete Bacon Darwin
d752a8907b
build(docs-infra): ensure root node_modules exists ( #25811 )
...
Now that the doc-gen parses the imports of TS source
files we need to ensure that the root node_modules
exists. Otherwise running `yarn docs` produces an
obscure error:
```
Error: No SourceFile found with path node_modules/@types/jasmine/index.d.ts
```
Closes #25759
PR Close #25811
2018-09-05 09:22:46 -07:00