angular-cn/packages/bazel
Alex Rickabaugh 8f425701e4 test(ivy): enable //packages/bazel/test/ngc-wrapped/... tests for Ivy (#27470)
This commit allows //packages/bazel/test/ngc-wrapped/... tests to run
under Ivy mode. To get them to pass, it addresses a problem with the
way the tests are configured: both test targets have sloppy .d.ts
dependencies configured, leading to many type errors being generated
in TypeScript for the .d.ts files.

Due to the way ngc directs TypeScript emit, it avoids type-checking
.d.ts files and thus this issue does not surface. ngtsc does a whole-
program emit which results in full .d.ts type-checking by default,
catching this configuration issue.

To fix this, skipLibCheck is added to the tsconfig.jsons for these
tests, which tells TypeScript to skip type-checking of the .d.ts files,
avoiding this problem in a similar way to ngc.

PR Close #27470
2018-12-05 10:46:51 -08:00
..
docs docs(bazel): add skydoc generation (#23544) 2018-08-08 13:12:07 -07:00
src fix(bazel): do not throw if ts compile action does not create esm5 outputs (#27401) 2018-12-04 19:58:36 -08:00
test test(ivy): enable //packages/bazel/test/ngc-wrapped/... tests for Ivy (#27470) 2018-12-05 10:46:51 -08:00
BUILD.bazel feat(bazel): ng-new schematics with Bazel (#27277) 2018-12-03 14:38:23 -08:00
check_version.js build: idiomatic install of @angular/bazel npm package (#26258) (#26488) 2018-10-19 20:59:29 -07:00
index.bzl build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
package.bzl build: only stamp version info when releasing (#27362) 2018-11-30 16:08:23 -08:00
package.json build(bazel): Add Bazel builders (#27141) 2018-11-21 07:46:42 -08:00
protractor-utils.js build: idiomatic install of @angular/bazel npm package (#26258) (#26488) 2018-10-19 20:59:29 -07:00