Commit Graph

20 Commits

Author SHA1 Message Date
Paul Gschwendtner 240acf6a57 build: update bazel sass rules (#13622) 2018-10-16 12:36:31 -04:00
Paul Gschwendtner d128fffcd6 build: test cdk with bazel (#13575)
* build: test cdk with bazel

* Add comment for bazel tsconfig files

* CDK tsconfig sync with Bazel build tsconfig
2018-10-15 09:35:51 -07:00
Paul Gschwendtner 282736f8be build: build cdk with angular from source (#13541)
* build: build cdk with angular from source

* Continues the long-term Bazel goal by fixing the CDK bazel build
targets. Also builds the CDK targets with Angular from source.

Follow up's will try to make serving, and testing possible.

* Build package on CI

* No longer compile with AOT compiler that generates factory files that cannot be packaged into "ng_package"
2018-10-11 10:00:40 -07:00
Paul Gschwendtner da63c6f850 build: switch to yarn (#13362)
* build: switch to yarn

* Use more recent version of Yarn
2018-10-05 14:37:41 -07:00
Paul Gschwendtner 3254992a8e build: update bazel typescript rules (#13408)
* Updates the Bazel TypeScript rules.
* Fixes a test case which doesn't match the name of the upgrade data it runs with (`css-names` --> `css-selectors`)
* Removes Bazel version check (the NodeJS rules automatically check the Bazel version based on the version of the NodeJS rules)
2018-10-04 11:52:59 -07:00
Paul Gschwendtner ac3f8c4d1a feat(schematics): support for ng add (#13319)
* Introduces support for `ng add @angular/cdk`. Note that this currently just sets up the `package.json` but is necessary because otherwise the CLI will complain about the `ng-add` schematic not being available.
* Upgrades Bazel workspace rules in favor of removing Bazel manual-copying workarounds for the schematics. This also allows us to switch over to fine-grained dependencies in a follow-up (making it consistent with angular/angular).
* Use fine grained dependencies in schematics bazel rules
2018-09-27 07:44:49 -07:00
Kristiyan Kostadinov d424c70676 build: update to TS 2.9 and enable strictFunctionTypes (#12182)
Bumps the project to TypeScript 2.9, enables the `strictFunctionTypes` everywhere and fixes the various errors.

Fixes #12177.
2018-08-28 07:17:26 -07:00
Jeremy Elbourn 94f4ce1c72 build(bazel): switch to rules_sass 0.1.0 (#11683)
This brings us to the newest version of rules_sass, which I just
released after work by Alex Eagle and Natalie Weizenbaum that switches
over to the new cannonical Dart-based compiler and aligns the rule APIs
with the ones we have inside Google.

The good thing here is that this eliminates the need to have all of the
genrules that rename the css output.
2018-06-06 22:54:28 -07:00
Jeremy Elbourn ce0040d39d build: fix and re-enable bazel unit tests for the cdk (#11278) 2018-05-10 17:01:04 -07:00
Jeremy Elbourn 0a3cfa7934 fix(schematics): add ng-update config to package.json (#10844) 2018-04-13 15:27:20 -07:00
Jeremy Elbourn 09a60bbc3e build(bazel): add version stamping (#10687) 2018-04-09 12:44:55 -07:00
Kristiyan Kostadinov a9750c1ce3 build: bump to angular 6.0.0-rc.1 and rxjs 6.0.0-rc.0 (#10642)
Bumps to the latest Angular and RxJS RCs and fixes a compilation error in the postinstall script.
2018-04-03 12:27:57 -07:00
Jeremy Elbourn 9091b21f6f build(bazel): add rule for cdk npm package (#10509)
* build(bazel): add rule for cdk npm package

* Bump to rc0, remove moment from cdk rollup config

* Remove TODOs
2018-03-22 14:21:04 -07:00
Jeremy Elbourn fcc09089c3 build: create sass_bundle bazel rule (#10055)
This defines a bazel rule to bundle sass partials into a single file
using the "scss-bundle" npm package. The rule definition is commented so
that it can serve as an example for creating other rules in the future.

I've also added the missing build file for badge so that its theme can
be included in the bundle.
2018-03-12 11:12:38 -07:00
Joey Perrott c224300dd2 chore: update to angular 6.0.0-beta.7 (#10318) 2018-03-08 14:29:34 -08:00
Kristiyan Kostadinov 669d607d13 chore: bump to Angular 5.2.x (#9770)
Bumps to the latest minor version of Angular now that a compilation error, that was blocking us previously, has been resolved. Also fixes a couple of AoT errors in the demo app.
2018-02-09 14:19:44 -08:00
Paul Gschwendtner 035ea3c6eb build: fix bazel ci compilation (#9267)
* Fixes the Bazel CI compilation by aligning the WORKSPACE with the latest one from angular/angular
2018-01-08 09:30:14 -08:00
Jeremy Elbourn 444784bcc9 build(material): add bazel rules for all components (#8457) 2017-12-19 17:12:39 -08:00
Jeremy Elbourn f10c63e9c5 chore: update build rules for rxjs supporting bazel (#8875) 2017-12-07 14:34:09 -08:00
Jeremy Elbourn cf39a419ff build(cdk): add bazel ng_module rules (#8370)
Part of #8369
2017-11-15 11:47:56 -08:00