From a0ca01d580d46e791f26e066e91dd830a6896cac Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Wed, 16 Aug 2017 13:06:35 -0700 Subject: [PATCH] refactor(compiler): drop typings tests for TypeScript 2.1 (#18683) --- integration/typings_test_ts21/include-all.ts | 41 -------------------- integration/typings_test_ts21/package.json | 28 ------------- integration/typings_test_ts21/tsconfig.json | 18 --------- 3 files changed, 87 deletions(-) delete mode 100644 integration/typings_test_ts21/include-all.ts delete mode 100644 integration/typings_test_ts21/package.json delete mode 100644 integration/typings_test_ts21/tsconfig.json diff --git a/integration/typings_test_ts21/include-all.ts b/integration/typings_test_ts21/include-all.ts deleted file mode 100644 index eaa53d24c2..0000000000 --- a/integration/typings_test_ts21/include-all.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -import * as compiler from '@angular/compiler'; -import * as compilerTesting from '@angular/compiler/testing'; -import * as core from '@angular/core'; -import * as coreTesting from '@angular/core/testing'; -import * as forms from '@angular/forms'; -import * as http from '@angular/http'; -import * as httpTesting from '@angular/http/testing'; -import * as platformBrowserDynamic from '@angular/platform-browser-dynamic'; -import * as platformBrowser from '@angular/platform-browser'; -import * as platformBrowserTesting from '@angular/platform-browser/testing'; -import * as platformServer from '@angular/platform-server'; -import * as platformServerTesting from '@angular/platform-server/testing'; -import * as router from '@angular/router'; -import * as routerTesting from '@angular/router/testing'; -import * as upgrade from '@angular/upgrade'; - -export default { - compiler, - compilerTesting, - core, - coreTesting, - forms, - http, - httpTesting, - platformBrowser, - platformBrowserTesting, - platformBrowserDynamic, - platformServer, - platformServerTesting, - router, - routerTesting, - upgrade -}; diff --git a/integration/typings_test_ts21/package.json b/integration/typings_test_ts21/package.json deleted file mode 100644 index b9bd98bb60..0000000000 --- a/integration/typings_test_ts21/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "angular-integration", - "description": "Assert that users with TypeScript 2.1 can type-check an Angular application", - "version": "0.0.0", - "license": "MIT", - "dependencies": { - "@angular/animations": "file:../../dist/packages-dist/animations", - "@angular/common": "file:../../dist/packages-dist/common", - "@angular/compiler": "file:../../dist/packages-dist/compiler", - "@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli", - "@angular/core": "file:../../dist/packages-dist/core", - "@angular/forms": "file:../../dist/packages-dist/forms", - "@angular/http": "file:../../dist/packages-dist/http", - "@angular/platform-browser": "file:../../dist/packages-dist/platform-browser", - "@angular/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic", - "@angular/platform-server": "file:../../dist/packages-dist/platform-server", - "@angular/router": "file:../../dist/packages-dist/router", - "@angular/tsc-wrapped": "file:../../dist/packages-dist/tsc-wrapped", - "@angular/upgrade": "file:../../dist/packages-dist/upgrade", - "@types/jasmine": "2.5.41", - "rxjs": "file:../../node_modules/rxjs", - "typescript": "2.1.6", - "zone.js": "0.7.6" - }, - "scripts": { - "test": "tsc" - } -} \ No newline at end of file diff --git a/integration/typings_test_ts21/tsconfig.json b/integration/typings_test_ts21/tsconfig.json deleted file mode 100644 index 468b20cdac..0000000000 --- a/integration/typings_test_ts21/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "emitDecoratorMetadata": true, - "experimentalDecorators": true, - "module": "commonjs", - "moduleResolution": "node", - "outDir": "../../dist/typing-test/", - "rootDir": ".", - "target": "es5", - "lib": ["es5", "dom", "es2015.collection", "es2015.iterable", "es2015.promise"], - "types": [], - "strictNullChecks": true - }, - "files": [ - "include-all.ts", - "node_modules/@types/jasmine/index.d.ts" - ] -}