docs: fix Quick Start heading casing; ci: add CHANGELOG/LICENSE to pack-check

This commit is contained in:
Aric Camarata 2026-03-08 17:10:34 -04:00
parent 789c5e47c3
commit 5ebfe45a4d
2 changed files with 3 additions and 1 deletions

View file

@ -80,6 +80,8 @@ jobs:
grep -q "dist/index.d.ts" pack-output.txt || (echo "Missing dist/index.d.ts" && exit 1)
grep -q "dist/index.d.mts" pack-output.txt || (echo "Missing dist/index.d.mts" && exit 1)
grep -q "README.md" pack-output.txt || (echo "Missing README.md" && exit 1)
grep -q "CHANGELOG.md" pack-output.txt || (echo "Missing CHANGELOG.md" && exit 1)
grep -q "LICENSE" pack-output.txt || (echo "Missing LICENSE" && exit 1)
! grep -q "test.mjs" pack-output.txt || (echo "test.mjs should not be in pack" && exit 1)
! grep -q "node_modules" pack-output.txt || (echo "node_modules should not be in pack" && exit 1)
echo "Pack contents verified."

View file

@ -22,7 +22,7 @@ npx moon-sighting download-kernels
This fetches `de442s.bsp` and `naif0012.tls` from NASA's NAIF server and caches them locally. The download is verified by SHA-256 checksum.
## Quick start
## Quick Start
```ts
import { initKernels, getMoonSightingReport, getMoonPhase } from 'moon-sighting'