Skip to content

ci: enable test, typecheck, and lint gates - #13

Merged
gregory-j-baker merged 4 commits into
mainfrom
chore/ci-quality-gates
Nov 11, 2026
Merged

gregory-j-baker merged 4 commits into
mainfrom
chore/ci-quality-gates

Conversation

@gregory-j-baker

Copy link
Copy Markdown
Contributor

Summary

format
+ lint
+ typecheck (library and example)
+ test:coverage
build
exports

Adds a strict no-emit TypeScript config for the library and a root ESLint flat config with lint scripts for both workspace projects. Fixes the jsdom StorageEvent test, a lint error in the example, and excludes generated build/coverage output from formatting checks.

Evidence

  • Before: the storage-event test failed in jsdom; typecheck had no package tsconfig; lint:check had no ESLint config and a malformed cache option.
  • After: format, lint, both workspace typechecks, 19 tests with V8 coverage, builds, exports, and a second format check after generated output all pass locally.
  • The coverage check was also run against Dependabot PR chore(deps-dev): bump @vitest/coverage-v8 from 4.0.8 to 5.1.0 #11 and correctly failed on the incompatible Vitest 4.1.12 / coverage-v8 5.1.0 combination.

Merge Danger

Door: Two-way

Blast Radius: CI

No production behavior changes; the only source change is a test-only StorageEvent construction fix and a lint-required metadata signature simplification.

gregory-j-baker and others added 4 commits November 11, 2026 11:41
Keep the storage event test focused on the key consumed by the hook; jsdom rejects the supplied cross-realm storageArea.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a strict no-emit config so the existing typecheck script validates library source, tests, and Vitest configuration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a TypeScript flat config, wire lint scripts for both workspace projects, and remove an empty destructuring parameter caught by the new rules.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Enforce the existing package and example checks in PR CI, and keep generated coverage/build files out of formatting checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@gregory-j-baker
gregory-j-baker marked this pull request as ready for review November 11, 2026 15:34
@gregory-j-baker
gregory-j-baker merged commit 13d283a into main Nov 11, 2026
1 check passed
@gregory-j-baker
gregory-j-baker deleted the chore/ci-quality-gates branch November 11, 2026 15:35
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