New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies #91
Conversation
This is why I’ve been switching to vitest 🥲 there are some issues in the tests and they just timeout on my computer, haven’t had time to debug fully |
I think the “tsx” package offers better DX, but I think it doesn’t type-check. Do you want to try it? We’d have to add “test.ts” to tsconfig, which will cause it to be emitted into ./dist |
I think this is the fix: https://github.com/sindresorhus/got/blob/main/tsconfig.json#L17-L21 |
] | ||
], | ||
"ts-node": { | ||
"transpileOnly": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes the tests in <=18, but Node 20 tests still broken even with the full
"transpileOnly": true
"files": true,
"experimentalResolver": true
That's why I had initially excluded them
> xo && ava && npm run build && tsd
(node:1742) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Uncaught exception in test.ts
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /home/runner/work/mem/mem/test.ts
✘ test.ts exited with a non-zero exit code: 1
─
1 uncaught exception
Error: Process completed with exit code 1.
SamVerschueren/map-age-cleaner#7 / https://github.com/SamVerschueren/map-age-cleaner/releases/tag/v0.2.0 have been out for… ahem… a while. They should be updated.