186 Commits

Author SHA1 Message Date
Igor Minar
84ad0ccfa0 build: update source-map-support to get rid of Node's DeprecationWarning ()
Removes the following when bazel runs any of our jasmine_node_tests:

(node:85494) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from()
 methods instead.

I was able to find the source of the warning by running the target with the following tags:

```
bazel test packages/language-service/... --test_arg=--node_options=--throw-deprecation
```

PR Close 
2018-12-07 11:53:21 -08:00
Alex Eagle
cab5927bd5 ci: use buildifier binary release ()
Switch from Skylint to buildifier --lint - this is required for the Bazel 0.20 upgrade since Bazel no longer lets us use the embedded JDK to build and run Java programs, and Skylint is a Java program

PR Close 
2018-12-07 09:27:32 -08:00
Igor Minar
26433509f9 build: to fsevents@2.0.1 ()
the old version was failing to compile on MacOS Mojave 10.14.1.

PR Close 
2018-12-05 10:48:19 -08:00
Alex Eagle
89bf06c28c build: update to newest ibazel ()
this supports the --define flag which we use for Ivy development

PR Close 
2018-12-04 20:00:06 -08:00
Keen Yee Liau
a72250bace build(bazel): Add Bazel builders ()
PR Close 
2018-11-21 07:46:42 -08:00
Alex Eagle
81e975ad93 build: update to latest Bazel rules_typescript ()
PR Close 
2018-11-17 12:19:32 -08:00
mrmeku
b07bd30b70 feat(bazel): Bazel workspace schematics ()
This commit creates a schematics for Bazel workspace.

PR Close 
2018-11-16 12:18:06 -08:00
Pete Bacon Darwin
eb5d3088a4 build: update canonical-path dependency ()
This new version (1.0.0) provides a typings file!

PR Close 
2018-11-01 13:49:10 -07:00
Paul Gschwendtner
8fc4ae51fb build: use bazel version from node modules ()
* No longer depends on a custom CircleCI docker image that comes with Bazel pre-installed. Since Bazel is now available through NPM, we should be able to use the version from `@bazel/bazel` in order to enforce a consistent environment on CI and locally.
* This also reduces the amount of packages that need to be published (ngcontainer is removed)

PR Close 
2018-10-30 16:19:13 -04:00
Greg Magolan
15c2467dbd build: review comments addressed ()
PR Close 
2018-10-19 20:59:29 -07:00
Greg Magolan
8d5e3e6981 build: update to rules_typescript 0.20.3 and rules_nodejs 0.15.1 ()
PR Close 
2018-10-19 20:59:29 -07:00
Greg Magolan
5da3b00222 build: restore integrity lines in yarn.lock ()
PR Close 
2018-10-19 20:59:29 -07:00
Greg Magolan
6468711e16 build(bazel): update to rules_typescript 0.20.2 () ()
PR Close 
2018-10-19 20:59:29 -07:00
Greg Magolan
d698b0eadf build: update to rules_typescript 0.20.1 and rules_nodejs 0.15.0 () ()
PR Close 
2018-10-19 20:59:29 -07:00
Greg Magolan
1f3331f5e6 build(bazel): use fine-grained npm deps () ()
PR Close 
2018-10-19 20:59:29 -07:00
George Kalpakas
9e32dc7c95 build: upgrade @types/jasminewd2 to 2.0.4 ()
This commit also removes the extra jasminewd2 typings, since the changes
have been merged in the official typings with
DefinitelyTyped/DefinitelyTyped#28957.

PR Close 
2018-10-12 14:11:11 -07:00
Igor Minar
9993c72335 feat: add support for TypeScript 3.1 ()
PR Close 
2018-09-28 09:34:51 -07:00
Brandon Roberts
4d544bcb46 style: update gulp task to format untracked and diff files separately ()
PR Close 
2018-09-27 12:09:08 -07:00
Brandon Roberts
ac3252a73b style: add gulp task to only format changed files ()
Closes 

PR Close 
2018-09-27 12:09:08 -07:00
Ben Lesh
ffc6e199bf build: RxJS updated to 6.3 ()
PR Close 
2018-09-26 17:01:15 -07:00
Adam Plumer
3fb0da2de5 feat(platform-server): update domino to v2.1.0 ()
PR Close 
2018-09-19 16:07:36 -07:00
George Kalpakas
2c40a86b61 build: update conventional-changelog and simplify changelog gulp task ()
The version prefix issue has been fixed with
conventional-changelog/conventional-changelog#179.

PR Close 
2018-09-18 13:21:26 -07:00
Pete Bacon Darwin
9b1bb370a3 fix(ivy): ngcc should compile entry-points in the correct order ()
The compiler should process all an entry-points dependencies
before processing that entry-point.

PR Close 
2018-09-18 13:06:28 -07:00
Pete Bacon Darwin
976389836e build: update node type version ()
PR Close 
2018-09-18 13:06:28 -07:00
Alan Agius
5653fada32 feat: add TypeScript 3 support ()
PR Close 
2018-08-27 21:07:53 -04:00
George Kalpakas
06af7943a4 test(upgrade): run tests against AngularJS v1.7.x as well ()
PR Close 
2018-08-01 14:10:21 -07:00
Greg Magolan
7d6b258778 build: revert yarn.lock rxjs version to 6.0.0 ()
PR Close 
2018-08-01 13:23:35 -07:00
Pete Bacon Darwin
a673494412 build: add dependencies to be used by ngcc ()
PR Close 
2018-07-27 17:15:31 -07:00
Greg Magolan
1d051c5841 build(bazel): use bazel managed node_modules for downstream angular from source build support ()
PR Close 
2018-07-26 17:02:21 -07:00
George Kalpakas
d571a51739 build: upgrade karma and related dependencies ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
86b1cc7313 build: upgrade jasmine to 3.1.0 ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
787c54736c test: run unit tests in random order ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
c0e2dba07b build: upgrade jasmine to 2.99.x and fix tests ()
PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
00c110b055 build: upgrade jasmine (and related typings) to latest version ()
With these changes, the types are a little stricter now and also not
compatible with Protractor's jasmine-like syntax. So, we have to also
use `@types/jasminewd2` for e2e tests (but not for non-e2e tests).

I also had to "augment" `@types/jasminewd2`, because the latest
typings from [DefinitelyTyped][1] do not reflect the fact that the
`jasminewd2` version (v2.1.0) currently used by Protractor supports
passing a `done` callback to a spec.

[1]: 566e039485/types/jasminewd2/index.d.ts (L9-L15)

Fixes 
Closes 

PR Close 
2018-07-06 13:48:02 -07:00
Igor Minar
e3064d5432 feat: typescript 2.9 support ()
PR Close 
2018-07-03 13:32:06 -07:00
Olivier Combe
39c8baea31 fix(common): use correct ICU plural for locale mk ()
PR Close 
2018-06-27 15:03:34 -07:00
George Kalpakas
7d1f9c8a7c build: upgrade AngularJS typings ()
Previously, we were using [@types/angularjs][1], which is deprecated and
outdated (hasn't been updated for over two years). This PR switches to
[@types/angular][2], which is regularly updated (based on the
definitions on [DefinitelyTyped][3]).

[1]: https://www.npmjs.com/package/@types/angularjs
[2]: https://www.npmjs.com/package/@types/angular
[3]: https://github.com/DefinitelyTyped/DefinitelyTyped

PR Close 
2018-06-25 09:30:46 -07:00
Alan Agius
f69ac670ee feat(compiler-cli): update tsickle to 0.29.x ()
PR Close 
2018-06-01 08:35:14 -07:00
Lucas Sloan
5cf82f8f3f build: upgrade to TypeScript 2.8 ()
PR Close 
2018-05-15 15:31:12 -07:00
Igor Minar
6601d0f7ba build: update to rxjs@6.0.0 ()
PR Close 
2018-05-03 10:53:39 -07:00
Igor Minar
a851ba3781 build: update to rxjs@6.0.0-uncanny-rc.7 ()
PR Close 
2018-04-17 14:09:02 -07:00
Andrew Seguin
37d2cb4553 feat(elements): add schematics ()
PR Close 
2018-04-11 18:13:30 -07:00
Olivier Combe
ce40e85cbb refactor(common): update CLDR data to v33.0.0 ()
PR Close 
2018-04-11 15:34:46 -07:00
Rob Wormald
a4ac8728cb build: use rxjs@6.0.0-terrific-rc.3 ()
PR Close 
2018-04-11 15:34:22 -07:00
JiaLi.Passion
30a6861fd0 build: update zone.js to 0.8.26 to fix some regression bugs ()
PR Close 
2018-04-09 15:16:40 -07:00
JiaLi.Passion
c560423b52 build: upgrade zone.js ()
PR Close 
2018-04-04 08:24:02 -07:00
Igor Minar
92724b396b build: update to rxjs@6.0.0-rc.0 ()
PR Close 
2018-04-03 10:00:24 -07:00
Igor Minar
6f7d14064c build: update to rxjs@6.0.0-beta.4 ()
PR Close 
2018-03-30 13:07:03 -07:00
Victor Berchet
7a406a32fa refactor: add a commit-msg git hook to check commit messages ()
The commit command will fail if the commit message header does not follow the
Angular convetions as defined in /CONTRIBUTING.md.

You can force the commit by adding the `--no-verify` option.

NOTE:
You should remove all unused hooks (in <angular>/.git/hooks) before running
`yarn` so that husky hooks are installed correctly.

PR Close 
2018-03-26 18:34:31 -04:00
Alex Eagle
4f0cae0676 build: allow bazel build //... ()
Also switch our CircleCI commands to just
bazel build //...
bazel test //...
as this is easier to understand.

Note, the reason this commit removes `firebase-tools` is:

1) firebase-tools has an optional dependency on
https://www.npmjs.com/package/@google-cloud/functions-emulator
2) yarn's `--ignore-optional` doesn't work for transitive deps, so
there's no way to yarn install without getting that functions-emulator
package
3) functions-emulator has a transitive dep on `grpc`
4) the version of `grpc` we get has `BUILD` files and no `WORKSPACE`
file so it always breaks `bazel build ...`

It could be solved by any of:
1) remove firebase-tools - this is what I did
2) fix yarn so you can omit optional deps of a transitive dep
3) make functions-emulator depend transitively on a more recent `grpc`
version
4) patch `grpc` after install by doing an `rm` command in our
postinstall or something

In its place we must install protobufjs. This is needed by the
ngc-wrapped test, which needs jasmine as well as bazel's worker mode
dependencies, and therefore cannot simply rely on
node_modules =
"@build_bazel_rules_typescript_tsc_wrapped_deps//:node_modules"

PR Close 
2018-03-23 15:02:32 -05:00