X Tutup
Skip to content

Commit 87aed89

Browse files
committed
WIP: upgradeded ts2dart; added dual mode compile
1 parent 6d7a58c commit 87aed89

File tree

7 files changed

+41
-21
lines changed

7 files changed

+41
-21
lines changed

modules/angular2/common/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './common';

modules/angular2/compiler/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './compiler';

modules/angular2/core/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './core';

modules/angular2/tsconfig.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"declaration": true,
5+
"emitDecoratorMetadata": true,
6+
"experimentalDecorators": true,
7+
"module": "commonjs",
8+
"moduleResolution": "node",
9+
"outDir": "../../dist/packages-all/compiler/",
10+
"paths": {
11+
"rxjs/*": ["../../node_modules/rxjs/*"],
12+
"angular2/core": ["core/core.ts"],
13+
"angular2/compiler": ["compiler/compiler.ts"],
14+
"angular2/common": ["common/common.ts"]
15+
},
16+
"rootDir": ".",
17+
"sourceMap": true,
18+
"sourceRoot": ".",
19+
"target": "es5"
20+
},
21+
"files": [
22+
"core/core.ts",
23+
"compiler/compiler.ts",
24+
"common/common.ts",
25+
"platform-browser/platform_browser.ts",
26+
"typings/es6-collections/es6-collections.d.ts",
27+
"typings/es6-promise/es6-promise.d.ts",
28+
"typings/hammerjs/hammerjs.d.ts",
29+
"manual_typings/globals.d.ts",
30+
"../../node_modules/zone.js/dist/zone.js.d.ts"
31+
32+
]
33+
}

npm-shrinkwrap.clean.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2231,9 +2231,6 @@
22312231
"glob": {
22322232
"version": "4.3.5",
22332233
"dependencies": {
2234-
"inflight": {
2235-
"version": "1.0.4"
2236-
},
22372234
"minimatch": {
22382235
"version": "2.0.10"
22392236
}
@@ -5343,7 +5340,7 @@
53435340
}
53445341
},
53455342
"ts2dart": {
5346-
"version": "0.7.31",
5343+
"version": "0.9.1",
53475344
"dependencies": {
53485345
"source-map": {
53495346
"version": "0.4.4"
@@ -5355,9 +5352,6 @@
53555352
"version": "0.1.32"
53565353
}
53575354
}
5358-
},
5359-
"typescript": {
5360-
"version": "1.7.3"
53615355
}
53625356
}
53635357
},

npm-shrinkwrap.json

Lines changed: 3 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"systemjs-builder": "^0.10.3",
112112
"through2": "^0.6.5",
113113
"ts-api-guardian": "0.0.2",
114-
"ts2dart": "^0.7.31",
114+
"ts2dart": "^0.9.1",
115115
"tsd": "^0.6.5-beta",
116116
"tslint": "^3.7.0-dev.2",
117117
"typescript": "^1.9.0-dev.20160409",

0 commit comments

Comments
 (0)
X Tutup