@@ -13,6 +13,7 @@ export default Blueprint.extend({
13
13
{ name : 'prefix' , type : String , default : 'app' , aliases : [ 'p' ] } ,
14
14
{ name : 'style' , type : String } ,
15
15
{ name : 'routing' , type : Boolean , default : false } ,
16
+ { name : 'animation' , type : Boolean , default : false } ,
16
17
{ name : 'inline-style' , type : Boolean , default : false , aliases : [ 'is' ] } ,
17
18
{ name : 'inline-template' , type : Boolean , default : false , aliases : [ 'it' ] } ,
18
19
{ name : 'skip-git' , type : Boolean , default : false , aliases : [ 'sg' ] }
@@ -53,6 +54,7 @@ export default Blueprint.extend({
53
54
styleExt : this . styleExt ,
54
55
relativeRootPath : relativeRootPath ,
55
56
routing : options . routing ,
57
+ animation : options . animation ,
56
58
inlineStyle : options . inlineStyle ,
57
59
inlineTemplate : options . inlineTemplate ,
58
60
tests : this . tests ,
@@ -66,6 +68,9 @@ export default Blueprint.extend({
66
68
if ( this . options && ! this . options . routing ) {
67
69
fileList = fileList . filter ( p => p . indexOf ( 'app-routing.module.ts' ) < 0 ) ;
68
70
}
71
+ if ( this . options && ! this . options . animation ) {
72
+ fileList = fileList . filter ( p => p . indexOf ( 'app-fade-in.animation.ts' ) < 0 ) ;
73
+ }
69
74
if ( this . options && this . options . inlineTemplate ) {
70
75
fileList = fileList . filter ( p => p . indexOf ( 'app.component.html' ) < 0 ) ;
71
76
}
0 commit comments