4f60968704
Also use it to test the public API for core and common Once we have an ng_package for every package, we can remove the npm dependency on ts-api-guardian and the gulp-based public api check. PR Close #22544
Typescript API Guardian
Keeps track of public API surface of a typescript library.
For developers
Build and test this library:
$ bazel run //:install
$ bazel test //tools/ts-api-guardian:all
Publish to NPM:
$ npm whoami # should be logged in as angular
$ grep version tools/ts-api-guardian/package.json # advance as needed
$ bazel run //tools/ts-api-guardian:ts-api-guardian.publish