build: move typings_test to new integration test fixture (#14149)
PR Close #14149
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* @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 coreTesting from '@angular/core';
|
||||
import * as core from '@angular/core/testing';
|
||||
import * as httpTesting from '@angular/http';
|
||||
import * as http from '@angular/http/testing';
|
||||
import * as platformBrowserTesting from '@angular/platform-browser';
|
||||
import * as platformBrowserDynmic from '@angular/platform-browser-dynamic';
|
||||
import * as platformBrowser from '@angular/platform-browser/testing';
|
||||
import * as platfomrServerTesting from '@angular/platform-server';
|
||||
import * as platfomrServer from '@angular/platform-server/testing';
|
||||
import * as routerTesting from '@angular/router';
|
||||
import * as router from '@angular/router/testing';
|
||||
import * as upgrade from '@angular/upgrade';
|
||||
|
||||
export default {
|
||||
compiler,
|
||||
compilerTesting,
|
||||
core,
|
||||
coreTesting,
|
||||
http,
|
||||
httpTesting,
|
||||
platformBrowser,
|
||||
platformBrowserTesting,
|
||||
platformBrowserDynmic,
|
||||
platfomrServer,
|
||||
platfomrServerTesting,
|
||||
router,
|
||||
routerTesting,
|
||||
upgrade
|
||||
};
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "angular-integration",
|
||||
"description": "Assert that users with TypeScript 2.0 can type-check an Angular application",
|
||||
"version": "0.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@angular/common": "file:../../dist/packages-dist-es2015/common",
|
||||
"@angular/compiler": "file:../../dist/packages-dist-es2015/compiler",
|
||||
"@angular/compiler-cli": "file:../../dist/packages-dist-es2015/compiler-cli",
|
||||
"@angular/core": "file:../../dist/packages-dist-es2015/core",
|
||||
"@angular/http": "file:../../dist/packages-dist-es2015/http",
|
||||
"@angular/platform-browser": "file:../../dist/packages-dist-es2015/platform-browser",
|
||||
"@angular/platform-browser-dynamic": "file:../../dist/packages-dist-es2015/platform-browser-dynamic",
|
||||
"@angular/platform-server": "file:../../dist/packages-dist-es2015/platform-server",
|
||||
"@angular/router": "file:../../dist/packages-dist-es2015/router",
|
||||
"@angular/tsc-wrapped": "file:../../dist/tools/@angular/tsc-wrapped",
|
||||
"@angular/upgrade": "file:../../dist/packages-dist-es2015/upgrade",
|
||||
"@types/jasmine": "^2.5.41",
|
||||
"rxjs": "file:../../node_modules/rxjs",
|
||||
"source-map-explorer": "^1.3.3",
|
||||
"typescript": "~2.0",
|
||||
"zone.js": "^0.7.6"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "tsc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"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": []
|
||||
},
|
||||
"files": [
|
||||
"include-all.ts",
|
||||
"node_modules/@types/jasmine/index.d.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user