From c930a533d1879f2c31e7da3a4477a94391f0bcae Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Thu, 29 Oct 2015 15:03:54 -0700 Subject: [PATCH] chore(build): add RxJS to typings spec Closes #4893 --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index fef8bbb502..8df33c0ff7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -787,7 +787,7 @@ gulp.task('static-checks', ['!build.tools'], function(done) { var tmpdir = path.join(os.tmpdir(), 'test.typings', new Date().getTime().toString()); gulp.task('!pre.test.typings.layoutNodeModule', ['build.js.cjs'], function() { return gulp - .src(['dist/js/cjs/angular2/**/*'], {base: 'dist/js/cjs'}) + .src(['dist/js/cjs/angular2/**/*', 'node_modules/@reactivex/rxjs/dist/cjs/**'], {base: 'dist/js/cjs'}) .pipe(gulp.dest(path.join(tmpdir, 'node_modules'))); }); gulp.task('!pre.test.typings.copyTypingsSpec', function() { @@ -803,6 +803,7 @@ gulp.task('test.typings', [ .pipe(tsc({target: 'ES5', module: 'commonjs', experimentalDecorators: true, noImplicitAny: true, + moduleResolution: 'node', typescript: require('typescript')})); });