@@ -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 )
@@ -96,7 +96,7 @@ var _exampleBoilerplateFiles = [
9696 'systemjs.config.js' ,
9797 'tsconfig.json' ,
9898 'tslint.json' ,
99- 'typings.json '
99+ 'wallaby.js '
100100 ] ;
101101
102102var _exampleDartWebBoilerPlateFiles = [ 'a2docs.css' , 'styles.css' ] ;
@@ -444,13 +444,6 @@ gulp.task('add-example-boilerplate', function(done) {
444444 fsUtils . addSymlink ( realPath , linkPath ) ;
445445 } ) ;
446446
447- realPath = path . join ( EXAMPLES_PATH , '/typings' ) ;
448- var typingsPaths = excludeDartPaths ( getTypingsPaths ( EXAMPLES_PATH ) ) ;
449- typingsPaths . forEach ( function ( linkPath ) {
450- gutil . log ( "symlinking " + linkPath + ' -> ' + realPath )
451- fsUtils . addSymlink ( realPath , linkPath ) ;
452- } ) ;
453-
454447 return buildStyles ( copyExampleBoilerplate , done ) ;
455448} ) ;
456449
@@ -509,11 +502,6 @@ gulp.task('remove-example-boilerplate', function() {
509502 fsUtils . removeSymlink ( linkPath ) ;
510503 } ) ;
511504
512- var typingsPaths = getTypingsPaths ( EXAMPLES_PATH ) ;
513- typingsPaths . forEach ( function ( linkPath ) {
514- fsUtils . removeSymlink ( linkPath ) ;
515- } ) ;
516-
517505 deleteExampleBoilerPlate ( ) ;
518506} ) ;
519507
@@ -802,7 +790,7 @@ gulp.task('_harp-compile', function() {
802790
803791gulp . task ( '_shred-devguide-examples' , [ '_shred-clean-devguide' , '_copy-example-boilerplate' ] , function ( ) {
804792 // Split big shredding task into partials 2016-06-14
805- var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' , 'typings/' , ' _protractor/'] } ) ;
793+ var examplePaths = globby . sync ( EXAMPLES_PATH + '/*/' , { ignore : [ '/node_modules' , '_protractor/' ] } ) ;
806794 var promise = Promise . resolve ( true ) ;
807795 examplePaths . forEach ( function ( examplePath ) {
808796 promise = promise . then ( ( ) => docShredder . shredSingleExampleDir ( _devguideShredOptions , examplePath ) ) ;
@@ -862,8 +850,6 @@ gulp.task('lint', function() {
862850 '!./public/docs/_examples/style-guide/ts/**/*.avoid.ts' ,
863851 '!./public/docs/_examples/**/node_modules/**/*' ,
864852 '!./public/docs/_examples/_protractor/**/*' ,
865- '!./public/docs/_examples/**/typings/**/*' ,
866- '!./public/docs/_examples/**/typings-ng1/**/*' ,
867853 '!./public/docs/_examples/**/build/**/*' ,
868854 // temporary until codelyzer is fixed mgechev/codelyzer#60
869855 '!./public/docs/_examples/animations/ts/app/hero.service.ts'
@@ -1113,13 +1099,6 @@ function getNodeModulesPaths(basePath) {
11131099 return paths ;
11141100}
11151101
1116- function getTypingsPaths ( basePath ) {
1117- var paths = getExamplePaths ( basePath ) . map ( function ( examplePath ) {
1118- return path . join ( examplePath , "/typings" ) ;
1119- } ) ;
1120- return paths ;
1121- }
1122-
11231102function getExamplePaths ( basePath , includeBase ) {
11241103 // includeBase defaults to false
11251104 return getPaths ( basePath , _exampleConfigFilename , includeBase )
@@ -1244,7 +1223,7 @@ function devGuideExamplesWatch(shredOptions, postShredAction, focus) {
12441223 // removed this version because gulp.watch has the same glob issue that dgeni has.
12451224 // var excludePattern = '!' + path.join(shredOptions.examplesDir, '**/node_modules/**/*.*');
12461225 // gulp.watch([includePattern, excludePattern], {readDelay: 500}, function (event, done) {
1247- var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' , '**/typings/**' ,
1226+ var ignoreThese = [ '**/node_modules/**' , '**/_fragments/**' , '**/dist/**' ,
12481227 '**/dart/.pub/**' , '**/dart/build/**' , '**/dart/packages/**' ] ;
12491228 ignoreThese = ignoreThese . concat ( _exampleBoilerplateFiles . map ( ( file ) => `public/docs/_examples/*/*/${ file } ` ) ) ;
12501229 var files = globby . sync ( [ includePattern ] , { ignore : ignoreThese } ) ;
0 commit comments