You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recent renovate PRs have breaking tests, which is ultimately caused by the gradual transitioning towards ESM from upstream dependencies.
When fixing these errors, I found the current toolchain a bit cumbersome and requires more maintenance than I am comfortable with.
The main goal of this issue is to replace existing tools with as many zero-conf services as possible, and prefer more actively maintained dependencies when multiple options are present.
jest needs humongous amount of configurations to deal with a hybrid of CJS and ESM of deps. Also partial transformIgnorePatterns are really slow, bringing 2-3s tests to 10s locally and >30s on CI.
On the other hand, the Deno + DNT stack is promising but lacks dependabot support.
bob-tsm -> tsup
graphql-ez et al. -> graphql-yoga + @graphql-tools/mock
More actively maintained alternatives.
Simplify file structure
Remove scripts/* and transition to an ESM-first codebase
Remove internal/*
Move internal/images to assets/
Rewrite internal/test-utils into @gqty/testing to prepare for a public mocking solution
Replace all jest usage with vitest, with minimal configuraitons.
The text was updated successfully, but these errors were encountered:
Recent renovate PRs have breaking tests, which is ultimately caused by the gradual transitioning towards ESM from upstream dependencies.
When fixing these errors, I found the current toolchain a bit cumbersome and requires more maintenance than I am comfortable with.
The main goal of this issue is to replace existing tools with as many zero-conf services as possible, and prefer more actively maintained dependencies when multiple options are present.
changesets
-> semantic-release with NxMajor version released on patch changes changesets/action#381
size-limit
-> andresz1/size-limit-actionjest
et al. ->vitest
bob-tsm
->tsup
graphql-ez
et al. ->graphql-yoga
+@graphql-tools/mock
More actively maintained alternatives.
internal/*
internal/images
toassets/
internal/test-utils
into@gqty/testing
to prepare for a public mocking solutionThe text was updated successfully, but these errors were encountered: