angular-docs-cn/tools/public_api_guard
George Kalpakas 93837e9545 feat(upgrade): support downgrading multiple modules (#26217)
Currently, calling `downgradeModule()` more than once is not supported.
If one wants to downgrade multiple Angular modules, they can create a
"super-module" that imports all the rest and downgrade that.

This commit adds support for downgrading multiple Angular modules. If
multiple modules are downgraded, then one must explicitly specify the
downgraded module that each downgraded component or injectable belongs
to, when calling `downgradeComponent()` and `downgradeInjectable()`
respectively.

No modification is needed (i.e. there is no need to specify a module for
downgraded components and injectables), if an app is not using
`downgradeModule()` or if there is only one downgraded Angular module.

Fixes #26062

PR Close #26217
2018-11-05 16:33:55 -08:00
..
animations docs: update animations to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
common docs: common with `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
core feat(ivy): support providers and viewProviders (#25803) 2018-10-25 12:58:40 -04:00
elements docs: update elements to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
forms feat(forms): add updateOn option to FormBuilder (#24599) 2018-11-01 15:31:11 -07:00
http docs(http): move examples to `@usageNotes` (#26039) 2018-09-24 09:11:02 -07:00
platform-browser docs: update platform-browser with `@publicApi` tags (#26595) 2018-10-19 14:35:52 -07:00
platform-browser-dynamic docs: update platform-browser-dynamic to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
platform-server docs: update platform-server to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
platform-webworker docs: update platform-webworker to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
platform-webworker-dynamic docs: update platform-webworker to use `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
router refactor(router): add type definitions for guard functions (#26521) 2018-10-31 19:51:50 -04:00
service-worker fix(service-worker): Fix public api guard typing (#25860) 2018-11-01 15:13:33 -07:00
upgrade feat(upgrade): support downgrading multiple modules (#26217) 2018-11-05 16:33:55 -08:00
BUILD.bazel build: don't depend on npm packages from public api tests (#26602) 2018-10-29 12:59:47 -04:00
public_api_guard.bzl build: fix ts-api-guardian does not work on windows w/ bazel (#26761) 2018-10-30 13:45:58 -04:00