Commit Graph
17725 Commits
Author SHA1 Message Date
雪狼 4331f560c7 fix: 语法调整 2020-03-29 22:04:37 +08:00
sphawkcn 19f76a8222 "it" 并非指 "product" 属性
原文:`Define the product property and inject the ActivatedRoute into the constructor by adding it as an argument within the constructor's parentheses.`
如果翻译为:”定义 product 属性,并把它加入构造函数括号中作为参数,以便把 ActivatedRoute 注入到构造函数中。“,则语意上是把 product 属性加入构造函数。实际不是,实际是把 `route` 加入构造函数中。
原文中的 `it` 不是指代 `product`,而是指代路由对象。
2020-03-29 22:02:59 +08:00
withOutUndo 977bf843a0 docs: 去掉重复文字 2020-03-28 21:11:18 +08:00
Zhicheng WANG e40befc1b1 fix: 顶部链接中只有博客才在新页面打开 2020-03-28 18:41:16 +08:00
Zhicheng WANG ef80c60800 fix: 把“顶级”统一换成“顶层” 2020-03-28 16:20:33 +08:00
Zhicheng WANG fab7f9acbd fix: typo 2020-03-26 17:41:35 +08:00
Zhicheng WANG 15cf692bd9 fix: blog 链接用新标签显示 2020-03-25 21:25:16 +08:00
Zhicheng WANG 72b1aff4e7 fix: 修改导航链接,增加华为云 DevUI 的链接 2020-03-25 20:34:51 +08:00
Zhicheng WANG 7deaf58f95 fix: 修改 flutter 链接 2020-03-07 20:39:54 +08:00
Zhicheng WANG 6576b1cd40 fix: 在线例子改为现场演练 2020-03-05 19:50:00 +08:00
Alan d9b29a288c fix(architecture-modules): 指令类型举例中的翻译错误 2020-03-02 18:55:40 +08:00
Zhicheng WANG 55f1ef014b docs: 文字微调 2020-02-14 09:20:10 +08:00
MSDev_NilTor 0e4028cb07 docs: 请简述你的修改...
ts版本描述更改为3。7
2020-02-13 17:57:30 +08:00
Coink 9ad96c49be 补全缺失的链接URL
补全缺失的URL。
Fix the missing URL.
2020-02-10 22:51:48 +08:00
Zhicheng WANG 8a6441c287 docs: 增加私有化部署指南 2020-02-10 14:31:41 +08:00
Zhicheng WANG c5bec23265 fix: typo 2020-02-07 12:01:11 +08:00
Zhicheng WANG 43d40473b8 fix: 升级版本号,以更新文档中的显示 2020-02-07 09:16:33 +08:00
Zhicheng WANG afb6119ae2 Merge remote-tracking branch 'en/master' into aio
# Conflicts:
#	aio/content/guide/releases.md
#	aio/content/guide/route-animations.md
#	aio/content/guide/template-syntax.md
#	aio/content/guide/testing.md
#	aio/content/guide/updating.md
#	aio/yarn.lock
2020-02-07 09:13:30 +08:00
George Kalpakas d3650ce3d8 build(docs-infra): upgrade cli command docs sources to d452f0873 (#35185)
Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master).

##
Relevant changes in [commit range](https://github.com/angular/cli-builds/compare/94d07909c...d452f0873):

**Modified**
- help/generate.json

##

PR Close #35185
2020-02-06 15:37:36 -08:00
Paul Gschwendtner bee6d73755 ci: re-enable android 7 saucelabs tests (#35171)
We fixed the tunnel connectivity issues by using a localhost domain
alias. Hence we can re-enable the Android 7.1 Saucelabs tests.

PR Close #35171
2020-02-06 15:36:27 -08:00
Paul Gschwendtner 363e1ab775 ci: ensure saucelabs browsers can load karma test page (#35171)
In the past we had connecitivity issues on Saucelabs. Browsers on
mobile devices were not able to properly resolve the `localhost`
hostname through the tunnel. This is because the device resolves
`localhost` or `127.0.0.1` to the actual Saucelabs device, while it
should resolve to the tunnel host machine (in our case the CircleCI VM).

In the past, we simply disabled the failing devices and re-enabled the
devices later. At this point, the Saucelabs team claimed that the
connecitivy/proxy issues were fixed.

Saucelabs seems to have a process for VMs which ensures that requests to
`localhost` / `127.0.0.1` are properly resolved through the tunnel. This
process is not very reliable and can cause tests to fail. Related issues have been
observed/mentioned in the Saucelabs support docs. e.g.

https://support.saucelabs.com/hc/en-us/articles/115002212447-Unable-to-Reach-Application-on-localhost-for-Tests-Run-on-Safari-8-and-9-and-Edge
https://support.saucelabs.com/hc/en-us/articles/225106887-Safari-and-Internet-Explorer-Won-t-Load-Website-When-Using-Sauce-Connect-on-Localhost

In order to ensure that requests are always resolved through the tunnel,
we add our own domain alias in the CircleCI's hosts file, and enforce that
it is always resolved through the tunnel (using the `--tunnel-domains` SC flag).
Saucelabs devices by default will never resolve this domain/hostname to the
actual local Saucelabs device.

PR Close #35171
2020-02-06 15:36:27 -08:00
JiaLiPassion dc5ac88a19 docs: fix wrong link of tick() (#35168)
PR Close #35168
2020-02-06 15:35:50 -08:00
Alan Agius dcff6c9940 fix(bazel): spawn prod server using port 4200 (#35160)
Currently the prod server uses a default port of 8080, with this change we align the port with the devserver.

PR Close #35160
2020-02-06 15:35:11 -08:00
Alan Agius 129010e4c2 fix(bazel): devserver shows blank page in Windows (#35159)
`additional_root_paths` should contain the workspace name see: https://github.com/bazelbuild/rules_nodejs/blob/d4200191c5fb84f395311840d8f90d3715e9f751/packages/typescript/src/internal/devserver/ts_devserver.bzl#L137-L140

Fixes #35144

PR Close #35159
2020-02-06 15:34:30 -08:00
Alan Agius 6fb538ed1d fix(bazel): update ibazel to 0.11.1 (#35158)
PR Close #35158
2020-02-06 15:33:26 -08:00
Paul Gschwendtner c4ad12c1c3 ci: remove components-repo-ci blocklist (#35115)
Previously we needed the `components-repo-ci` blocklist to disable
tests that were failing during the development of Ivy. Since we fixed
all those failing tests, and we don't want to regress, we can remove the
blocklist logic.

Resolves FW-1807

PR Close #35115
2020-02-06 15:32:33 -08:00
Sonu Kapoor 10ad984334 docs: Clarifies code section is a continuation from the section above (#35111)
PR Close #35111
2020-02-06 15:31:41 -08:00
Joey Perrott 27d16a7881 ci: Remove old vendoring solution in favor of relying on yarn-path (#35083)
Now that bazel respects the yarn-path value found in .yarnrc, we can
remove the last remaining reliances on our vendoring in
//third_party/github.com/yarnpkg/yarn/

PR Close #35083
2020-02-06 15:30:51 -08:00
Alex Rickabaugh 3c69442dbd feat(compiler-cli): implement NgTscPlugin on top of the NgCompiler API (#34792)
This commit implements an experimental integration with tsc_wrapped, where
it can load the Angular compiler as a plugin and perform Angular
transpilation at a user's request.

This is an alternative to the current ngc_wrapped mechanism, which is a fork
of tsc_wrapped from several years ago. tsc_wrapped has improved
significantly since then, and this feature will allow Angular to benefit
from those improvements.

Currently the plugin API between tsc_wrapped and the Angular compiler is a
work in progress, so NgTscPlugin does not yet implement any interfaces from
@bazel/typescript (the home of tsc_wrapped). Instead, an interface is
defined locally to guide this standardization.

PR Close #34792
2020-02-06 15:27:34 -08:00
Alex Rickabaugh 14aa6d090e refactor(ivy): compute ignoreFiles for compilation on initialization (#34792)
This commit moves the calculation of `ignoreFiles` - the set of files to be
ignored by a consumer of the `NgCompiler` API - from its `prepareEmit`
operation to its initialization. It's now available as a field on
`NgCompiler`.

This will allow a consumer to skip gathering diagnostics for `ignoreFiles`
as well as skip emit.

PR Close #34792
2020-02-06 15:27:34 -08:00