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
Caitlin Potter
aaf3edd131
build(brocolli): move filename filtering into DiffingPluginWrapper
...
Closes #1719
2015-05-07 17:00:35 -04:00
Igor Minar
1d0078415f
build(broccoli): refactor typescript plugin to be incremental via DiffingBroccoliPlugin
2015-05-06 07:45:46 -07:00
Igor Minar
3f36a3c119
build(broccoli): traceur plugin should react only to .js/.es6/.cjs file removal
2015-05-06 07:45:46 -07:00
Igor Minar
8c15ccecd1
build(broccoli): add DiffingBroccoliPlugin and refactor existing plugins to use it
...
tree-differ:
- export both TreeDiffer and DiffResult interface
diffing-broccoli-plugin:
- factory class for wrapping DiffingBroccoliPlugins and turning them into BroccoliTrees
broccoli-dest-copy:
- refactor into DiffingBroccoliPlugin
broccoli-traceur:
- refactor into DiffingBroccoliPlugin
2015-05-06 07:45:45 -07:00
Igor Minar
e966869744
build(broccoli.d.ts): add tree.description signature
2015-05-06 07:45:45 -07:00
Julie Ralph
bb6f59e423
chore(build): make karma watch broccoli output for dart unit tests
...
Previously, karma used a custom preprocessor. Instead, have karma
run built dart from the `dist` folder and use gulp and broccoli
to watch for changes.
2015-05-05 19:24:20 -07:00
Alex Eagle
3c77855b39
chore(build): Remove .es6 files which shadow .ts files.
...
This removes .es6 files which are pure duplicates of a
.ts file in the same folder.
Next we need to remove .js files as well, and remove karma preprocessors for dart.
2015-05-01 09:51:03 -07:00
vsavkin
e4342743c0
feat(benchmark): added an implementation of the tree benchmark in React
2015-04-30 18:12:21 -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
Marc Laval
a51a5c2968
chore(build): run forms tests in Node
...
Closes #1565
2015-04-29 13:58:07 +02:00
Igor Minar
2827ca1559
build(broccoli): add a tree-differ workaround to browser trees
2015-04-27 10:50:59 -07:00
Igor Minar
8ea03d0380
build(gulp): fix incremental compilation by reusing angularBuilder across watch re-reruns
2015-04-27 10:47:52 -07:00
Igor Minar
0a97f0b645
build(js.cjs): re-enable tests that now pass in cjs
...
previously these tests were failing but now they pass on master
2015-04-27 10:47:52 -07:00
Igor Minar
a52798543a
build(gulp): rename tasks `build.broccoli.tools` => `build.tools` + `test.unit.broccoli` => `test.unit.tools`
2015-04-27 10:47:51 -07:00
Igor Minar
1cbdb9cd17
refactor(build): introduce AngularBuilder facade and clean up many things
2015-04-27 10:47:51 -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
bdf6af9bd6
build(broccoli): add custom broccoli.d.ts file
2015-04-27 10:47:50 -07:00
Igor Minar
2f83efaac8
build(broccoli): add tree-differ for diffing broccoli trees
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
Alex Eagle
623edcd2d8
Copy a second package to TypeScript.
2015-04-24 15:49:04 -07:00
Jeremy Elbourn
f149ae79c6
feat(material): first ng2 material design components
2015-04-14 16:15:35 -07:00
Martin Probst
db97d73c3b
feat(build): Move HTML copying into the broccoli task.
...
This includes all tasks to construct a Dart tree, except for formatting, and
reverse engineers/refactors the various copy tools for added more sanity.
2015-04-14 11:54:31 -07:00
Alex Eagle
896a0457f8
refactor(build): Better encapsulate the broccoli builder.
2015-04-13 17:28:00 -07:00
Igor Minar
0107543a33
chore(build): move build/transformCJSTests task to broccoli
2015-04-13 16:52:08 -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
Alex Eagle
34501aaae6
chore(build): move more broccoli support inside the TypeScript boundary
2015-04-13 12:24:28 -07:00
Igor Minar
dbfc4c1c16
chore(build): inline Traceur options just like we do everywhere
2015-04-13 11:37:18 -07:00
Igor Minar
301863b105
chore(build): transpile only e2e test code into cjs
2015-04-13 11:31:14 -07:00
Igor Minar
ef8dc40492
chore(build): correct comment
2015-04-13 11:31:14 -07:00
Igor Minar
6dbd4d969b
chore(build): create es5build.js only for files that will become es6 npm packages
2015-04-13 11:31:14 -07:00
Igor Minar
3dd0ac1f0a
chore(build): move dart broccoli tree to make-broccoli-tree
2015-04-13 11:20:59 -07:00
Igor Minar
1f6c6dbf2f
chore(build): refactor broccoli trees to generate them in order to reduce duplication
2015-04-13 10:07:31 -07:00
Alex Eagle
daf0f472b3
feat(build): enforce formatting of some files.
...
Our style guide includes formatting conventions. Instead of wasting time in reviewing PRs discussing things like indenting, and to avoid later deltas to fix bad formatting in earlier commits, we want to enforce these in the build.
The intent in this change is to fail the build as quickly as possible in travis, so those sending a PR immediately know they should run clang-format and update their commit. When running locally, we want users to know about formatting, but they may not want to act on it immediately, until they are done working. For this reason, it is only a warning outside of the continuous build.
This is done by having a check-format task which should run on most local builds, and an enforce-format task only run by travis.
2015-04-11 18:39:28 -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
Martin Probst
4e2316c742
feat(build): Add rudimentary TS typings for broccoli.
2015-04-10 16:37:24 -07:00
Alex Eagle
f0477e164a
chore(build): add typescript to the cjs build.
...
Refactor the file extension logic in traceur plugin to simplify
2015-04-10 15:22:03 -07:00
Igor Minar
ea58ef85fc
chore(build): move the js.prod build over to broccoli
2015-04-10 13:11:58 -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
Alex Eagle
b94b04c074
chore(build): Migrate remaining tasks under build.js.dev to broccoli.
2015-04-09 14:09:38 -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
Alex Eagle
de581ea8b3
chore(build): Move broccoli support to own module.
...
Add support for multiple pipelines in different Brocfile's.
2015-04-08 10:41:42 -07: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