Zhicheng WANG
b035e68480
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# .travis.yml
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/build.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/deployment.md
# aio/content/guide/elements.md
# aio/content/guide/file-structure.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/pipes.md
# aio/content/guide/router.md
# aio/content/guide/rx-library.md
# aio/content/guide/service-worker-communications.md
# aio/content/guide/service-worker-config.md
# aio/content/guide/singleton-services.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/universal.md
# aio/content/marketing/docs.md
# aio/content/marketing/features.html
# aio/content/tutorial/toh-pt0.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/app/layout/footer/footer.component.html
# aio/tools/transforms/templates/api/lib/memberHelpers.html
# aio/yarn.lock
# integration/cli-hello-world-ivy-minimal/src/polyfills.ts
# modules/benchmarks/e2e_test/largetable_perf.ts
# modules/benchmarks/e2e_test/largetable_spec.ts
# packages/animations/src/animation_metadata.ts
# packages/common/http/src/headers.ts
# packages/common/http/src/interceptor.ts
# packages/common/src/directives/ng_for_of.ts
# packages/common/src/directives/ng_if.ts
# packages/common/src/directives/ng_style.ts
# packages/common/src/directives/ng_switch.ts
# packages/core/src/change_detection/change_detection_util.ts
# packages/core/src/di/injectable.ts
# packages/core/src/interface/lifecycle_hooks.ts
# packages/core/src/linker/template_ref.ts
# packages/core/src/metadata/di.ts
# packages/core/src/metadata/directives.ts
# packages/core/src/metadata/ng_module.ts
# packages/core/src/render/api.ts
# packages/forms/src/form_providers.ts
# packages/forms/src/model.ts
# packages/router/src/config.ts
# packages/router/src/directives/router_link.ts
2019-02-17 00:00:16 +08:00
Zhicheng WANG
a4fc5f8e37
fix: 并行渲染,提高效率
2019-02-15 07:12:41 +08:00
Zhicheng WANG
54c67e6294
fix: 改用 puppeteer 进行 prerender,放弃 prerender
库
2019-02-15 07:12:41 +08:00
Zhicheng WANG
f3e5f65fe1
fix: 精修翻译
2019-02-15 07:12:41 +08:00
Zhicheng WANG
9ccc6de90f
fix: 移除字典
2019-02-15 07:12:41 +08:00
Zhicheng WANG
9ec21f77fd
fix: 精修翻译
2019-02-15 07:12:41 +08:00
Zhicheng WANG
f50ff4ba43
fix: 精修翻译
2019-02-15 07:12:41 +08:00
Zhicheng WANG
0d11c7d06b
fix: 精修翻译
2019-02-15 07:12:40 +08:00
Zhicheng WANG
56a017a977
fix: 精修翻译
2019-02-15 07:12:40 +08:00
Zhicheng WANG
5aa7fbfe64
fix: 不再处理 span 和 a
2019-02-15 07:12:40 +08:00
Zhicheng WANG
421fc1a846
fix: 精修翻译
...
恢复一些过度省略的 "Angular"
Angular 模块恢复为 NgModule
2019-02-15 07:12:40 +08:00
Zhicheng WANG
b6e28828a7
fix: 为标题生成了错误的 ID
2019-02-15 07:12:40 +08:00
Zhicheng WANG
d79fb401e7
fix: 修复一些翻译错误
2019-02-15 07:12:39 +08:00
Zhicheng WANG
c63a778e26
fix: 修复一些翻译错误
2019-02-15 07:12:39 +08:00
Zhicheng WANG
1d6c1396fd
fix: 修复一些翻译错误
2019-02-15 07:12:39 +08:00
Zhicheng WANG
893161f7ab
fix: 升级翻译引擎,解决链接检查出错的问题
2019-02-15 07:12:39 +08:00
Zhicheng WANG
5a000c4204
fix: 升级翻译引擎,解决一些行内元素错配的问题
2019-02-15 07:12:39 +08:00
Zhicheng WANG
a9ccdd5b40
fix: 遗失的同步翻译
2019-02-15 07:12:39 +08:00
George Kalpakas
b41da03f00
build(docs-infra): upgrade cli command docs sources to 1631f7d62 ( #28727 )
...
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](ba5120d18...1631f7d62
):
**Modified**
- help/build.json
PR Close #28727
2019-02-14 19:22:53 +00:00
Marc Laval
3842dd6a6d
fix(ivy): OnChanges should support updating one Input among many ( #28693 )
...
PR Close #28693
2019-02-13 19:15:44 -08:00
Kapunahele Wong
5cafd44654
fix(docs-infra): fix filtering in run-example-e2e.js ( #28663 )
...
PR Close #28663
2019-02-13 12:04:51 -08:00
SebastienBtr
cb0a8b566f
docs(router): change slideInDownAnimation into slideInAnimation ( #28640 )
...
In the Routing & Navigation there is a typo - slideInDownAnimation, but it should be slideInAnimation
PR Close #28572
PR Close #28640
2019-02-13 12:03:45 -08:00
Judy Bogart
644e7a28d8
docs: add di-related api doc ( #27731 )
...
PR Close #27731
2019-02-13 11:57:37 -08:00
Marc Laval
f8b9e61469
test(ivy): enable more docs examples e2e tests ( #28688 )
...
PR Close #28688
2019-02-13 09:53:13 -08:00
George Kalpakas
2ca77da4ca
build(docs-infra): upgrade cli command docs sources to ba5120d18 ( #28629 )
...
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](e758c4174...ba5120d18
):
**Modified**
- help/e2e.json
PR Close #28629
2019-02-11 14:51:49 -08:00
Brandon
1e64f37257
fix(docs-infra): add progression files to exclude list for docs examples ( #28650 )
...
Also disables Http guide under Ivy tests with documented error
PR Close #28650
2019-02-11 13:26:39 -08:00
Brandon
99e3a04ea2
ci(docs-infra): test docs examples with Ivy ( #28463 )
...
PR Close #28463
2019-02-11 17:16:52 +00:00
Judy Bogart
570f735a2a
docs: clarify library types integration ( #28410 )
...
PR Close #28410
2019-02-11 17:13:44 +00:00
Brandon
9ec8aa5eb7
docs: re-enable E2E tests for Http guide ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
5f2ae784da
docs: run component-interaction and DI in JiT mode ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
0a95f8af9f
docs: add more files to be ignored during app compilation ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
531aa5f8db
docs: make method arguments optional in template syntax example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
bfee33edb9
docs: remove unused files in styleguide example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
1941d7c743
docs: ignore initial components for app compilation in router example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
21b5940abd
docs: ignore files from app compilation for ngmodule-faq example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
2852beaded
docs: make method arguments optional for event-binding example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:25 +00:00
Brandon
206a21704d
docs: ignore component for app compilation for displaying data example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
46e6363686
docs: add insert remove component to AppModule for animations example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
457e07ccb1
docs: make toggleImage arguments optional in AngularJS quick reference ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
05a14f8a8b
docs: make parent finder functions compatible with AoT ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
19f13b1ad4
docs: remove unused StringSafeDatePipe from AngularJS Quick Ref example ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
d29f781685
docs: ignore progression filenames from compilation ( #28592 )
...
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
0770978dfb
docs: enable E2E test for setup example ( #28592 )
...
This guide is not being shown publicly, and its test is currently being ignored.
Instead of deleting this test and guide, it may be repurposed in the future for a local development guide.
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
863dbeeb7c
docs: remove quickstart example and copy tsconfig.1.json into TS config guide ( #28592 )
...
This example has long been replaced by the cli-quickstart, but was never deleted.
PR Close #28592
2019-02-11 17:09:24 +00:00
Brandon
425e0ee416
ci(docs-infra): run docs examples tests in production mode ( #28592 )
...
PR Close #28592
2019-02-11 17:09:23 +00:00
Nikita Potapenko
2c00cb8f0f
docs(core): fixed code snippets ( #28619 )
...
PR Close #28619
2019-02-08 09:27:23 -08:00
Nikita Potapenko
d91ea2c499
docs(core): fixed typo ( #28618 )
...
PR Close #28618
2019-02-08 09:19:39 -08:00
Sebastian Dorn
faf0b255d0
docs(aio): add Happy Angular Podcast to resources ( #28407 )
...
PR Close #28407
2019-02-07 21:57:07 -08:00
George Kalpakas
3de06dd794
build(docs-infra): use pinned dependencies when possible in ng-packages-installer
( #28510 )
...
Previously, `ng-packages-installer` would replace the version ranges for
all dependencies that were peer dependencies of an Angular package with
the version range used in the Angular package. This effectively meant
that the pinned version (from `yarn.lock`) for that dependency was
ignored (even if the pinned version satisfied the new version range).
This commit reduces non-determinism in CI jobs using the locally built
Angular packages by always using pinned versions of dependencies for
Angular package peer dependencies if possible.
For example, assuming the following versions for the RxJS dependency:
- **aio/package.json**: `rxjs: ^6.3.0`
- **aio/yarn.lock**: `rxjs@^6.3.0: 6.3.3`
- **@angular/core#peerDependencies**: `rxjs: ^6.0.0`
...the following versions would be used with `ng-packages-installer`:
- Before this commit:
- **aio/package.json**: `rxjs: ^6.0.0`
- **node_modules/rxjs/**: `6.4.0` (latest version satisfying `^6.0.0`)
- After this commit:
- **aio/package.json**: `rxjs: ^6.3.0`
- **node_modules/rxjs/**: `6.3.3` (because it satisfies `^6.0.0`)
PR Close #28510
2019-02-06 21:23:02 -08:00
George Kalpakas
9ce0c23c77
build(docs-infra): keep other dependencies pinned when installing local Angular packages ( #28510 )
...
`ng-packages-installer` can be used to replace Angular packages with
locally built ones (from `dist/packages-dist/`) along with their peer
dependencies.
Previously, in order to achieve this, `yarn install` was called with the
`--no-lockfile` option, which resulted in installing the latest versions
of all dependencies (including transitive ones) permitted by the
corresponding version ranges in `package.json` files. As a result, newly
released versions would be picked, resulting in unexpected,
non-deterministic breakages in CI.
This commit calls `yarn install` with the `--pure-lockfile` option
instead. As a result, only the Angular packages (for which the locally
built ones are used) and their peer dependencies are unpinned; the
pinned versions from `yarn.lock` are used for all other (direct and
transitive) dependencies.
While this does not eliminate non-determinism across builds, it
significantly reduces it.
PR Close #28510
2019-02-06 21:23:02 -08:00