mirror of
https://github.com/acamarata/pray-calc.git
synced 2026-06-30 19:04:26 +00:00
- Extract magic numbers into named constants (DHUHR_OFFSET_MINUTES, ANGLE_MIN/MAX, LAT_SCALE) with source citations for MCW coefficients - Add input validation (RangeError) for lat, lng, tz, elevation on all public API functions (getTimes, getTimesAll) - Optimize solar ephemeris: computeAngles() returns declination so getTimes/getTimesAll reuse it for Asr instead of computing twice - DRY: shared constants.ts for DEG, Dhuhr offset, angle bounds - Improve MethodEntry type with labeled tuple elements and NaN docs - Add stricter tsconfig (noImplicitReturns, noFallthroughCasesInSwitch) - Switch tests to node:test framework (TAP output, describe/it blocks) - Add 8 new input validation tests (104 ESM + 13 CJS total) - Add ESLint + Prettier with CI lint job - Remove src/ from npm package files (smaller published tarball) - Document NaN return behavior in JSDoc for getTimes/getTimesAll
64 lines
785 B
Text
64 lines
785 B
Text
# ─── Dependencies ───
|
|
node_modules/
|
|
.pnp
|
|
.pnp.js
|
|
|
|
# ─── Build ───
|
|
dist/
|
|
build/
|
|
out/
|
|
*.tsbuildinfo
|
|
|
|
# ─── Environment ───
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# ─── OS ───
|
|
.DS_Store
|
|
Thumbs.db
|
|
._*
|
|
Desktop.ini
|
|
$RECYCLE.BIN/
|
|
|
|
# ─── IDE / Editor ───
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
*.sublime-project
|
|
*.sublime-workspace
|
|
|
|
# ─── Logs ───
|
|
*.log
|
|
npm-debug.log*
|
|
pnpm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
lerna-debug.log*
|
|
|
|
# ─── Pack ───
|
|
*.tgz
|
|
|
|
# ─── Testing / Coverage ───
|
|
coverage/
|
|
.nyc_output/
|
|
|
|
# ─── AI Agents ───
|
|
.claude/
|
|
.cursor/
|
|
.copilot/
|
|
.github/copilot/
|
|
.aider*
|
|
.codeium/
|
|
.tabnine/
|
|
.windsurf/
|
|
.cody/
|
|
.sourcegraph/
|
|
.vscode/*
|
|
.codex/
|
|
.aider/
|
|
.aider.chat.history.md
|
|
.continue/
|
|
.gemini/
|