From 02cd26bda6b41b5939011f6cb3c3e58ba61c40bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesu=CC=81s=20Rodri=CC=81guez?= Date: Thu, 14 Jul 2016 21:35:06 +0200 Subject: [PATCH] chore: install upgrade with install-example-angular --- gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 464e68c010..41bfdf83a3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -464,11 +464,13 @@ function installExampleAngular() { var libs = [ 'core', 'common', 'compiler', 'platform-browser', 'platform-browser-dynamic', - 'forms', 'http', 'router']; + 'forms', 'http', 'router', 'upgrade']; // Like: "angular/core-builds" or "@angular/core" sources = libs.map( lib => argv.build ? `angular/${lib}-builds` : `@angular/${lib}`); + sources.push('@angular/router-deprecated'); + gutil.log(`Installing Angular npm packages from ${argv.build ? 'BUILD' : 'RELEASE'}`); var spawnInfo = spawnExt('rm', ['-rf', 'node_modules/@angular'], { cwd: EXAMPLES_PATH});