Compare commits

...

2 commits
v1.0.3 ... main

Author SHA1 Message Date
Aric Camarata
ee6c78d68f chore: bump to v1.0.4 2026-06-13 11:52:28 -04:00
Aric Camarata
4d414b2056 build: use prepack hook so npm pack/publish reliably emit index.d.mts 2026-06-13 10:11:20 -04:00
2 changed files with 7 additions and 2 deletions

View file

@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.4] - 2026-06-13
### Fixed
- Published package now includes `dist/index.d.mts` so ESM type resolution under `node16`/`nodenext` resolves the import condition correctly.
## [1.0.3] - 2026-06-10
### Fixed

View file

@ -1,6 +1,6 @@
{
"name": "date-fns-hijri",
"version": "1.0.3",
"version": "1.0.4",
"description": "date-fns-style utility functions for Hijri calendar operations. Wraps hijri-core with a functional API for converting, formatting, and validating Hijri dates.",
"author": "Aric Camarata",
"license": "MIT",
@ -37,7 +37,7 @@
"lint": "eslint src/",
"format": "prettier --write src/",
"format:check": "prettier --check src/",
"prepublishOnly": "pnpm run build",
"prepack": "pnpm run build",
"coverage": "c8 --reporter=lcov --reporter=text node test.mjs",
"docs": "typedoc --out .github/wiki/api src/index.ts",
"postbuild": "cp dist/index.d.ts dist/index.d.mts",