@@ -85,7 +85,7 @@ var _apiShredOptionsForDart = {
85
85
logLevel : _dgeniLogLevel
86
86
} ;
87
87
88
- var _excludePatterns = [ '**/node_modules/**' , '**/typings/**' , '**/ packages/**'] ;
88
+ var _excludePatterns = [ '**/node_modules/**' , '**/packages/**' ] ;
89
89
90
90
var _excludeMatchers = _excludePatterns . map ( function ( excludePattern ) {
91
91
return new Minimatch ( excludePattern )
@@ -461,13 +461,6 @@ gulp.task('add-example-boilerplate', function(done) {
461
461
fsUtils . addSymlink ( realPath , linkPath ) ;
462
462
} ) ;
463
463
464
- realPath = path . join ( EXAMPLES_PATH , '/typings' ) ;
465
- var typingsPaths = excludeDartPaths ( getTypingsPaths ( EXAMPLES_PATH ) ) ;
466
- typingsPaths . forEach ( function ( linkPath ) {
467
- gutil . log ( "symlinking " + linkPath + ' -> ' + realPath )
468
- fsUtils . addSymlink ( realPath , linkPath ) ;
469
- } ) ;
470
-
471
464
return buildStyles ( copyExampleBoilerplate , done ) ;
472
465
} ) ;
473
466
@@ -530,11 +523,6 @@ gulp.task('remove-example-boilerplate', function() {
530
523
fsUtils . removeSymlink ( linkPath ) ;
531
524
} ) ;
532
525
533
- var typingsPaths = getTypingsPaths ( EXAMPLES_PATH ) ;
534
- typingsPaths . forEach ( function ( linkPath ) {
535
- fsUtils . removeSymlink ( linkPath ) ;
536
- } ) ;
537
-
538
526
deleteExampleBoilerPlate ( ) ;
539
527
} ) ;
540
528
@@ -818,7 +806,7 @@ gulp.task('_harp-compile', function() {
818
806
819
807
gulp . task ( '_shred-devguide-examples' , [ '_shred-clean-devguide' , '_copy-example-boilerplate' ] , function ( ) {
820
808
// Split big shredding task into partials 2016-06-14
821
- var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' , 'typings/' ] } ) ;
809
+ var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' ] } ) ;
822
810
var promise = Promise . resolve ( true ) ;
823
811
examplePaths . forEach ( function ( examplePath ) {
824
812
promise = promise . then ( ( ) => docShredder . shredSingleExampleDir ( _devguideShredOptions , examplePath ) ) ;
@@ -877,8 +865,6 @@ gulp.task('lint', function() {
877
865
'!./public/docs/_examples/**/ts-snippets/*.ts' ,
878
866
'!./public/docs/_examples/style-guide/ts/**/*.avoid.ts' ,
879
867
'!./public/docs/_examples/**/node_modules/**/*' ,
880
- '!./public/docs/_examples/**/typings/**/*' ,
881
- '!./public/docs/_examples/**/typings-ng1/**/*' ,
882
868
'!./public/docs/_examples/**/build/**/*' ,
883
869
// temporary until codelyzer is fixed mgechev/codelyzer#60
884
870
'!./public/docs/_examples/animations/ts/app/hero.service.ts'
@@ -1140,13 +1126,6 @@ function getNodeModulesPaths(basePath) {
1140
1126
return paths ;
1141
1127
}
1142
1128
1143
- function getTypingsPaths ( basePath ) {
1144
- var paths = getExamplePaths ( basePath ) . map ( function ( examplePath ) {
1145
- return path . join ( examplePath , "/typings" ) ;
1146
- } ) ;
1147
- return paths ;
1148
- }
1149
-
1150
1129
function getExamplePaths ( basePath , includeBase ) {
1151
1130
// includeBase defaults to false
1152
1131
return getPaths ( basePath , _exampleConfigFilename , includeBase ) ;
@@ -1281,7 +1260,7 @@ function devGuideExamplesWatch(shredOptions, postShredAction, focus) {
1281
1260
// removed this version because gulp.watch has the same glob issue that dgeni has.
1282
1261
// var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*');
1283
1262
// gulp.watch([includePattern, excludePattern], {readDelay: 500}, function (event, done) {
1284
- var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' , '**/typings/**' ,
1263
+ var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' ,
1285
1264
'**/dart/.pub/**' , '**/dart/build/**' , '**/dart/packages/**' ] ;
1286
1265
ignoreThese = ignoreThese . concat ( _exampleBoilerplateFiles . map ( ( file ) => `public/docs/_examples/*/*/${ file } ` ) ) ;
1287
1266
var files = globby . sync ( [ includePattern ] , { ignore : ignoreThese } ) ;
0 commit comments