Skip to content

Commit fee224c

Browse files
christopherthielenmergify[bot]
authored andcommitted
test: Add more typescript compatibility testing
1 parent 988d087 commit fee224c

22 files changed

+227
-10
lines changed

downstream_projects.json

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,23 @@
99
"react": "https://github.com/ui-router/react.git"
1010
},
1111
"other": {
12-
"sticky-states": "https://github.com/ui-router/sticky-states.git",
13-
"typescript2.2": "./test/typescript2.2",
14-
"typescript2.3": "./test/typescript2.3",
15-
"typescript2.4": "./test/typescript2.4",
16-
"typescript2.5": "./test/typescript2.5",
17-
"typescript2.6": "./test/typescript2.6",
18-
"typescript2.7": "./test/typescript2.7",
19-
"typescript2.8": "./test/typescript2.8",
20-
"typescript3.0": "./test/typescript3.0",
12+
"typescript3.9": "./test/typescript3.9",
13+
"typescript3.8": "./test/typescript3.8",
14+
"typescript3.7": "./test/typescript3.7",
15+
"typescript3.6": "./test/typescript3.6",
16+
"typescript3.5": "./test/typescript3.5",
17+
"typescript3.4": "./test/typescript3.4",
18+
"typescript3.3": "./test/typescript3.3",
19+
"typescript3.2": "./test/typescript3.2",
2120
"typescript3.1": "./test/typescript3.1",
22-
"typescript3.2": "./test/typescript3.2"
21+
"typescript3.0": "./test/typescript3.0",
22+
"typescript2.8": "./test/typescript2.8",
23+
"typescript2.7": "./test/typescript2.7",
24+
"typescript2.6": "./test/typescript2.6",
25+
"typescript2.5": "./test/typescript2.5",
26+
"typescript2.4": "./test/typescript2.4",
27+
"typescript2.3": "./test/typescript2.3",
28+
"typescript2.2": "./test/typescript2.2",
29+
"sticky-states": "https://github.com/ui-router/sticky-states.git"
2330
}
2431
}

test/typescript3.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/core';
2+
console.log(UIRouter);

test/typescript3.3/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@uirouter/core-test-typescript3.3",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 3.3",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/core": "latest",
12+
"typescript": "3.3"
13+
},
14+
"devDependencies": {}
15+
}

test/typescript3.3/tsconfig.json

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

test/typescript3.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/core';
2+
console.log(UIRouter);

test/typescript3.4/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@uirouter/core-test-typescript3.4",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 3.4",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/core": "latest",
12+
"typescript": "3.4"
13+
},
14+
"devDependencies": {}
15+
}

test/typescript3.4/tsconfig.json

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

test/typescript3.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/core';
2+
console.log(UIRouter);

test/typescript3.5/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@uirouter/core-test-typescript3.5",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 3.5",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/core": "latest",
12+
"typescript": "3.5"
13+
},
14+
"devDependencies": {}
15+
}

test/typescript3.5/tsconfig.json

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

test/typescript3.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/core';
2+
console.log(UIRouter);

test/typescript3.6/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@uirouter/core-test-typescript3.6",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 3.6",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/core": "latest",
12+
"typescript": "3.6"
13+
},
14+
"devDependencies": {}
15+
}

test/typescript3.6/tsconfig.json

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

test/typescript3.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/core';
2+
console.log(UIRouter);

test/typescript3.7/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@uirouter/core-test-typescript3.7",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 3.7",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/core": "latest",
12+
"typescript": "3.7"
13+
},
14+
"devDependencies": {}
15+
}

test/typescript3.7/tsconfig.json

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

test/typescript3.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/core';
2+
console.log(UIRouter);

test/typescript3.8/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@uirouter/core-test-typescript3.8",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 3.8",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/core": "latest",
12+
"typescript": "3.8"
13+
},
14+
"devDependencies": {}
15+
}

test/typescript3.8/tsconfig.json

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

test/typescript3.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/core';
2+
console.log(UIRouter);

test/typescript3.9/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@uirouter/core-test-typescript3.9",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 3.9",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/core": "latest",
12+
"typescript": "3.9"
13+
},
14+
"devDependencies": {}
15+
}

test/typescript3.9/tsconfig.json

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

0 commit comments

Comments
 (0)