325 Commits

Author SHA1 Message Date
Alex Eagle
95f984615b Produce .d.ts files from our typescript compilation.
Deliver them into our npm module output so users can consume them directly.

Fixes 
2015-10-10 02:18:33 +00:00
Pawel Kozlowski
ff77230edb chore(bundles): use proper bundle arithmetic for http
Closes 
2015-10-08 18:28:06 +00:00
Igor Minar
62e14dc529 build(bundle): fix angular2/test_lib bundle to reexport test_lib rather than test
Closes 
2015-10-07 04:49:46 +00:00
Rado Kirov
f7b75330e0 chore(test): make e2e tests use the bundles.
After this change, only web_worker thread in its e2e test is not using
the bundles.

Closes 
2015-10-07 01:17:19 +00:00
Igor Minar
75187d605b chore: remove unused docs/dgeni tasks and packages
This stuff now lives in angular.io repo.

Related to 

Closes 
2015-10-06 22:54:17 +00:00
Tim Blasi
bb4fd2de94 build(gulp): simplify Dart transformer tasks
Now that `modules_dart` contains only `transform` code, simplify its
`gulp` rules.
2015-10-06 11:27:49 -07:00
Brian Ford
6117a7037b chore(build): copy bundles so they can be used with e2e tests 2015-10-06 10:55:08 -07:00
Pawel Kozlowski
076191cf9d chore(bundles): publish minified router bundle
Closes 
2015-10-06 15:50:33 +00:00
Pawel Kozlowski
74c0daab27 chore(build): minify bundles in parallel 2015-10-06 15:50:33 +00:00
Igor Minar
758efba34b fix(gulp): use the new karma.Server api
Closes 
2015-10-03 21:33:58 +00:00
Igor Minar
9fa57d06da style(gulp): make code more readable 2015-10-03 21:33:57 +00:00
Igor Minar
36562ecaae build(gulp): bump check-environment node version to 4.1.1 and npm to 2.14.5 2015-10-03 21:33:57 +00:00
Tobias Bosch
6ae9686a0d fix(benchpress): update build step, read and config
Closes 
2015-10-02 14:42:15 -07:00
Yegor Jbanov
841f8789fd refactor(transformer): precompile stylesheets
Part of 
2015-10-01 18:48:27 -07:00
Marc Laval
5557a5716d chore(saucelabs): fix badge
Closes 
2015-10-01 00:02:05 +00:00
Marc Laval
e1853b33d3 chore(saucelabs): add matrix badge to README.md
Closes 
2015-09-29 10:03:45 +02:00
vsavkin
5bf6a3af15 chore(typescript): fixes dart failures and linter
Closes 
2015-09-25 20:15:55 +00:00
Alex Eagle
7a53f82516 chore(typescript 1.6 upgrade): fix build.js and docs 2015-09-25 20:15:55 +00:00
Alex Eagle
2ee32fb02c chore(typescript 1.6 upgrade): fix build.tools 2015-09-25 20:15:55 +00:00
Rado Kirov
ef61b81b0c fix(bundles): add explicit format: cjs for empty files. 2015-09-24 13:42:12 -07:00
Alex Eagle
be6d92c29a fix(dist): don't distribute the HTML dart api docs
fixes 

Closes 
2015-09-17 15:49:53 +00:00
vsavkin
16bf335a4a refactor(async): replace RxJS with RxNext
Closes 
Closes 
2015-09-15 23:44:57 +00:00
Igor Minar
851b1cf013 build(gulp): properly exit tasks that don't use broccoli pipeline when ctrl+c is hit
Closes 
2015-09-15 18:00:01 +00:00
Igor Minar
dcd2df2486 build(gulp): add docs/angular.io/watch and docs/angular.io/copy tasks 2015-09-15 18:00:01 +00:00
Tim Blasi
cb4ff7491a chore(dart/transform): Integrate protoc into gulp build
This change detects if the user has `protoc` available and, if so, uses
it to generate `.pb.dart` files. If not, pre-built files are used
instead.
2015-09-15 08:39:07 -07:00
Jeremy Elbourn
bfbce542e6 chore(material): add unit tests for MdButton. 2015-09-14 14:36:57 -07:00
Rado Kirov
cac25fe003 chore(build): replace traceur-runtime with es6-shim.
This removes traceur as a dependency for the t push -f
angular2 build.

Closes 
2015-09-14 21:02:29 +00:00
Rado Kirov
de9dc55852 chore(bundles): switch bundler tool input from es6 to es5.
Http sfx bundle was not regenerated when bundles.js task was called.

The new bundles are a bit bigger (angular2.min.js 519604 -> 590056 bytes).
Part of it is because TS inlines class shims vs defering to
TraceurRuntime.

BREAKING CHANGE:

TraceurRuntime is no longer need when consuming the angular 2 bundles.
Shims or native support for ES6 Map, Set and Symbol are still needed (can be
provided by es6-shim.js or core.js).

Closes 
2015-09-11 23:11:11 +00:00
Rado Kirov
e9ad100b1f fix(build): switch to cjs output for es5.
System output does not work at the current versions of TS and
system.js. Will revisit after upgrading TS.

Removes unused traceur tooling.

Closes 
2015-09-04 23:10:34 +00:00
Alfonso Presa
12a8064c27 chore(gulpfile.js): Fix some hint issues in gulpfile.js
Closes 
2015-09-01 05:01:39 +00:00
Jason Teplitz
3468f7cfd5 chore(build): Add WebWorker bundle.
Closes 

Closes 
2015-08-28 20:40:16 +00:00
Pawel Kozlowski
a94f051d43 fix(bundle): don't include System.config in dev bundle
Fixes 

Closes 
2015-08-27 17:20:03 +00:00
Jeff Cross
8ed22ce6e7 chore: update all import paths 2015-08-25 15:33:23 -07:00
Jason Teplitz
5f6b7ffadb chore(build): Fix flaky builds caused by doc generation.
Closes 
2015-08-25 21:29:45 +00:00
Jason Teplitz
6d2345accb chore(build): Fix test.unit.dart and test.unit.dartvm transformer load errors
Closes 
2015-08-25 19:47:58 +00:00
Marc Laval
bf4b75ee9c fix(build): error when running npm test locally
Closes 
2015-08-25 15:46:27 +00:00
Jeff Cross
88a5b8da0f chore(transform): move transform module to modules_dart
The build/pure-packages.dart gulp task has also been updated to move the files into the angular2 tree.
Closes 
2015-08-24 03:39:07 +00:00
Brian Ford
06487237e5 Revert "Revert "feat(router): add angular 1.x router""
This reverts commit 298f1fb6a60a799d6c8e0c34bae71a55f1207210.
2015-08-20 13:19:34 -07:00
Victor Berchet
298f1fb6a6 Revert "feat(router): add angular 1.x router"
This reverts commit fde026a9e485d9e68b408793add7eaffcf383a86.
2015-08-20 08:06:14 -07:00
Brian Ford
fde026a9e4 feat(router): add angular 1.x router 2015-08-19 20:27:39 +00:00
Misko Hevery
284dc67076 chore: disable dart for HTTP package
BREAKING CHANGE

Stop supporting http module in Dart. This is because Dart has a
well developed http package which should be used by Dart
customers instead.
2015-08-13 21:18:31 +00:00
Yegor Jbanov
280d8f3148 chore: add dartdoc compliance checks to build
Closes 
2015-08-11 22:53:08 +00:00
Jeff Cross
5a405011de refactor(http): move http files to top-level module
Closes 
Closes 
2015-08-11 22:32:17 +00:00
Pawel Kozlowski
1562bc91ba chore(build): don't use global module format in router bundle
Empty ES6 files are detected as "global" module format by
default which means that we end up with 2 module formats in
a bundle (es6 and global). This makes module loading more
complex and make break with certain SystemJS builder / loader
combinations.

Fixes 

Closes 
2015-08-10 19:56:04 +00:00
Jeremy Elbourn
bd498977bd chore(material): clean up old workarounds with new features. 2015-08-06 17:54:34 -07:00
Brian Ford
450d3630cc test(router): add tests for router.d.ts
Closes 
2015-08-05 00:29:32 +00:00
Alex Eagle
3c58878b19 chore(build): Upgrade to TypeScript@1.5.3
This change also makes us compliant with 1.6.0-dev compiler,
so we can do some experiments with apps that use 1.6 features
and compile against Angular.

We should probably add a travis build for 1.6 so we stay compatible
with both versions.
2015-07-31 20:01:27 +00:00
Alex Eagle
c08403935f chore(build): faster feedback for broken lint
Originally we ran gulp enforce-format at the beginning of the build.
This was annoying because you came back from lunch to find that no tests
ran so you have to start your PR over.
Then we changed it to run the linters at the end. This is annoying because
you might be ready to merge to master, and could have fixed the lint
issues immediately, but now much wait for another PR.
The solution is to run the lint checks in another build. This marks
your PR red very early, but you still get the feedback of whether the
tests are passing.
2015-07-30 20:22:41 +00:00
Marc Laval
eebd736cfe feat(build): initial SauceLabs setup
Closes 
2015-07-27 16:15:28 -07:00
Rado Kirov
bb50cda181 chore(gulp): moves bundles to dist/js/bundles
- renames bundle.js.deps to bundles.js.
- makes all other bundle tasks private.

Closes 
2015-07-27 16:12:24 -07:00