From d442b30a689734b315ace3e0d29697beb692d961 Mon Sep 17 00:00:00 2001 From: Naomi Black Date: Mon, 2 May 2016 17:41:11 -0700 Subject: [PATCH] chore(dgeni): update dgeni to serve old and new router --- tools/api-builder/angular.io-package/index.js | 1 + .../typescript-package/processors/readTypeScriptModules.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/api-builder/angular.io-package/index.js b/tools/api-builder/angular.io-package/index.js index 08dc342957..add8a222d1 100644 --- a/tools/api-builder/angular.io-package/index.js +++ b/tools/api-builder/angular.io-package/index.js @@ -56,6 +56,7 @@ module.exports = new Package('angular.io', [basePackage, targetPackage, cheatshe '@angular/platform-server/index.ts', '@angular/platform-server/testing.ts', '@angular/router/index.ts', + '@angular/router-deprecated/index.ts', '@angular/upgrade/index.ts', ]; readTypeScriptModules.hidePrivateMembers = true; diff --git a/tools/api-builder/typescript-package/processors/readTypeScriptModules.js b/tools/api-builder/typescript-package/processors/readTypeScriptModules.js index 6e7b253351..a1bfb0c207 100644 --- a/tools/api-builder/typescript-package/processors/readTypeScriptModules.js +++ b/tools/api-builder/typescript-package/processors/readTypeScriptModules.js @@ -27,7 +27,7 @@ module.exports = function readTypeScriptModules(tsParser, modules, getFileInfo, // We leave class members sorted in order of declaration sortClassMembers: false, // We can provide a collection of strings or regexes to ignore exports whose export names match - ignoreExportsMatching: ['___esModule', '___core_private_types__', '___platform_browser_private__', '___compiler_private__'], + ignoreExportsMatching: ['___esModule', '___core_private_types__', '___platform_browser_private__', '___compiler_private__', '__core_private__'], $process: function(docs) {