Skip to content

Fix terminal package type declarations#1

Open
andrei-hasna wants to merge 1 commit into
mainfrom
fix/terminal-types-metadata
Open

Fix terminal package type declarations#1
andrei-hasna wants to merge 1 commit into
mainfrom
fix/terminal-types-metadata

Conversation

@andrei-hasna

Copy link
Copy Markdown
Contributor

Summary

  • emit TypeScript declarations and wire package metadata for @hasna/terminal and @hasna/terminal/storage
  • add root/storage source entrypoints and prepack build guard so packed output includes declared d.ts files from a clean checkout
  • avoid leaking bun:sqlite through public declarations and keep PostgreSQL SSL verification enabled by default

Validation

  • bun run build
  • npm pack --dry-run --json | rg 'dist/(index|storage)\.d\.ts'
  • npm pack --dry-run --json --ignore-scripts | rg 'dist/(index|storage)\.d\.ts'
  • packed tarball TypeScript import checks for @hasna/terminal and @hasna/terminal/storage with NodeNext, Node16, Bundler, and legacy Node resolution
  • rg 'bun:sqlite|from "bun:' dist --glob '*.d.ts' returned no matches
  • bun test (211 pass, 0 fail)
  • adversarial reviewer findings reconciled before PR

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