release: v2.0.2 — P1 standardization

This commit is contained in:
Aric Camarata 2026-05-30 19:12:24 -04:00
parent 79e2c03505
commit 706b67d0f6
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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",