Commit Graph

174 Commits

Author SHA1 Message Date
Jeremy Elbourn d70a669f79 chore: add material-examples to e2e-app (#5735) 2017-07-17 11:14:15 -07:00
Jeremy Elbourn ac104c34b6 chore: update package-lock with npm 5.2 (#5683) 2017-07-12 15:22:30 -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
Jeremy Elbourn ac3e21a334 chore: bump version to beta.8 w/ changelog (#5541) 2017-07-06 10:04:10 -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
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
Paul Gschwendtner 3580806adb chore: remove invalid rx type dependency (#5462)
* At some point the `@types/rx` package has been added as a dependency on the project. The `@types/rx` are not for the RxJS implementation that Angular uses. Also RxJS provides typings on it's own since it's build using TypeScript.
2017-07-05 10:33:34 -07:00
Paul Gschwendtner 288f00ebc7 chore: build cdk and material in npm build task (#5376)
Apparently developers that clone the Material repository to get their own version of Material are running the `npm run build` command and are expecting the CDK and Material release output to be inside of the `dist/` folder.

Currently only the Material package will be built and the CDK isn't built at all. This commit changes the npm build task so that it builds every release package of the publish task.

Closes #5372
2017-06-27 16:09:32 -07:00
Jeremy Elbourn 8c9c11a4b0 fix(autosize): resize when form value changes. Fixes #4657 (#5315) 2017-06-23 13:01:25 -07:00
Jeremy Elbourn c220bb5260 chore: bump version to beta.7 with changelog (#5223) 2017-06-19 14:40:55 -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 fffff6c9f2 build: explicitly add tsc-wrapped to dev dependencies (#5029)
The dependency on `tsc-wrapped` should be added explicitly. Our tooling uses the `@angular/tsc-wrapped` package directly and it currently only works because the `@angular/compiler-cli` has a dependency on it.

If not specified explicitly, the `@angular/tsc-wrapped` dependency might be a local dependency of the compiler-cli and our tooling won't be able to access it anymore.
2017-06-09 16:09:14 -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 970847e4a4 build: fix universal prerendering task (#4931)
Fixes the Universal Prerendering task by using the same workaround as for the AOT job (building sources in the output directory already)

Building the sources in the output directory (similar as for the AOT task) is theonly known workaround for https://github.com/angular/angular/issues/12249
2017-06-02 09:39:49 -07:00
Paul Gschwendtner 965bf18e49 build: no sourcemaps in inline styles (#4885)
* In components inline styles there shouldn't be any Sourcemap reference. This adds bloat and also doesn't do anything right now.
* No longer builds sourcemaps for all compiled SCSS. The sourcemaps don't work for development either (styles are inlined too)
* Prebuilt themes no longer contain source-maps.
2017-05-31 16:19:43 -07:00
tinayuangao 57c45a167b chore: bump version to beta.6 w/ changelog (#4810) 2017-05-25 15:28:54 -06:00
Paul Gschwendtner 58c8404d73 build: use travis build stages (#4766) 2017-05-25 14:37:00 -06:00
Jeremy Elbourn e3b2587294 build: import tslib instead of letting tsc generate helpers (#4787) 2017-05-25 14:36:02 -06:00
Paul Gschwendtner a41ef278cb build: upgrade dev dependencies (#4707)
* build: upgrade dev dependencies

* Upgrades outdated development dependencies to the latest versions.
* Skipped upgrading Autoprefixer due to a breaking change with the Browserlist.
* Skipped upgrading UglifyJS due to unresolved issues in UglifyJS3
* Skipped upgrading google-closure-compiler due to https://github.com/alexeagle/closure-compiler-angular-bundling/issues/30
* Skipped upgrading jasmine types because they now enforce types in `expect` calls (which is nice) but for Protractor the `expect` automatically unwraps promises (See https://github.com/angular/protractor/issues/4176)

* Lock jasmine types
2017-05-22 15:59:11 -06:00
Paul Gschwendtner 54142a684c build: fix deploy script in package.json (#4548) 2017-05-15 11:19:48 -07:00
Jeremy Elbourn 6121fa18ba chore: bump version to beta.5 w/ changelog (#4523) 2017-05-12 17:17:13 -07:00
Kara aaa09b5b82 chore: bump version to beta.4 and update changelog (#4511) 2017-05-12 12:17:53 -07:00
Paul Gschwendtner 2b8f753028 build: use shared logic to build packages (#4202)
* build: use shared logic to build packages

* No longer creates the whole set of gulp tasks just to build a single package.
* Makes the package building & releasing more consistent. No extra `build:release` just for the `lib` package.

References #4108

* Address feedback
2017-04-25 09:50:47 -07:00
Paul Gschwendtner 7c81698e17 build: dedupe theming scss bundle (#4174)
Fixes #3931
2017-04-20 18:45:01 -07:00
Paul Gschwendtner f7c45b2725 build: move functions folder into tools/ (#4127) 2017-04-18 15:07:46 -07:00
Paul Gschwendtner 008e1abc5d build: fix screenshot golden upload (#4128)
* Fixes the Google Cloud Storage upload for the goldens.

The issue seems to happen because the `@google-cloud/storage` package has been installed manually and the `google-cloud` now uses a different storage version than before. Noticed this while debugging the `google-cloud` package.
2017-04-18 11:31:49 -07:00
Paul Gschwendtner 1328307bb8 build: remove outdated tslint rule (#4121)
* At some point in tslint the `no-unused-variable` rule has been deprecated in favor of `noUnusedLocals` and `noUnusedParameters`. Since we don't want to have compilation errors for unused variables we re-implemented the `no-unused-variable` rule ourself and used it as a custom rule.

* Recently we switched to a newer version of TSLint and TypeScript and the custom tslint rule won't ever work again. (tslint now requires a type-checker to be enabled). The custom rule fails currently and causes TSLint to not work with some editors (e.g Webstorm).
2017-04-18 09:24:33 -07:00
tinayuangao 25a688106c feat(pixacto): use TypeScript for tooling and refactor into tools/ (#3732)
Move code to TypeScript and perform several clean-up refactorings
2017-04-17 11:52:47 -07:00
Paul Gschwendtner 0acd4d9262 build: create sourcemap files (#4022)
* Creates sourceMap files for all bundles inside of the release.

Fixes #852
2017-04-13 12:56:47 -07:00
Jeremy Elbourn 94320c4e68 chore: update tslint to v5 and fix newly surfaced issues (#3958) 2017-04-07 16:59:03 -06:00
Jeremy Elbourn f396657b04 chore: bump version to beta.3 and add changelog (#3953) 2017-04-07 14:59:46 -06:00
Daniel H 98c0b1d58e build: fix build script in package.json (#3915)
Previously the build script tried to run an invalid gulp task.
2017-04-05 11:18:50 -06:00
Paul Gschwendtner 51cfb5f75f build: run closure-compiler (#3789)
* build: run closure-compiler

* Adds a script that runs the closure-compiler against the devapp / demo-app.
* The script will run on the CI as a new mode. Ensuring that all our components are closure-compatible.

Fixes #1206.

* Address feedback
2017-03-30 02:13:19 +08:00
tinayuangao 23d18a80b3 test(screenshot): enable screenshot tests w/ Firebase Functions and JWT (#3628)
Set up firebase functions to copy valid data to firebase storage/database
Use JasonWebToken to validate data written to firebase
Github Status change will be done in another PR
Result at: https://material2-screenshots.firebaseapp.com/3628
2017-03-24 17:40:25 -07:00
Jeremy Elbourn 5f360f9a08 build: package theming files into release output (#3776) 2017-03-24 17:37:11 -07:00
Jeremy Elbourn 71229756a5 build: update packaging to match angular/angular (#3751)
* build: restructure release output

* build: inline metadata.json resources

* build: output re-export meatadata.json file in package root
2017-03-24 14:06:45 -07:00
Kristiyan Kostadinov a25e7bb09b chore: bump to angular 4 final (#3752)
Bumps the version to Angular 4 final. The release is pretty safe and shouldn't need any code changes.
2017-03-24 10:20:19 -07:00
Kristiyan Kostadinov cd55082a48 feat: angular 4 compatibility (#3608)
* Bumps the required Angular version to 4 and TypeScript to 2.1.6.
* Fixes deprecation warnings for `<template>` usages.
* Fixes any unit and e2e test failures.
* Includes the new animations module and switches any components that use animations to it.
* Fixes issues with the various test apps.

Fixes #3357.
Fixes #3336.
FIxes #3301.
2017-03-23 14:46:47 -07:00
Paul Gschwendtner b810e11fa4 build: ship esm bundle (#3443)
* build: ship esm bundle

* Now ships a Flat / ESM bundle (similar as for Angular 4+ releases)
* In future PRs we will remove the single ES-files and can just link to the ES bundle (as in angular/angular).

* Use template strings for diagnostic
2017-03-17 13:25:01 -07:00
Kristiyan Kostadinov 7cfece2540 build: replace gulp-autoprefixer (#3563)
* build: replace gulp-autoprefixer

* Removes `gulp-autoprefixer` in order to avoid issues with Google's internal build system.
* Switches to adding vendor prefixes via SCSS mixins.
* Adds a custom Stylelint plugin that utilizies Autoprefixer to find unprefixed properties, values, @rules etc.

Fixes #3536.

* fix: missing import

* fix: address feedback
2017-03-17 11:13:38 -07:00
Dale Lotts bf2b6150df fix(package.json): Fix failing npm run api command (#3462)
api script was running the incorrect gulp command.
2017-03-14 13:10:27 -07:00
mmalerba 5960ade305 class alias tags in html generated from markdown (#3525)
* class alias tags in html generated from markdown

* addressed comments

* address comments
2017-03-09 14:00:55 -08:00
Paul Gschwendtner bbe9519535 build: upload coverage to firebase (#3435)
* Introduces a gulp task that will run on Travis Push builds and will upload coverage results to a Firebase database.

Closes #128.
2017-03-08 18:09:57 -08:00
Paul Gschwendtner d78a370f3e build: upgrade dev dependencies (#3440)
* Upgrades outdated devDependencies to the latest version.
2017-03-06 16:52:56 -08:00
Paul Gschwendtner 4ee2aef07c build: run tslint on tool files (#3436)
* Since we had a lot of TSLint issues on our tooling scripts & tasks, we should run TSLint on those as well.
* Also updates Dgeni to latest version, because it now supports TypeScript typings.
2017-03-06 16:52:21 -08:00
tinayuangao bd6feb382b feat(screenshot): Add a gulp to compare screenshot diffs, upload results to gcs & firebase (#2774)
* Add google cloud storage

* Add screenshots to e2e test

* Renamed functions. Add types. Remove firebase, use firebase-admin

* dependencies

* Save pull request sha to firebase db

* Save travis job id

* Add function to update github commit status

* remove update status code

* Add update status

* Address comments

* Add fs-extra

* try using ES6 Promise

* .

* Fix cannot find name promise

* Add back function to save filenames to firebase

* Update comments
2017-02-21 11:29:49 -08:00
Andrew Seguin c992e5f498 chore: bump version to beta.2 (#3118)
* release: generated changes

* updating breaking changes

* minor changes

* add a fun inventive name that sets up apart from everyone else

* add note that forroot is deprecated

* add note about module

* fix select

* add new line for module example

* add ts styling

* add md input example

* indent input example
2017-02-15 16:17:47 -08:00
Paul Gschwendtner 8eb9f88520 build: fix jasmine types (#3080) 2017-02-13 14:07:50 -08:00
Paul Gschwendtner 140c95c2e8 build: increase minimum angular version (#3017)
* Currently Angular Material supports Angular v2.2.0, but some components already use methods that are only available in `v2.3.0`.
  This means that Material isn't really compatible with v2.2.0 anymore.

* Since Angular `v.2.3.0` includes a lot of good fixes (like proper metadata inheritance) we should upgrade to `v2.3.0`.
  See https://github.com/angular/angular/commit/f5c8e0989d85bc064f689fc3595207dfb29413f4

Related to #2394
2017-02-10 15:17:56 -08:00