Commit Graph

215 Commits

Author SHA1 Message Date
Jeremy Elbourn 4f8f6bdd4b chore: use existing screenshot firebase key 2017-07-10 15:45:00 -07:00
Paul Gschwendtner a1a7dcb463 build: fix deploying of screenshot functions
* Updates the dashboard and screenshot deploy script to exit the process immediately if the Firebase token is not set.
* Fixes that the error message of the dashboard still shows the old name of the token variable
* Renames the screenshot variables to follow the dashboard environment variables
* Explicitly specifies the project that will be uploaded in the screenshot deploy script (same as for dashboard)
2017-07-10 15:45:00 -07:00
Paul Gschwendtner 1f97945580 build: fix stylelint deprecation warning (#5618)
* Fixes the stylelint deprecation warning
* Fixes that stylelint lints the compiled bundles from `dist/` folders of the `dashboard` or `screenshot` app
* Updates the package-lock with NPM@5.1
2017-07-10 11:38:45 -07:00
Paul Gschwendtner 077ebf63c5 build: fix rollup globals for examples package (#5611)
Recently the rollup globals have been changed because the operators are no longer applied to the prototype (using `/add/` imports).

This now causes some warnigns and invalid id's in the bundles of the Material examples because those still use the `/add/` imports in some examples.
2017-07-08 23:20:34 -07:00
Paul Gschwendtner 5f9a64b526 build: fix dashboard deployment (#5610)
* Fixes the dashboard deployment to Firebase. Currently the deployment is being cancelled because the functions are having compilation errors (due to TypeScript definition updates of `express`)
2017-07-08 23:20:06 -07:00
Paul Gschwendtner 1936d9ee59 chore(dashboard): fix invalid curve for payload chart (#5609)
The dashboard payload size chart showed invalid curves for the Material and CDK package size. This happened because there were multiple different values for the same day (multiple PRs merged into master at the same day). Removing the duplicate values and only taking the last result of the day ensures that the curve is always correct and also makes the chart way better in performance.
2017-07-08 23:19:46 -07:00
Austin be0c7a2ae8 chore(script): autogenerate examples module and metadata (#5608) 2017-07-08 23:19:07 -07:00
Paul Gschwendtner 589dc05149 build: enable no-unused-variable lint rule (#5184)
* Now TSLint starts reporting unused variables again (Rule has been un-deprecated and now uses the type checker
* In favor of linting the whole project the tsconfig file inside of `src/` needs to live in the project root.
2017-07-07 11:42:52 -07:00
Paul Gschwendtner e3f3233c88 build: dgeni is building docs twice (#5536)
* With #5429 dgeni runs twice when running the `gulp docs` command. This is because the dgeni generate function has been added to the `dgeni/index.js` file.
2017-07-06 15:52:01 -07:00
Jeremy Elbourn 8a74973c8a docs(table): add missing table JsDoc (#5525) 2017-07-05 18:50:27 -07:00
Jeremy Elbourn 3181335074 Revert "build: publish build tools on github (#5458)" (#5526)
This reverts commit 0675568d03.
2017-07-05 18:10:22 -07:00
Kristiyan Kostadinov 79fb7582dd build: fail build for prerender errors in lifecycle hooks (#5459)
* Currently the build won't fail if an error is thrown inside a lifecycle hook, because `platform-server` writes it to STDERR, but still exits with a 0 code. These changes set up the Universal testing task to fail for these cases as well. This should prevent issues like #5455 in the future.
* Stops logging the entire rendered document after the prerender task is done. This makes the log a bit easier to look through.
2017-07-05 16:30:11 -07:00
Paul Gschwendtner 0675568d03 build: publish build tools on github (#5458)
* Publishes the material2-build-tools on Github.
2017-07-05 16:29:52 -07:00
Jeremy Elbourn 45624077c6 docs: add temporary docs for cdk (#5429) 2017-07-05 16:29:35 -07:00
Andrew Seguin 6499ccbb5c Table docs (#5449)
* docs(table): initial table docs

* add filtering msg

* add overview

* fix height

* split cdk table into guide

* revisions

* add to examples

* fix heading

* example changes

* lint

* example style prefix, rename file

* newline
2017-07-05 16:28:51 -07:00
Jeremy Elbourn 8ae4d9d085 build: add flatModuleIndexRedirect to generated metadata redirect (#5512) 2017-07-05 10:35:22 -07:00
Paul Gschwendtner 41942d4678 build: use sequence task function from build-tools (#5473)
* Switches the manual use of `run-sequence` to the utility function `sequenceTask` from the build-tools.
2017-07-05 10:34:05 -07:00
Paul Gschwendtner 9d621c7a82 build: livereload not working for cdk changes (#5452)
When serving the demo-app the Material package will be watched using the generated `material:watch` task. This does not mean that the `cdk:watch` task will run too because Material depends on the CDK.

With this change, the watch task will now also run the watch tasks of the packages it depends on.
2017-06-30 16:28:17 -07:00
Paul Gschwendtner 17c4a44683 chore: dashboard depends on cdk builds (#5395)
Recently stuff has been moved to the CDK and the `material2-builds` repository now depends on the `@angular/cdk`.

Since the dashboard uses the latest version of Material (material2-builds) the CDK dependency needs to be added.
2017-06-29 10:32:19 -07:00
Paul Gschwendtner 58aa0e2c1f chore: enforce whitespace before the opening brace of a block (#5409)
* Enforces whitespace before the opening brace of a block. This makes sure that the code is consistent is everywhere.
2017-06-29 10:31:08 -07:00
Paul Gschwendtner f35f02676c chore: initial chart for dashboard (#5360)
* Adds the initial chart for the payloads inside of the dashboard.
2017-06-27 16:08:56 -07:00
Kristiyan Kostadinov 38b365c21f build: add stylelint rule to prevent nested mixins (#5354)
Adds a Stylelint rule that will prevent uses of nested mixins. This will help prevent issues like #5232 in the future.
2017-06-25 08:18:18 -07:00
Kristiyan Kostadinov f89261eea6 build: add lint rule to prevent rxjs patch imports (#5344)
Adds a rule that will ensure that we don't use patch imports in the library and cdk files.
2017-06-24 05:45:44 -07:00
Kristiyan Kostadinov e488e3fa24 feat: remove uses of rxjs patch operators (#5314)
Refactors the entire codebase not to use the patch operators from RxJS, because they pollute the user's setup. Instead, opts into importing the operators directly and chaining them via the `RxChain` class.

Fixes #2622.
2017-06-23 13:32:24 -07:00
Andrew Seguin 85fb00a151 feat(pagination): initial pagination component (#5156) 2017-06-23 11:51:39 -07:00
Kristiyan Kostadinov 2bf7024527 feat: add support for strict null checks (#5094) 2017-06-21 10:13:52 -07:00
Paul Gschwendtner 665e667e2d build: payload task fails if functions are down (#5217)
It can happen that the firebase `payloadGithubStatus` function is temporary disabled because a deploy failed (for example due to deploying while function executes).
This leads to a failure inside of the payload CI task because the task is trying to parse the body using JSON (which is not always a JSON response)

It's not worth trying to parse the JSON value since it's only used for debugging and to give an insight what's going on in the functions.
2017-06-19 11:48:47 -07:00
Paul Gschwendtner 39f22c2aa2 build: remove duplicate licenses in bundles (#5195)
* No longer includes the license comments from every source file in the different FESM and UMD bundles.
* Build packages are now emitted with explicit `LF` line endings instead of platform dependent line endings.
2017-06-19 09:30:52 -07:00
Paul Gschwendtner b456eed0b7 build: keep license comment in minified umd (#5196)
* The `preserveComments` option from the old uglify gulp plugin is not valid for the programmatic API. Setting the `comments` option `some` means that license commens will be preserved.
2017-06-19 09:30:37 -07:00
Paul Gschwendtner 135c1df62e build: firebase integration for dashboard (#5182)
* build: firebase integration for dashboard

* As part of the initial dashboard setup, this installs Angular Fire and Angular Material in the dashboard.
* For testing purposes the list of all payload results will be printed right now.

* Address feedback
2017-06-19 09:30:17 -07:00
Paul Gschwendtner 9945ed75b4 build: move packaging out of gulp folder (#5063) 2017-06-16 10:58:34 -07:00
Paul Gschwendtner c8e56b535e build: initial dashboard project (#5148) 2017-06-16 10:22:33 -07:00
Paul Gschwendtner f579ea130f build: faster artifacts deploy script (#5149) 2017-06-15 13:31:15 -07:00
Paul Gschwendtner 7b5b18d5e7 build: get previous payload by querying git (#5122) 2017-06-14 14:50:37 -07:00
Paul Gschwendtner d45d37ae20 build: tslint rule to ensure license banners are set (#5133) 2017-06-14 14:16:40 -07:00
Paul Gschwendtner de68202971 build: enable noUnusedParameters check (#5091) 2017-06-13 11:48:02 -07:00
Paul Gschwendtner 46edae64ba build: separate payload diffs for packages (#5106) 2017-06-13 10:11:23 -07:00
Paul Gschwendtner 88089a7648 build: remove url from payload status (#5092) 2017-06-12 13:48:24 -07:00
Paul Gschwendtner 4bb3c8b909 build: generate docs for expansion (#5054) 2017-06-12 11:00:57 -07:00
Paul Gschwendtner 349c2d6c42 build: fix payload function invalid diff (#5059) 2017-06-12 11:00:01 -07:00
Kristiyan Kostadinov a6456a2352 build: missing import in payload script (#5058) 2017-06-12 10:56:45 -07:00
Paul Gschwendtner c2816efde4 build: payload github status (#4549)
* build: payload github status

* Show payload deta on PRs using the Github Statuses API.

* Update config variables
2017-06-09 16:09:26 -07:00
Paul Gschwendtner 3a23d313d0 build: fix missing prebuilt themes (#5042)
* build: fix missing prebuilt themes

* Fixes that the prebuilt themes are not copied over to the release output.
* Introduces two more checks (specifc for material) in the validate-release task
* Fixes that the generation of the theming SCSS bundle happens outside of gulp.

Fixes #5038

* Logic improvements.
2017-06-09 16:08:56 -07:00
Paul Gschwendtner bae213d5f7 build: dynamic build config for packaging (#4939)
* build: dynamic build config for packaging

* Make discussed changes
2017-06-08 11:24:58 -07:00
Paul Gschwendtner 22e14490d2 build: fix dashboard error (#5010)
* Fixes a TypeScript error in the dashboard functions.
2017-06-08 11:24:49 -07:00
Joey Perrott cac7610460 feat(expansion-panel): introduce expansion panel" 2017-06-07 16:54:31 -07:00
Paul Gschwendtner 3e993b651c fix(dialog): invalid text color in dark themes (#4849)
In dark themes the dialog container will have a dark background and the text should therefore have a light text color.

Currently the text color is still dark on a dark background which causes the dialog to look bad in dark themes.
2017-06-05 15:43:56 -07:00
Paul Gschwendtner 84c80ec0d6 build: fix duplicate members in dgeni docs (#4956)
Recently Dgeni switch to a more recent version of TypeScript and now getters and setters are counting as individual members. This causes different properties to show up twice in the API docs.

Fixes this temporary by filtering duplicate member docs. Also removes the inhertied docs processor since it doesn't work and needs some more work in the `dgeni-packages` repository.

Fixes #4923
2017-06-05 14:50:24 -07:00
Paul Gschwendtner 98ce6357d3 build: remove github status api (#4957)
Removes the Github Status API from Gulp since it's not used anymore and won't be used anymore. The reason is that all API requests to Gtihub will happen from Firebase functions

Sending requests to the Github API from Firebase functions ensures that nobody can leak Github / Access tokens and that we can send API requests for Pull Requests too.
2017-06-05 14:50:14 -07:00
Andrew Seguin 41c43cc3ec fix(navbar): update ink bar when links change (#4897)
* fix(navbar): update ink bar when links change

* remove add link

* fix test

* change strategy - use mutation observer

* cleanup
2017-06-05 14:45:19 -07:00