Commit graph

3 commits

Author SHA1 Message Date
Aric Camarata
1e3044c859 ci: fix coverage corepack order, eslint parser devDeps, pack-check d.mts
- Add @typescript-eslint/parser and @typescript-eslint/eslint-plugin to devDependencies
- Fix eslint.config.mjs: add files pattern and parserOptions.project for typed linting
- Fix prettier formatting in src/index.ts and src/types.ts
- Add coverage/ to .gitignore and untrack committed coverage artifacts
- postbuild cp already handles dist/index.d.mts (verified)
2026-05-31 08:48:36 -04:00
Aric Camarata
7d7e723555 refactor: code quality improvements across the board 2026-03-08 11:37:55 -04:00
Aric Camarata
295dbf8680 feat: initial release of moment-hijri-plus v1.0.0
Moment.js plugin adding Hijri calendar support via hijri-core. Adds
toHijri(), fromHijri(), hijriYear/Month/Day(), isValidHijri(), and
formatHijri() to all Moment instances via fn prototype and module
augmentation. Format token escaping wraps substituted values in
moment bracket syntax [...] to prevent re-interpretation. UTC-midnight
date shift corrected by using getUTC* components + moment([y, m, d])
construction. 14 ESM + 8 CJS tests passing. Dual CJS/ESM build.
2026-02-25 14:15:18 -05:00