@@ -82,7 +82,7 @@ var _apiShredOptionsForDart = {
82
82
logLevel : _dgeniLogLevel
83
83
} ;
84
84
85
- var _excludePatterns = [ '**/node_modules/**' , '**/typings/**' , '**/ packages/**'] ;
85
+ var _excludePatterns = [ '**/node_modules/**' , '**/packages/**' ] ;
86
86
87
87
var _excludeMatchers = _excludePatterns . map ( function ( excludePattern ) {
88
88
return new Minimatch ( excludePattern )
@@ -96,7 +96,7 @@ var _exampleBoilerplateFiles = [
96
96
'systemjs.config.js' ,
97
97
'tsconfig.json' ,
98
98
'tslint.json' ,
99
- 'typings.json '
99
+ 'wallaby.js '
100
100
] ;
101
101
102
102
var _exampleDartWebBoilerPlateFiles = [ 'a2docs.css' , 'styles.css' ] ;
@@ -444,13 +444,6 @@ gulp.task('add-example-boilerplate', function(done) {
444
444
fsUtils . addSymlink ( realPath , linkPath ) ;
445
445
} ) ;
446
446
447
- realPath = path . join ( EXAMPLES_PATH , '/typings' ) ;
448
- var typingsPaths = excludeDartPaths ( getTypingsPaths ( EXAMPLES_PATH ) ) ;
449
- typingsPaths . forEach ( function ( linkPath ) {
450
- gutil . log ( "symlinking " + linkPath + ' -> ' + realPath )
451
- fsUtils . addSymlink ( realPath , linkPath ) ;
452
- } ) ;
453
-
454
447
return buildStyles ( copyExampleBoilerplate , done ) ;
455
448
} ) ;
456
449
@@ -509,11 +502,6 @@ gulp.task('remove-example-boilerplate', function() {
509
502
fsUtils . removeSymlink ( linkPath ) ;
510
503
} ) ;
511
504
512
- var typingsPaths = getTypingsPaths ( EXAMPLES_PATH ) ;
513
- typingsPaths . forEach ( function ( linkPath ) {
514
- fsUtils . removeSymlink ( linkPath ) ;
515
- } ) ;
516
-
517
505
deleteExampleBoilerPlate ( ) ;
518
506
} ) ;
519
507
@@ -802,7 +790,7 @@ gulp.task('_harp-compile', function() {
802
790
803
791
gulp . task ( '_shred-devguide-examples' , [ '_shred-clean-devguide' , '_copy-example-boilerplate' ] , function ( ) {
804
792
// Split big shredding task into partials 2016-06-14
805
- var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' , 'typings/' , ' _protractor/'] } ) ;
793
+ var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' , '_protractor/' ] } ) ;
806
794
var promise = Promise . resolve ( true ) ;
807
795
examplePaths . forEach ( function ( examplePath ) {
808
796
promise = promise . then ( ( ) => docShredder . shredSingleExampleDir ( _devguideShredOptions , examplePath ) ) ;
@@ -862,8 +850,6 @@ gulp.task('lint', function() {
862
850
'!./public/docs/_examples/style-guide/ts/**/*.avoid.ts' ,
863
851
'!./public/docs/_examples/**/node_modules/**/*' ,
864
852
'!./public/docs/_examples/_protractor/**/*' ,
865
- '!./public/docs/_examples/**/typings/**/*' ,
866
- '!./public/docs/_examples/**/typings-ng1/**/*' ,
867
853
'!./public/docs/_examples/**/build/**/*' ,
868
854
// temporary until codelyzer is fixed mgechev/codelyzer#60
869
855
'!./public/docs/_examples/animations/ts/app/hero.service.ts'
@@ -1113,13 +1099,6 @@ function getNodeModulesPaths(basePath) {
1113
1099
return paths ;
1114
1100
}
1115
1101
1116
- function getTypingsPaths ( basePath ) {
1117
- var paths = getExamplePaths ( basePath ) . map ( function ( examplePath ) {
1118
- return path . join ( examplePath , "/typings" ) ;
1119
- } ) ;
1120
- return paths ;
1121
- }
1122
-
1123
1102
function getExamplePaths ( basePath , includeBase ) {
1124
1103
// includeBase defaults to false
1125
1104
return getPaths ( basePath , _exampleConfigFilename , includeBase )
@@ -1244,7 +1223,7 @@ function devGuideExamplesWatch(shredOptions, postShredAction, focus) {
1244
1223
// removed this version because gulp.watch has the same glob issue that dgeni has.
1245
1224
// var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*');
1246
1225
// gulp.watch([includePattern, excludePattern], {readDelay: 500}, function (event, done) {
1247
- var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' , '**/typings/**' ,
1226
+ var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' ,
1248
1227
'**/dart/.pub/**' , '**/dart/build/**' , '**/dart/packages/**' ] ;
1249
1228
ignoreThese = ignoreThese . concat ( _exampleBoilerplateFiles . map ( ( file ) => `public/docs/_examples/*/*/${ file } ` ) ) ;
1250
1229
var files = globby . sync ( [ includePattern ] , { ignore : ignoreThese } ) ;
0 commit comments