Skip to content

Wingbox 0.2.1

Choose a tag to compare

@it-baron it-baron released this 16 Nov 08:54
· 8 commits to main since this release
3c2596d

Wingbox 0.2.1 makes the answers smaller and the layer report more exact.

Changes

  • analyze and impact print the complete counts and list at most 200 dependent files, nearest first; --all lists every file. On a file with 650 direct dependents the analyze answer went from about 55,000 tokens to about 8,800.
  • analyze names each dependent file once and prints paths relative to the repository root.
  • boundaries prints a TypeScript import of types only across layers as (violation-type-only ...) and counts it apart from the violations; the report lists these imports in their own table.
  • import.meta.resolve('<literal>') is recorded as a dependency.

Fixes

  • Layers: migrations and seeds are infrastructure; a name that only begins with "test" is not a test; a file named like a layer folder (types.ts, models.py) and the index file of such a folder take that layer.
  • The purpose of a file no longer depends on folders above the repository root.
  • The map keeps the selected file in view after a resize, the layer names no longer overlap, and the layers keep turning while a file is selected.
  • wingbox <command> | head ends quietly.

Install: pipx install wingbox or uvx wingbox. Full list: CHANGELOG.md.