angular-docs-cn/tools
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
..
build build: remove obsolete files (#26471) 2018-10-23 08:57:41 -07:00
cjs-jasmine refactor(ivy): run the compiler compliance tests against ngtsc (#24862) 2018-07-20 11:48:36 -07:00
gulp-tasks style: update gulp task to format untracked and diff files separately (#24969) 2018-09-27 12:09:08 -07:00
http-server style: format .bzl files with buildifier (#23544) 2018-08-08 13:12:07 -07:00
ngcontainer build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
npm build: downgrade yarn.lock file to bazel generated version 2018-10-24 12:58:02 -07:00
public_api_guard feat(upgrade): support downgrading multiple modules (#26217) 2018-11-05 16:33:55 -08:00
source-map-test build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
symbol-extractor build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
testing fix(core): Remove static dependency from @angular/core to @angular/compiler (#26734) 2018-10-31 14:15:06 -04:00
travis build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
ts-api-guardian build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
tsc-watch build: make `internal-angular` karma reporter compatible with latest karma (#24803) 2018-07-09 15:10:49 -07:00
tslint feat(elements): add schematics (#23298) 2018-04-11 18:13:30 -07:00
validate-commit-message build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 (#25920) 2018-09-18 13:05:38 -07:00
yarn build: upgrade yarn to 1.3.2 (#21406) 2018-01-10 12:32:26 -08:00
BUILD.bazel build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
bazel_stamp_vars.sh build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
check-environment.js build: update to Node 10 (#25822) 2018-09-06 14:58:30 -07:00
defaults.bzl build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
jasmine-seed-generator.js test: run unit tests in random order (#19904) 2018-07-06 13:48:02 -07:00
jsconfig.json chore(vscode): add jsconfig.json and remove .settings dir 2015-10-29 13:53:21 +00:00
ng_setup_workspace.bzl build: Move non-bazel deps to devDependencies (#26691) 2018-10-30 16:19:13 -04:00
postinstall-patches.js build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663) 2018-07-26 17:02:21 -07:00
tsconfig-test.json build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
tsconfig.json build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
types.d.ts build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663) 2018-07-26 17:02:21 -07:00
utils.inc feat(bundle): add script to push bundles to code.angularjs.org 2015-04-14 14:50:53 -07:00