Rado Kirov
f8cdda63d4
refactor: uniformly access all index sigs with index access. ( #29390 )
...
Follow-up to https://github.com/angular/angular/pull/28937
A build-time check to enforce this is part of tsetse -
https://tsetse.info/property-renaming-safe but I don't know how to turn
it on for this repositories bazel builds.
PR Close #29390
2019-04-05 09:34:26 -07:00
Greg Magolan
9c056b974a
build(bazel): tslib.js still required in ts_devserver & ts_web_test_suite for schematics ( #29694 )
...
PR Close #29694
2019-04-04 14:27:05 -07:00
Greg Magolan
c0ec8425c2
build(bazel): remove unnecessary scripts from ts_devserver & ts_web_test_suite in bazel schematics ( #29694 )
...
PR Close #29694
2019-04-04 14:27:05 -07:00
Greg Magolan
2e66ddfdce
fix(bazel): add configuration_env_vars = ["compile"] to generated @npm//@angular/bazel/bin:ngc-wrapped nodejs_binary ( #29694 )
...
PR Close #29694
2019-04-04 14:27:04 -07:00
Greg Magolan
7fbe138b1f
build(bazel): update to nodejs rules 0.27.10 ( #29694 )
...
PR Close #29694
2019-04-04 14:27:04 -07:00
Keen Yee Liau
2bd9214435
fix(bazel): remove karma-jasmine from ts_web_test_suite ( #29695 )
...
It's not needed.
PR Close #29695
2019-04-04 14:26:11 -07:00
Alan
9810c6c0f9
fix(bazel): support running ng-add on minimal applications ( #29681 )
...
Minimal applications don't have `test` and `e2e` targets but we are not currently checking if they exists.
Fixes #29680
PR Close #29681
2019-04-03 15:30:46 -07:00
Alex Eagle
b14537a004
fix(bazel): use //:tsconfig.json as the default for ng_module ( #29670 )
...
This matches the behavior of ts_library
PR Close #29670
2019-04-02 15:57:11 -07:00
Greg Magolan
7c1f73ac7b
build(bazel): update to nodejs rules 0.27.9 ( #29647 )
...
PR Close #29647
2019-04-02 10:27:14 -07:00
Alex Eagle
aaa8a3a957
build: update bazel to 0.24 ( #29530 )
...
PR Close #29530
2019-03-27 13:45:29 -07:00
Keen Yee Liau
401b8eedd5
fix(bazel): Update schematics to support routing ( #29548 )
...
PR closes https://github.com/angular/angular/issues/29035
PR Close #29548
2019-03-27 12:35:52 -07:00
Greg Magolan
d9162a872d
build(bazel): update to nodejs rules 0.27.8 ( #29508 )
...
* fixes prodmode issue in integration/bazel
BREAKING CHANGE:
@bazel/typescript is now a peerDependency of @angular/bazel so user's of @angular/bazel must add @bazel/typescript to their package.json
PR Close #29508
2019-03-27 09:41:11 -07:00
Marc Laval
c412374854
fix(ivy): DebugNode.query should query nodes in the logical tree ( #29480 )
...
PR Close #29480
2019-03-26 12:48:37 -07:00
Alex Eagle
769d960db1
fix(bazel): workaround problem reading summary files from node_modules ( #29459 )
...
PR Close #29459
2019-03-22 13:17:00 -07:00
Alex Eagle
21be0fb926
fix(bazel): allow ng_module users to set createExternalSymbolFactoryReexports ( #29459 )
...
PR Close #29459
2019-03-22 13:17:00 -07:00
Keen Yee Liau
d6d081e120
feat(bazel): Upgrade rules_nodejs and rules_sass ( #29388 )
...
PR Close #29388
2019-03-20 13:42:03 -04:00
Greg Magolan
b460b26308
build(bazel): update to nodejs rules 0.27.7 ( #29375 )
...
PR Close #29375
2019-03-19 23:39:37 -04:00
Greg Magolan
ea0e832e5f
build(bazel): update to nodejs rules 0.27.6 ( #29375 )
...
PR Close #29375
2019-03-19 23:39:36 -04:00
Alex Eagle
9d090cb3db
fix(bazel): correct regexp test for self-references in metadata ( #29346 )
...
Add a test that catches the mistake, should have had this in the previous change
PR Close #29346
2019-03-18 07:17:19 -07:00
Keen Yee Liau
8ef690c342
fix(bazel): Support new e2e project layout ( #29318 )
...
https://github.com/angular/angular-cli/pull/13780 changes the project
layout for the e2e application. It is no longer a separate project
and the e2e directory is now located alongside the existing project.
This commit updates Bazel scheamtics to support both old and new project
layout.
PR Close #29318
2019-03-15 00:16:01 -04:00
Alex Eagle
3facdebd07
fix(bazel): don't produce self-references in metadata ( #29317 )
...
Fixes #29315
PR Close #29317
2019-03-15 00:15:41 -04:00
Keen Yee Liau
1db8bf312e
fix(bazel): Remove @angular/upgrade from dev dependencies ( #29319 )
...
@angular/upgrade is unnecessary, but it's required by router/upgrade.
PR Close #29319
2019-03-15 00:15:17 -04:00
Matias Niemelä
fc8048ddaf
build: update to nodejs rules 0.27 ( #29210 )
...
PR Close #29210
2019-03-14 19:35:00 -07:00
Matias Niemelä
b2aadffbbc
revert: build: update to nodejs rules 0.27 ( #29210 )
...
This reverts commit 08231f0bfa
.
2019-03-14 17:38:35 -07:00
Alex Eagle
410ccacf38
build: disable tsc_wrapped workers ( #29197 )
...
Angular devs are hitting a bug with typings forcing them to run "bazel shutdown"
PR Close #29197
2019-03-14 13:11:36 -04:00
Greg Magolan
4990b935b4
fix(bazel): turn off pure call tree shaking for ng_package ( #29210 )
...
PR Close #29210
2019-03-14 11:38:12 -04:00
Greg Magolan
08231f0bfa
build: update to nodejs rules 0.27 ( #29210 )
...
PR Close #29210
2019-03-14 11:38:12 -04:00
Greg Magolan
7b20cec986
build(bazel): fix tsconfig extends for //packages/bazel/test/protractor-2:ts_spec ( #29280 )
...
PR Close #29280
2019-03-13 10:39:21 -07:00
Igor Minar
75748d6044
feat: add support for TypeScript 3.3 (and drop older versions) ( #29004 )
...
https://blogs.msdn.microsoft.com/typescript/2019/01/31/announcing-typescript-3-3/
BREAKING CHANGE: TypeScript 3.1 and 3.2 are no longer supported.
Please update your TypeScript version to 3.3
PR Close #29004
2019-03-13 10:38:37 -07:00
Greg Magolan
9a7f5601fa
fix(bazel): fix strict null checks compile error in packages/bazel/src/schematics/ng-add/index.ts ( #29282 )
...
PR Close #29282
2019-03-13 10:38:13 -07:00
Alan Agius
df354d1b34
fix(bazel): add missing binary path for api-extractor ( #29202 )
...
`api-extractor` binary is required for external consumers of `ng_module` that want to use the `bundle_dts` flag.
This also sets a different api-exttractor binary to use for ng_module, based if it's internal or external.
PR Close #29202
2019-03-12 10:49:49 -07:00
Alan
7b0e9eddd1
build: enable bundle_dts for core package ( #28884 )
...
`ng_module` will now include an `src/r3_symbol.d.ts` when compiling the core package under `ngc` togather with `dts bundling`, This is due that `ngcc` relies on this file to be present, but the `r3_symbols` file which is not part of our public api.
With this change, we can now ship an addition dts file which is flattened.
PR Close #28884
2019-03-08 12:36:55 -08:00
Keen Yee Liau
f4f20daee3
refactor(bazel): Remove bazel-workspace schematics ( #29148 )
...
`bazel-workspace` schematics is no longer needed now that the Bazel
files are injected into the project by the Bazel builder.
PR Close #29148
2019-03-07 13:04:09 -08:00
Keen Yee Liau
36a1550e00
feat(bazel): Eject Bazel ( #29167 )
...
Add command line flag to expose Bazel files on disk.
`ng build --leaveBazelFilesOnDisk`
PR Close #29167
2019-03-07 13:03:44 -08:00
Alan
9a1959269f
build: remove now redundant `bundle_dts = True` attribute ( #29128 )
...
This is now turned on by default in the ng_module macro
PR Close #29128
2019-03-07 10:47:20 -08:00
Keen Yee Liau
7060d9038b
feat(bazel): Hide Bazel files in Bazel builder ( #29110 )
...
This commit modifies the Bazel builder to copy the Bazel WORKSPACE and
BUILD.bazel files to the project root directory before invoking Bazel.
This hides the Bazel files from users.
PR Close #29110
2019-03-06 17:35:06 -08:00
Keen Yee Liau
14ce8a9c31
fix(bazel): ng build should produce prod bundle ( #29136 )
...
`ng build` should produce a bundle that could be readily deployed to
a web server, similar to the behavior of current `ng build` with
webpack.
Note that in Bazel, there is no `ng build` for dev bundles. Instead,
users are expected to run `ts_devserver`.
Closes https://github.com/angular/angular/issues/28877
PR Close #29136
2019-03-06 16:41:25 -08:00
Alex Eagle
ba602dbaec
build: update Bazel to 0.23 ( #29058 )
...
PR Close #29058
2019-03-01 15:24:05 -08:00
Alan
b5629d98d8
fix(bazel): api extractor don't generate tsdoc metadata ( #29023 )
...
tsdoc metadata is not needed for `ng_module` and with `@microsoft/api-extractor` version 7.0.21 there is a new flag to disable it's generation.
See: https://github.com/Microsoft/web-build-tools/issues/1051
PR Close #29023
2019-03-01 10:16:43 -08:00
Keen Yee Liau
c532646f5b
fix(bazel): ng serve should always watch ( #29032 )
...
PR Close #29032
2019-02-28 12:07:25 -08:00
Greg Magolan
ea09430039
build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles ( #28871 )
...
PR Close #28871
2019-02-28 12:06:36 -08:00
Keen Yee Liau
5fdf24e843
fix(bazel): add favicon to web package ( #29017 )
...
This would fix the RESOURCE_NOT_FOUND error.
PR Close #29017
2019-02-28 10:38:00 -08:00
Greg Magolan
7b944c46d3
style: format ( #28995 )
...
PR Close #28995
2019-02-27 08:47:26 -08:00
Greg Magolan
c4c3c1231b
build(bazel): allow a user to control a subset of angularCompilerOption in their tsconfig file when using ng_module ( #28995 )
...
PR Close #28995
2019-02-27 08:47:26 -08:00
Wassim Chegham
dad5a258b8
style: enforce buildifier lint on CI ( #28186 )
...
PR Close #28186
2019-02-26 16:57:41 -08:00
Wassim Chegham
ce68b4d839
style: enforce buildifier lint on CI ( #28186 )
...
PR Close #28186
2019-02-26 16:57:41 -08:00
Keen Yee Liau
dc335194ab
fix(bazel): Add SHA256 for rules_sass ( #28994 )
...
This will make the debugging output go away
DEBUG: Rule 'io_bazel_rules_sass' modified arguments {"sha256": "6caffb8277b3033d6b5117b77437faaa6cd3c6679d6d6c81284511225aa54711"}
PR Close #28994
2019-02-26 16:56:47 -08:00
Adam Yi
edb6c2d814
feat(bazel): add ts_config extending support for ng_module ( #21883 )
...
PR Close #21883
2019-02-26 02:01:37 +00:00
Alex Eagle
350802b207
build: update to latest bazel rules ( #28931 )
...
PR Close #28931
2019-02-22 17:27:09 -08:00
Greg Magolan
fafabc0b92
build(bazel): use http_server rule from rules_nodejs ( #28905 )
...
PR Close #28905
2019-02-22 12:14:55 -08:00