Commit Graph

393 Commits

Author SHA1 Message Date
Jeremy Elbourn 5fb022f2b3 chore: update master to angular version 8 beta (#15392)
This allows us to cherry-pick @kara's static query updates from the
`ivy-2019` branch.

This change includes:
* Adding missing dependencies for various Angular subpackages
* Add umd assets where they are now necessary
* Configure bazel to target ES5 output as a workaround for https://github.com/angular/angular/issues/29107
* Updates most npm dependencies to the @npm// workspace
* Updates general workspace setup, RBE config, ngcontainer
* Update to rxjs 6.4.0 (building from source no longer needed)
* Added rxjs_shims for ts_web_test and ts_devserver targets
* Removed index.bzl and angular_material_setup_workspace (not needed anymore since material won't be built from source)
* Use browser_repositories() from @npm_bazel_karma which have pinned browsers that work on all platforms
* Change dgeni processor functions from arrow function to `function` to
work around `@npm//di` not supporting arrow functions

Co-authored-by: Greg Magolan <gmagolan@gmail.com>
2019-03-06 15:16:47 -08:00
Jeremy Elbourn 140c4e05ea chore: bump version to 7.3.3 w/ changelog (#15253) (#15269) 2019-02-21 10:05:44 -08:00
Paul Gschwendtner 45e90a673b build: fix invalid npm "build" script (#15182) 2019-02-13 17:13:06 -08:00
Jeremy Elbourn 2b1de4b7ae chore: bump version to 7.3.2 w/ changelog (#15152) 2019-02-11 15:29:30 -08:00
mmalerba 57aadc2588 chore: add yarn format command and pre-commit hook to ensure code is formatted (#15132) 2019-02-08 16:00:40 -08:00
mmalerba 5a84e3e8b3 chore: bump version to 7.3.1 w/ changelog (#15081) (#15082) 2019-02-04 13:40:47 -08:00
Paul Gschwendtner a36235c0b3 build: update to angular 7.2.1 (#14787) 2019-01-28 16:09:51 -08:00
Andrew Seguin b51f143502 chore: bump version to 7.3.0 w/ changelog (#14987) 2019-01-28 14:01:30 -08:00
Jeremy Elbourn 2d9a8ec974 chore: bump zone.js to 0.8.29 (#14921)
This version bump is necessary to pull in some fixes for testing under
ivy. See https://github.com/angular/zone.js/blob/master/CHANGELOG.md
2019-01-23 11:19:42 -08:00
Paul Gschwendtner 2307489dff build: publish docs-content bazel artifacts (#14634) 2019-01-15 19:55:24 -08:00
Andrew Seguin a9e877675b Revert "build: update to angular 7.2.0 (#14757)" (#14775)
This reverts commit dd28ec10f6.
2019-01-09 15:38:20 -08:00
Paul Gschwendtner dd28ec10f6 build: update to angular 7.2.0 (#14757)
Updates to Angular 7.2.0 which includes:
* https://github.com/angular/angular/commit/ef056c5
* https://github.com/angular/angular/commit/1e6c9be
2019-01-09 10:58:30 -08:00
Paul Gschwendtner aad9876403 build: run release output validations on circle (#14716)
* Runs the release output validations on CircleCI after all release packages have been built.

Closes #12877
2019-01-09 10:44:11 -08:00
mmalerba 22b0ad6135 chore: bump version to 7.2.1 w/ changelog (#14748) 2019-01-07 15:09:28 -08:00
Kristiyan Kostadinov 65ecb0886e fix(typography): deprecation warning in latest sass version (#14673)
* Updates to the latest `node-sass` version.
* Fixes the build not using the `node-sass` version from the package.json.
* Fixes a deprecation warning from the latest SASS version when the consumer has configured a non-string `font-family` (e.g. `Helvetica Neue`).

Fixes #14636.
2019-01-04 10:55:08 -08:00
Paul Gschwendtner 5968b46df0 build: replace custom file casing rule with integrated rule (#14618) 2019-01-02 15:50:17 -08:00
Paul Gschwendtner fe7f95ec10 build: add script to publish release (#14565)
Closes #13455
2018-12-19 13:34:03 -08:00
Paul Gschwendtner ecaec183de build: update to latest karma version (#14563)
* Updates to the latest Karma version that includes https://github.com/karma-runner/karma/commit/cc2eff27deb680f789afb34577fd337d2ad5dcac and should be able to properly restart disconnected browsers. This was a long-term Karma bug and affected CI flakiness significantly.
2018-12-18 16:23:20 -08:00
vivian-hu 06085e05b0 chore: bump version to 7.2.0 w/ changelog (#14566) 2018-12-18 14:59:26 -08:00
Paul Gschwendtner 04c3d6e437 build: update circleci to latest nodejs version (#14550)
* We want to run CircleCI against the latest NodeJS docker image that
also comes with the latest browsers. We currently just locked to a
specific version because dgeni-packages was using a version of
`nunjucks` that didn't work with the latest NodeJS version,

* Updates dgeni-packages that supports a more recent TypeScript version
might therefore be able to parse TS 3.x code that previously was
silently ignored.
2018-12-17 14:41:22 -08:00
Paul Gschwendtner e44cc52215 build: update typescript bazel rules (#14465)
* build: update typescript bazel rules

* Updates the TypeScript bazel rules to the latest version that includes a hotfix for emit diagnostics not being reported. Also it includes https://github.com/bazelbuild/rules_typescript/commit/f9d6edb0ea3e28ae4957ed65e16465d373f13fc6 which is necessary to build the `src:module-typings` on Windows w/ ng_package.

* Update to Angular 7.1.3
2018-12-13 16:54:39 -08:00
Paul Gschwendtner c460728225 build: increase saucelabs connect timeout (#14470)
* build: increase saucelabs connect timeout

At some point we went down from a 2min wait timeout to 30seconds because we re-ran the startup script if something failed. Since re-running didn't really help and we removed it, we should move the timeout back to a longer period.

e.g. see: https://circleci.com/gh/angular/material2/25254 where it successfully acquired a tunnel, but just didn't have enough time to actually establish it.

* Switch to rewritten saucelabs version

* Update to latest saucelabs launcher version
2018-12-13 16:53:16 -08:00
Paul Gschwendtner 399019bcfb build: re-add firebase app types (#14476) 2018-12-11 14:18:48 -08:00
Paul Gschwendtner 1124dc2016 build: fix e2e tests failing due to chromedriver release (#14461)
Apparently the webdriver-manager always uses the _latest_ version of the chromedriver. This is problematic because the CI does not always use the latest chrome version that _works_ with the chromedriver from `webdriver-manager`.

In order to fix this, we lock the webdriver manager version to a specific version. Similarly to how it's done for `angular/angular`.

Note that this also restricts which Chrome versions can be run locally with the e2e tests, but the chromedriver range seems to always cover at least the latest two versions (which works for us)
2018-12-11 11:25:58 -08:00
Paul Gschwendtner e1487dfac4 build: update to angular 7.1.2 (#14418)
* Updates to Angular v7.1.2 so we can use the `ng_package` Windows fixes.
* Updates the NodeJS rules which are now verbose by default (better debugging; and no "silent" analysis phase where people think they got stuck)
* Updates the Sass rules to the latest version.
* Updates the devkit to the latest version so we can verify everything still works.
2018-12-07 11:32:07 -08:00
Paul Gschwendtner d741983385 build: remove unused dependencies (#14353) 2018-12-04 13:38:47 -08:00
Jeremy Elbourn c28a91efec chore: bump version w/ changelog for master (#14372) 2018-12-03 13:46:40 -08:00
Paul Gschwendtner 903a884e2d build: update to angular 7.1.1 (#14352)
Updates to Angular 7.1.1 so that we can take advantage of https://github.com/angular/angular/commit/b9c7da65038912af5df7f531267c14ea2e18c162
2018-12-03 10:49:57 -08:00
Paul Gschwendtner 3982e9edfd build: ensure ci is passing when staging release (#14340) 2018-11-30 17:33:40 -08:00
Kristiyan Kostadinov bb6c956378 build: bump stylelint version (#14343)
We were a few minor versions behind on `stylelint`. These changes update to the latest so we don't end up missing some new warnings.
2018-11-30 17:30:58 -08:00
Paul Gschwendtner bd9645edae build: markdown-to-html rule should apply docs-specific transforms (#14315)
Currently when building the overview and guide files with Bazel, the following things are missing:

* Replacing `<!-- example` comments with the corresponding HTML elements
* Wrapping the HTML output with a `<div class="docs-markdown">` element
* Rewriting relative links to the proper public guide URL.
* Convert headings to "anchored" headings that can be referenced through URL fragments.

All of these points are handled with this commit.
2018-11-28 16:16:03 -08:00
Paul Gschwendtner 141afcfa6e build: switch to browser-sync (#14295)
Switches the gulp-connect dev-server to browser-sync
2018-11-27 09:17:13 -08:00
Paul Gschwendtner 325b6400d0 build: generate changelog as part of staging script (#14250)
* Converts the changelog script into plain TypeScript. This makes it easier to integrate it into the _interactive_ staging script
* Fixes that the "Is this is a pre-release" prompt is not returning a boolean.
* No longer runs the staging script with Bazel because `ts-node` is more convenient and also we can be more context-aware (e.g. paths)
2018-11-26 17:17:02 -08:00
Paul Gschwendtner fccbfb5392 build: remove windows runfile workaround (#14173)
* Since https://github.com/bazelbuild/rules_nodejs/commit/1f97eb6688f08ed8012333c00deea1824762eb68 landed, we can safely remove the workaround by updating the NodeJS and TypeScript Bazel rules.
* Also we are creating our own `getFileContent` testing method because it's not guaranteed that the internal testing utilities from `@schematics/angular` always stay the same. Additionally this works around an issue where `test` folders are excluded in the Bazel managed deps by default.
2018-11-26 16:51:22 -08:00
Joey Perrott df488b0c68 chore: bump version to 7.1.0 w/ changelog (#14222) 2018-11-20 13:57:58 -08:00
Kristiyan Kostadinov e048c2a92d build: bump to latest jasmine (#14188) 2018-11-20 09:14:31 -08:00
Paul Gschwendtner af9a15f04f build: update to angular 7.0.4 (#14143) 2018-11-19 10:57:20 -08:00
vivian-hu 0527029868 chore: bump version to 7.0.4 w/ changelog (#14115) 2018-11-19 10:43:16 -08:00
Paul Gschwendtner 1013758bb0 build: run saucelabs browsers in parallel (#14106) 2018-11-19 10:32:55 -08:00
Paul Gschwendtner 6d7f417392 build: restructure demo-app in favor of bazel (#13965)
Restructures the demo-app by no longer mixing up the `demo-app` name.

Currently the `demo-app` consists of two parts:

  * The demo-app
  * And the accessibility demos

As you can tell above, this is pretty much confusing because it's
technically just consisting of:

  * Accessibility demos
  * Library demos

This change cleans up the naming and makes sure that the modules are
structured in a best-practice way.

It's odd to have the `DemoAppModule` (*not the root module*) that
includes all library demos as a folder next to the actual demo
components.

This makes it extremely hard to convert the demo-app to Bazel because
we cannot target all `.ts` files through `glob` because it only matches
files inside of the same folder (or Bazel package).

In order to make it easy to run the demo-app with Bazel, and to just
clean it up, the folder structure should be as followed:

```
src/a11y-demo/
  | ...

src/dev-app/
  | ${DEMO_COMPONENT}
     | ...
     | BUILD.bazel
  | index.html
  | BUILD.bazel
```
2018-11-15 07:50:46 -08:00
Paul Gschwendtner f31e9be2b0 build: transform guide markdown files with bazel (#14103)
* build: transform guide markdown files with bazel

* Initial implementation of a rule that can transform markdown files to the equivalent HTML output. This is the foundation for packaging the guides into the `//src/material-examples` package (see: https://github.com/angular/material2/issues/13454)

* Address feedback
2018-11-14 14:20:25 -08:00
Paul Gschwendtner e213e778b9 chore: improve ambiguous npm script for linting (#14139) 2018-11-14 14:17:28 -08:00
Jeremy Elbourn 89bb69233f chore: bump to 7.0.3 w/ changelog (#13999)
Also adds browserstack ci changes that didn't get cherrypicked for some reason
2018-11-13 06:56:12 -08:00
Paul Gschwendtner 41bb296995 build: remove @angular/upgrade from dev dependencies (#14068)
* Removes `@angular/upgrade` from the dev dependencies.
2018-11-09 11:16:15 -08:00
Paul Gschwendtner 95a1abe1ac build: update to angular 7.0.3 (#14034)
* Updates our Bazel build as well us the Gulp build to Angular 7.0.3.
2018-11-08 10:05:50 -08:00
Kristiyan Kostadinov 4d5625bf21 build: add check when running npm install (#14021)
Even though we're using `yarn` for everything, it's still easy to fall into the old habit of running `npm i` which could mess up the `node_modules` and generate a new lock file. These changes add a script that throws an error when trying to `npm install`, similar to angular/angular.
2018-11-07 10:05:09 -08:00
Paul Gschwendtner a02e6c64f1 build: remove dashboard (#14023)
* Since we going to move from Travis to CircleCI we don't want to use the dashboard anymore. Since nobody has been
looking at the dashboard frequently, it just makes things more complicated and additionally we will be using
the Github robot in order to keep track of size changes.
2018-11-07 10:04:16 -08:00
Greg Magolan 150c964c32 fix: bazel support for downstream apps (#13836) 2018-11-02 14:33:07 -07:00
Michael Prentice 6afc9712fd build: update codelyzer (#13891)
fix warning with incompatible peerDependencies
2018-10-31 11:23:03 -07:00
Paul Gschwendtner 30a8490299 build: update dgeni-packages (#13881)
* Updates `dgeni-packages` to the most recent version that includes an improvement for parameter types in the docs (148bc949e5880357817b21f1da09ac056ca9c0b0)
* Fixes that the `@angular/bazel` dependency is not being inserted at the proper position (alphabetically)
2018-10-30 10:36:28 -07:00