janniks/TypeScript Public API Surface
Analyze and diff public API surface of TypeScript packages in npm workspaces, with PR comments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 20, 2026
- License
- None
Pinned Snippet
uses: janniks/ts-shape-action@25836a4fa2197ebdf51b248d7aa4847f4815c17b # v1.0.4tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for posting PR comments | yes | ${{ github.token }} |
| root | Root directory of the workspace to analyze | no | . |
| packages | Glob pattern to filter packages (e.g., "@acme/*") | no | — |
| fail-on-changes | Fail the action if API changes are detected | no | false |
| comment-on-no-changes | Post a comment even when no changes are detected | no | false |
Outputs
| name | description |
|---|---|
| has-changes | Whether API changes were detected |
| packages-affected | Number of packages with changes |
| exports-added | Number of exports added |
| exports-removed | Number of exports removed |
| exports-changed | Number of exports changed |
| semver | Recommended semver bump (major, minor, or patch) |