Skip to content

Commit 5f7ef7b

Browse files
committed
chore: update to ts2.0 beta
1 parent 03fd4c4 commit 5f7ef7b

File tree

7 files changed

+14
-35
lines changed

7 files changed

+14
-35
lines changed

addon/ng2/blueprints/ng2/files/__path__/typings.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
// https://github.com/typings/typings
33
// https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html
44

5-
/// <reference path="<%= refToTypings %>/typings/browser.d.ts" />
65
<% if(!isMobile) { %>declare var module: { id: string };<% } %>

addon/ng2/blueprints/ng2/files/e2e/typings.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

addon/ng2/blueprints/ng2/files/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"angular-cli": {},
66
"scripts": {
77
"start": "ng serve",
8-
"postinstall": "typings install",
98
"lint": "tslint \"<%= sourceDir %>/**/*.ts\"",
109
"test": "ng test",
1110
"pree2e": "webdriver-manager update",
@@ -31,10 +30,14 @@
3130
"@angular/platform-server": "2.0.0-rc.4",
3231
"@angular/service-worker": "0.2.0",
3332
"@angular/app-shell": "0.0.0",
33+
"@types/node": "^4.0.27-alpha",
3434
"angular2-broccoli-prerender": "0.11.0",
3535
"angular2-universal":"0.100.5",
3636
"angular2-universal-polyfills": "0.4.1",
3737
"preboot": "2.0.10",<% } %>
38+
"@types/es6-shim": "0.0.27-alpha",
39+
"@types/jasmine": "^2.2.28-alpha",
40+
"@types/protractor": "^1.5.15-alpha",
3841
"angular-cli": "<%= version %>",
3942
"codelyzer": "0.0.20",
4043
"ember-cli-inject-live-reload": "1.4.0",
@@ -46,7 +49,6 @@
4649
"protractor": "3.3.0",
4750
"ts-node": "0.5.5",
4851
"tslint": "3.11.0",
49-
"typescript": "1.8.10",
50-
"typings": "0.8.1"<%= stylePackage %>
52+
"typescript": "^2.0.0"<%= stylePackage %>
5153
}
5254
}

addon/ng2/blueprints/ng2/files/typings.json

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

lib/broccoli/angular2-app.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ class Angular2App extends BroccoliPlugin {
9090
_buildInputTree() {
9191
const inputTreeArray = [
9292
new BroccoliFunnel(this._sourceDir, { destDir: this._sourceDir }),
93-
new BroccoliFunnel('typings', { destDir: 'typings' }),
9493
this._getConfigTree()
9594
];
9695

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
},
3131
"homepage": "https://github.com/angular/angular-cli",
3232
"dependencies": {
33+
"@types/chalk": "^0.4.27-alpha",
3334
"broccoli": "^1.0.0-beta.7",
3435
"broccoli-caching-writer": "^2.2.1",
3536
"broccoli-concat": "^2.2.0",
@@ -54,15 +55,21 @@
5455
"silent-error": "^1.0.0",
5556
"symlink-or-copy": "^1.0.3",
5657
"systemjs-builder": "0.15.20",
57-
"typescript": "^1.8.10",
58-
"typings": "^0.8.1"
58+
"typescript": "^2.0.0"
5959
},
6060
"ember-addon": {
6161
"paths": [
6262
"./addon/ng2/"
6363
]
6464
},
6565
"devDependencies": {
66+
"@types/assertion-error": "^1.0.28-alpha",
67+
"@types/chai": "^3.4.27-alpha",
68+
"@types/glob": "^5.0.28-alpha",
69+
"@types/minimatch": "^2.0.27-alpha",
70+
"@types/node": "^4.0.27-alpha",
71+
"@types/shelljs": "^0.3.26-alpha",
72+
"@types/through": "0.0.26-alpha",
6673
"chai": "^3.5.0",
6774
"conventional-changelog": "^1.1.0",
6875
"eslint": "^2.8.0",

typings.json

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

0 commit comments

Comments
 (0)