Alex Eagle
a1158a06bd
Separate task for running ts2dart over all angular sources
2015-03-23 14:39:32 -07:00
Alex Eagle
35a376acdb
Merge branch 'ts2dart' of github.com:alexeagle/angular into ts2dart
...
Conflicts:
gulpfile.js
2015-03-23 13:36:39 -07:00
Alex Eagle
b8f0209ba5
Fix sequencing of ts2dart tasks.
2015-03-23 13:34:24 -07:00
Alex Eagle
9386bb1cb1
Use the newer dart formatter, which gives better errors
2015-03-20 12:22:12 -07:00
Alex Eagle
01592ff773
transpile the js files in one package, and fail the build if it fails
2015-03-20 12:22:12 -07:00
Martin Probst
e07a2d10c7
Transpile .js files, experimentally.
2015-03-20 12:22:11 -07:00
Alex Eagle
7234d368e3
First hook in the angular build to run ts2dart.
...
This expects files we are interested in to have the '.ts' extension.
2015-03-20 12:22:11 -07:00
Alex Eagle
cdc83730df
Use the newer dart formatter, which gives better errors
2015-03-20 12:08:32 -07:00
Alex Eagle
fb6b8b22a1
transpile the js files in one package, and fail the build if it fails
2015-03-19 11:00:45 -07:00
Marc Laval
52bf0def4e
chore(test): improve test.unit.cjs task
...
Closes #998
2015-03-18 21:51:57 -07:00
Alex Eagle
e37f58a228
Merge branch 'master' into ts2dart
2015-03-18 16:01:24 -07:00
Alex Eagle
e569e0b1ee
First hook in the angular build to run ts2dart.
...
This expects files we are interested in to have the '.ts' extension.
2015-03-18 14:42:18 -07:00
Marc Laval
a46af9c41c
feat(build): check circular depencies in Node.js
...
Closes #980
2015-03-17 22:12:26 -07:00
Marc Laval
46b03a524e
feat(test): more tests in Node.js
2015-03-17 16:58:58 -07:00
Peter Bacon Darwin
8229d7edc2
chore(gulpfile): duplicate tasks to generate "public" docs
2015-03-17 14:44:45 -07:00
Jacob MacDonald
a963ae48e5
feat(benchmarks): add polymer js 0.8-preview benchmark
...
Limitations because of preview status (see #960 ):
- does not yet use ShadowDOM
- does not use a builtin conditional like `if`
- uses a temporary bower repository
Closes #943
2015-03-13 20:48:03 -07:00
gil
3974e382f9
chore(gulp): fix typo HTLM to HTML in a variable name
...
Closes #920
2015-03-13 21:52:14 +01:00
Marc Laval
e8965656a4
feat(directives/forms): run tests in NodeJS
...
Closes #921
2015-03-13 19:18:15 +01:00
Marc Laval
1d4ff9bcdc
feat(compiler): parse5 DOM adapter
...
Closes #841
2015-03-11 14:42:54 +01:00
Cory Bateman
04abf2629b
chore(gulpfile.js): minor corrections
...
Removed unnecessary comma and semicolon
Closes #863
2015-03-03 08:53:53 -07:00
Tobias Bosch
9c9769e3dd
fix(build): copy files that are included in html files to the same folder
...
This is e.g. needed to allow Dart benchmarks to be served via `pub`
2015-03-02 16:34:32 -08:00
Tobias Bosch
81a5ae8f6e
fix(build): report and fail on errors
...
tree benchmark was broken and we didn’t know it…
also changes reporting to not include messages from `console.time()`, …
2015-03-02 16:34:32 -08:00
Yegor Jbanov
757eae8ad3
feat(compiler): DOM adapters + html5lib implementation; misc fixes
2015-02-27 16:49:14 -08:00
Tobias Bosch
e3f4c60f46
feat(build): copy css files
2015-02-26 10:54:19 -08:00
Tobias Bosch
3f25f5a356
feat(build): add general copy/multicopy method
2015-02-24 16:53:44 -08:00
Yegor Jbanov
d1f03e509b
fix(benchpress): benchpress fixes and a smoke test for Dart
2015-02-23 10:50:51 -08:00
Kevin Moore
895b2a7bdf
Format Dart code right after transform
...
Much easier to diagnose errors with pub build, analyzer, etc with formatted code
Closes #742
2015-02-21 18:20:05 +00:00
Tim Blasi
6e90cacaf4
feat(dart/transformer:: Initial commit of ctor stubs & annotation register
...
Closes #646
Closes #496
Closes #498
2015-02-17 16:34:19 -08:00
Tobias Bosch
f6284f2a55
feat(benchpress): rewritten implementation
...
Limitations:
- cloud reporter is not yet supported any more
2015-02-16 11:43:27 -08:00
Tobias Bosch
013e1faf27
fix(build): support transpile to commonjs
2015-02-11 13:09:52 -08:00
Tobias Bosch
729e38af19
feat(build): add npm publish script
...
Also fixes gulpfile:
- `runSequence` needs to be called with `done` callback
- `es5build` should only run when the task executes…
2015-02-10 16:28:28 -08:00
Tobias Bosch
dd532fee72
feat(build): add package.json and README.md for publishing to npm
2015-02-10 11:52:42 -08:00
Tobias Bosch
69bba9b5df
feat(build): transpile to es6
...
Transpile all sources first to es6 which we can publish and then
to es5. Also merge the generated source maps into once map.
2015-02-10 11:27:22 -08:00
Yegor Jbanov
320c089dcc
feat(packaging): automatically copy LICENSE to dist folders
2015-02-09 14:02:42 -08:00
Tobias Bosch
713b670a76
fix(tests): show stack traces for transpiler unitttests
2015-02-06 17:02:45 -08:00
Alex Eagle
e20d9dd073
feature(build): add nodejs-based unit test for dart transpiler.
...
This adds a unit test to the transpiler. Existing tests are themselves transpiled to ES5, which makes it impossible to do some kinds of assertions. For example, this will be useful to repro https://github.com/angular/angular/issues/509 .
In this change, the actual issue isn't fixed. It only adds the reproduction.
It uses the jasmine test runner, since it's already used by the docs test. That uses version 1 of Jasmine, which isn't ideal, but I want to be consistent for now.
I discussed with Tobias the possibility of switching to Mocha for these nodejs-based tests, and we might do that sometime later.
2015-02-05 11:55:49 -08:00
Tobias Bosch
05ffdc9b44
refactor(build): explicitly mention src
folder in imports
...
Export files are now directly under the module folder,
e.g. `core/core.js`. With this, an import like `core/core`
won’t need a path mapping (e.g. via `System.paths`) any more.
This adds the `src` folder to all other import statements as well.
2015-02-05 11:55:48 -08:00
Tobias Bosch
b1e76c550e
feat(build): auto format the generated dart code.
...
Fixes #480
Closes #504
2015-01-30 11:10:12 -08:00
Marc Laval
ee99a5a02b
chore: gulpifying the tests
...
Closes #168
2015-01-22 16:15:17 -08:00
Edouard Coissy
a8bc7aa48f
chore(gulpfile): add build/clean.docs task
2015-01-20 14:11:12 -08:00
Tobias Bosch
d02c0accbb
refactor(benchmarks): add cloud reporter, add params
...
- adds console and cloud reporter (via Google BigQuery).
- makes parameters of tests explicit and modifiable.
- removes `detect` and `ignoreGc` mode from benchpress
as these can result in unstable numbers.
2015-01-15 09:09:05 -08:00
Tobias Bosch
fe2a09bc7f
refactor(perf): e2e tests and benchpress should be written in es6
2015-01-06 15:32:49 -08:00
Tobias Bosch
df4ac0dd33
refactor(perf): use webdriver to execute benchmarks
...
- use performance log of chromedriver / appium to get timeline data
for calculating metrics for benchmarks
- change all benchmarks to be made of a standalone application
and a protractor test that collectes timeline data
- fix and simplify benchmarks
- add dart2js to build
- remove benchpress
Closes #330
2014-12-23 22:22:55 -08:00
vsavkin
df21c3c77d
feat(zone): add support for long stack traces
2014-12-17 14:56:54 -08:00
vsavkin
de855a79b9
fix(build): run dartanalyzer after transpiler and html to avoid races
2014-12-12 16:24:36 -08:00
vsavkin
9891312495
chore(gulpfile): add zone.js to the list of deps
2014-12-12 15:24:30 -08:00
Tobias Bosch
1cd848df55
fix(build): analyze examples and benchmarks again
2014-12-08 12:00:48 -08:00
Tobias Bosch
bc6f0dba46
fix(build): gulp build.js.prod
should call benchpress.js.prod
2014-12-08 11:44:44 -08:00
Peter Bacon Darwin
83a6a1cc0b
chore(docs): fix docs/watch task name
2014-12-06 11:26:08 +00:00
Tobias Bosch
8db77f2405
refactor(build): simplify and modularize
...
simplify:
- use same html file for dart and JS
- build benchmarks automatically when doing `gulp build`
- centralize configuration
modularize:
- move all build tasks into separate node.js modules under
`tools/build`.
changes:
- the `build` folder is now the `dist` folder
Closes #284
2014-12-05 16:30:36 -08:00