mirror of
https://github.com/acamarata/moon-sighting.git
synced 2026-06-30 19:04:24 +00:00
docs: fix Quick Start heading casing; ci: add CHANGELOG/LICENSE to pack-check
This commit is contained in:
parent
789c5e47c3
commit
5ebfe45a4d
2 changed files with 3 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -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.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 "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 "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 "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)
|
! grep -q "node_modules" pack-output.txt || (echo "node_modules should not be in pack" && exit 1)
|
||||||
echo "Pack contents verified."
|
echo "Pack contents verified."
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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
|
```ts
|
||||||
import { initKernels, getMoonSightingReport, getMoonPhase } from 'moon-sighting'
|
import { initKernels, getMoonSightingReport, getMoonPhase } from 'moon-sighting'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue