Skip to content

fix: point package module to published build - #442

Merged
sirmalloc merged 2 commits into
sirmalloc:mainfrom
Pugsin:codex/fix-published-module-path
Jun 14, 2026
Merged

sirmalloc merged 2 commits into
sirmalloc:mainfrom
Pugsin:codex/fix-published-module-path

Conversation

@Pugsin

@Pugsin Pugsin commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update package.json module to point at the built file that is actually published in the npm package
  • keep it aligned with the existing bin target and files: ["dist/"]

Why

ccstatusline@2.2.20 publishes only dist/ccstatusline.js plus package metadata/docs, but module currently points at src/ccstatusline.ts. Consumers/tools that read module can resolve a file that is not present in the tarball.

Validation

  • node -e "const p=require('./package.json'); if(p.module !== p.bin.ccstatusline) process.exit(1)"
  • git diff --check

@sirmalloc
sirmalloc merged commit 3df04e1 into sirmalloc:main Jun 14, 2026
CrazyCoder added a commit to CrazyCoder/ccstatusline that referenced this pull request Jun 15, 2026
Brings in upstream v2.2.21 (cache-hit widgets, compaction trigger split,
token-format fix, symbol override, extra-usage-used widget, dev-dep bumps).

Conflict resolution:
- package.json: keep `ccstatusline-jb` name + JetBrains fork description,
  bump to 2.2.25 (next free past npm/tag 2.2.24); adopt upstream's
  published-build `main`/`module` pointers (sirmalloc#442) and new `bugs` field
  (sirmalloc#443), with `bugs.url` redirected to CrazyCoder/ccstatusline to match
  the existing `repository` field.
- RenderContext.ts: keep JbCentral types; take upstream's enriched
  CompactionData (count + byTrigger + tokensReclaimed).
tahodev pushed a commit to tahodev/ccstatusline that referenced this pull request Oct 20, 2026
* fix: point package module to published build

Signed-off-by: Pugsin <sergio.icdlf@gmail.com>

* fix: expose published package entrypoints

---------

Signed-off-by: Pugsin <sergio.icdlf@gmail.com>
Co-authored-by: Matthew Breedlove <sirmalloc@gmail.com>
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