@@ -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 )
@@ -461,13 +461,6 @@ gulp.task('add-example-boilerplate', function(done) {
461461 fsUtils . addSymlink ( realPath , linkPath ) ;
462462 } ) ;
463463
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-
471464 return buildStyles ( copyExampleBoilerplate , done ) ;
472465} ) ;
473466
@@ -530,11 +523,6 @@ gulp.task('remove-example-boilerplate', function() {
530523 fsUtils . removeSymlink ( linkPath ) ;
531524 } ) ;
532525
533- var typingsPaths = getTypingsPaths ( EXAMPLES_PATH ) ;
534- typingsPaths . forEach ( function ( linkPath ) {
535- fsUtils . removeSymlink ( linkPath ) ;
536- } ) ;
537-
538526 deleteExampleBoilerPlate ( ) ;
539527} ) ;
540528
@@ -818,7 +806,7 @@ gulp.task('_harp-compile', function() {
818806
819807gulp . task ( '_shred-devguide-examples' , [ '_shred-clean-devguide' , '_copy-example-boilerplate' ] , function ( ) {
820808 // 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' ] } ) ;
822810 var promise = Promise . resolve ( true ) ;
823811 examplePaths . forEach ( function ( examplePath ) {
824812 promise = promise . then ( ( ) => docShredder . shredSingleExampleDir ( _devguideShredOptions , examplePath ) ) ;
@@ -877,8 +865,6 @@ gulp.task('lint', function() {
877865 '!./public/docs/_examples/**/ts-snippets/*.ts' ,
878866 '!./public/docs/_examples/style-guide/ts/**/*.avoid.ts' ,
879867 '!./public/docs/_examples/**/node_modules/**/*' ,
880- '!./public/docs/_examples/**/typings/**/*' ,
881- '!./public/docs/_examples/**/typings-ng1/**/*' ,
882868 '!./public/docs/_examples/**/build/**/*' ,
883869 // temporary until codelyzer is fixed mgechev/codelyzer#60
884870 '!./public/docs/_examples/animations/ts/app/hero.service.ts'
@@ -1140,13 +1126,6 @@ function getNodeModulesPaths(basePath) {
11401126 return paths ;
11411127}
11421128
1143- function getTypingsPaths ( basePath ) {
1144- var paths = getExamplePaths ( basePath ) . map ( function ( examplePath ) {
1145- return path . join ( examplePath , "/typings" ) ;
1146- } ) ;
1147- return paths ;
1148- }
1149-
11501129function getExamplePaths ( basePath , includeBase ) {
11511130 // includeBase defaults to false
11521131 return getPaths ( basePath , _exampleConfigFilename , includeBase ) ;
@@ -1281,7 +1260,7 @@ function devGuideExamplesWatch(shredOptions, postShredAction, focus) {
12811260 // removed this version because gulp.watch has the same glob issue that dgeni has.
12821261 // var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*');
12831262 // gulp.watch([includePattern, excludePattern], {readDelay: 500}, function (event, done) {
1284- var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' , '**/typings/**' ,
1263+ var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' ,
12851264 '**/dart/.pub/**' , '**/dart/build/**' , '**/dart/packages/**' ] ;
12861265 ignoreThese = ignoreThese . concat ( _exampleBoilerplateFiles . map ( ( file ) => `public/docs/_examples/*/*/${ file } ` ) ) ;
12871266 var files = globby . sync ( [ includePattern ] , { ignore : ignoreThese } ) ;
0 commit comments