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
Currently, we are testing compatibility with older versions of TypeScript by compiling tests. We want to make sure that the generated code, the runtime library, and common use cases compile without issues with older versions of TypeScript.
Because our tests import from Node.js built-in packages, we need @types/node, which requires different versions for different versions of TS. This introduces complexity (e.g. #574 (comment)), but does not give us any extra confidence.
The best way forward seems to be to add a single file to packages/protobuf-test/src with common use cases, which does not import from Node.js built-in modules and does not import from @jest/globals either. Then compile it with various versions of TS for confidence.
The text was updated successfully, but these errors were encountered:
This partially gets us to the goals defined in #581. We do not remove the dependency on `@types/node` yet, but we make sure to use the corresponding version for every version of TypeScript we test with.
To speed up GitHub actions, the compatibility tests are moved to a separate job that runs in parallel.
Currently, we are testing compatibility with older versions of TypeScript by compiling tests. We want to make sure that the generated code, the runtime library, and common use cases compile without issues with older versions of TypeScript.
Because our tests import from Node.js built-in packages, we need
@types/node
, which requires different versions for different versions of TS. This introduces complexity (e.g. #574 (comment)), but does not give us any extra confidence.The best way forward seems to be to add a single file to
packages/protobuf-test/src
with common use cases, which does not import from Node.js built-in modules and does not import from@jest/globals
either. Then compile it with various versions of TS for confidence.The text was updated successfully, but these errors were encountered: