Alex Eagle
aab0c57aee
fix(typings): add more missing typings.
...
This is the same bug pattern I reported in https://github.com/Microsoft/TypeScript/issues/5187
Closes #4636
2015-10-09 19:00:42 +00:00
Shahar Talmi
31f48ae943
refactor(ngOutlet): using some typescript features
...
Closes #4386
2015-10-09 03:40:42 +00:00
Naomi Black
984b6fc487
chore(package): update package version for alpha-40
2015-10-08 18:43:20 -07:00
Julie Ralph
af1119063c
chore(ci): update Protractor version, remove custom waits
...
The latest Protractor version supports waiting for Angular2 applications,
so remove custom waiting logic.
Closes #3829
2015-10-07 13:08:58 -07:00
Tobias Bosch
b6210be648
chore(changelog): update change log to alpha.39
2015-10-06 13:13:23 -07:00
Victor Berchet
fd5cd84065
chore(zone.js): update to 0.5.8
...
fixes #4531
2015-10-06 11:16:38 -07:00
Alex Eagle
6093e28b61
fix(typings): repair broken typechecks
...
We had the typechecker disabled by accident, and many problems snuck in
Fixes #4507
Closes #4508
2015-10-06 13:28:17 +00:00
Igor Minar
5ff1eb75d0
build(npm): upgrade gulp-sass to v2.0.4
2015-10-03 21:33:57 +00:00
Igor Minar
1b20873433
build(npm): update chokidar and karma* dependencies
...
These dependencies required upgrade in order for us to run on Node v4.x
chokidar 1.0.1 -> 1.1.0
karma 0.12.23 -> 0.13.10
karma-chorome-launcher 0.1.8 -> 0.2.0
karma-cli 0.0.4 -> 0.1.0
karma-dart 0.2.8 -> 0.3.0
karma-sauce-launcher 0.2.11 -> 0.2.14
2015-10-03 21:33:57 +00:00
Alex Eagle
7c4199cd1c
chore(typings): remove StringMap
...
This was a poorly typed attempt to mimic TypeScript's index signatures,
which we can use instead.
This eliminates a very strange type that we were exposing to users, but
not re-exporting through our public API.
Fixes #4483
2015-10-03 01:09:42 +00:00
Jeff Cross
c7e9f86557
chore(package): bump version to alpha 38
2015-10-02 18:06:12 -07:00
Alex Eagle
9b7378d132
chore(typings): remove traceur-runtime.d.ts
...
fixes #4297
Closes #4415
2015-09-30 00:07:16 +00:00
Victor Berchet
fb9796130d
chore(zone.js): update to 0.5.7
...
fixes #4179
Closes #4418
2015-09-29 22:31:35 +00:00
Alex Eagle
b4fe590b2d
chore(ts): fix TODOs that were pending on 1.6 upgrade
...
Closes #4377
2015-09-29 03:23:25 +00:00
Victor Berchet
cd0e9c9cd4
chore(zone.js): update zone.js to 0.5.6
...
Closes #4399
2015-09-29 00:14:38 +00:00
Alex Eagle
3dd9919bbd
chore(ts2dart): remove hand-written ts2dart typings
...
Now that we are on TS 1.6, we can use the new node module resolution strategy.
Closes #4372
2015-09-25 23:47:41 +00:00
vsavkin
5bf6a3af15
chore(typescript): fixes dart failures and linter
...
Closes #4359
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
Misko Hevery
db6d289d82
chore(upgrade): infrastructure to allow running upgrade module specs
2015-09-23 05:02:43 +00:00
vsavkin
16bf335a4a
refactor(async): replace RxJS with RxNext
...
Closes #3110
Closes #4201
2015-09-15 23:44:57 +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
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 #4148
2015-09-14 21:02:29 +00:00
Marc Laval
4c2fb1f6e8
chore(package.json): update karma-jasmine
...
Closes #4116
2015-09-11 23:22:31 +00:00
Misko Hevery
7ec4da40ce
chore(changelog): update change log to alpha 37
2015-09-10 10:18:17 -07:00
Tamas Csaba
5a59e8be82
chore: update reflect-metadata to 0.1.1
...
Closes #3989
2015-09-08 15:51:06 +00:00
Alex Eagle
42e1b07705
fix(build): delete unreferenced typings on npm install
...
fixes #1636
Closes #3940
2015-09-01 17:37:56 +00:00
Pawel Kozlowski
9934b3ec7f
chore(package.json): remove unused es6-module-loader dependency
...
Closes #3867
2015-09-01 13:52:57 +00:00
vsavkin
a8028b87c4
chore(package): bump up the version 2.0.0-alpha.36
2015-08-31 16:23:07 -07:00
Brian Ford
78f11f6333
chore: update zone to 0.5.4
...
Closes #2912
2015-08-31 15:37:37 -07:00
Victor Berchet
d07b9181fe
chore: update zone to 0.5.3
...
Closes #3785
2015-08-23 21:20:57 +00:00
Brian Ford
06487237e5
Revert "Revert "feat(router): add angular 1.x router""
...
This reverts commit 298f1fb6a6
.
2015-08-20 13:19:34 -07:00
Victor Berchet
298f1fb6a6
Revert "feat(router): add angular 1.x router"
...
This reverts commit fde026a9e4
.
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
Igor Minar
d191ec4c33
chore(release): bump version to 2.0.0-alpha.35 and add changelog
2015-08-19 07:19:01 -07:00
Ian Riley
53df0d8b3f
chore(npm): Upgrades systemjs dependency to 0.18.10.
2015-08-18 21:45:12 +00:00
Ian Riley
e68c978202
chore(npm): Upgrades systemjs to 0.18.3.
2015-08-18 21:45:12 +00:00
Jason Teplitz
84463cf0bd
Feat(WebWorker): Add WebWorker Image Filter Demo
2015-08-07 11:25:07 -07:00
Jeremy Elbourn
7c52bc9768
chore(release): update version & changelog to alpha34
2015-08-06 17:39:27 -07: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
f8fa47e939
chore(release): release alpha.33
2015-07-30 16:09:29 -07:00
Rado Kirov
8e960d4052
chore(changelog): update to new changelog package.
...
Regen-ed the CHANGELOG.md (for consistency). Seems like some old commits
are not present in new the CHANGELOG.md, but it doesn't seem worthy of
further investigation.
closes #3204 , #3172
2015-07-29 22:42:05 +00:00
Rado Kirov
820c4b9b16
chore(release): releases 2.0.0-alpha.32.
2015-07-22 16:34:05 -07:00
Alex Eagle
51e6f33d32
chore(build): Make PRs 15m faster.
...
Don't precompile Dart2JS for pull requests, instead serve the dart
sources with pub serve. We were already testing with Dartium so
all we lose is some test coverage of defects exposed only by the
Dart2JS transpiler.
This still runs the dart transformer.
Fixes #3030
2015-07-21 22:14:38 -07:00
Alex Eagle
6d760666a9
chore(build): upgrade ts2dart to 0.7.0
2015-07-21 06:20:12 -07:00
Jeff Cross
34993f7691
chore(package.json): bump version to 2.0.0-alpha.31
2015-07-14 10:52:39 -07:00
Rado Kirov
546a8f9218
fix(package.json): move some deps into dev deps.
...
Closes #2448
2015-07-09 12:59:20 -07:00
Jeff Cross
6c933a4485
chore(packaging): bump version to 2.0.0-alpha.30
2015-07-07 21:39:10 -07:00
Marc Laval
abc1580fa9
chore(package.json) upgrade zone.js to 0.5.2
2015-07-07 16:13:18 -07:00
Yegor Jbanov
46bb4e37ba
chore(packaging): bump version to 2.0.0-alpha.29
2015-07-01 16:29:03 -07:00
Alex Eagle
8bab6dd239
fix(build): Reduce rx typings to what we actually require.
...
This should help a lot with github rate limiting by removing about
2/3 of the dependencies.
2015-06-29 16:59:04 -07:00
Alex Eagle
bc585f2724
feat(build): add tslint to the build.
...
The first enabled rule enforces return types
declared on non-private (underscore-prefix)
methods that return something.
2015-06-29 15:31:41 -07:00
uber5001
c4e10ea9ac
chore(benchpress): add browserify bundling
...
Use browserify to bundle benchpress and its dependencies.
2015-06-29 10:29:59 -07:00
Martin Probst
1f7296c093
feat: upgrade clang-format and gulp-clang-format.
...
This makes sure just running clang-format will use whatever version is
used in the project, by loading it from the closest node_modules folder.
It also moves the clang-format dependency to the top and explicitly
passes it to gulp-clang-format, giving us more control over the version
used.
2015-06-25 22:55:58 -07:00
Yegor Jbanov
19a9dc67bd
chore(packaging): bump version to 2.0.0-alpha.28
2015-06-24 16:20:57 -07:00
Rado Kirov
ee8da36d08
chore(pub): add angular2_material to pub
2015-06-18 16:33:28 -07:00
Harry Terkelsen
d43394f7b7
chore(build): overwrite tsd files on npm install
2015-06-17 15:06:57 -07:00
Rado Kirov
f93aae4802
chore(release): releases 2.0.0-alpha.27
2015-06-16 21:34:47 -07:00
Martin Probst
f3d741854a
fix: add types for ts2dart's façade handling.
...
... in many, many places.
2015-06-12 15:41:08 -07:00
Daria Jung
76797dfbd4
fix(build): Minify files for angular2.min.js bundle
...
Uglify files related to angular2.min.js bundle in one task.
Include reflect.js in the bundle, which was previously missing. Minify reflect.js, zone.js, and angular2.min.js using uglify.
2015-06-11 13:18:04 -07:00
Matias Niemelä
f04b606bb0
chore(package): add Matias to authors list
2015-06-10 16:57:30 -07:00
Victor Berchet
94272af45b
chore: update zone.js to 0.5.1
...
fix #1862
2015-06-10 23:41:45 +02:00
Matias Niemelä
cd6175827f
refactor: use a custom replacement build step instead of broccoli-replace
2015-06-08 16:28:19 -07:00
Igor Minar
7140c9cc34
build: make 'npm install' work reliably and issue build warning when node_modules look stale
...
This is done a in bit kludgy way on purpose so that it works on Windows and CI.
Works around npm/npm#8452.
Closes #2038
2015-06-08 13:05:04 -07:00
Matias Niemelä
72736a1b09
revert: refactor: use a custom replacement build step instead of broccoli-replace
...
This reverts commit d5c528ac2b
.
2015-06-06 00:58:57 -07:00
Matias Niemelä
d5c528ac2b
refactor: use a custom replacement build step instead of broccoli-replace
...
Closes #2050
2015-06-05 16:16:09 -07:00
Marc Laval
1afdb3cbb1
chore(package.json): add karma-sauce-launcher to dev dependencies
...
Closes #2342
2015-06-04 16:08:43 +02:00
Rado Kirov
d53c898499
chore(release): releases alpha.26
2015-06-03 17:36:12 -07:00
Rado Kirov
20e874d3c6
chore(deps): bumps up deps on tsd and ts2dart.
2015-06-03 15:53:03 -07:00
Brian Ford
31b6687894
fix(build): make dart formatter errors more readable
...
Truncates the output to just the interesting parts
2015-06-03 14:42:24 -07:00
Peter Bacon Darwin
a504fa835e
chore(doc-gen): improve github links to point to the correct tagged URL
...
Closes #1994
2015-06-02 10:56:23 +01:00
Hank Duan
ad26bed0ed
chore(shrinkwrap): add shrinkwrap for firefox-profile/jpm
...
and update package.json for benchpress
closes #2264
2015-06-01 16:04:38 -07:00
vsavkin
d523613329
test(di): added a test verifying hierarchical injection
2015-05-29 15:52:46 -07:00
Tobias Bosch
608017776e
fix(package.json): add `reflect-metadata` to package.json
...
Fixes #2170
2015-05-27 10:32:38 -07:00
Hank Duan
b390f441a1
feat(benchpress): Add extension for ff metrics reporting
...
Closes #1976
2015-05-26 17:30:41 -07:00
Alex Eagle
16447ce75c
chore(build): improve messaging when using clang-format
2015-05-22 10:10:22 -07:00
Martin Probst
15f1eb28a2
fix(deps): Update clang-format to 1.0.14.
2015-05-22 09:39:15 -07:00
yjbanov
c28952c707
chore(release): bump version to alpha.25
2015-05-21 17:37:45 -07:00
Julie Ralph
863eb3c559
chore(testing): update karma-jasmine and jasmine
...
Jasmine to jasmine-core 2.3.4.
Update tools tests using minijasminenode to directly use jasmine.
See #1860
2015-05-20 21:34:56 -07:00
Julie Ralph
dd9b08cce8
chore(testing): update protractor to version 2.1.0
2015-05-20 17:28:23 -07:00
Tobias Bosch
bdeac30a96
chore: bump ts2dart to 0.5.6
2015-05-20 16:07:27 -07:00
Tobias Bosch
bd8724e652
chore(build): bump ts2dart version to 0.5.5
2015-05-19 15:12:58 -07:00
yjbanov
adaa157317
chore(packaging): bump version to 2.0.0-alpha.24
2015-05-19 14:47:59 -07:00
Yegor Jbanov
5c88f662cd
chore(deps): bump ts2dart version
2015-05-19 10:43:18 -07:00
Caitlin Potter
6c59894a29
chore(package.json): add rewire devDependency
2015-05-14 02:48:37 -04:00
Caitlin Potter
fadabf79e3
chore(package.json): update run-sequence to v1.1.0
...
v1.1.0 includes a patch to prevent manipulating arguments passed as arrays
2015-05-13 19:21:35 -04:00
Caitlin Potter
c36ea0221e
chore(package.json): uninstall gulp-watch, install chokidar@^1.0.1
2015-05-13 19:21:35 -04:00
yjbanov
1ac7bb3bb8
chore(packaging): bump version to 2.0.0-alpha.23
2015-05-12 13:48:54 -07:00
Victor Berchet
c8a0ed40bd
refactor(NgZone): use zone.js v0.5 from npm
2015-05-12 21:07:25 +02:00
Pawel Kozlowski
f8f79dc76c
chore(package.json): update gulp-clang-format
2015-05-12 08:50:44 +02:00
Pawel Kozlowski
e8ad0d1776
chore(package.json): update ts2dart to 0.5.2
2015-05-10 18:44:51 +02:00
Igor Minar
31cbec0857
build(gulp): check node and npm version and log a warning if incompatible
...
Closes #1758
2015-05-08 11:04:10 -07:00
Igor Minar
5e4fa5cf07
build(gulp): use gulp-watch instead of gulp.watch for watching files
...
gulp-watch uses chokidar which uses fsevents which is much better than fs polling or relying on fs.watch.
fsevents use only one FD per watch invocation as opposed to one FD per watched directory and any subdirectory.
this should improve the situation with EMFILE errors (caused by lack of available file descriptors)
----
I also tried the following:
gulp-sane: requires watchman installation via brew so I didn't want to request that everyone goes throught that yet
gulp-chokidar: didn't work, seems to be obsolete
2015-05-07 22:27:36 -07:00
Rado Kirov
f0ef72d6cc
chore(release): releases alpha.22
2015-05-07 16:04:06 -07:00
Rado Kirov
624a33f7f8
chore(package.json): bump zone to 0.4.4
2015-05-07 15:58:28 -07:00
Alex Eagle
51c477925a
fix(formatter): point to the newest clang-format
...
The prior version allowed for an older clang-format binary which has bugs
2015-05-07 14:33:24 -07:00
Alex Eagle
1daa8aa3a1
chore(shrinkwrap): update dependencies to latest
...
Also, our package.json was out-of-sync with npm-shrinkwrap.json; see https://github.com/angular/angular/issues/1737
This includes a fix for the shrinkwrapping of ts2dart; see https://github.com/angular/ts2dart/issues/138
2015-05-07 14:29:43 -07:00
Alex Eagle
6651aa1e1d
chore(build): update to TypeScript @head
...
We need to pick up some bugfixes for decorator emit. This still has our patch to make Error a class.
2015-05-06 16:34:24 -07:00
Alex Eagle
740d85cad8
chore(build): change TS Error type to a class.
...
This will be in the next upstream release.
2015-05-05 09:03:56 -07:00
Alex Eagle
33bba094d2
chore(build): fix package.json warning
...
Nit: the contributors field is defined as an array, see
https://docs.npmjs.com/files/package.json#people-fields-author-contributors
2015-05-05 09:02:57 -07:00
Yegor Jbanov
0f4a089c32
chore(packaging): switch to conventional changelog
2015-05-01 13:10:14 -07:00
vsavkin
e4342743c0
feat(benchmark): added an implementation of the tree benchmark in React
2015-04-30 18:12:21 -07:00
Alex Eagle
bb50fc131b
chore(build): update TypeScript version to unreleased beta
...
Also fixup the typings which were broken by changes in typescript's lib.d.ts.
Second attempt to merge this, now that bugfix for tsd is in.
2015-04-29 17:03:02 -07:00
Rado Kirov
fb67e37339
feat(decorators): adds decorators to be used by TS and Babel transpiled apps.
2015-04-29 15:13:25 -07:00
Alex Eagle
1205f54d01
fix(build): use correct tsd command to get typings at requested versions
2015-04-29 11:43:28 -07:00
Alex Eagle
b5032fd374
fix(build): revert typescript upgrade which broke the build.
...
This reverts commit a7a9463624
.
This reverts commit 59824e40e8
.
2015-04-29 10:49:54 -07:00
Alex Eagle
59824e40e8
chore(build): update TypeScript version to unreleased beta
...
Also fixup the typings which were broken by changes in typescript's lib.d.ts
2015-04-29 10:09:32 -07:00
Yegor Jbanov
3bb3bff1f2
chore(packaging): copy changelog.js from angularjs
2015-04-29 04:10:12 +00:00
Alex Wolfe
c269bd5d3c
chore(doc-gen): generate docs for angular.io
...
You can generate docs for comsumption by the angular.io website by running:
```bash
gulp docs/angular.io
```
The generated docs can be found in `dist/angular.io`
2015-04-28 14:31:34 +01:00
Yegor Jbanov
b72eb0783b
chore(packaging): bump version to 2.0.0-alpha.21; add changelog
2015-04-27 22:15:48 -07:00
Igor Minar
22c79df98d
build(gulp): remove gulp-jasmine, run tests in a new process instead
...
otherwise we see occasional failures due to require.cache and other global state collisions
2015-04-27 10:47:51 -07:00
Igor Minar
42e7fc5252
build(broccoli): add source-maps to our broccoli tools
2015-04-27 10:47:50 -07:00
Igor Minar
7740fc071c
build(broccoli): convert traceur and broccoli-dest-copy plugins to use tree-differ
...
Also adding symlink-or-copy to our npm dependencies since our plugins now use it.
2015-04-27 10:47:50 -07:00
Igor Minar
32c5ab956c
build(broccoli): add testing infrastructure for our build plugins
...
components:
- gulp test.unit.broccoli task
- mock-fs for mocking our FS in unit tests
- jasmine d.ts file for type checking
jasmine lib is provided by minijasmine2 so we don't need to include it explicitly
2015-04-27 10:47:49 -07:00
Igor Minar
725f909ff8
chore(build): refactor test.unit.cjs to use the broccoli pipeline
...
This change solves several problems:
- the broccoli pipeline is used to compile the node/cjs tree upon any change to the modules/ directory
- jasmine tests run in a new process removing the need to clean up environment after each test
- since we transpile only those test files that are actually needed for node/cjs build, we transpile less and don't need to filter out tests
2015-04-27 10:47:49 -07:00
Brian Ford
4650d25a53
chore(package.json): upgrade zone.js to v0.4.3
...
Closes #1457
2015-04-21 16:30:40 -07:00
Yegor Jbanov
fe70c2647a
chore(packaging): bump version to 2.0.0-alpha.20
2015-04-20 17:53:29 -07:00
Igor Minar
eb87f5f851
chore(npm): add shrinkwrap to our project
2015-04-16 16:58:28 -07:00
Igor Minar
27d227283c
chore(npm): remove duplicate fs-extra dependency
2015-04-16 16:58:28 -07:00
Igor Minar
ea9d24be31
chore(npm): move tsd update to post install and add tsd version to devDependencies
2015-04-16 16:58:27 -07:00
Jeremy Elbourn
f149ae79c6
feat(material): first ng2 material design components
2015-04-14 16:15:35 -07:00
Yegor Jbanov
7d29636087
chore(packaging): bump version to 2.0.0-alpha.19
2015-04-13 16:15:12 -07:00
Alex Eagle
70433e6b73
chore(build): use a Filter plugin to write the dest folder.
...
This lets broccoli keep the dest folder up-to-date in 'watch' mode,
so we should be able to use that for Karma.
2015-04-13 15:51:33 -07:00
Martin Probst
a3decad4c2
feat(build): Use broccoli for ts2dart transpilation.
2015-04-11 16:26:44 -07:00
Alex Eagle
2ed7622239
chore(build): compile the .ts broccoli tools.
...
This avoids having to check in the compiled .js files.
2015-04-10 17:29:32 -07:00
Alex Eagle
564477b8a0
chore(build): migrate build.js.cjs to broccoli.
...
This doesn't do the typescript part of the build yet. Also there is a bit
of hackiness left to resolve in a follow-up change.
2015-04-10 11:39:48 -07:00
Martin Probst
17e8857efc
feat(dart): Use ts2dart for transpilation in Karma Dart.
2015-04-09 18:03:27 -07:00
Alex Eagle
b94b04c074
chore(build): Migrate remaining tasks under build.js.dev to broccoli.
2015-04-09 14:09:38 -07:00
Igor Minar
cfc5dd830c
perf(build): use patched broccoli-funnel version
...
see: https://github.com/broccolijs/broccoli-funnel/pull/22
2015-04-09 12:48:51 -07:00
Alex Eagle
a3097aaf05
chore(build): Migrate build.js.dev fully to broccoli.
...
The previous change did the ES6 transpile, now we add ES5.
The sourcemaps are broken, but were also broken previously. We'll address that separately.
2015-04-09 11:00:47 -07:00
Rado Kirov
c349eb4fa4
fix(bundles): remove work-around rx.js module detection.
...
Updates rx to the newest version, because a fix is needed.
Closes #1245
2015-04-08 11:01:01 +02:00
Alex Eagle
d6003ee0ab
chore(build): Add traceur transpiler for broccoli.
...
This exactly reproduces the output tree from one of the gulp tasks, which is now removed.
Next step is to migrate another sibling task to broccoli.
2015-04-07 16:38:02 -07:00
Alex Eagle
894a0f0ee5
chore(ts): duplicate the .es6 files in the facade directory to TypeScript.
...
Adds a gulp task which builds the .ts files (in the cjs build only).
The new files have extension .ts since they are now valid typescript.
Unfortunately until Typescript can emit System.require, we have to keep the old .es6 version
so traceur works inside the Karma preprocessor. This should be fixed soon.
2015-04-03 09:35:06 -07:00
Rado Kirov
bcbed2812d
feat(bundle): work-around rx.all.js bundle issue.
...
Adds long-stack-trace-zone into the dev build. Turn off source maps
until proper concatination of them is added.
2015-04-02 19:54:07 -07:00
Rob Wormald
c0b04ca0bc
feat(gulp): adds System.register bundle task.
2015-04-02 19:54:06 -07:00
Martin Probst
09067ebdc5
fix(build): Require gulp-ts2dart at least at 1.0.6.
...
This fixes the build by pulling in a later version that correctly ignores the .es6 files.
2015-04-02 13:13:47 -07:00
Marc Laval
08697e71fa
chore(package.json): update madge to v0.5.0
...
Closes #1211
2015-04-02 22:08:04 +02:00
Alex Eagle
f68cdf3878
chore(ts): introduce some TypeScript type declarations.
...
This uses tsd to fetch the typings from another git repo. I've forked the DefinitelyTyped repo because some typings we use are not available upstream.
We should probably fork it in the Angular org, so everyone on the team has commit access to our DefinitelyTyped fork.
2015-04-01 12:01:45 -07:00
Tobias Bosch
dbffa88dc2
chore(release): bump version to 2.0.0-alpha.18
...
For docs
2015-03-27 17:16:22 -07:00
Tobias Bosch
50f8892c6b
chore(release): bump version
...
Somehow the version bump from alpha.16 was not submitted to master…
2015-03-27 16:21:41 -07:00
Tobias Bosch
3bfbfa8ae0
chore(release): bump version
2015-03-27 16:18:36 -07:00
Caitlin Potter
507f7ea70a
chore(package.json): upgrade zone.js to v0.4.2
...
Closes #1142
2015-03-27 16:24:07 -04:00
Caitlin Potter
9d21a6f40d
chore(package.json): upgrade traceur to v0.0.87
...
Fix in source-map test to follow through the sourcemap chain.
2015-03-26 18:37:03 -07:00
Julie Ralph
6298cb3999
chore(ci): upgrade to new version of protractor and selenium-webdriver
...
Protractor 2.0.0
selenium-webdriver 2.45.1
2015-03-26 10:00:46 -07:00
vsavkin
9b3b3d325f
feat(facade): added support for observables
2015-03-24 13:45:39 -07:00
Alex Eagle
43f4374944
feature(build): Include ts2dart transpile step in the Angular build.
...
This only transpiles one package to start with: di/
It ensures that package transpiles without errors, so no one can
introduce non-TypeScript syntax.
Next step is to widen the task inputs to cover additional packages.
See design doc for the migration:
https://docs.google.com/document/d/14RJLhu6uuv7NchFkAb6PKzOOO0L7l3Z507eKWzkEUhQ/edit
A convenience task 'ts2dart' is added for developing ts2dart, and
it runs all of the angular code through the transpiler to collect errors.
2015-03-24 10:34:46 -07:00
vsavkin
81e6d13241
chore: bump up the version to 2.0.0-alpha.15
2015-03-24 07:50:39 -07:00
Yegor Jbanov
1c9938ed98
chore(packaging): bump version to alpha.14
2015-03-23 17:14:55 -07:00
Patrice Chalin
83402930f2
chore(install+test): single cmd to full install/test & test JS w/o Dart
...
* `npm install` now does a full install; auxiliary installation steps
have been integrated into the `postinstall` script.
* Updated developer docs `DEVELOPER.md` accordingly; also added
instructions to dev docs for performing full tests (via `npm test`) --
same as those run on Travis.
* Reorg in tests so that JS tests can run without a Dart env.
Partly fixes #945 **under the assumption that when running JS tests
locally, `ChromeCanary` is the desired browser to use**. Note that CI
tests (Travis) still uses `DartiumWithWebPlatform` across the board
(Maybe because ChromeCanary isn't being installed?)
Fixes #1012 .
Closes #1010
2015-03-21 14:55:11 -07:00
Marc Laval
2ff2ce3c6c
refactor(test_lib): remove IS_NODEJS
...
Closes #1015
2015-03-20 15:50:05 +01:00
Marc Laval
a46af9c41c
feat(build): check circular depencies in Node.js
...
Closes #980
2015-03-17 22:12:26 -07:00
Patrice Chalin
452a724542
chore(test): make it easier to run all JS and Dart tests
...
Performed a slight refactoring of CI scripts to make it easier for
developers to run the **same** tests as those run on Travis. Defined
`npm` scripts `test-js` and `test-dart`. `npm test` now runs the whole
lot.
Closes #966
2015-03-17 21:39:26 -07:00
Patrice Chalin
87a7e7e677
chore(install): cleanup
...
- `package.json`: explicit path to `node_modules/.bin` isn't needed
since npm prepends it to `PATH`. See [nmp scripts
doc](https://docs.npmjs.com/misc/scripts#path ).
- `.bowerrc`: [Bower's default
directory](http://bower.io/docs/config/#directory ) is
'bower_components', hence no need to explicitly set it to this value.
2015-03-17 17:11:55 -07:00
Tobias Bosch
da4862a0c8
release 2.0.0-alpha.13 on npm/pub
2015-03-13 20:49:51 -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
Peter Bacon Darwin
8407aa68fe
chore(package.json): upgrade to dgeni-packages 0.10.11
...
Closes #949
2015-03-13 20:53:25 +00:00
Marc Laval
1d4ff9bcdc
feat(compiler): parse5 DOM adapter
...
Closes #841
2015-03-11 14:42:54 +01:00
Tobias Bosch
f9dcfa3ba5
feat(benchpress): add a file reporter
2015-03-06 12:50:05 -08: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
Jeff Cross
c1dc3ccf48
chore: publish npm and bump version to alpha 12
2015-03-02 11:36:34 -08:00
Yegor Jbanov
f783841f16
chore(packaging): pub publish script
2015-03-02 10:09:06 -08:00
Tobias Bosch
715ee14ced
release: release 2.0.0-alpha.11 which includes benchpress
2015-02-24 17:01:48 -08:00
Tobias Bosch
3f25f5a356
feat(build): add general copy/multicopy method
2015-02-24 16:53:44 -08:00
Yegor Jbanov
cfe71def7e
chore(packaging): 0.0.0-alpha.9; pubspec cleanup
2015-02-24 11:42:05 -08:00
Tobias Bosch
74c0699ad9
fix(build): finally publish to `rtts_assert` on npm
2015-02-18 12:52:27 -08:00
Julie Ralph
5af0ac258b
tests(e2e): upgrade Protractor to 1.7.0 and remove special cases for shadow dom
...
With Protractor 1.7.0, which installs chromedriver 2.14, shadow DOM is supported.
2015-02-18 10:54:48 -08:00
Yegor Jbanov
6b97c2e734
chore(packaging): bump version to 2.0.0-alpha.7
2015-02-17 11:40:14 -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
Peter Bacon Darwin
9f462c03f7
chore(package.json): update to dgeni 0.10.10
...
This gets rid of the "unknown tag" errors in the dgeni builds
2015-02-15 21:36:10 +00:00
Peter Bacon Darwin
11b9b4cdbc
chore(package.json): update to dgeni 0.10.9
2015-02-15 21:12:24 +00:00
Yegor Jbanov
234e1eccca
chore(sourcemaps): add e2e test
2015-02-11 15:07:13 -08:00
Tobias Bosch
013e1faf27
fix(build): support transpile to commonjs
2015-02-11 13:09:52 -08:00
Tobias Bosch
bbd212c256
fix(build): use `rtts-assert` instead of `ng-rtts-assert`.
...
We have the rights now :-)
2015-02-10 17:02:33 -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
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
Tobias Bosch
f39c6dc2c7
fix(setup): use upstream traceur with explicit patches
...
Also correct the transpile to ES6
Also support generics correctly
All patches are hooked in via `/tools/transpiler/index.js`
https://github.com/google/traceur-compiler/issues/1700
https://github.com/google/traceur-compiler/issues/1699
https://github.com/google/traceur-compiler/issues/1708
https://github.com/google/traceur-compiler/issues/1625
https://github.com/google/traceur-compiler/issues/1706
2015-02-06 17:04:08 -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
Brian Ford
4623e88509
fix(zones): update to v0.4.0
...
Closes #487
2015-02-05 11:55:49 -08:00
PatrickJS
4fdb3cf566
chore(package.json): npm No repository field.
...
npm install yields a warning
```bash
npm WARN package.json angular@0.0.0 No repository field.
```
also include `"bugs": "https://github.com/angular/angular/issues "`
2015-01-24 10:50:18 -08:00
Julie Ralph
ffec271f21
chore(tests): update Protractor to 1.6.x and use Jasmine2 as framework
...
There are no changes necessary in the current test code for the update to
Jasmine2 framework.
2015-01-22 13:01:51 -08:00
Tobias Bosch
561ad3a68c
refactor(build): support multiple configurable browsers for e2e and perf tests
...
Also includes browser configuration for Android
2015-01-20 13:06:37 -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
Vojta Jina
0f8f4801bd
chore: use fork Traceur with disabled getters/setters
...
It also includes better debugging class method names for WTF.
2015-01-08 16:03:32 -08:00
Pawel Kozlowski
41f43d57e8
chore: move npm's dev dependencies to the devDependencies section
2015-01-07 09:41:16 -08:00
Victor Berchet
f04967ad37
chore(traceur): update to 0.0.79
...
fixes #8
2015-01-06 08:21:43 -08:00
Tobias Bosch
6f303121c6
refactor(perf): introduce benchpress2
...
Major changes:
- make API more reusable
- format output nicely
- only force gc if needed
Regarding forcing gc:
Forcing gc can change script execution time.
We now don't force gc at first and ignore results where gc happens during script execution.
When we ignored too many results, we switch to forcing gc.
Closes #339
2015-01-05 17:49:50 -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
df36ffb11d
feat(zone): add initial implementation of VmTurnZone
2014-12-12 15:24:30 -08: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
Victor Berchet
24d190c9a8
chore(build): replace deprecated gulp-rimraf by node del
...
see
0bb073de44/docs/recipes
/delete-files-folder.md
2014-12-05 12:31:37 +01:00
Peter Bacon Darwin
27e03591dd
chore(docs): initial dgeni docs generation
...
Closes #261
2014-12-04 14:17:08 +00:00
Victor Berchet
5857c9f767
chore(gulp): Skip Dart tasks when the SDK is not detected
...
fixes #268
2014-12-04 10:01:55 +01:00
Ciro Nunes
2797075200
chore: use load-plugins to make gulpfile shorter
2014-11-24 18:24:15 -08:00
PatrickJS
7a3be938d5
chore(package.json): correct Apache-2.0 license
...
Closes #164
2014-11-07 15:34:28 -08:00
Vojta Jina
b4ff802e28
feat(deps): update Traceur 0.0.74
2014-11-07 10:29:48 -08:00
Vojta Jina
4a753926b4
chore: fix modules/build.dart/pubspec
...
This was failing on Travis because the `pub install` would run before
copying of `pubspec.yml` happened. In fact, I don’t understand how this
worked at all because `gulp.dest` seems to be not forwarding files and
so anything after `gulp.dest` does not get called at all.
Here is the failing Travis build:
https://travis-ci.org/angular/angular/builds/40005692
This changes `modules/build.dart/pubspec` task to use `gulp-changed`
instead of a custom implementation and use a wrapper around `gulp.dest`
to forward files.
2014-11-05 11:19:02 -08:00
vsavkin
e3548b497f
feat(ElementInjector): implement ElementInjector
2014-10-27 10:16:50 -04:00
vsavkin
1f4caa8773
feat(benchmark): add a simple benchmark for the di module
2014-10-18 17:06:23 -04:00
Vojta Jina
cfc5fdc60d
chore: use es6-module-loader
...
Switch Traceur to use modules=“instantiate” and use es6-module-loader.
This setup supports cyclic dependencies.
2014-10-07 17:35:22 -07:00
Tobias Bosch
85b5543f62
feat: travis-ci integration
2014-09-29 16:33:53 -07:00
Vojta Jina
c3b442ea53
chore: karma with JS, Dart
...
Note: karma with dart is still not working
because of how `karma-dart` loads `package:…` dependencies.
Usage:
```
karma start karma-js.conf.js
karma start karma-dart.conf.js
```
Make sure to set `DARTIUM_BIN` env variable.
Refactors `js2dart`:
- live outside of the traceur module (`tools/js2dart/index.js`)
so it can be reused by gulp and karma
- automatically build the sources in memory,
so that `js2dart` can be used without running `gulp build` first
- provide a way to specify the moduleName of a compilation run
independently of the input filename. This helps error messages
and source maps (not yet enabled) to report the correct file name
Changes project setup:
- add module `test_lib` that contains the primitives for tests
(e.g. `describe`, `it`, …)
- clean up some sources that had errors in them
- module names in transpiled js and dart files don’t contain
`lib`, `test` nor `src` any more (e.g. `di/di`).
2014-09-26 16:53:54 -07:00
Misko Hevery
9f1db3f2bc
chore: correct postinstall.sh script
2014-09-19 22:00:07 +00:00
Tobias Bosch
afa7616464
build - refactor
2014-09-19 13:59:28 -07:00