Skip to content

Commit

Permalink
test: add downstream tests for typescript 2.2-3.9 (#3810)
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen authored Jul 18, 2020
1 parent 943bd56 commit 61e9c66
Show file tree
Hide file tree
Showing 64 changed files with 389 additions and 17 deletions.
27 changes: 21 additions & 6 deletions downstream_projects.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
{
"sample-app-angularjs": "https://github.com/ui-router/sample-app-angularjs.git",
"typescript2.2": "./test/typescript2.2",
"typescript2.3": "./test/typescript2.3",
"typescript2.4": "./test/typescript2.4",
"typescript2.5": "./test/typescript2.5",
"typescript2.6": "./test/typescript2.6"
"typescript": {
"typescript2.2": "./test/typescript/2.2",
"typescript2.3": "./test/typescript/2.3",
"typescript2.4": "./test/typescript/2.4",
"typescript2.5": "./test/typescript/2.5",
"typescript2.6": "./test/typescript/2.6",
"typescript2.8": "./test/typescript/2.8",
"typescript2.7": "./test/typescript/2.7",
"typescript2.9": "./test/typescript/2.9",
"typescript3.0": "./test/typescript/3.0",
"typescript3.1": "./test/typescript/3.1",
"typescript3.2": "./test/typescript/3.2",
"typescript3.3": "./test/typescript/3.3",
"typescript3.4": "./test/typescript/3.4",
"typescript3.5": "./test/typescript/3.5",
"typescript3.6": "./test/typescript/3.6",
"typescript3.7": "./test/typescript/3.7",
"typescript3.8": "./test/typescript/3.8",
"typescript3.9": "./test/typescript/3.9"
},
"sample-app-angularjs": "https://github.com/ui-router/sample-app-angularjs.git"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
{
"name": "@uirouter/angularjs-test-typescript2.6",
"version": "1.0.0",
"description": "Test against Typescript 2.6",
"scripts": {
"test": "tsc"
},
"author": "",
"license": "MIT",
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "2.6"
},
"devDependencies": {}
}
}
File renamed without changes.
2 changes: 2 additions & 0 deletions test/typescript/2.7/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/2.7/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 2.7",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "2.7"
}
}
12 changes: 12 additions & 0 deletions test/typescript/2.7/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/2.8/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/2.8/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 2.8",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "2.8"
}
}
12 changes: 12 additions & 0 deletions test/typescript/2.8/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/2.9/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/2.9/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 2.9",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "2.9"
}
}
12 changes: 12 additions & 0 deletions test/typescript/2.9/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.0/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.0/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.0",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.0"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.0/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.1/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.1/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.1",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.1"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.1/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.2/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.2/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.2",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.2"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.2/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.3/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.3/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.3",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.3"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.3/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.4/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.4/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.4",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.4"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.4/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.5/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.5/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.5",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.5"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.5/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.6/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.6/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.6",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.6"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.6/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.7/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.7/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.7",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.7"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.7/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.8/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.8/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.8",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.8"
}
}
12 changes: 12 additions & 0 deletions test/typescript/3.8/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es6", "dom"],
"noImplicitAny": true,
"noEmit": true,
"target": "es5",
"typeRoots": ["node_modules/@types"]
},
"files": ["index.ts"]
}
2 changes: 2 additions & 0 deletions test/typescript/3.9/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { UIRouter } from '@uirouter/angularjs';
console.log(UIRouter);
11 changes: 11 additions & 0 deletions test/typescript/3.9/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"description": "Test against Typescript 3.9",
"scripts": {
"test": "tsc"
},
"dependencies": {
"@types/angular": "latest",
"@uirouter/angularjs": "latest",
"typescript": "3.9"
}
}
Loading

0 comments on commit 61e9c66

Please sign in to comment.