69 Commits

Author SHA1 Message Date
Alex Eagle
026b7e34b3 build: update yarn version ()
Some engineers were already on Yarn 0.10.x which was permitted by the range in our package.json#engines
However this introduced 'integrity sha512' lines into the yarn.lock files.
Then when engineers use yarn 0.9 (in particular, Bazel did this) then the lock files get tons of meaningless edits.
We could force everyone back to yarn 0.9 but this commit chooses to instead advance everyone past 0.10

PR Close 
2018-11-21 07:46:22 -08:00
Alex Eagle
81e975ad93 build: update to latest Bazel rules_typescript ()
PR Close 
2018-11-17 12:19:32 -08: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
2b3cac5b31 build: add comment to /integration/bazel/package.json ()
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
631998b2df build: idiomatic install of @angular/bazel npm package () ()
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
Greg Magolan
b99d7ed5bf build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ()
PR Close 
2018-09-18 13:05:38 -07:00
Alex Eagle
bdbb2f9bfa ci: update to bazel 0.17 ()
this includes support for @ character in labels, which we need for fine-grained deps

PR Close 
2018-09-17 12:51:52 -07:00
Alex Eagle
34ec9244a6 build: update to Node 10 ()
PR Close 
2018-09-06 14:58:30 -07:00
Greg Magolan
1e7a873cf4 build(bazel): remove unused angular.tsconfig.json integration/bazel test ()
PR Close 
2018-09-05 09:38:19 -07:00
Greg Magolan
910381ddbd build(bazel): fix bazel types reference directive resolves ()
PR Close 
2018-08-31 11:12:03 -07:00
Alex Eagle
c230173716 build: update Bazel to 0.16 ()
PR Close 
2018-08-27 18:20:32 -04:00
Greg Magolan
a59d4da304 build(bazel): fix bazel integration test after rules_typescript update ()
PR Close 
2018-08-23 15:26:21 -04:00
Alex Eagle
22e7f7e99f build(bazel): update to rules_typescript 0.16.1 ()
PR Close 
2018-08-23 15:26:21 -04:00
Greg Magolan
b5f354f2fb build(bazel): update to rules_typescript 0.16.0 & update to tagged rules_webtesting 0.2.1 ()
PR Close 
2018-08-14 16:37:15 -07:00
Victor Berchet
14ac7ad6b4 feat(ivy): implement TestBed ()
PR Close 
2018-08-14 11:58:47 -07:00
Alex Eagle
6c4da9dcd3 build: stop printing source-map-support warning ()
PR Close 
2018-08-08 19:02:57 -07:00
Kara Erickson
843479449d Revert "build: update Bazel to 0.16 ()" ()
This reverts commit 4eb8ac6de945bbc0d425e97d9f034ed68b307c50 because 0.16 is not
widely available yet (e.g. on Mac) and it is blocking the Angular release.

PR Close 
2018-08-08 10:52:23 -07:00
Alex Eagle
4eb8ac6de9 build: update Bazel to 0.16 ()
PR Close 
2018-08-06 11:30:24 -07:00
Greg Magolan
bde4402675 build: update hello_world__closure to google-closure-compiler 20180716.0.0 ()
PR Close 
2018-08-01 13:23:35 -07:00
Greg Magolan
5254d3447d build(bazel): update to rules_nodejs 0.11.2 and latest rules_typescript ()
PR Close 
2018-07-31 11:41:50 -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
Greg Magolan
c438b5eeda build(bazel): turn on preserve-symlinks ()
This change turns on preserve-symlinks in nodejs to verify hermeticity of the Angular build.

BREAKING CHANGE: Use of @angular/bazel rules now requires calling ng_setup_workspace() in your WORKSPACE file.

For example:

local_repository(
    name = "angular",
    path = "node_modules/@angular/bazel",
)

load("@angular//:index.bzl", "ng_setup_workspace")

ng_setup_workspace()

PR Close 
2018-07-20 10:37:30 -07:00
Alex Eagle
97277bc9fb build: update to Bazel 0.15 ()
PR Close 
2018-07-13 15:05:16 -04:00
Greg Magolan
ee50ee493d build(bazel): try removing gazelle ()
PR Close 
2018-07-12 16:34:45 -04:00
Greg Magolan
161ff5c79d feat(bazel): protractor_web_test_suite for release ()
PR Close 
2018-07-12 16:34:45 -04:00
Alex Eagle
80576641a8 build: update to latest nodejs bazel rules ()
PR Close 
2018-07-10 18:47:39 -07:00
Greg Magolan
7c8159b3e2 test(bazel): fix flakey bazel integration e2e test ()
PR Close 
2018-06-14 14:14:59 -07:00
Alex Eagle
5aa12c73ae build: update to Bazel 0.14.0 ()
Includes a fix for out-of-memory condition which caused this to be
reverted yesterday.

PR Close 
2018-06-14 10:04:42 -07:00
Alex Eagle
03f93b3772 Revert "build: update to Bazel 0.14.0 ()" ()
This reverts commit 0d07d273dc7aa92ec078434b11edb0d8a70264bc.

Fixes 

PR Close 
2018-06-13 16:47:18 -07:00
Alex Eagle
c2b5ebfa24 build: update buildifier to latest ()
this matches the version in ngcontainer:0.3.1

PR Close 
2018-06-12 11:42:35 -07:00
Alex Eagle
0d07d273dc build: update to Bazel 0.14.0 ()
Also update usage of the ctx.actions.args to a newer preferred API

PR Close 
2018-06-12 11:42:35 -07:00
Greg Magolan
5cbcb5680b build(bazel): update bazel integration test to test secondary angular imports such as @angular/common/http ()
PR Close 
2018-06-01 13:40:47 -07:00
Greg Magolan
ec57133b61 build: update to rules_nodejs 0.9.1 and rules_typescript 0.15.0 ()
PR Close 
2018-05-31 10:08:07 -07:00
Alex Eagle
7e9649bdf1 build: update to latest nodejs bazel rules ()
PR Close 
2018-05-04 15:29:03 -07:00
Alex Eagle
328b48b697 test: integration tests now against bazel built packages ()
PR Close 
2018-04-13 16:30:50 -07:00
Greg Magolan
6199ea5d4a fix(compiler-cli): shorten resolved module name in fileNameToModuleName to npm package name for typings ()
PR Close 
2018-04-13 00:19:19 -07:00
Alex Eagle
580f05bd9c build: flatten esm5 sources before rollup ()
this is needed to update to latest rules_nodejs due to breaking change in
https://github.com/bazelbuild/rules_nodejs/pull/172
It has the side-effect of correctly marking rxjs packages as side-effect-free

PR Close 
2018-04-03 10:47:29 -07:00
Igor Minar
b43f8bc7d3 feat(core): upgrade rxjs to 6.0.0-alpha.4 ()
PR Close 
2018-03-19 21:51:51 -07:00
Alex Eagle
88b3198c80 feat(bazel): change ng_package rule to APF v6 ()
Angular Package Format v6 stops bundling files in the esm5 and esm2015
directories, now that Webpack 4 can tree-shake per-file.

Adds some missing files like package.json to make packages closer to
what we publish today.

Refactor ng_package to be a type of npm_package and re-use the packaging
action from that rule.

PR Close 
2018-03-15 11:38:31 -07:00
Alex Eagle
4c40812b71 fix(bazel): fixes for ng_package on Windows ()
PR Close 
2018-03-06 07:52:48 -08:00
Alex Eagle
ba8df8a3f1 build: update to latest bazel rules ()
PR Close 
2018-03-02 13:27:25 -08:00
Alex Eagle
b43b164a61 feat(bazel): add an ng_package rule ()
This produces a directory following the Angular Package layout spec.

Includes integration test coverage by making a minimal ng_package in integration/bazel.
Unit tests verify the content of the @angular/core and @angular/common packages.

This doesn't totally match our current output, but is good enough to unblock some
early adopters.

It re-uses logic from the rollup_bundle rule in rules_nodejs. It should also
eventually have the .pack and .publish secondary targets like npm_package rule.

PR Close 
2018-02-23 11:19:04 -08:00
Alex Eagle
a81d599bfc ci: don't use bazel git_repository rule ()
It's currently broken on CircleCI because of a TLS change made by GitHub.
This is okay as a permanent change, we don't really want bazel to fetch a full git history.

Fixes 

PR Close 
2018-02-23 09:41:10 -08:00
Martin Probst
ca06af40f4 build: allow passing node options to ngc. ()
PR Close 
2018-02-22 10:20:04 -08:00
Alex Eagle
7e9b120452 build: update to latest bazel rules ()
PR Close 
2018-02-09 17:21:54 -08:00