Commit Graph

164 Commits

Author SHA1 Message Date
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
Paul Gschwendtner 902edd0213 chore: update tslint to latest version (#2952)
* chore: update tslint

* Updates TSLint to the latest version.
* Due to some breaking changes we had to temporary disable the `no-inferrable-types` rule. Need to revisit once https://github.com/palantir/tslint/issues/2158 is addressed.

References #2175

* Use custom tslint rule
2017-02-10 02:33:35 +08:00
Raven Avalon f73fd7d9ea chore(tools): add syntax highlighting logic for examples (#2951) 2017-02-09 07:02:37 +08:00
Kristiyan Kostadinov 86a10d216c chore: fix deprecation warning and bump stylelint version (#2932)
Removes a deprecated Stylelint from our config and bumps the Stylelint version.
2017-02-09 07:02:07 +08:00
Paul Gschwendtner 46edc235d7 chore: bump dev dependencies (#2890)
* Updates some outdated dependencies in the material2-srcs package.
2017-02-06 14:58:22 -08:00
Kristiyan Kostadinov 89351eba06 chore: include web animations polyfill in demo app (#2848) 2017-02-02 13:58:18 -08:00
Paul Gschwendtner 4a4261e141 build: use typescript cli for compilation (#2802) 2017-01-30 12:08:59 -08:00
Elad Bezalel 408c58d569 style(branding): branding consistency fixup (#2805)
fixes #2803
2017-01-26 15:35:39 -08:00
Paul Gschwendtner 55b9224893 chore: run travis with Node LTS version (#2786)
* Switches Travis CI to the NodeJS LTS release. `6.9.4`.
* Changes the package.json name for the sources to be similar as in `angular/angular`.
2017-01-24 14:16:37 -08:00
Paul Gschwendtner d1381b6f03 chore: cleanup dev-dependencies (#2654)
* chore: cleanup dev-dependencies

* Removes unused dev-dependencies from Angular CLI-times.
* Bumps versions for packages which have a newer version available.
* Pushes the yarn.lock file as disucssed.

* https://github.com/angular/dgeni-packages/commit/8ad91e57860b7b0ac622e82f8e6361d1ad7587d2

* Don't upgrade firebase CLI
2017-01-17 17:28:11 -08:00
Paul Gschwendtner 4ab6f30f50 chore(e2e): update to latest protractor version (#2608)
* chore(e2e): update to latest protractor version

* Updates to the latest Protractor version, which now uses Selenium V3
* The new types for Protractor v5 include the fix for the missing `chord` function (See https://github.com/DefinitelyTyped/DefinitelyTyped/commit/123690bb2e0f9dac2371084369a8ecf8976cbb34)
* Methods like `innerHtml` have been removed in Protractor v5 (https://github.com/angular/protractor/blob/master/CHANGELOG.md)

* Test later chromedriver version
2017-01-13 14:59:01 -08:00