├── .clang-format ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── bin └── ts-api-guardian ├── gulpfile.js ├── lib ├── cli.ts ├── main.ts └── serializer.ts ├── package.json ├── scripts └── ci-lite │ ├── install.sh │ └── test.sh ├── test ├── cli_e2e_test.ts ├── cli_unit_test.ts ├── fixtures │ ├── classes_and_interfaces.d.ts │ ├── classes_and_interfaces_expected.d.ts │ ├── empty.d.ts │ ├── empty.ts │ ├── empty_expected.d.ts │ ├── enum_as_type.d.ts │ ├── enum_as_type_expected.d.ts │ ├── keyof.d.ts │ ├── keyof_expected.d.ts │ ├── module_identifier.d.ts │ ├── module_identifier_expected.d.ts │ ├── reexported.d.ts │ ├── reexported_aliased.d.ts │ ├── reexported_classes.d.ts │ ├── reexported_classes_expected.d.ts │ ├── reexported_expected.d.ts │ ├── reexported_extern.d.ts │ ├── reexported_extern_expected.d.ts │ ├── reexported_star.d.ts │ ├── reexported_star_expected.d.ts │ ├── simple.d.ts │ ├── simple_expected.d.ts │ ├── sorting.d.ts │ ├── sorting_expected.d.ts │ ├── stripped_alias.d.ts │ ├── stripped_alias_expected.d.ts │ ├── stripped_alias_original.d.ts │ ├── type_literals.d.ts │ ├── type_literals_expected.d.ts │ ├── underscored.d.ts │ ├── underscored_expected.d.ts │ ├── verify.patch │ ├── verify_entrypoint.d.ts │ ├── verify_expected.d.ts │ └── verify_submodule.d.ts ├── helpers.ts ├── integration_test.ts └── unit_test.ts └── tsconfig.json /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/README.md -------------------------------------------------------------------------------- /bin/ts-api-guardian: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('../build/lib/cli').startCli(); 4 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/gulpfile.js -------------------------------------------------------------------------------- /lib/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/lib/cli.ts -------------------------------------------------------------------------------- /lib/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/lib/main.ts -------------------------------------------------------------------------------- /lib/serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/lib/serializer.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/package.json -------------------------------------------------------------------------------- /scripts/ci-lite/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/scripts/ci-lite/install.sh -------------------------------------------------------------------------------- /scripts/ci-lite/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/scripts/ci-lite/test.sh -------------------------------------------------------------------------------- /test/cli_e2e_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/cli_e2e_test.ts -------------------------------------------------------------------------------- /test/cli_unit_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/cli_unit_test.ts -------------------------------------------------------------------------------- /test/fixtures/classes_and_interfaces.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/classes_and_interfaces.d.ts -------------------------------------------------------------------------------- /test/fixtures/classes_and_interfaces_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/classes_and_interfaces_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/empty.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/empty.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/empty_expected.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/enum_as_type.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/enum_as_type.d.ts -------------------------------------------------------------------------------- /test/fixtures/enum_as_type_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/enum_as_type_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/keyof.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/keyof.d.ts -------------------------------------------------------------------------------- /test/fixtures/keyof_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/keyof_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/module_identifier.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/module_identifier.d.ts -------------------------------------------------------------------------------- /test/fixtures/module_identifier_expected.d.ts: -------------------------------------------------------------------------------- 1 | export declare class A extends foo.Bar { 2 | } 3 | -------------------------------------------------------------------------------- /test/fixtures/reexported.d.ts: -------------------------------------------------------------------------------- 1 | export { A, B } from './simple'; 2 | -------------------------------------------------------------------------------- /test/fixtures/reexported_aliased.d.ts: -------------------------------------------------------------------------------- 1 | export { A as Apple } from './classes_and_interfaces'; 2 | -------------------------------------------------------------------------------- /test/fixtures/reexported_classes.d.ts: -------------------------------------------------------------------------------- 1 | export { A } from './classes_and_interfaces'; 2 | -------------------------------------------------------------------------------- /test/fixtures/reexported_classes_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/reexported_classes_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/reexported_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/reexported_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/reexported_extern.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/reexported_extern.d.ts -------------------------------------------------------------------------------- /test/fixtures/reexported_extern_expected.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/reexported_star.d.ts: -------------------------------------------------------------------------------- 1 | export * from './simple'; 2 | -------------------------------------------------------------------------------- /test/fixtures/reexported_star_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/reexported_star_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/simple.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/simple.d.ts -------------------------------------------------------------------------------- /test/fixtures/simple_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/simple_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/sorting.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/sorting.d.ts -------------------------------------------------------------------------------- /test/fixtures/sorting_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/sorting_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/stripped_alias.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/stripped_alias.d.ts -------------------------------------------------------------------------------- /test/fixtures/stripped_alias_expected.d.ts: -------------------------------------------------------------------------------- 1 | export class B { 2 | } 3 | -------------------------------------------------------------------------------- /test/fixtures/stripped_alias_original.d.ts: -------------------------------------------------------------------------------- 1 | export let original_symbol: number; -------------------------------------------------------------------------------- /test/fixtures/type_literals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/type_literals.d.ts -------------------------------------------------------------------------------- /test/fixtures/type_literals_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/type_literals_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/underscored.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/underscored.d.ts -------------------------------------------------------------------------------- /test/fixtures/underscored_expected.d.ts: -------------------------------------------------------------------------------- 1 | export class B { 2 | } 3 | -------------------------------------------------------------------------------- /test/fixtures/verify.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/verify.patch -------------------------------------------------------------------------------- /test/fixtures/verify_entrypoint.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/verify_entrypoint.d.ts -------------------------------------------------------------------------------- /test/fixtures/verify_expected.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/fixtures/verify_expected.d.ts -------------------------------------------------------------------------------- /test/fixtures/verify_submodule.d.ts: -------------------------------------------------------------------------------- 1 | export declare const b: boolean; 2 | -------------------------------------------------------------------------------- /test/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/helpers.ts -------------------------------------------------------------------------------- /test/integration_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/integration_test.ts -------------------------------------------------------------------------------- /test/unit_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/test/unit_test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/angular/ts-api-guardian/HEAD/tsconfig.json --------------------------------------------------------------------------------