Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 02cd26b

Browse files
committed
chore: install upgrade with install-example-angular
1 parent 253ab01 commit 02cd26b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,13 @@ function installExampleAngular() {
464464
var libs = [
465465
'core', 'common', 'compiler',
466466
'platform-browser', 'platform-browser-dynamic',
467-
'forms', 'http', 'router'];
467+
'forms', 'http', 'router', 'upgrade'];
468468

469469
// Like: "angular/core-builds" or "@angular/core"
470470
sources = libs.map( lib => argv.build ? `angular/${lib}-builds` : `@angular/${lib}`);
471471

472+
sources.push('@angular/router-deprecated');
473+
472474
gutil.log(`Installing Angular npm packages from ${argv.build ? 'BUILD' : 'RELEASE'}`);
473475

474476
var spawnInfo = spawnExt('rm', ['-rf', 'node_modules/@angular'], { cwd: EXAMPLES_PATH});

0 commit comments

Comments
 (0)