This repository publishes @systemfsoftware/api-extractor. It reads a TypeScript package's public API and writes the API report, the declaration rollups, the doc model and tsdoc-metadata.json from an unchanged api-extractor.json. It also names the semver bump between two versions of that API, and it understands Effect: adding a tagged error to the E channel of a returned Effect is a major bump, because callers have to handle the new error.
| Package | What it is |
|---|---|
@systemfsoftware/api-extractor |
The published library and the api-extractor command. Install, quick start, the verdict and the CLI are in its README. |
api-extractor-e2e |
Not published. Runs the built CLI end to end, compares its outputs with @microsoft/api-extractor, and checks that its declaration rollups compile for a consumer. |
api-extractor-profile |
Not published. Records the per-phase timings behind the fast-path choice, kept in docs/profiles. |
0.2.0 is the current release on npm. It ships api-extractor run and api-extractor init, writes all four outputs, and trims rollups by release tag. Its API model schema version is 4; 0.1.1 shipped version 2.
The outputs are compared in this repository against @microsoft/api-extractor 7.60.1.
Note
A benchmark in CI, and a check that a changeset matches the verdict, are not built yet.
Questions and bugs go to the issue tracker.
Development setup and checks: CONTRIBUTING.md.
Apache-2.0. See LICENSE.