Skip to content

Commit

Permalink
feat: support TS 2.1
Browse files Browse the repository at this point in the history
This requires Angular 4.
  • Loading branch information
hansl committed Feb 9, 2017
1 parent 0f7a35f commit 4058127
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ matrix:
fast_finish: true
allow_failures:
- node_js: "7"
- env: NODE_SCRIPT="tests/run_e2e.js --nightly"
- env: NODE_SCRIPT="tests/run_e2e.js --nightly --ng4"
include:
- node_js: "6"
os: linux
Expand All @@ -32,7 +32,7 @@ matrix:
# Optional builds.
- node_js: "6"
os: linux
env: NODE_SCRIPT="tests/run_e2e.js --nightly"
env: NODE_SCRIPT="tests/run_e2e.js --nightly --ng4"
- node_js: "6"
os: linux
env: NODE_SCRIPT="tests/run_e2e.js --ng4"
Expand Down
2 changes: 1 addition & 1 deletion packages/@angular/cli/blueprints/ng2/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"protractor": "~5.1.0",
"ts-node": "1.2.1",
"tslint": "^4.3.0",
"typescript": "~2.0.3"
"typescript": "<%= ng4 ? '~2.1.0' : '~2.0.0' %>"
}
}
2 changes: 1 addition & 1 deletion packages/@angular/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"stylus": "^0.54.5",
"stylus-loader": "^2.4.0",
"temp": "0.8.3",
"typescript": "~2.0.3",
"typescript": ">=2.0.0 <2.2.0",
"url-loader": "^0.5.7",
"walk-sync": "^0.3.1",
"webpack": "~2.2.0",
Expand Down
20 changes: 10 additions & 10 deletions tests/e2e/assets/webpack/test-app-weird/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "test",
"license": "MIT",
"dependencies": {
"@angular/common": "^2.3.1",
"@angular/compiler": "^2.3.1",
"@angular/compiler-cli": "^2.3.1",
"@angular/core": "^2.3.1",
"@angular/http": "^2.3.1",
"@angular/platform-browser": "^2.3.1",
"@angular/platform-browser-dynamic": "^2.3.1",
"@angular/platform-server": "^2.3.1",
"@angular/router": "^3.3.1",
"@angular/common": ">=4.0.0-beta <5.0.0",
"@angular/compiler": ">=4.0.0-beta <5.0.0",
"@angular/compiler-cli": ">=4.0.0-beta <5.0.0",
"@angular/core": ">=4.0.0-beta <5.0.0",
"@angular/http": ">=4.0.0-beta <5.0.0",
"@angular/platform-browser": ">=4.0.0-beta <5.0.0",
"@angular/platform-browser-dynamic": ">=4.0.0-beta <5.0.0",
"@angular/platform-server": ">=4.0.0-beta <5.0.0",
"@angular/router": ">=4.0.0-beta <5.0.0",
"@ngtools/webpack": "0.0.0",
"core-js": "^2.4.1",
"rxjs": "^5.0.1",
Expand All @@ -21,7 +21,7 @@
"performance-now": "^0.2.0",
"raw-loader": "^0.5.1",
"sass-loader": "^3.2.0",
"typescript": "~2.0.3",
"typescript": "~2.1.0",
"webpack": "2.2.0"
}
}

0 comments on commit 4058127

Please sign in to comment.