Skip to content

feat: rewrites to typescript and ships types - #476

Merged
mikaelbr merged 2 commits into
masterfrom
feat/typescript
Oct 31, 2026
Merged

mikaelbr merged 2 commits into
masterfrom
feat/typescript

Conversation

@mikaelbr

Copy link
Copy Markdown
Owner

Rewrites the package in TypeScript and ships its own types, so @types/node-notifier is no longer needed. Released as v12.1.0.

  • Sources in src/, built with tsdown into dist/ (unbundled, so vendor/ paths resolve the same from source and build). Published files are dist and vendor.
  • Entry points are unchanged: node-notifier and node-notifier/notifiers/*, with require() still working through require(esm).
  • Typed options per notifier, and notifier classes usable as types.
  • Tests and examples are TypeScript, with type tests in test/types.test-d.ts.
  • CI runs lint and typecheck, and smoke tests the packed tarball with import, require and TypeScript.

See CHANGELOG.md for migrating from @types/node-notifier.

@mikaelbr
mikaelbr merged commit 03e8e66 into master Oct 31, 2026
14 checks passed
@mikaelbr
mikaelbr deleted the feat/typescript branch October 31, 2026 22:25
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