Skip to content

Restructure corbits-tag into a single top-level package - #12

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-5950-single-package
Aug 14, 2026
Merged

Restructure corbits-tag into a single top-level package#12
TheGreatAxios merged 2 commits into
mainfrom
cl-5950-single-package

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Collapses the tag-core / tag-interchange / tag-slack Bun workspace into one publishable corbits-tag package.
  • Granular subpath exports (corbits-tag/core, corbits-tag/slack, corbits-tag/interchange) point straight at src/**/index.ts so a bundler only pulls in the subpath a host actually imports.
  • sideEffects: false plus the ESM exports map keep the package tree-shakeable.
  • Cross-package imports (@corbits/tag-core in tag-slack) become relative imports within src/.
  • License continuity: LGPL-2.1-or-later, matching the corbitsdev library convention.
  • Docs (README.md, ARCHITECTURE.md, PRODUCT.md, IMPLEMENTATION.md, CONTRIBUTING.md) updated for the single-package layout and new subpath imports.
  • File history preserved via git mv/renames — no content lost.

Test plan

  • bun install
  • bun run typecheck — clean
  • bun run test — 150 pass, 0 fail (unchanged test count/behavior, paths only)

Collapses the tag-core/tag-interchange/tag-slack Bun workspace into one
publishable corbits-tag package with granular subpath exports
(corbits-tag/core, corbits-tag/slack, corbits-tag/interchange) so a
bundler only pulls in the subpath a host actually imports.
Cross-package imports become relative; sideEffects: false and the ESM
exports map keep the package tree-shakeable.
Points every package reference and code sample at the new
corbits-tag/core, corbits-tag/slack, corbits-tag/interchange subpaths
and documents the tree-shaking support that motivated the restructure.
@TheGreatAxios
TheGreatAxios merged commit 92eabf4 into main Aug 14, 2026
1 check passed
@TheGreatAxios
TheGreatAxios deleted the cl-5950-single-package branch August 14, 2026 04:53
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.

1 participant