@@ -82,7 +82,7 @@ var _apiShredOptionsForDart = {
8282 logLevel : _dgeniLogLevel
8383} ;
8484
85- var _excludePatterns = [ '**/node_modules/**' , '**/typings/**' , '**/ packages/**'] ;
85+ var _excludePatterns = [ '**/node_modules/**' , '**/packages/**' ] ;
8686
8787var _excludeMatchers = _excludePatterns . map ( function ( excludePattern ) {
8888 return new Minimatch ( excludePattern )
@@ -98,7 +98,6 @@ var _exampleBoilerplateFiles = [
9898 'systemjs.config.js' ,
9999 'tsconfig.json' ,
100100 'tslint.json' ,
101- 'typings.json' ,
102101 'wallaby.js'
103102 ] ;
104103
@@ -447,13 +446,6 @@ gulp.task('add-example-boilerplate', function(done) {
447446 fsUtils . addSymlink ( realPath , linkPath ) ;
448447 } ) ;
449448
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-
457449 return buildStyles ( copyExampleBoilerplate , done ) ;
458450} ) ;
459451
@@ -512,11 +504,6 @@ gulp.task('remove-example-boilerplate', function() {
512504 fsUtils . removeSymlink ( linkPath ) ;
513505 } ) ;
514506
515- var typingsPaths = getTypingsPaths ( EXAMPLES_PATH ) ;
516- typingsPaths . forEach ( function ( linkPath ) {
517- fsUtils . removeSymlink ( linkPath ) ;
518- } ) ;
519-
520507 deleteExampleBoilerPlate ( ) ;
521508} ) ;
522509
@@ -805,7 +792,7 @@ gulp.task('_harp-compile', function() {
805792
806793gulp . task ( '_shred-devguide-examples' , [ '_shred-clean-devguide' , '_copy-example-boilerplate' ] , function ( ) {
807794 // 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/' ] } ) ;
809796 var promise = Promise . resolve ( true ) ;
810797 examplePaths . forEach ( function ( examplePath ) {
811798 promise = promise . then ( ( ) => docShredder . shredSingleExampleDir ( _devguideShredOptions , examplePath ) ) ;
@@ -865,8 +852,6 @@ gulp.task('lint', function() {
865852 '!./public/docs/_examples/style-guide/ts/**/*.avoid.ts' ,
866853 '!./public/docs/_examples/**/node_modules/**/*' ,
867854 '!./public/docs/_examples/_protractor/**/*' ,
868- '!./public/docs/_examples/**/typings/**/*' ,
869- '!./public/docs/_examples/**/typings-ng1/**/*' ,
870855 '!./public/docs/_examples/**/build/**/*' ,
871856 // temporary until codelyzer is fixed mgechev/codelyzer#60
872857 '!./public/docs/_examples/animations/ts/app/hero.service.ts'
@@ -1114,13 +1099,6 @@ function getNodeModulesPaths(basePath) {
11141099 return paths ;
11151100}
11161101
1117- function getTypingsPaths ( basePath ) {
1118- var paths = getExamplePaths ( basePath ) . map ( function ( examplePath ) {
1119- return path . join ( examplePath , "/typings" ) ;
1120- } ) ;
1121- return paths ;
1122- }
1123-
11241102function getExamplePaths ( basePath , includeBase ) {
11251103 // includeBase defaults to false
11261104 return getPaths ( basePath , _exampleConfigFilename , includeBase )
@@ -1245,7 +1223,7 @@ function devGuideExamplesWatch(shredOptions, postShredAction, focus) {
12451223 // removed this version because gulp.watch has the same glob issue that dgeni has.
12461224 // var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*');
12471225 // gulp.watch([includePattern, excludePattern], {readDelay: 500}, function (event, done) {
1248- var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' , '**/typings/**' ,
1226+ var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' ,
12491227 '**/dart/.pub/**' , '**/dart/build/**' , '**/dart/packages/**' ] ;
12501228 ignoreThese = ignoreThese . concat ( _exampleBoilerplateFiles . map ( ( file ) => `public/docs/_examples/*/*/${ file } ` ) ) ;
12511229 var files = globby . sync ( [ includePattern ] , { ignore : ignoreThese } ) ;
0 commit comments