Skip to content

About

Effect-native API Extractor: reads api-extractor.json unchanged, byte-identical *.api.md reports vs @microsoft/api-extractor 7.59.1, rolls up export * as X barrels.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

83 Commits

Folders and files

Repository files navigation

api-extractor-effect

CI npm License: Apache-2.0

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.

Packages

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.

Status

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.

Documentation

Questions and bugs go to the issue tracker.

Contributing

Development setup and checks: CONTRIBUTING.md.

License

Apache-2.0. See LICENSE.

About

Effect-native API Extractor: reads api-extractor.json unchanged, byte-identical *.api.md reports vs @microsoft/api-extractor 7.59.1, rolls up export * as X barrels.

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages