diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e559a5..f5217ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.2] - 2026-05-30 + +### Changed +- Added `"type": "module"` to package.json per ADR-015 TypeScript source standard. The WASM compatibility issue from 2.0.1 is resolved: tsup now produces proper dual CJS/ESM dist files that Node resolves correctly via the exports map, so the package-level `type` field no longer conflicts with WASM module loading. +- Added `"./package.json"` exports entry for bundler compatibility. +- Added `"postbuild"` script to copy `dist/index.d.ts` to `dist/index.d.mts`. +- Adopted shared config packages (`@acamarata/tsconfig`, `@acamarata/eslint-config`, `@acamarata/prettier-config`). + ## [2.0.1] - 2026-05-28 ### Fixed diff --git a/package.json b/package.json index a831b70..1ec9c63 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "solar-spa", - "version": "2.0.1", + "version": "2.0.2", "description": "NREL Solar Position Algorithm (SPA) compiled to WebAssembly. High-performance solar position, sunrise, sunset, and solar noon calculations.", "author": "Aric Camarata", "license": "MIT",