refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836)
Usages of `NgTools_InternalApi_NG_2` from `@angular/compiler-cli` will now throw an error. Adds `listLazyRoutes` to `@angular/compiler-cli/ngtools2.ts` for getting the lazy routes of a `ng.Program`. PR Close #19836
This commit is contained in:
committed by
Matias Niemelä
parent
5da96c75a2
commit
8d45fefc31
+1
-1
@@ -39,7 +39,7 @@ setEnvVar YARN_VERSION 1.0.2
|
||||
setEnvVar CHROMIUM_VERSION 499098 # Chrome 62 linux stable, see https://www.chromium.org/developers/calendar
|
||||
setEnvVar BAZEL_VERSION 0.5.4
|
||||
setEnvVar SAUCE_CONNECT_VERSION 4.4.9
|
||||
setEnvVar ANGULAR_CLI_VERSION 1.4.0-rc.2
|
||||
setEnvVar ANGULAR_CLI_VERSION 1.5.0-rc.2
|
||||
setEnvVar PROJECT_ROOT $(cd ${thisDir}/../..; pwd)
|
||||
|
||||
if [[ ${TRAVIS:-} ]]; then
|
||||
|
||||
@@ -60,8 +60,6 @@ cp -v package.json $TMP
|
||||
./node_modules/.bin/ng-xi18n -p tsconfig-xi18n.json --i18nFormat=xlf2 --outFile=messages.xliff2.xlf
|
||||
./node_modules/.bin/ng-xi18n -p tsconfig-xi18n.json --i18nFormat=xmb --outFile=custom_file.xmb
|
||||
|
||||
# Removed until #15219 is fixed
|
||||
# node test/test_summaries.js
|
||||
node test/test_ngtools_api.js
|
||||
|
||||
./node_modules/.bin/jasmine init
|
||||
|
||||
Reference in New Issue
Block a user