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.
renovatebot -> dependabot
changesets -> semantic-release
Preventing me from forgetting to add changesets from time to time, commit messages does everything.
jest et al. -> vitest
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.
bob-tsm et al. -> vite
Vite does a good job in hiding a lot of complexities that we don't need to know.
graphql-ez et al. -> graphql-yoga + @graphql-tools/mock
A more actively maintained alternative.
Simplify file structure
Remove scripts/* and transition to an ESM-first codebase
Remove internal/*
Move internal/images to assets/
internal/test-utils should be superseded by vitest which we should try to make do with only the defaults.
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-releasePreventing me from forgetting to add changesets from time to time, commit messages does everything.
size-limit
-> andresz1/size-limit-actionjest
et al. ->vitest
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.
bob-tsm
et al. ->vite
Vite does a good job in hiding a lot of complexities that we don't need to know.
graphql-ez
et al. ->graphql-yoga
+@graphql-tools/mock
A more actively maintained alternative.
internal/*
internal/images
toassets/
internal/test-utils
should be superseded byvitest
which we should try to make do with only the defaults.The text was updated successfully, but these errors were encountered: