Skip to content

Conversation

@gnidan
Copy link
Member

@gnidan gnidan commented Feb 5, 2025

  • Unify jest config a bit (move matchers to root, switch to TS modules instead of cjs)
  • Unify tsconfig into base and extensions for each package (except web)
  • Add a polyfill for web that's preventing web from importing pointers package

- Switch from using .cjs to .ts (as ESM module) for all jest configs
- Move custom matchers to root from pointer example type guard tests
- Switch root package to ESM
- Move jest matcher typings to root, alongside where implemented
  - Use `/// <reference ...` nonsense for declarations file to be found
- Define a base tsconfig and have everything else extend it (except web)
@gnidan gnidan force-pushed the monojest branch 3 times, most recently from 1fba5c1 to d0b8fc7 Compare February 5, 2025 01:35
@gnidan gnidan merged commit 2d569ff into main Feb 5, 2025
5 checks passed
@gnidan gnidan deleted the monojest branch February 5, 2025 01:38
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.

2 participants