Skip to content

Commit 61e9c66

Browse files
test: add downstream tests for typescript 2.2-3.9 (#3810)
1 parent 943bd56 commit 61e9c66

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+389
-17
lines changed

downstream_projects.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
{
2-
"sample-app-angularjs": "https://github.com/ui-router/sample-app-angularjs.git",
3-
"typescript2.2": "./test/typescript2.2",
4-
"typescript2.3": "./test/typescript2.3",
5-
"typescript2.4": "./test/typescript2.4",
6-
"typescript2.5": "./test/typescript2.5",
7-
"typescript2.6": "./test/typescript2.6"
2+
"typescript": {
3+
"typescript2.2": "./test/typescript/2.2",
4+
"typescript2.3": "./test/typescript/2.3",
5+
"typescript2.4": "./test/typescript/2.4",
6+
"typescript2.5": "./test/typescript/2.5",
7+
"typescript2.6": "./test/typescript/2.6",
8+
"typescript2.8": "./test/typescript/2.8",
9+
"typescript2.7": "./test/typescript/2.7",
10+
"typescript2.9": "./test/typescript/2.9",
11+
"typescript3.0": "./test/typescript/3.0",
12+
"typescript3.1": "./test/typescript/3.1",
13+
"typescript3.2": "./test/typescript/3.2",
14+
"typescript3.3": "./test/typescript/3.3",
15+
"typescript3.4": "./test/typescript/3.4",
16+
"typescript3.5": "./test/typescript/3.5",
17+
"typescript3.6": "./test/typescript/3.6",
18+
"typescript3.7": "./test/typescript/3.7",
19+
"typescript3.8": "./test/typescript/3.8",
20+
"typescript3.9": "./test/typescript/3.9"
21+
},
22+
"sample-app-angularjs": "https://github.com/ui-router/sample-app-angularjs.git"
823
}
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.
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
{
2-
"name": "@uirouter/angularjs-test-typescript2.6",
3-
"version": "1.0.0",
42
"description": "Test against Typescript 2.6",
53
"scripts": {
64
"test": "tsc"
75
},
8-
"author": "",
9-
"license": "MIT",
106
"dependencies": {
117
"@types/angular": "latest",
128
"@uirouter/angularjs": "latest",
139
"typescript": "2.6"
14-
},
15-
"devDependencies": {}
10+
}
1611
}
File renamed without changes.

test/typescript/2.7/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/2.7/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 2.7",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "2.7"
10+
}
11+
}

test/typescript/2.7/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/2.8/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/2.8/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 2.8",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "2.8"
10+
}
11+
}

test/typescript/2.8/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/2.9/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/2.9/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 2.9",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "2.9"
10+
}
11+
}

test/typescript/2.9/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.0/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.0/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.0",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.0"
10+
}
11+
}

test/typescript/3.0/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.1/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.1/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.1",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.1"
10+
}
11+
}

test/typescript/3.1/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.2/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.2/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.2",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.2"
10+
}
11+
}

test/typescript/3.2/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.3/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.3/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.3",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.3"
10+
}
11+
}

test/typescript/3.3/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.4/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.4/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.4",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.4"
10+
}
11+
}

test/typescript/3.4/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.5/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.5/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.5",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.5"
10+
}
11+
}

test/typescript/3.5/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.6/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.6/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.6",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.6"
10+
}
11+
}

test/typescript/3.6/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.7/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.7/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.7",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.7"
10+
}
11+
}

test/typescript/3.7/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.8/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.8/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.8",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.8"
10+
}
11+
}

test/typescript/3.8/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "commonjs",
5+
"lib": ["es6", "dom"],
6+
"noImplicitAny": true,
7+
"noEmit": true,
8+
"target": "es5",
9+
"typeRoots": ["node_modules/@types"]
10+
},
11+
"files": ["index.ts"]
12+
}

test/typescript/3.9/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import { UIRouter } from '@uirouter/angularjs';
2+
console.log(UIRouter);

test/typescript/3.9/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"description": "Test against Typescript 3.9",
3+
"scripts": {
4+
"test": "tsc"
5+
},
6+
"dependencies": {
7+
"@types/angular": "latest",
8+
"@uirouter/angularjs": "latest",
9+
"typescript": "3.9"
10+
}
11+
}

0 commit comments

Comments
 (0)