@@ -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 )
@@ -98,7 +98,6 @@ var _exampleBoilerplateFiles = [
98
98
'systemjs.config.js' ,
99
99
'tsconfig.json' ,
100
100
'tslint.json' ,
101
- 'typings.json' ,
102
101
'wallaby.js'
103
102
] ;
104
103
@@ -447,13 +446,6 @@ gulp.task('add-example-boilerplate', function(done) {
447
446
fsUtils . addSymlink ( realPath , linkPath ) ;
448
447
} ) ;
449
448
450
- realPath = path . join ( EXAMPLES_PATH , '/typings' ) ;
451
- var typingsPaths = excludeDartPaths ( getTypingsPaths ( EXAMPLES_PATH ) ) ;
452
- typingsPaths . forEach ( function ( linkPath ) {
453
- gutil . log ( "symlinking " + linkPath + ' -> ' + realPath )
454
- fsUtils . addSymlink ( realPath , linkPath ) ;
455
- } ) ;
456
-
457
449
return buildStyles ( copyExampleBoilerplate , done ) ;
458
450
} ) ;
459
451
@@ -512,11 +504,6 @@ gulp.task('remove-example-boilerplate', function() {
512
504
fsUtils . removeSymlink ( linkPath ) ;
513
505
} ) ;
514
506
515
- var typingsPaths = getTypingsPaths ( EXAMPLES_PATH ) ;
516
- typingsPaths . forEach ( function ( linkPath ) {
517
- fsUtils . removeSymlink ( linkPath ) ;
518
- } ) ;
519
-
520
507
deleteExampleBoilerPlate ( ) ;
521
508
} ) ;
522
509
@@ -805,7 +792,7 @@ gulp.task('_harp-compile', function() {
805
792
806
793
gulp . task ( '_shred-devguide-examples' , [ '_shred-clean-devguide' , '_copy-example-boilerplate' ] , function ( ) {
807
794
// Split big shredding task into partials 2016-06-14
808
- var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' , 'typings/' , ' _protractor/'] } ) ;
795
+ var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' , '_protractor/' ] } ) ;
809
796
var promise = Promise . resolve ( true ) ;
810
797
examplePaths . forEach ( function ( examplePath ) {
811
798
promise = promise . then ( ( ) => docShredder . shredSingleExampleDir ( _devguideShredOptions , examplePath ) ) ;
@@ -865,8 +852,6 @@ gulp.task('lint', function() {
865
852
'!./public/docs/_examples/style-guide/ts/**/*.avoid.ts' ,
866
853
'!./public/docs/_examples/**/node_modules/**/*' ,
867
854
'!./public/docs/_examples/_protractor/**/*' ,
868
- '!./public/docs/_examples/**/typings/**/*' ,
869
- '!./public/docs/_examples/**/typings-ng1/**/*' ,
870
855
'!./public/docs/_examples/**/build/**/*' ,
871
856
// temporary until codelyzer is fixed mgechev/codelyzer#60
872
857
'!./public/docs/_examples/animations/ts/app/hero.service.ts'
@@ -1114,13 +1099,6 @@ function getNodeModulesPaths(basePath) {
1114
1099
return paths ;
1115
1100
}
1116
1101
1117
- function getTypingsPaths ( basePath ) {
1118
- var paths = getExamplePaths ( basePath ) . map ( function ( examplePath ) {
1119
- return path . join ( examplePath , "/typings" ) ;
1120
- } ) ;
1121
- return paths ;
1122
- }
1123
-
1124
1102
function getExamplePaths ( basePath , includeBase ) {
1125
1103
// includeBase defaults to false
1126
1104
return getPaths ( basePath , _exampleConfigFilename , includeBase )
@@ -1245,7 +1223,7 @@ function devGuideExamplesWatch(shredOptions, postShredAction, focus) {
1245
1223
// removed this version because gulp.watch has the same glob issue that dgeni has.
1246
1224
// var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*');
1247
1225
// gulp.watch([includePattern, excludePattern], {readDelay: 500}, function (event, done) {
1248
- var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' , '**/typings/**' ,
1226
+ var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' ,
1249
1227
'**/dart/.pub/**' , '**/dart/build/**' , '**/dart/packages/**' ] ;
1250
1228
ignoreThese = ignoreThese . concat ( _exampleBoilerplateFiles . map ( ( file ) => `public/docs/_examples/*/*/${ file } ` ) ) ;
1251
1229
var files = globby . sync ( [ includePattern ] , { ignore : ignoreThese } ) ;
0 commit comments