Skip to content

Commit

Permalink
build: remove dependency on tsd and use @types/* instead
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed May 25, 2016
1 parent 4dbd8ed commit b9347eb
Show file tree
Hide file tree
Showing 19 changed files with 94 additions and 767 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ tmp
**/*.css.ts
**/*.css.shim.ts

# Or type definitions we mirror from github
# (NB: these lines are removed in publish-build-artifacts.sh)
/typings/

# Include when developing application packages.
pubspec.lock
.c9
Expand Down
4 changes: 2 additions & 2 deletions modules/@angular/compiler_cli/integrationtest/typings.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/// <reference path="../../../../typings/node/node.d.ts" />
/// <reference path="../../../../typings/jasmine/jasmine.d.ts" />
/// <reference path="../../../../node_modules/@types/node/index.d.ts" />
/// <reference path="../../../../node_modules/@types/jasmine/index.d.ts" />
4 changes: 2 additions & 2 deletions modules/@angular/compiler_cli/tsconfig-es5.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"files": [
"index.ts",
"src/main.ts",
"../../../typings/node/node.d.ts",
"../../../typings/jasmine/jasmine.d.ts",
"../../../node_modules/@types/node/index.d.ts",
"../../../node_modules/@types/jasmine/index.d.ts",
"../../../node_modules/zone.js/dist/zone.js.d.ts"
]
}
1 change: 0 additions & 1 deletion modules/@angular/core/tsconfig-es5.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"files": [
"index.ts",
"testing.ts",
"../../../typings/jasmine/jasmine.d.ts",
"../../../node_modules/zone.js/dist/zone.js.d.ts"
]
}
7 changes: 3 additions & 4 deletions modules/@angular/platform-browser/tsconfig-es2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"moduleResolution": "node",
"outDir": "../../../dist/packages-dist/platform-browser/esm",
"paths": {
"selenium-webdriver": ["./typings/selenium-webdriver/selenium-webdriver.d.ts"],
"@angular/core": ["../../../dist/packages-dist/core"],
"@angular/core/testing": ["../../../dist/packages-dist/core/testing"],
"@angular/common": ["../../../dist/packages-dist/common"],
Expand All @@ -28,9 +27,9 @@
"files": [
"index.ts",
"testing.ts",
"../../../typings/jasmine/jasmine.d.ts",
"../../../typings/hammerjs/hammerjs.d.ts",
"../../../typings/angular-protractor/angular-protractor.d.ts",
"../../../node_modules/@types/hammerjs/index.d.ts",
"../../../node_modules/@types/protractor/index.d.ts",
"../../../node_modules/@types/jasmine/index.d.ts",
"../../../node_modules/zone.js/dist/zone.js.d.ts"
]
}
7 changes: 3 additions & 4 deletions modules/@angular/platform-browser/tsconfig-es5.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"moduleResolution": "node",
"outDir": "../../../dist/packages-dist/platform-browser/",
"paths": {
"selenium-webdriver": ["./typings/selenium-webdriver/selenium-webdriver.d.ts"],
"@angular/core": ["../../../dist/packages-dist/core"],
"@angular/core/testing": ["../../../dist/packages-dist/core/testing"],
"@angular/common": ["../../../dist/packages-dist/common"],
Expand All @@ -29,9 +28,9 @@
"files": [
"index.ts",
"testing.ts",
"../../../typings/hammerjs/hammerjs.d.ts",
"../../../typings/angular-protractor/angular-protractor.d.ts",
"../../../typings/jasmine/jasmine.d.ts",
"../../../node_modules/@types/hammerjs/index.d.ts",
"../../../node_modules/@types/protractor/index.d.ts",
"../../../node_modules/@types/jasmine/index.d.ts",
"../../../node_modules/zone.js/dist/zone.js.d.ts"
]
}
2 changes: 1 addition & 1 deletion modules/@angular/platform-server/tsconfig-es2015.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"files": [
"index.ts",
"../../../typings/node/node.d.ts",
"../../../node_modules/@types/node/index.d.ts",
"../../../node_modules/zone.js/dist/zone.js.d.ts"
]
}
2 changes: 1 addition & 1 deletion modules/@angular/platform-server/tsconfig-es5.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"files": [
"index.ts",
"../../../typings/node/node.d.ts",
"../../../node_modules/@types/node/index.d.ts",
"../../../node_modules/zone.js/dist/zone.js.d.ts"
]
}
2 changes: 0 additions & 2 deletions modules/rollup-test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@
},
"files": [
"hello_world.ts"
//"../typings/es6-collections/es6-collections.d.ts",
//"../typings/es6-promise/es6-promise.d.ts"
]
}
2 changes: 1 addition & 1 deletion modules/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"moduleResolution": "node",
"outDir": "../dist/all/",
"paths": {
"selenium-webdriver": ["./@angular/typings/selenium-webdriver/selenium-webdriver.d.ts"],
"selenium-webdriver": ["../node_modules/@types/selenium-webdriver/index.d.ts"],
"rxjs/*": ["../node_modules/rxjs/*"],
"@angular/*": ["./@angular/*"],
"tsc-wrapped": ["../dist/tools/tsc-wrapped"]
Expand Down
10 changes: 5 additions & 5 deletions modules/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// This file contains all ambient imports needed to compile the modules/ source code

/// <reference path="../typings/hammerjs/hammerjs.d.ts" />
/// <reference path="../typings/jasmine/jasmine.d.ts" />
/// <reference path="../typings/node/node.d.ts" />
/// <reference path="../typings/selenium-webdriver/selenium-webdriver.d.ts" />
/// <reference path="../typings/angular-protractor/angular-protractor.d.ts" />
/// <reference path="../node_modules/zone.js/dist/zone.js.d.ts" />
/// <reference path="../node_modules/@types/hammerjs/index.d.ts" />
/// <reference path="../node_modules/@types/jasmine/index.d.ts" />
/// <reference path="../node_modules/@types/node/index.d.ts" />
/// <reference path="../node_modules/@types/protractor/index.d.ts" />
/// <reference path="../node_modules/@types/selenium-webdriver/index.d.ts" />
Loading

0 comments on commit b9347eb

Please sign in to comment.