Skip to content

Commit 8a6fec6

Browse files
test(typescript): pin angular to 6.0.0 for typescript 2.6 and earlier
1 parent b8a2d32 commit 8a6fec6

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

test-typescript-versions/typescript2.3/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
},
88
"author": "",
99
"license": "MIT",
10+
"comment": "Angular 6.1 doesn't work with Typescript 2.3 so pin this test to 6.0.x",
1011
"dependencies": {
11-
"@angular/common": "latest",
12-
"@angular/core": "latest",
12+
"@angular/common": "~6.0.0",
13+
"@angular/core": "~6.0.0",
1314
"@uirouter/angular": "latest",
1415
"rxjs": "^6.0.0",
1516
"typescript": "2.3"

test-typescript-versions/typescript2.4/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
},
88
"author": "",
99
"license": "MIT",
10+
"comment": "Angular 6.1 doesn't work with Typescript 2.4 so pin this test to 6.0.x",
1011
"dependencies": {
11-
"@angular/common": "latest",
12-
"@angular/core": "latest",
12+
"@angular/common": "~6.0.0",
13+
"@angular/core": "~6.0.0",
1314
"@uirouter/angular": "latest",
1415
"rxjs": "^6.0.0",
1516
"typescript": "2.4"

test-typescript-versions/typescript2.5/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
},
88
"author": "",
99
"license": "MIT",
10+
"comment": "Angular 6.1 doesn't work with Typescript 2.5 so pin this test to 6.0.x",
1011
"dependencies": {
11-
"@angular/common": "latest",
12-
"@angular/core": "latest",
12+
"@angular/common": "~6.0.0",
13+
"@angular/core": "~6.0.0",
1314
"@uirouter/angular": "latest",
1415
"rxjs": "^6.0.0",
1516
"typescript": "2.5"

test-typescript-versions/typescript2.6/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
},
88
"author": "",
99
"license": "MIT",
10+
"comment": "Angular 6.1 doesn't work with Typescript 2.6 so pin this test to 6.0.x",
1011
"dependencies": {
11-
"@angular/common": "latest",
12-
"@angular/core": "latest",
12+
"@angular/common": "~6.0.0",
13+
"@angular/core": "~6.0.0",
1314
"@uirouter/angular": "latest",
1415
"rxjs": "^6.0.0",
1516
"typescript": "2.6"

0 commit comments

Comments
 (0)