You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat/migrate to esm only with shared tsconfig (#21)
* chore: add vitest.config.ts with snapshotFormat
Prevent truncation of large snapshots by setting
`snapshotFormat.maxOutputLength` to `Number.MAX_SAFE_INTEGER`.
* chore: migrate typedoc workflow to shared reusable workflow
Replace the hand-written TypeDoc deploy steps with the shared
`zakodium/workflows/.github/workflows/typedoc.yml@typedoc-v1`
reusable workflow.
* chore: ignore .claude in .gitignore
* test: flatten tests to top-level test() calls
Remove the outer `describe` wrappers that only mirrored the filename
and switch from `it` to `test` so each assertion sits at the top level
of its file.
* feat!: migrate package to ESM TypeScript
- Set `"type": "module"` and replace `"main"` / `"module"` / `"types"`
with a single `"exports"` entry
- Drop the CJS dual-build; single `lib/` output via tsconfig.build.json
- Extend `@zakodium/tsconfig` and pin TypeScript to 5.x
- Local imports use `.ts` extensions; types use `import type`
- Add `override` modifier in test subclass
- Drop `lib-esm` from .gitignore and from eslint ignores
BREAKING CHANGE: package is now ESM-only; consumers using
require() must migrate to import, or run Node.js >= 20.19,
>= 22.12, or any 24.x or later.
* chore: address feedback
* chore: fix typescript
0 commit comments