Commit graph

11 commits

Author SHA1 Message Date
Aric Camarata
235ffb8851 docs: add TypeDoc API generation (typedoc@0.28.19 + typedoc-plugin-markdown@4.11.0)
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config
targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to
package.json. Generate initial API reference pages.

Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
2026-05-30 16:41:58 -04:00
Aric Camarata
94bc28ebc3 chore: adopt shared config packages (tsconfig, eslint, prettier) 2026-05-30 15:07:38 -04:00
Aric Camarata
f5cb959dcc build(hijri-core): emit dist/index.d.mts (postbuild) so pack-check passes 2026-05-29 15:57:11 -04:00
Aric Camarata
69da87f639 ci(hijri-core): scope prettier to src/ so format:check ignores lockfile and prose docs 2026-05-29 15:54:25 -04:00
Aric Camarata
71116954da chore: corepack migration + typedoc config + ADR-015 CI updates (P1) 2026-05-29 07:15:57 -04:00
Aric Camarata
c7bb2941b5 chore: bump to v1.0.1
- Flatten exports map to ADR-015 standard
- Add coverage script (c8)
- Migrate CI to corepack enable
2026-05-28 13:54:58 -04:00
Aric Camarata
a7c4e466c7 ci: pin pnpm to version 10 in all CI jobs
Also enable sourcemap: true in tsup config
2026-03-08 16:37:33 -04:00
Aric Camarata
f0757b1333 refactor: code quality improvements across the board 2026-03-08 11:38:10 -04:00
Aric Camarata
23e066fd4e chore: pre-release CR/QA polish for v1.0.0
Remove empty dependencies field from package.json. Add JSDoc to
CalendarEngine.toGregorian clarifying null-return contract. Fix
documentation style in source comments and wiki (no em dashes).
Tighten test output format in test.mjs and test-cjs.cjs.
2026-02-25 15:07:32 -05:00
Aric Camarata
b98ab39a13 fix: mark dist files as having side effects
The index module registers built-in calendar engines at load time via
registerCalendar(). sideEffects:false was incorrect and could cause
bundlers to tree-shake those registration calls. Mark only the dist
entry points as having side effects so tree-shaking still works for
everything else.
2026-02-25 14:14:42 -05:00
Aric Camarata
bb326d071c feat: initial release of hijri-core v1.0.0
Zero-dependency Hijri calendar engine with pluggable calendar registry.
Built-in Umm al-Qura (UAQ) and FCNA/ISNA calendar engines. Supports N
additional calendars via registerCalendar(). Pure Date.UTC arithmetic,
binary search on 184-entry UAQ table, Meeus Ch.49 new moon formula for
FCNA. 39 ESM + 20 CJS tests passing. Dual CJS/ESM build with full TypeScript
declarations.
2026-02-25 14:06:02 -05:00