From 706b67d0f6941afb6276ce5a8d5d7adbf36efb04 Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Sat, 30 May 2026 19:12:24 -0400 Subject: [PATCH] =?UTF-8?q?release:=20v2.0.2=20=E2=80=94=20P1=20standardiz?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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",