Skip to content

Commit 5a09592

Browse files
chore(test): Remove noimplicitany file in favor of testing downstream projects for specific typescript versions
1 parent 3e31f94 commit 5a09592

File tree

15 files changed

+121
-7
lines changed

15 files changed

+121
-7
lines changed

downstream_projects.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"sample-app-angular": "https://github.com/ui-router/sample-app-angular.git"
2+
"sample-app-angular": "https://github.com/ui-router/sample-app-angular.git",
3+
"typescript2.3": "./test/ts/typescript2.3",
4+
"typescript2.4": "./test/ts/typescript2.4",
5+
"typescript2.5": "./test/ts/typescript2.5",
6+
"typescript2.6": "./test/ts/typescript2.6"
37
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"release": "release --deps @uirouter/core",
1313
"test": "karma start",
1414
"test:downstream": "npm run build && test_downstream_projects",
15-
"noimplicitany": "tsc --noEmit --noImplicitAny --skipLibCheck --moduleResolution node --target es6 test/noimplicitany.ts",
1615
"debug": "karma start --singleRun=false --autoWatch=true --autoWatchInterval=1 --browsers=Chrome",
1716
"package": "npm run build",
1817
"docs": "typedoc --tsconfig tsconfig.typedoc.json --readme README.md --name '@uirouter/angular' --theme node_modules/ui-router-typedoc-themes/bin/default --out _doc --internal-aliases internal,coreapi,ng2api --external-aliases internalapi,external --navigation-label-globals @uirouter/angular",

test/noimplicitany.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

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

test/ts/typescript2.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/angular-test-typescript2.3",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 2.3",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/angular": "latest",
12+
"typescript": "2.3"
13+
},
14+
"devDependencies": {}
15+
}

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

test/ts/typescript2.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/angular-test-typescript2.4",
3+
"version": "1.0.0",
4+
"description": "Test against Typescript 2.4",
5+
"scripts": {
6+
"test": "tsc"
7+
},
8+
"author": "",
9+
"license": "MIT",
10+
"dependencies": {
11+
"@uirouter/angular": "latest",
12+
"typescript": "2.4"
13+
},
14+
"devDependencies": {}
15+
}

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

0 commit comments

Comments
 (0)