Skip to content

fix: emit package type declarations#7

Open
mawxcodehub wants to merge 1 commit into
AppsYogi-com:mainfrom
mawxcodehub:fix/emit-types
Open

fix: emit package type declarations#7
mawxcodehub wants to merge 1 commit into
AppsYogi-com:mainfrom
mawxcodehub:fix/emit-types

Conversation

@mawxcodehub

Copy link
Copy Markdown

Summary

  • enable tsup declaration generation so the package emits the advertised dist/index.d.ts
  • keeps the existing ESM output, exports map, and package files unchanged

Validation

  • npm run typecheck
  • NODE_OPTIONS=--max-old-space-size=4096 npm run build
  • npm pack --dry-run --json --ignore-scripts includes dist/index.d.ts
  • local ESM consumer install from the packed tarball passes npx tsc --noEmit --pretty false

Fixes #6

Signed-off-by: MAWXHUB <130845891+mawxcodehub@users.noreply.github.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.

Published package advertises missing TypeScript declarations

1 participant