Greg Magolan
15c2467dbd
build: review comments addressed ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
2b3cac5b31
build: add comment to /integration/bazel/package.json ( #26488 )
...
PR Close #26488
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 ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
631998b2df
build: idiomatic install of @angular/bazel npm package ( #26258 ) ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
6468711e16
build(bazel): update to rules_typescript 0.20.2 ( #26279 ) ( #26488 )
...
PR Close #26488
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 ( #26260 ) ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
1f3331f5e6
build(bazel): use fine-grained npm deps ( #26111 ) ( #26488 )
...
PR Close #26488
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 ( #25920 )
...
PR Close #25920
2018-09-18 13:05:38 -07:00
Alex Eagle
bdbb2f9bfa
ci: update to bazel 0.17 ( #25967 )
...
this includes support for @ character in labels, which we need for fine-grained deps
PR Close #25967
2018-09-17 12:51:52 -07:00
Alex Eagle
34ec9244a6
build: update to Node 10 ( #25822 )
...
PR Close #25822
2018-09-06 14:58:30 -07:00
Greg Magolan
1e7a873cf4
build(bazel): remove unused angular.tsconfig.json integration/bazel test ( #25778 )
...
PR Close #25778
2018-09-05 09:38:19 -07:00
Greg Magolan
910381ddbd
build(bazel): fix bazel types reference directive resolves ( #25581 )
...
PR Close #25581
2018-08-31 11:12:03 -07:00
Alex Eagle
c230173716
build: update Bazel to 0.16 ( #25646 )
...
PR Close #25646
2018-08-27 18:20:32 -04:00
Greg Magolan
a59d4da304
build(bazel): fix bazel integration test after rules_typescript update ( #25490 )
...
PR Close #25490
2018-08-23 15:26:21 -04:00
Alex Eagle
22e7f7e99f
build(bazel): update to rules_typescript 0.16.1 ( #25490 )
...
PR Close #25490
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 ( #25433 )
...
PR Close #25433
2018-08-14 16:37:15 -07:00
Victor Berchet
14ac7ad6b4
feat(ivy): implement TestBed ( #25369 )
...
PR Close #25369
2018-08-14 11:58:47 -07:00
Alex Eagle
6c4da9dcd3
build: stop printing source-map-support warning ( #25339 )
...
PR Close #25339
2018-08-08 19:02:57 -07:00
Kara Erickson
843479449d
Revert "build: update Bazel to 0.16 ( #25316 )" ( #25391 )
...
This reverts commit 4eb8ac6de9
because 0.16 is not
widely available yet (e.g. on Mac) and it is blocking the Angular release.
PR Close #25391
2018-08-08 10:52:23 -07:00
Alex Eagle
4eb8ac6de9
build: update Bazel to 0.16 ( #25316 )
...
PR Close #25316
2018-08-06 11:30:24 -07:00
Greg Magolan
bde4402675
build: update hello_world__closure to google-closure-compiler 20180716.0.0 ( #25236 )
...
PR Close #25236
2018-08-01 13:23:35 -07:00
Greg Magolan
5254d3447d
build(bazel): update to rules_nodejs 0.11.2 and latest rules_typescript ( #25169 )
...
PR Close #25169
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 ( #24663 )
...
PR Close #24663
2018-07-26 17:02:21 -07:00
Greg Magolan
c438b5eeda
build(bazel): turn on preserve-symlinks ( #24881 )
...
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 #24881
2018-07-20 10:37:30 -07:00
Alex Eagle
97277bc9fb
build: update to Bazel 0.15 ( #24841 )
...
PR Close #24841
2018-07-13 15:05:16 -04:00
Greg Magolan
ee50ee493d
build(bazel): try removing gazelle ( #24787 )
...
PR Close #24787
2018-07-12 16:34:45 -04:00
Greg Magolan
161ff5c79d
feat(bazel): protractor_web_test_suite for release ( #24787 )
...
PR Close #24787
2018-07-12 16:34:45 -04:00
Alex Eagle
80576641a8
build: update to latest nodejs bazel rules ( #24817 )
...
PR Close #24817
2018-07-10 18:47:39 -07:00
Greg Magolan
7c8159b3e2
test(bazel): fix flakey bazel integration e2e test ( #24522 )
...
PR Close #24522
2018-06-14 14:14:59 -07:00
Alex Eagle
5aa12c73ae
build: update to Bazel 0.14.0 ( #24512 )
...
Includes a fix for out-of-memory condition which caused this to be
reverted yesterday.
PR Close #24512
2018-06-14 10:04:42 -07:00
Alex Eagle
03f93b3772
Revert "build: update to Bazel 0.14.0 ( #24296 )" ( #24492 )
...
This reverts commit 0d07d273dc
.
Fixes #24484
PR Close #24492
2018-06-13 16:47:18 -07:00
Alex Eagle
c2b5ebfa24
build: update buildifier to latest ( #24296 )
...
this matches the version in ngcontainer:0.3.1
PR Close #24296
2018-06-12 11:42:35 -07:00
Alex Eagle
0d07d273dc
build: update to Bazel 0.14.0 ( #24296 )
...
Also update usage of the ctx.actions.args to a newer preferred API
PR Close #24296
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 ( #24170 )
...
PR Close #24170
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 ( #24212 )
...
PR Close #24212
2018-05-31 10:08:07 -07:00
Alex Eagle
7e9649bdf1
build: update to latest nodejs bazel rules ( #23683 )
...
PR Close #23683
2018-05-04 15:29:03 -07:00
Alex Eagle
328b48b697
test: integration tests now against bazel built packages ( #22810 )
...
PR Close #22810
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 ( #23231 )
...
PR Close #23231
2018-04-13 00:19:19 -07:00
Alex Eagle
580f05bd9c
build: flatten esm5 sources before rollup ( #23131 )
...
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 #23131
2018-04-03 10:47:29 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Alex Eagle
88b3198c80
feat(bazel): change ng_package rule to APF v6 ( #22782 )
...
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 #22782
2018-03-15 11:38:31 -07:00
Alex Eagle
4c40812b71
fix(bazel): fixes for ng_package on Windows ( #22597 )
...
PR Close #22597
2018-03-06 07:52:48 -08:00
Alex Eagle
ba8df8a3f1
build: update to latest bazel rules ( #22558 )
...
PR Close #22558
2018-03-02 13:27:25 -08:00
Alex Eagle
b43b164a61
feat(bazel): add an ng_package rule ( #22221 )
...
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 #22221
2018-02-23 11:19:04 -08:00
Alex Eagle
a81d599bfc
ci: don't use bazel git_repository rule ( #22406 )
...
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 #22405
PR Close #22406
2018-02-23 09:41:10 -08:00
Martin Probst
ca06af40f4
build: allow passing node options to ngc. ( #22245 )
...
PR Close #22245
2018-02-22 10:20:04 -08:00
Alex Eagle
7e9b120452
build: update to latest bazel rules ( #22127 )
...
PR Close #22127
2018-02-09 17:21:54 -08:00
Alex Eagle
b081dfe705
fix(bazel): allow TS to read ambient typings ( #21876 )
...
Same fix as e70d7a2a7c
This is because the CompilerOptions needs to have directoryExists undefined in order to get the google3 behavior,
so we have to set the property outside the constructor.
Fixes #21872
PR Close #21876
2018-02-09 17:16:25 -08:00
Alex Eagle
a1cc02f0bd
build: update to latest bazel rules ( #21821 )
...
PR Close #21821
2018-01-27 10:55:44 -08:00
Alex Eagle
08aa54e1d9
ci: Add back the CLI integration test with pinning ( #21555 )
...
The CLI app is now checked in, rather than generated dynamically with
`ng new`. This loses some assertion power, but gains hermeticity.
It also checks in lock files for all integration tests, avoiding
floating version numbers.
We'll need another place to integration test between changes in
the various repositories - but the angular/angular PR-blocking status
is not the right place to do this.
PR Close #21555
2018-01-25 22:18:55 -08:00