chore: install upgrade with install-example-angular
This commit is contained in:
parent
253ab01031
commit
02cd26bda6
|
@ -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});
|
||||
|
|
Loading…
Reference in New Issue