From d12b74d244f172e572ce98f97132f0c938684360 Mon Sep 17 00:00:00 2001 From: Eric Jimenez Date: Wed, 25 May 2016 14:49:11 -0400 Subject: [PATCH] fix(gulp): rename angular2 to @angular, fixes api doc examples --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index bd05affb6a..d79372c5b0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -60,7 +60,7 @@ var _devguideShredJadeOptions = { }; var _apiShredOptions = { - examplesDir: path.join(ANGULAR_PROJECT_PATH, 'modules/angular2/examples'), + examplesDir: path.join(ANGULAR_PROJECT_PATH, 'modules/@angular/examples'), fragmentsDir: path.join(DOCS_PATH, '_fragments/_api'), zipDir: path.join(RESOURCES_PATH, 'zips/api') }; @@ -849,7 +849,7 @@ function filterOutExcludedPatterns(fileNames, excludeMatchers) { } function apiSourceWatch(postBuildAction) { - var srcPattern = [path.join(ANGULAR_PROJECT_PATH, 'modules/angular2/src/**/*.*')]; + var srcPattern = [path.join(ANGULAR_PROJECT_PATH, 'modules/@angular/src/**/*.*')]; gulp.watch(srcPattern, {readDelay: 500}, function (event, done) { gutil.log('API source changed'); gutil.log('Event type: ' + event.event); // added, changed, or deleted @@ -860,7 +860,7 @@ function apiSourceWatch(postBuildAction) { } function apiExamplesWatch(postShredAction) { - var examplesPath = path.join(ANGULAR_PROJECT_PATH, 'modules/angular2/examples/**'); + var examplesPath = path.join(ANGULAR_PROJECT_PATH, 'modules/@angular/examples/**'); var includePattern = path.join(examplesPath, '**/*.*'); var excludePattern = '!' + path.join(examplesPath, '**/node_modules/**/*.*'); var cleanPath = [path.join(_apiShredOptions.fragmentsDir, '**/*.*'), '!**/*.ovr.*'];