Skip to content

Commit

Permalink
fix(build): Reduce rx typings to what we actually require.
Browse files Browse the repository at this point in the history
This should help a lot with github rate limiting by removing about
2/3 of the dependencies.
  • Loading branch information
alexeagle committed Jun 29, 2015
1 parent a9008ee commit 8bab6dd
Show file tree
Hide file tree
Showing 7 changed files with 522 additions and 491 deletions.
2 changes: 1 addition & 1 deletion modules/angular2/src/facade/async.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference path="../../typings/es6-promise/es6-promise.d.ts" />
/// <reference path="../../typings/rx/rx.all.d.ts" />
/// <reference path="../../typings/rx/rx.d.ts" />

import {global, isPresent} from 'angular2/src/facade/lang';
import {List} from 'angular2/src/facade/collection';
Expand Down
2 changes: 1 addition & 1 deletion modules/angular2/src/http/http.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../../typings/rx/rx.all.d.ts" />
/// <reference path="../../typings/rx/rx.d.ts" />

import {Injectable} from 'angular2/src/di/decorators';
import {IRequestOptions, Connection, IHttp} from './interfaces';
Expand Down
2 changes: 1 addition & 1 deletion modules/angular2/src/http/interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../../typings/rx/rx.all.d.ts" />
/// <reference path="../../typings/rx/rx.d.ts" />

import {
ReadyStates,
Expand Down
51 changes: 3 additions & 48 deletions modules/angular2/tsd.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,60 +17,15 @@
"node/node.d.ts": {
"commit": "d5f92f93bdb49f332fa662ff1d0cc8700f02e4dc"
},
"rx/rx.all.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},

"rx/rx-lite.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.aggregates.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.time.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.time-lite.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.async.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.async-lite.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.binding.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.binding-lite.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.coincidence.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.coincidence-lite.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.experimental.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.joinpatterns.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.virtualtime.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.testing.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.backpressure.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},
"rx/rx.backpressure-lite.d.ts": {
"commit": "3882d337bb0808cde9fe4c08012508a48c135482"
},


"selenium-webdriver/selenium-webdriver.d.ts": {
"commit": "be0b6b394f77a59e192ad7cfec18078706e44db5"
},
Expand Down
85 changes: 57 additions & 28 deletions npm-shrinkwrap.clean.json
Original file line number Diff line number Diff line change
Expand Up @@ -9979,7 +9979,7 @@
}
},
"tsd": {
"version": "0.6.1",
"version": "0.6.3",
"dependencies": {
"assertion-error": {
"version": "1.0.0"
Expand Down Expand Up @@ -10009,6 +10009,9 @@
"bluebird": {
"version": "1.2.4"
},
"colors": {
"version": "1.1.2"
},
"deep-freeze": {
"version": "0.0.1"
},
Expand Down Expand Up @@ -10039,6 +10042,9 @@
}
}
},
"diff": {
"version": "1.4.0"
},
"event-stream": {
"version": "3.1.7",
"dependencies": {
Expand Down Expand Up @@ -10144,25 +10150,28 @@
"version": "0.0.5"
},
"request": {
"version": "2.57.0",
"version": "2.58.0",
"dependencies": {
"caseless": {
"version": "0.10.0"
},
"extend": {
"version": "2.0.1"
},
"forever-agent": {
"version": "0.6.1"
},
"form-data": {
"version": "0.2.0",
"version": "1.0.0-rc1",
"dependencies": {
"async": {
"version": "0.9.2"
"version": "1.3.0"
},
"combined-stream": {
"version": "0.0.7",
"mime-types": {
"version": "2.1.2",
"dependencies": {
"delayed-stream": {
"version": "0.0.5"
"mime-db": {
"version": "1.14.0"
}
}
}
Expand All @@ -10172,10 +10181,10 @@
"version": "5.0.1"
},
"mime-types": {
"version": "2.0.13",
"version": "2.0.14",
"dependencies": {
"mime-db": {
"version": "1.11.0"
"version": "1.12.0"
}
}
},
Expand All @@ -10186,7 +10195,7 @@
"version": "0.4.0"
},
"tough-cookie": {
"version": "1.2.0"
"version": "2.0.0"
},
"http-signature": {
"version": "0.11.0",
Expand All @@ -10212,7 +10221,7 @@
"version": "2.14.0"
},
"boom": {
"version": "2.7.2"
"version": "2.8.0"
},
"cryptiles": {
"version": "2.0.4"
Expand All @@ -10229,7 +10238,7 @@
"version": "0.0.4"
},
"combined-stream": {
"version": "1.0.3",
"version": "1.0.5",
"dependencies": {
"delayed-stream": {
"version": "1.0.0"
Expand All @@ -10240,10 +10249,10 @@
"version": "0.1.2"
},
"har-validator": {
"version": "1.7.1",
"version": "1.8.0",
"dependencies": {
"bluebird": {
"version": "2.9.27"
"version": "2.9.30"
},
"chalk": {
"version": "1.0.0",
Expand Down Expand Up @@ -10358,10 +10367,18 @@
"version": "3.0.8"
},
"object-assign": {
"version": "2.0.0"
"version": "2.1.1"
},
"osenv": {
"version": "0.1.1"
"version": "0.1.3",
"dependencies": {
"os-homedir": {
"version": "1.0.0"
},
"os-tmpdir": {
"version": "1.0.1"
}
}
},
"user-home": {
"version": "1.1.1"
Expand All @@ -10375,7 +10392,7 @@
"version": "1.0.0"
},
"latest-version": {
"version": "1.0.0",
"version": "1.0.1",
"dependencies": {
"package-json": {
"version": "1.2.0",
Expand All @@ -10384,7 +10401,7 @@
"version": "3.2.0",
"dependencies": {
"duplexify": {
"version": "3.4.1",
"version": "3.4.2",
"dependencies": {
"end-of-stream": {
"version": "1.0.0",
Expand All @@ -10400,19 +10417,25 @@
}
},
"readable-stream": {
"version": "1.1.13",
"version": "2.0.1",
"dependencies": {
"core-util-is": {
"version": "1.0.1"
},
"inherits": {
"version": "2.0.1"
},
"isarray": {
"version": "0.0.1"
},
"process-nextick-args": {
"version": "1.0.1"
},
"string_decoder": {
"version": "0.10.31"
},
"inherits": {
"version": "2.0.1"
"util-deprecate": {
"version": "1.0.1"
}
}
}
Expand All @@ -10431,28 +10454,34 @@
"version": "1.0.0"
},
"object-assign": {
"version": "2.0.0"
"version": "2.1.1"
},
"prepend-http": {
"version": "1.0.1"
},
"read-all-stream": {
"version": "2.1.2",
"version": "2.2.0",
"dependencies": {
"readable-stream": {
"version": "1.1.13",
"version": "2.0.1",
"dependencies": {
"core-util-is": {
"version": "1.0.1"
},
"inherits": {
"version": "2.0.1"
},
"isarray": {
"version": "0.0.1"
},
"process-nextick-args": {
"version": "1.0.1"
},
"string_decoder": {
"version": "0.10.31"
},
"inherits": {
"version": "2.0.1"
"util-deprecate": {
"version": "1.0.1"
}
}
}
Expand Down Expand Up @@ -10482,7 +10511,7 @@
"version": "0.1.3"
},
"ini": {
"version": "1.3.3"
"version": "1.3.4"
}
}
}
Expand Down
Loading

0 comments on commit 8bab6dd

Please sign in to comment.