Skip to content

chore(packages)!: delete packages with no remaining importers (CL-8322) - #825

Merged
TheGreatAxios merged 1 commit into
mainfrom
dead-packages
Sep 17, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
dead-packages

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

Owner ruling: anything with zero remaining source imports gets deleted outright, hard cutover, no shims.

Deleted:

  • packages/inbox (@corbits/inbox)
  • packages/notify (@corbits/notify)
  • packages/mocks (@corbits/mocks)
  • packages/provider-pricing (@corbits/provider-pricing)
  • packages/gotenberg-render (@corbits/gotenberg-render) — found with zero importers on the re-check pass over all remaining packages (packages/evals kept per exception, root-script-only)

Mailbox migrations

packages/inbox hosted a thin wrapper (applyMailboxMigrations) around @corbits/mailbox's own runMailboxMigrations/createMailboxDb. Since @corbits/mailbox exposes those directly, scripts/db-setup.ts now imports them from @corbits/mailbox itself; the root package.json gains a devDependencies entry for @corbits/mailbox (same pin as apps/hub) so the script can resolve it.

Also removed the notify schema from db-setup.ts's PACKAGE_SCHEMAS reset list and the @corbits/inbox/@corbits/notify entries from apps/hub/package.json and apps/web/package.json, plus the stale tsconfig.build.json project references.

Test plan

  • bun install
  • bun run typecheck
  • bun run lint
  • bun run fmt
  • bun run test (766+ pass, 0 fail across suites)

@TheGreatAxios TheGreatAxios changed the title chore(packages)!: delete packages with no remaining importers chore(packages)!: delete packages with no remaining importers (CL-8322) Sep 17, 2026
@linear-code

linear-code Bot commented Sep 17, 2026

Copy link
Copy Markdown

CL-8322

Owner ruling: any package with zero remaining source imports gets deleted
outright, hard cutover, no shims.

Deleted:
- packages/inbox (@corbits/inbox)
- packages/notify (@corbits/notify)
- packages/mocks (@corbits/mocks)
- packages/provider-pricing (@corbits/provider-pricing)
- packages/gotenberg-render (@corbits/gotenberg-render), found zero
  importers on the same re-check pass

scripts/db-setup.ts now applies @corbits/mailbox's migrations by
importing runMailboxMigrations/createMailboxDb from that package
directly instead of through the deleted inbox package's wrapper.
@TheGreatAxios
TheGreatAxios merged commit 792d34c into main Sep 17, 2026
4 checks passed
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