@@ -85,7 +85,7 @@ var _apiShredOptionsForDart = {
8585 logLevel : _dgeniLogLevel
8686} ;
8787
88- var _excludePatterns = [ '**/node_modules/**' , '**/typings/**' , '**/ packages/**'] ;
88+ var _excludePatterns = [ '**/node_modules/**' , '**/packages/**' ] ;
8989
9090var _excludeMatchers = _excludePatterns . map ( function ( excludePattern ) {
9191 return new Minimatch ( excludePattern )
@@ -442,13 +442,6 @@ gulp.task('add-example-boilerplate', function(done) {
442442 fsUtils . addSymlink ( realPath , linkPath ) ;
443443 } ) ;
444444
445- realPath = path . join ( EXAMPLES_PATH , '/typings' ) ;
446- var typingsPaths = excludeDartPaths ( getTypingsPaths ( EXAMPLES_PATH ) ) ;
447- typingsPaths . forEach ( function ( linkPath ) {
448- gutil . log ( "symlinking " + linkPath + ' -> ' + realPath )
449- fsUtils . addSymlink ( realPath , linkPath ) ;
450- } ) ;
451-
452445 return buildStyles ( copyExampleBoilerplate , done ) ;
453446} ) ;
454447
@@ -511,11 +504,6 @@ gulp.task('remove-example-boilerplate', function() {
511504 fsUtils . removeSymlink ( linkPath ) ;
512505 } ) ;
513506
514- var typingsPaths = getTypingsPaths ( EXAMPLES_PATH ) ;
515- typingsPaths . forEach ( function ( linkPath ) {
516- fsUtils . removeSymlink ( linkPath ) ;
517- } ) ;
518-
519507 deleteExampleBoilerPlate ( ) ;
520508} ) ;
521509
@@ -799,7 +787,7 @@ gulp.task('_harp-compile', function() {
799787
800788gulp . task ( '_shred-devguide-examples' , [ '_shred-clean-devguide' , '_copy-example-boilerplate' ] , function ( ) {
801789 // Split big shredding task into partials 2016-06-14
802- var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' , 'typings/' ] } ) ;
790+ var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' ] } ) ;
803791 var promise = Promise . resolve ( true ) ;
804792 examplePaths . forEach ( function ( examplePath ) {
805793 promise = promise . then ( ( ) => docShredder . shredSingleExampleDir ( _devguideShredOptions , examplePath ) ) ;
@@ -858,8 +846,6 @@ gulp.task('lint', function() {
858846 '!./public/docs/_examples/**/ts-snippets/*.ts' ,
859847 '!./public/docs/_examples/style-guide/ts/**/*.avoid.ts' ,
860848 '!./public/docs/_examples/**/node_modules/**/*' ,
861- '!./public/docs/_examples/**/typings/**/*' ,
862- '!./public/docs/_examples/**/typings-ng1/**/*' ,
863849 '!./public/docs/_examples/**/build/**/*' ,
864850 // temporary until codelyzer is fixed mgechev/codelyzer#60
865851 '!./public/docs/_examples/animations/ts/app/hero.service.ts'
@@ -1121,13 +1107,6 @@ function getNodeModulesPaths(basePath) {
11211107 return paths ;
11221108}
11231109
1124- function getTypingsPaths ( basePath ) {
1125- var paths = getExamplePaths ( basePath ) . map ( function ( examplePath ) {
1126- return path . join ( examplePath , "/typings" ) ;
1127- } ) ;
1128- return paths ;
1129- }
1130-
11311110function getExamplePaths ( basePath , includeBase ) {
11321111 // includeBase defaults to false
11331112 return getPaths ( basePath , _exampleConfigFilename , includeBase ) ;
@@ -1262,7 +1241,7 @@ function devGuideExamplesWatch(shredOptions, postShredAction, focus) {
12621241 // removed this version because gulp.watch has the same glob issue that dgeni has.
12631242 // var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*');
12641243 // gulp.watch([includePattern, excludePattern], {readDelay: 500}, function (event, done) {
1265- var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' , '**/typings/**' ,
1244+ var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' ,
12661245 '**/dart/.pub/**' , '**/dart/build/**' , '**/dart/packages/**' ] ;
12671246 ignoreThese = ignoreThese . concat ( _exampleBoilerplateFiles . map ( ( file ) => `public/docs/_examples/*/*/${ file } ` ) ) ;
12681247 var files = globby . sync ( [ includePattern ] , { ignore : ignoreThese } ) ;
0 commit comments