Skip to content

feat: prepare code-inventory 0.2.0 with package and handler entry selection - #12

Merged
Huldoser merged 5 commits into
mainfrom
release/base-0.2.0
Nov 21, 2026
Merged

Huldoser merged 5 commits into
mainfrom
release/base-0.2.0

Conversation

@Huldoser

Copy link
Copy Markdown
Owner

Prepare code-inventory 0.2.0 for reviewers tracing calls from package and application entry points.

  • Resolve wildcard package exports while honoring private and remapped subpaths.
  • Select matching source files with --entry-glob and model an external invocation with --entry-symbol. A file entry traces module initialization. Selecting a handler traces calls from that declaration.
  • Read the analyzer version from the installed package so saved reports identify the release.

All 39 tests passed. A clean consumer upgraded from npm 0.1.0 to the packed candidate and reproduced its saved usage and entry reports. The installed CLI and library agreed on wildcard exports and handler paths. The packaged schema validated the saved reports.

Match public subpaths to analyzed source and predicted JavaScript output while respecting exact overrides and private subpaths.
Allow callers to describe convention-based entry files alongside package and explicit roots. Report unmatched patterns so exclusions and typos cannot silently shrink the trace.
Let reviewers model a framework or external consumer invoking a known declaration. Preserve file initialization semantics and record assumed invocations in the report so each path can be interpreted against its starting point.
Read the analyzer version from the installed package so saved reports identify the release that produced them.
Comment thread src/package-entries.ts Fixed
Express substitution for the entire key while retaining literal captured text and the single-wildcard validation.
@Huldoser
Huldoser merged commit 191331d into main Nov 21, 2026
6 checks passed
@Huldoser
Huldoser deleted the release/base-0.2.0 branch November 21, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants