angular-docs-cn/tools/ts-api-guardian
Alex Eagle 4f60968704 test(bazel): Build and test ts-api-guardian locally (#22544)
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
2018-03-02 15:00:00 -08:00
..
bin test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
lib test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
test test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
BUILD.bazel test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
README.md test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
index.bzl test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
package.json test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
yarn.lock test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00

README.md

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