Skip to content

chore: normalize tooling to Node 22 baseline#2

Merged
FarizPrawira merged 1 commit into
mainfrom
chore/normalize-baseline
May 29, 2026
Merged

chore: normalize tooling to Node 22 baseline#2
FarizPrawira merged 1 commit into
mainfrom
chore/normalize-baseline

Conversation

@FarizPrawira

Copy link
Copy Markdown
Owner

Summary

Excludes source maps from the published package and normalizes tooling onto a shared Node 22 baseline (consistent across sibling packages).

Changes

  • Exclude .map files from the published tarball via a files allowlist (~57% smaller package)
  • Bump engine to Node >=22, set tsup target: node22
  • Adopt strict tsconfig baseline (noUncheckedIndexedAccess, noImplicitOverride, exactOptionalPropertyTypes, isolatedModules, verbatimModuleSyntax)
  • Fix unchecked array accesses in sorted-set.ts surfaced by the stricter flags (provably in-bounds; no behavior change)
  • Rename test/ -> tests/, rename typecheck:test -> typecheck
  • Standardize CI matrix to [22, 24]

Verification

npm run verify passes: 149 tests, typecheck + build clean.

🤖 Generated with Claude Code

- Exclude .map files from published package via files allowlist
- Bump engine to Node >=22, set tsup target node22
- Adopt strict tsconfig baseline (noUncheckedIndexedAccess, etc.)
- Fix unchecked array accesses surfaced by strict flags
- Rename test/ -> tests/, rename typecheck:test -> typecheck
- Standardize CI matrix to [22, 24]

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@FarizPrawira FarizPrawira merged commit 08d08cd into main May 29, 2026
2 checks passed
@FarizPrawira FarizPrawira deleted the chore/normalize-baseline branch May 29, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant