-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(type-safe-api): fix template discovery on node 18.17.x
Node 18.17.x has a bug where `readdirSync` returns invalid entries when both `recursive` and `withFileTypes` is specified: nodejs/node#48858 We use our own implementation to recursively find template files to ensure we work for older versions of node.
- Loading branch information
Showing
7 changed files
with
457 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
458 changes: 229 additions & 229 deletions
458
packages/type-safe-api/test/scripts/generators/__snapshots__/java.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
182 changes: 91 additions & 91 deletions
182
packages/type-safe-api/test/scripts/generators/__snapshots__/python.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
...-safe-api/test/scripts/generators/__snapshots__/typescript-react-query-hooks.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.